@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* --- 変数定義（色管理の共通化） --- */
:root {
  --bg-color: #FEF2E2;
  --text-main: #404040;
  --text-accent: #A9744A;
  --marker: #F9E697;
  --offer-red: #6D0201;
  --works-green: #0C3D35;
  --white: #ffffff;
}

/* --- 全体設定 --- */
body {
  /* スマホ時はLPの背景色、PC時はメディアクエリ内で切り替えます */
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ▼ 新規：レイアウト用クラス ▼ */
.pc-side-cv {
  display: none;
  /* スマホ時は非表示 */
}

.sp-content-wrap {
  width: 100%;
  background-color: var(--bg-color);
}

/* ▲ 新規：レイアウト用クラス ▲ */

.main-container {
  max-width: 500px;
  margin: 0 auto;
}

.main_wrapper {
  padding: 0 20px;
}

.serif {
  font-family: "Noto Serif JP", serif;
}

.mv-section {
  background-color: #031B0E;
  background-image: url('../img/special/mv_back.png');
  background-size: cover;
  background-position: center top;
  padding: 20px 20px 5px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

/* リボン画像 */
.mv-ribbon {
  margin-bottom: 25px;
}

.mv-ribbon img {
  width: 90%;
  max-width: 400px;
  height: auto;
}

/* メインタイトル全体 */
.mv-title {
  margin-bottom: -30px;
  line-height: 1.6;
}

.mv-title-top {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.mv-title-main {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 10px;
  background: linear-gradient(to bottom, #FFFDE7, #E4B848);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(228, 184, 72, 0.3));
}

.mv-tickets {
  margin-bottom: 15px;
}

.mv-tickets img {
  margin-bottom: -70px;
}

.mv-note {
  color: #ffffff;
  font-size: 0.8rem;
  text-align: right;
  margin: 0;
  padding-right: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* --- サービス紹介カード共通 --- */
.card {
  text-align: center;
  margin-bottom: 50px;
}

.card-header {
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

.bg-logo {
  position: relative;
  width: 80%;
  opacity: 0.7;
  top: -15px;
}

.target-text {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  color: var(--text-accent);
  margin-top: -30px;
  margin-left: 25px;
  font-weight: bold;
}

.device-view {
  margin-bottom: 10px;
}

.device-view img {
  max-width: 80%;
  height: auto;
}

.catch-copy {
  font-size: 1.4rem;
  color: var(--text-accent);
  margin-bottom: 20px;
}

.hl {
  background: linear-gradient(transparent 60%, var(--marker) 60%);
}

.mk {
  background: linear-gradient(to right, rgba(233, 183, 0, 0.6), rgba(255, 240, 135, 0.6), rgba(245, 198, 10, 0.6));
  background-position: bottom;
  background-size: 100% 45%;
  background-repeat: no-repeat;
  padding: 0 2px;
}

/* --- 特徴リスト --- */
.feature-list {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}

.feature-list li::before {
  content: url('../img/special/icon_list.svg');
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
}

/* --- 画像ボタン用共通 --- */
.cta-btn {
  display: block;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-btn img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.note {
  font-size: 0.8rem;
  text-align: center;
}

/* --- アコーディオン共通 --- */
.accordion-section {
  margin-bottom: 50px;
}

.accordion-section--offer {
  margin-bottom: 0;
}

.accordion-header {
  background-color: var(--offer-red);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.accordion-header--offer {
  color: #E0D9BB;
}

.accordion-header--works {
  color: #BA7453;
}

.header-sub {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
}

.header-main {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
}

.header-icon {
  width: 30px;
  height: 15px;
  margin: 15px auto 0;
  position: relative;
  transition: transform 0.3s;
}

.header-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 32px;
  height: 7px;
  transform: translateX(-50%);
  background-image: url('../img/special/icon_arrow.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.accordion-header.is-open .header-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background-color: var(--bg-color);
}

.accordion-inner {
  padding: 40px 0 0;
  text-align: center;
}

.accordion-inner--offer {
  padding-bottom: 40px;
}

.intro-text {
  text-align: left;
  margin-bottom: 10px;
}

.accordion-inner .device-view img {
  max-width: 100%;
}

.section-title {
  font-size: 1.3rem;
  color: var(--offer-red);
}

.brown-text {
  font-size: 1rem;
}

/* --- 料金表ボックス (ヤギオファー用) --- */
.price-box {
  border: 2px solid var(--offer-red);
  background: var(--white);
  border-radius: 10px;
  padding: 25px 0;
  max-width: 500px;
  margin: 10px auto 30px;
}

.price-box-title {
  color: var(--offer-red);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.price-box-note {
  font-size: 0.85rem;
  text-align: left;
  margin-bottom: 20px;
  padding: 0 20px;
}

.price-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #eee;
  text-align: left;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  font-weight: bold;
}

.check-list {
  list-style: none;
  padding: 20px 20px 0 10px;
  text-align: left;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  white-space: nowrap;
}

.check-list li::before {
  content: url('../img/special/icon_check.svg');
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  background-color: var(--offer-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* --- ヤギワークス用テーマ（濃い緑） --- */
.works-theme .accordion-header {
  background-color: var(--works-green);
}

.works-border {
  border-color: var(--works-green) !important;
}

.feature-label {
  color: var(--works-green);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* --- カルーセル（スライダー） --- */
.feature-carousel-area {
  text-align: center;
  margin: 40px 0;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 80%;
  max-width: 400px;
}

.carousel-track {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 5px;
}

.slide-img-wrapper img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slide-text {
  margin-top: 20px;
  text-align: left;
}

.feature-title {
  font-size: 1.2rem;
  color: var(--works-green);
  font-weight: bold;
  margin: 0 0 5px;
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-main);
  margin: 0;
}

/* 矢印ボタン */
.carousel-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

.carousel-arrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--text-accent);
  border-right: 3px solid var(--text-accent);
}

.carousel-arrow.prev::before {
  transform: rotate(-135deg);
}

.carousel-arrow.next::before {
  transform: rotate(45deg);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d4d4d4;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}

.carousel-dots .dot.active {
  background-color: var(--works-green);
}

/* 利用料金カード（ヤギワークス版） */
.price-card {
  border: 2px solid var(--works-green);
  background: var(--white);
  border-radius: 10px;
  padding: 30px 20px;
  margin: 30px 0;
  text-align: left;
}

.price-card-title {
  color: var(--works-green);
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
}

.price-tag {
  background: var(--text-accent);
  color: var(--white);
  font-weight: bold;
  display: inline-block;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.price-main {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--works-green);
  text-align: center;
}

.price-main span {
  font-size: 1rem;
}

/* コスト比較テーブル */
.compare-box {
  background: var(--white);
  border-radius: 10px;
  /* padding: 25px; */
  margin-bottom: 15px;
}

.compare-title {
  color: var(--works-green);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.compare-tag {
  background: #333;
  color: var(--white);
  font-size: 0.8rem;
  padding: 5px;
  margin: 0 20px;
  border-radius: 5px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.compare-table td:last-child {
  text-align: right;
  font-weight: bold;
}

.compare-footer {
  font-weight: bold;
  color: var(--works-green);
  font-size: 1.1rem;
}

/* メリットカード3枚 */
.benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.b-card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.b-card h5 {
  color: var(--works-green);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.b-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* --- FAQセクション --- */
.faq-section {
  background-color: var(--bg-color);
  padding: 0 20px 50px;
  text-align: center;
}

.faq-main-title {
  color: var(--offer-red);
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.faq-container {
  max-width: 600px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.faq-app-links {
  margin-top: 25px;
}

.app-item {
  margin-bottom: 15px;
}

.app-label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.app-btn img {
  height: 45px;
  width: auto;
}

.app-btn--ios img {
  margin-left: 10px;
}

.app-btn--android img {
  height: 64px;
}

.faq-disclaimer {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.5;
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* --- ボトムCTAセクション --- */
.bottom-cta-section {
  background-color: #322822;
  color: var(--white);
}

.bottom-cta-inner {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.bottom-cta-message {
  color: #FEF2E2;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.bottom-cta-inner .cta-area {
  margin-bottom: 30px;
}

.bottom-cta-inner .cta-area:last-child {
  margin-bottom: 0;
}

.light-note {
  color: #ddd;
}

/* --- フッター --- */
.site-footer {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.footer-inner {
  padding-top: 50px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.footer-info-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.footer-links {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-links p {
  margin: 0;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-pmark img {
  width: 90px;
  height: auto;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  padding-bottom: 30px;
}

@media (max-width: 380px) {
  .footer-links {
    font-size: 0.75rem;
  }

  .footer-pmark img {
    width: 70px;
  }
}

/* ==========================================
   ▼ レスポンシブ（PC時のスプリットレイアウト） ▼
========================================== */
@media (min-width: 768px) {

  body {
    background-color: #E8E8E8;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/special/back.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: -1;
  }

  .split-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 40px auto;
    gap: 40px;
  }

  /* 左側の固定CVエリア */
  .pc-side-cv {
    display: block;
    width: 360px;
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
  }

  /* 固定CVエリア内のデザイン */
  .pc-cv-inner {
    position: relative;
    background-color: var(--bg-color);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .pc-cv-inner::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100px;
    height: 100px;
    background-image: url(../img/special/ribbon.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    transform: rotate(-15deg);
  }

  .pc-cv-title {
    color: var(--offer-red);
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .pc-cv-desc {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  /* 右側のLPコンテンツエリア */
  .sp-content-wrap {
    width: 360px;
    flex-shrink: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    overflow: hidden;
  }
}