@charset "UTF-8";

/* =============================
   MV
============================= */
.mv {
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  background: url("../images/mv-bg.jpg") no-repeat center center / cover;
  color: #343434;
  position: relative;
  margin-top: 100px;
}

.mv-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.mv-text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 2;
}

.mv-text .sub {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.mv-text h1 {
  font-size: 50px;
  line-height: 1.8;
  font-weight: 800;
  color: #343434;
  margin: 0;
}

.highlight-text {
  color: #04762f;
  font-weight: 800;
}

.mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.9) 100%
  );
  z-index: 1;
}

@media (max-width: 768px) {
  .mv {
    height: auto;
    padding: 80px 20px;
  }

  .mv-inner {
    max-width: 100%;
    margin: 0;
  }

  .mv-text {
    position: static;
    transform: none;
    max-width: 100%;
    margin: 0 auto;
  }

  .mv-text h1 {
    font-size: 30px;
  }

  .mv-text .sub {
    font-size: 18px;
  }
}

/* =============================
   ABOUT（画像下に重なるバージョン）
============================= */
.about {
  padding: 30px 0 50px;
}

.about-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.about-content {
  max-width: 1280px;
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 100px 0 140px 20px;
  margin: 0 auto;
}

/* 左：画像 */
.about-image {
  width: 530px;
  flex: 0 0 530px;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  height: 608px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* 右：テキストブロック */
.about-text {
  flex: 1.5;
  position: relative;
  z-index: 3;
  padding: 0 80px 0 80px;
  line-height: 1.9;
  color: #343434;
}

/* 背景ボックス */
.about-text::before {
  content: "";
  position: absolute;
  top: -50px;
  bottom: -60px;
  left: -120px;
  right: 0;
  background: rgba(54, 196, 109, 0.08);
  z-index: -1;
}

/* 見出し */
.about-text h3 {
  min-width: 550px;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* 段落の余白 */
.about-text p + p {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    margin: 40px 0;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .about-text {
    padding: 28px 20px;
    width: 100%;
  }

  .about-text::before {
    transform: none;
    margin: 0;
    width: 100%;
  }

  .about-title {
    font-size: 26px;
  }
}

/* =============================
   CTA 共通スタイル
============================= */
.cta {
  max-width: 1080px;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 40px;
  margin: 0 auto;
  border-radius: 10px;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.cta-box {
  flex: 1;
  text-align: center;
  border-radius: 8px;
  padding: 5px 20px;
  height: 166px;
}

.cta-box.highlight {
  background: rgba(0, 0, 0, 0.2);
  max-width: 440px;
}

.cta-strong {
  font-size: 24px;
  font-weight: 700;
  color: #fff14a;
}

.cta-small {
  background: #fff;
  color: #343434;
  display: inline-block;
  padding: 1px 35px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.cta-label {
  font-size: 24px;
  font-weight: 600;
}

.cta .tel-number {
  font-size: 50px;
  font-weight: 800;
  color: #fff14a;
  white-space: nowrap;
}

.tel-svg.cta-tel {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.cta .time {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.cta-note {
  font-size: 14px;
  opacity: 0.8;
}

/* CTAタイプ1：背景付き */
.cta--type1 {
  background: url("../images/cta-bg.png") no-repeat center center / cover;
}

.cta--type1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 80, 40, 0.16);
  z-index: 0;
}

/* CTAタイプ2：シンプル背景 */
.cta--type2 {
  background: url("../images/cta-bg.png") no-repeat center center / cover;
}

.cta--type2 .cta-text p {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.8;
  padding-left: 80px;
}

.cta--type2 .cta-contact {
  flex: 1;
  text-align: center;
}

.cta--type2 .tel {
  font-size: 50px;
  font-weight: 800;
  color: #fff14a;
}

.cta--type2 .time {
  font-size: 16px;
}

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .cta-box {
    padding: 24px 20px;
  }

  .cta .tel {
    font-size: 28px;
  }

  .cta-label {
    font-size: 22px;
  }

  .cta .time {
    font-size: 14px;
  }

  .cta {
    padding: 20px;
  }
  .cta--type2 .tel {
    font-size: 30px;
  }

  .cta .tel-number {
    font-size: 30px;
    white-space: nowrap;
  }

  .cta--type2 .cta-text p {
    font-size: 16px;
    padding-left: 0px;
  }
}

/* =============================
   共通タブデザイン (.tabs)
============================= */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  margin: 35px 0;
  padding: 0;
  list-style: none;
}

.tabs li {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.tabs a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* 数字部分 */
.tabs .num {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #36c46d;
  font-size: 18px;
  transition: color 0.3s ease;
}

/* ホバー時の反転 */
.tabs li:hover {
  background: #36c46d;
  border-color: #36c46d;
}

.tabs li:hover a,
.tabs li:hover .num {
  color: #fff;
}

/* スマホ対応：縦積み */
@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0 20px;
  }

  .tabs a {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* =============================
   BUSINESS INFO（ビジネスパートナー情報）
============================= */
.business {
  background: #f8f9fa;
  padding: 150px 0 100px;
}

.business-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.tab-content {
  margin-top: 50px;
}

/* =============================
   PRICE TABLE（料金表）
============================= */
.price-table {
  width: 814px;
  border-collapse: collapse;
  margin: 35px auto 0;
  font-size: 16px;
  color: #343434;
  border-bottom: 3px solid #36c46d;
}

/* ヘッダー */
.price-table thead th {
  background: #36c46d;
  color: #343434;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding: 14px 20px;
  border-right: 1px solid #fff;
  width: 406px;
}

.price-table thead th:last-child {
  border-right: none;
}

/* 各セル */
.price-table td {
  font-weight: 500;
  padding: 14px 20px;
  text-align: center;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  color: #273846;
}

.price-table td:last-child {
  border-right: none;
}

/* 偶数行を薄いグリーン */
.price-table tbody tr:nth-child(even) {
  background: rgba(54, 196, 109, 0.08);
}

/* 最下行の罫線削除 */
.price-table tbody tr:last-child td {
  border-bottom: none;
}

/* 注釈 */
.price-table + .note {
  width: 814px;
  margin: 20px auto 0;
  font-size: 14px;
  color: #000;
  text-align: right;
}

table td.attention-text {
  text-align: left !important;
}

.business-notes {
  margin-top: 10px;
  font-size: 14px;
  line-height: 2;
  color: #273846;
}

.small-text {
  font-size: 14px;
  line-height: 1.6;
  color: #343434;
  display: inline-block;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .business {
    padding: 50px 20px;
  }
  .price-table {
    width: 100%;
    font-size: 14px;
    overflow-x: auto;
    display: block;
  }

  .price-table thead th,
  .price-table td {
    padding: 10px;
  }

  .price-table + .note {
    width: 100%;
    text-align: left;
  }

  .small-text {
    font-size: 12px;
  }
}

/* =============================
   FAQ（アコーディオン）
============================= */
.faq {
  background: #fff;
  padding: 114px 0 95px;
}

.faq-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.faq-content {
  padding: 30px 0;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
  margin-bottom: 20px;
}

/* 質問 */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  background: #f8f9fa;
  color: #222;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Qマーク */
.faq-question span:first-child::before {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 700;
  content: "Q ";
  color: #04762f;
  font-size: 32px;
  margin-right: 20px;
}

/* アイコン（＋／ー） */
.faq-question .icon {
  width: 30px;
  height: 30px;
  background-color: #36c46d;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.3s ease;
}

.faq-question .icon::before,
.faq-question .icon::after {
  content: "";
  position: absolute;
  background-color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

/* 横棒・縦棒 */
.faq-question .icon::before {
  width: 12px;
  height: 2px;
}

.faq-question .icon::after {
  width: 2px;
  height: 12px;
}

/* 開いたとき */
.faq-question.active .icon {
  background-color: #cbcbcb;
}

.faq-question.active .icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

/* 回答 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
  padding: 0 20px;
}

.faq-answer.active {
  max-height: 400px;
  padding: 15px 30px;
  background: #f8f9fa;
}

.faq-answer p {
  font-size: 18px;
  color: #333;
  line-height: 2;
  text-indent: -3em;
  padding-left: 3em;
}

/* Aマーク */
.faq-answer p::before {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  content: "A ";
  color: #36c46d;
  margin-right: 20px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .faq {
    padding: 50px 20px;
  }

  .faq-question {
    font-size: 16px;
    padding: 10px 20px 10px 4em;
    text-indent: -3em;
  }

  .faq-question span:first-child::before {
    margin-right: 10px;
  }

  .faq-answer.active {
    max-height: 400px;
    padding: 10px 20px;
  }

  .faq-answer p {
    font-size: 16px;
    line-height: 1.7;
  }

  .faq-answer p::before {
    margin-right: 10px;
  }
}

/* =============================
   RECRUIT（募集セクション）
============================= */

.recruit {
  background: #f8f9fa;
  padding: 85px 0 135px;
}

.recruit-inner {
  max-width: 1090px;
  margin: 0 auto;
  position: relative;
  padding-right: 20px;
}

/* 見出し帯 */
.recruit-catch {
  position: absolute;
  top: 40px; /* 内側上部に固定 */
  left: 0;
  background-color: #016828;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 4px;
  z-index: 5;
  margin-left: 100px;
}

/* コンテンツ全体 */
.recruit-content {
  max-width: 1280px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin: 15px auto 0;
  position: relative;
  padding-right: 20px;
}

/* 左：テキスト側 */
.recruit-text {
  flex: 1.2;
  position: relative;
  z-index: 1;
  padding: 100px 50px 90px 100px;
  margin-top: 160px;
}

.recruit-text::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 20px;
  left: 0px;
  right: -100px;
  background: rgba(54, 196, 109, 0.08);
  z-index: -1;
  border-radius: 8px;
}

.recruit-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #343434;
  margin-top: 30px;
}

/* 右：画像側 */
.recruit-images {
  flex: 0 0 530px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.recruit-images img {
  display: block;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.recruit-images img:hover {
  transform: scale(1.05);
}

.recruit-images .main-image img {
  width: 530px;
  border-radius: 8px;
  margin-bottom: 5px;
}

.recruit-images .sub-images {
  display: flex;
  gap: 16px;
}

.recruit-images .sub-images img {
  width: calc((530px - 16px) / 2);
  object-fit: cover;
  border-radius: 8px;
}
/* スマホ対応 */
@media (max-width: 768px) {
  .recruit {
    padding: 50px 20px;
  }

  .recruit-content {
    flex-direction: column;
    gap: 24px;
    padding-right: 0;
  }

  .recruit-catch {
    font-size: 18px;
    margin-top: 220px;
    margin-left: 45px;
    top: 20px;
  }

  .recruit-text {
    order: 2;
    padding: 24px 16px;
    margin-top: 0;
  }

  .recruit-text::before {
    transform: none;
    width: 100%;
    margin: 0;
    top: 0px;
    bottom: 0;
    left: 0px;
    right: 0px;
  }

  .recruit-images {
    order: 1;
    gap: 0;
  }

  .recruit-images .main-image img,
  .recruit-images .sub-images img {
    width: 100%;
    height: auto;
    padding: 20px 0 0;
    margin-bottom: 0;
  }

  .recruit-images .sub-images {
    flex-direction: column;
    gap: 0;
  }
}

/* =============================
   MEMBERSHIP（入会条件など）
============================= */
.membership-inner {
  max-width: 1080px;
  margin: 0 auto;
  margin-top: 70px;
}

/* 各タブコンテンツ共通 */
.tab-pane {
  background: #fff;
  border-radius: 15px;
  padding: 70px 60px 60px;
  margin-bottom: 40px;
}

.membership-row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  position: relative;
}

.membership-title {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 220px;
}

.membership-title h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #343434;
  margin: 0;
}

.membership-title .num {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #36c46d;
}

/* 条件リスト */
.membership-conditions {
  flex: 1;
}

.conditions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.conditions li {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  line-height: 2;
  color: #333;
}

.condition-item .small-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  display: inline-block;
  color: #343434;
}

/* チェックマーク */
.condition-item {
  position: relative;
  padding-left: 28px;
  line-height: 1.8;
}

.condition-item::after {
  content: "";
  display: block;
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 16px;
  height: 10px;
  border-left: 3px solid #36c46d;
  border-bottom: 3px solid #36c46d;
  transform: rotate(-45deg);
}

/* 矢印（note前） */
.note-arrow {
  width: 40px;
  height: 25px;
  background: #36c46d;
  margin: 40px auto 20px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

/* 注釈 */
.tab-pane .note {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* その他タブ調整 */
#tab2 .membership-row,
#tab3 .membership-row,
#tab4 .membership-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

/* 右カラム（説明付き） */
.membership-right {
  flex: 1;
}

.membership-right .note {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .tab-pane {
    padding: 40px 20px;
    margin-bottom: 20px;
  }

  .membership-row {
    flex-direction: column;
    gap: 20px;
  }

  .membership-title h3 {
    font-size: 22px;
  }

  .conditions li {
    font-size: 14px;
    padding-left: 28px;
  }

  .note-arrow {
    margin: 24px auto 16px;
    width: 16px;
    height: 16px;
  }
}

/* =============================
   COMPANY（会社案内）
============================= */
.company {
  background: #fff;
  padding: 135px 0 80px;
}

.company-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ご挨拶 */
.company-greeting {
  position: relative;
  background: url("../images/company-bg.jpg") no-repeat center center / cover;
  border-radius: 12px;
  padding: 75px 80px;
  color: #343434;
  overflow: hidden;
  margin-top: 60px;
}

.company-greeting::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.company-greeting h3,
.company-greeting p,
.company-greeting .sign {
  position: relative;
  z-index: 1;
}

.company-greeting h3 {
  font-size: 26px;
  font-weight: 600;
}

.greeting {
  font-size: 16px;
  line-height: 2.2;
  margin: 35px 0;
  letter-spacing: 0.2em;
}

.company-greeting .sign {
  text-align: right;
  font-weight: 500;
  font-size: 16px;
  color: #343434;
  margin-top: 55px;
  letter-spacing: 0.15em;
}

/* 会社概要テーブル */
.company-profile table {
  width: 940px;
  border-collapse: collapse;
  font-size: 16px;
  color: #222;
  margin: 40px auto 100px;
}

.company-profile th,
.company-profile td {
  text-align: left;
  padding: 23px 0px;
  border-bottom: 1px solid #bdbdbd;
}

.company-profile th {
  width: 200px;
  font-weight: 600;
  border-bottom: 1px solid #36c46d;
}

.company-profile td {
  background: #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company {
    padding: 50px 20px;
  }

  .company-greeting {
    padding: 40px 20px;
    margin-top: 20px;
  }

  .company-profile table {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  .company-profile th {
    display: block;
    width: 100%;
    border-right: none;
    border-bottom: none;
  }

  .company-profile td {
    display: block;
    padding-top: 0;
    border-bottom: 1px solid #36c46d;
  }
}

/* =============================
   🔧 SP全体レイアウト調整
============================= */
@media (max-width: 768px) {
  /* MV */
  .mv {
    height: auto;
    margin-top: 60px;
    padding: 60px 20px;
  }

  .mv-text h1 {
    font-size: 32px;
    line-height: 1.4;
  }

  .mv-text .sub {
    font-size: 18px;
  }

  /* ABOUT */
  .about {
    padding: 50px 20px;
  }

  .about-content {
    flex-direction: column;
    margin: 40px 0;
    overflow: hidden;
    padding: 0;
  }

  .about-text {
    padding: 20px 16px;
  }

  .about-text::before {
    transform: none;
    width: 100%;
    margin-top: 20px;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0;
  }

  /* MEMBERSHIP */
  .membership-row {
    flex-direction: column;
    gap: 20px;
  }

  .tab-pane {
    padding: 40px 20px;
  }

  .conditions li {
    font-size: 16px;
    line-height: 1.7;
  }

  .condition-item .small-text {
    font-size: 14px;
  }

  .membership-right .note {
    font-size: 14px;
  }

  /* FAQ */
  .faq {
    padding: 50px 20px;
  }
}

[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}
