/* =========================
   Base / Reset
========================= */
html {
  font-size: 16px;
}

body {
  margin: 0;
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
}


/* =========================
   Utility / Common
========================= */
.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }
}

.icon {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 600;
}

.c-lightpurple { color: #E6E6FA; }
.c-purple      { color: #C0C0FF; }
.c-bluepurple  { color: #7676D9; }


/* =========================
   Layout Foundation
========================= */
.section {
  padding: 72px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .support-box br {
    display: none;
  }
}

.section--tight {
  padding: 60px 0;
}

.section--loose {
  padding: 140px 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================
   Section Header（共通）
========================= */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header.is-tight {
  margin-bottom: 32px;
}

.section-header.is-loose {
  margin-bottom: 72px;
}

.section-header img {
  max-height: 60px;
  margin: 0 auto 12px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.section-lead {
  margin-top: 25px;
  line-height: 1.8;
  color: #555;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-lead {
    margin-top: 12px;
  }
}


/* 旧midashi（段階移行用） */
.midashi {
  text-align: center;
  margin-top: 100px;
}

.midashi img {
  width: 250px;
}

.midashi.section-header {
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央揃え（不要なら消してOK） */
}

.midashi.section-header img {
  margin-bottom: 10px; /* 画像同士の余白 */
}

@media (max-width: 768px) {
  .midashi {
    margin: 40px 0 0;
  }
}

/* Heading utility */
.heading-primary   { font-size: 28px; font-weight: 700; }
.heading-secondary { font-size: 22px; font-weight: 600; }
.heading-tertiary  { font-size: 18px; font-weight: 600; }

@media (max-width: 768px) {
  .heading-primary   { font-size: 22px; }
  .heading-secondary { font-size: 18px; }
  .heading-tertiary  { font-size: 16px; }
}

/* =========================
   Hero
========================= */

/* Hero Layout */
.hero365.section {
  padding-top: 60px;
  padding-bottom: 0;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin: 10px 0;
  line-height: 1.5;
}

.catch-desc {
  margin-top: 12px;
  color: #555;
  line-height: 1.8;
}

.hero-image img {
  max-width: 600px;
  width: 100%;
}

/* Hero Box */
.hero-box {
  margin: 50px 0;
  padding: 32px 40px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-box h2 {
  margin-bottom: 12px;
  line-height: 1.8;
}

.hero-box p {
  line-height: 1.8;
  margin-bottom: 10px;
}

.hero-box small {
  line-height: 1.7;
}

/* Hero Marker Animation */
.marker.only-sp {
  display: none;
}

.marker-dot {
  position: relative;
  display: inline-block;
}

.marker-dot::before,
.marker-dot::after {
  content: "";
  position: absolute;
  top: -0.4em;
  width: 0.35em;
  height: 0.35em;
  background: #FFF86A;
  border-radius: 50%;
  opacity: 0;
}

.marker-dot::before {
  left: 50%;
  margin-left: -0.7em;
}

.marker-dot::after {
  left: 50%;
  margin-left: 0.4em;
  animation-delay: 0.15s;
}


/* Hero Responsive */
@media (max-width: 820px) {
  .hero365.section {
    padding-top: 40px;
  }

  .hero-main {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .marker.only-pc {
    display: none;
  }
  .marker.only-sp {
    display: inline-block;
  }
}

@media (max-width: 468px) {
  .hero-box {
    margin-top: 0;
    padding: 20px 10px;
  }

  .catch-desc .sp-only{
    display: none;
  }

}


/* =========================
   機能・特徴
========================= */

.feature {
  background: #f3f3f3;
}

/* feature-row（基準） */
.feature-row {
  position: relative;
  margin-bottom: 60px;
  overflow: hidden;
}

.feature-row.reverse .feature-box {
  flex-direction: row-reverse;
}

/* 背景帯 */
.feature-bg {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(110%);
  width: 100vw;
  height: 100%;
  background: white;
  z-index: 1;
}

.feature-row.reverse .feature-bg {
  right: auto;
  left: 50%;
  transform: translateX(-110%);
}
/* feature-box */
.feature-box {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px;
  box-sizing: border-box;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-top: 8px solid #E6E6FA;
  border-left: 8px solid #E6E6FA;
  z-index: 3;
}

.feature-row.reverse .feature-box::before {
  left: auto;
  right: 0;
  border-left: none;
  border-right: 8px solid #E6E6FA;
}

/* ナンバー */
.feature-num {
  position: absolute;
  top: -0.1em;
  font-size: 72px;
  font-weight: 700;
  color: #7676D9;
  z-index: 1;
  pointer-events: none;
}

.feature-row:not(.reverse) .feature-num { left: -90px; }
.feature-row.reverse .feature-num       { right: -90px; }


/* テキスト / 画像 */
.feature-text {
  max-width: 520px;
  position: relative;
}

.feature-text h3 {
  margin-bottom: 12px;
  line-height: 1.8;
  font-weight: bold;
}

.feature-row.reverse .feature-text h3  {
  text-align: right;
}

.feature-text p {
  line-height: 1.7;
}

.feature-img img {
  max-width: 330px;
}

.feature-remark {
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {

  .feature {
    padding: 56px 0;
  }

  .feature-row {
    overflow: visible; 
  }

  .feature-bg {
    display: none;
  }

  .feature-box {
    flex-direction: column;
    padding: 28px 20px;
    margin-left: 30px;
  }

  .feature-row.reverse .feature-box {
    flex-direction: column;
    padding: 28px 20px;
    margin-right: 30px;
    margin-left: 0;
  }

  .feature-text {
    max-width: none;
    text-align: center;
  }

  .feature-row.reverse .feature-box h3{
    text-align: center;
  }

  .feature-num {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 12px;
    font-size: 56px;
  }

  .feature-text h3 {
    text-align: center;
  }

  .feature-img {
    margin-top: 16px;
    text-align: center;
  }

  .feature-img img {
    max-width: 260px;
  }

  .feature-remark {
    margin: 0 1.5em;
    padding-left: 0;
  }

  .feature-text p {
    text-align: left;
}
}

@media (max-width: 468px) {
  .feature-remark {
    margin: 0;
  }
}


/* =========================
   オススメ
========================= */
.recommend {
  margin-top: 50px;
}

/* inner（カード本体） */
.recommend-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

/* title */
.recommend-title {
  text-align: center;
  margin: 20px 0 60px;
  line-height: 1.5;
}

.recommend-title br {
  display: none;
}

/* list */
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* 3個以下 */
.recommend-list:not(:has(.recommend-item:nth-child(4))) {
  grid-template-columns: repeat(3, 1fr);
}

/* 5個以上 */
.recommend-list:has(.recommend-item:nth-child(5)) {
  grid-template-columns: repeat(6, 1fr);
}

.recommend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 5個以上のときは2カラム分使う */
.recommend-list:has(.recommend-item:nth-child(5)) .recommend-item {
  grid-column: span 2;
}

/* 2段目（2個）を中央寄せ */
.recommend-list:has(.recommend-item:nth-child(5))
  .recommend-item:nth-child(4) {
  grid-column: 2 / span 2;
}

.recommend-item img {
  max-width: 200px;
  margin: auto 0 16px;
}

.recommend-item p {
  line-height: 1.8;
  text-align: center;
  min-height: 4.5em;
}

/* Responsive */
@media (max-width: 768px) {

  .recommend-inner {
    padding: 32px 20px;
  }

  .recommend-list {
    display: block;
  }

  .recommend-item {
    position: relative;
    padding: 32px 0;
  }

  .recommend-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: #e5e5e5;
  }

  .recommend-item:first-child {
    padding-top: 0;
  }

  .recommend-item:last-child {
    padding-bottom: 0;
  }

  .recommend-item p {
    min-height: auto;
    text-align: left;
  }
}

@media (max-width: 468px) {
  .recommend-title br {
    display: block;
  }
}

/* =========================
   基本料金 / Plan
========================= */

.plan {
  background: #E6E6FA;
  padding: 80px 0;
  position: relative;
}

/* 下三角 */
.plan::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 60px solid #E6E6FA;
}

/* layout */
.plan-title {
  text-align: center;
  margin-bottom: 64px;
}

.plan-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 60px 60px;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
}

.plan-subtitle {
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

/* card */
.plan-card {
  position: relative;
  width: 180px;
  max-width: 100%;
  padding: 24px 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.plan-card:hover {
  transform: translateY(-4px);
}

/* カラーバリエーション */
.plan-card--01 {
  border: 1px solid #E6E6FA;
  border-top: 16px solid #E6E6FA;
}

.plan-card--02 {
  border: 1px solid #C0C0FF;
  border-top: 16px solid #C0C0FF;
}

.plan-card--featured {
  border: 1px solid #7676D9;
  border-top: 16px solid #7676D9;
}

/* badge */
.badge {
  position: absolute;
  top: -35px;
  right: -14px;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF86A;
  color: #7676D9;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  transform: rotate(15deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.plan-card:hover .badge {
  transform: rotate(15deg) translateY(-2px);
}

/* text */
.plan-label {
  min-height: 3em;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-price {
  font-size: 32px;
  font-weight: 700;
}

.plan-note {
  margin: 10px 0 16px;
}

.plan-features {
  list-style: none;
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
}

.plan-features li {
  border-top: 1px dotted #ddd;
}

.plan-features li:first-child {
  border-top: none;
}

.plan-remark {
  padding: 30px 0 0 20px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {

  .plan {
    padding: 56px 0;
  }

  .plan-title {
    margin-bottom: 35px;
  }

  .plan-inner {
    margin: 40px 1.5em;
    padding: 1.5em;
  }

  .plan-card {
    width: 240px;
    margin-inline: auto;
  }

  .plan-remark {
    padding-left: 0;
  }
}

@media (max-width: 468px) {

  .plan-subtitle br {
    display: block;
  }

    .plan-inner {
    margin: 40px 0;
    padding: 1.5em;
  }
}


/* =========================
   プラン機能比較
========================= */

.plan-compare-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.plan-compare-head {
  position: relative;
  text-align: center;
  padding: 28px 0;
}

.plan-compare-head::before,
.plan-compare-head::after {
  content: "";
  position: absolute;
  top: 44%;
  width: 56px;
  height: 3px;
  background: #ffeb3b;
}

.plan-compare-head::before {
  left: 50%;
  transform: translateX(-170px) rotate(50deg); 
  box-shadow: 0 20px 0 #ffeb3b;
}

.plan-compare-head::after {
  right: 50%;
  transform: translateX(170px) rotate(-50deg); 
  box-shadow: 0 20px 0 #ffeb3b;
}

.plan-compare-head img {
  display: block;
  margin: 0 auto 6px;
  max-width: 160px;
}

.plan-compare-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

/* --- table 基本 --- */
.plan-compare {
  overflow-x: auto; 
}

/* table */
.plan-compare table {
  width: 100%;
  min-width: 700px;
  margin-top: 30px;
  font-size: 16px;
  border: 0;
}

.plan-compare table,
.plan-compare table th,
.plan-compare table td {
  border-collapse: collapse;
}

/* th / td 共通（style.css 上書き） */
.plan-compare table th,
.plan-compare table td {
  padding: 10px 40px;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: #fff;
}

/* thead：区切り線なし */
.plan-compare table thead th {
  border-top: 0;
  border-bottom: 0;
}

/* tbody：行区切り線 */
.plan-compare table tbody th,
.plan-compare table tbody td {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* 行見出し */
.plan-compare table tbody th {
  text-align: left;
}

.plan-name {
  font-weight: bold;
  line-height: 1.5;
}

.plan-compare-remark {
  padding: 30px 0 0 20px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {

  .plan-compare-head::before {
    transform: translateX(-140px) rotate(50deg);
  }

  .plan-compare-head::after {
    transform: translateX(140px) rotate(-50deg);
  }

  .plan-compare {
    overflow-x: auto;
    padding-bottom: 12px; /* 指が隠れない */
    box-shadow: inset -12px 0 12px -12px rgba(0,0,0,0.15);
  }

  .plan-compare table tbody th {
    background: #fafafa;
    font-weight: 600;
  }
  
  .plan-compare table tbody th {
    background: #fafafa;
    font-weight: 600;
  }

  .plan-compare table th,
  .plan-compare table td {
    padding: 8px 24px;
    font-size: 14px;
  }

}

/* =========================
   設定構築サポート料金/support
========================= */

.support {
  background: #f3f3f3;
  padding: 80px 0;
}

.support-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* subtitle */
.support-subtitle {
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
}

.support-subtitle .marker {
  padding-left: 0;
}

/* table wrapper */
.tablewrapbox {
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
}

.tablewrapbox table {
  background: #fff;
  width: 100%;
}

.tablewrapbox table .fbd{
  background: #E6E6FA;
  font-weight: bold;
}

.tablewrapbox table tr.fbd td {
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {

  .support {
    padding: 56px 0;
  }

  .support-subtitle,
  .tablewrapbox {
    text-align: left;
    margin-top: 30px;
  }

}

/* =========================
   訪問サポート確認事項/support
========================= */
.kitting {
  padding-top: 50px;
  background: #fff;
}
.support-subtitle_kitting {
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}



