/* ---------- Global Styles ---------- */
html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    min-width: 1000px;
    line-height: 1.6 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

/* Visually hidden (for screen readers) */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

main {
    background: #FFF;
    display: block;
}

img {
    max-width: 100%;
    vertical-align: top;
}

.sp {
    display: none !important;
}

.shikoku {
    color: #333;
    padding: 0;
}

.shikoku .inner {
    width: 1000px;
    margin: 0 auto;
}

.shikoku p {
    line-height: 1.8;
}

.shikoku a {
    color: #3166b6;
    text-decoration: underline;
}

.shikoku a:hover {
    color: #ff6600;
}

/* (removed) legacy panel/cta styles */


/* ---------- Main Visual (#main_visual) ---------- */
.shikoku #main_visual {
    width: 1000px;
    height: 413px;
    margin: 0 auto;
    background: url(../images/main_bg.jpg) center center / 1000px 413px no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shikoku #main_visual figure {
    margin: 0;
}

.shikoku #main_visual figure.pc {
    display: block;
}

.shikoku #main_visual figure.sp {
    display: none;
}

.shikoku #main_visual h1 {
    margin: 0;
}

.shikoku #main_visual img {
    display: block;
    width: auto;
    width: 569px;
    height: auto;
    margin: 0;
}


/* ---------- Navigation (#nav) ---------- */
.shikoku #nav {
    background: #f5f5f5;
    padding: 10px 0;
}

.shikoku #nav ul {
    display: flex;
    width: 1000px;
    margin: 0 auto;
    padding: 0;
    gap: 10px;
}

.shikoku #nav li {
    width: 25%;
    list-style: none;
}

.shikoku #nav a {
    display: grid;
    grid-template-columns: auto auto;
    /* アイコン + テキストを中央寄せで横並び */
    grid-template-rows: auto auto;
    /* 1行目: アイコン+テキスト, 2行目: 三角 */
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
    justify-items: center;
    justify-content: center;
    height: 102px;
    /* Figma */
    padding: 18px 12px 8px;
    /* top 18, bottom 8 */
    text-decoration: none;
    color: #3b2b06;
    background: #f4c453;
    border-radius: 8px;
}

.shikoku #nav li:nth-child(2) a {
    background: #0e8a40;
    color: #fff;
}

.shikoku #nav li:nth-child(3) a {
    background: #2c5c9d;
    color: #fff;
}

.shikoku #nav li:nth-child(4) a {
    background: #c94135;
    color: #fff;
}

.shikoku #nav a::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    grid-column: 1;
    grid-row: 1;
}

.shikoku #nav li:nth-child(1) a::before {
    background-image: url(../images/menu_icon1.png);
}

.shikoku #nav li:nth-child(2) a::before {
    background-image: url(../images/menu_icon2.png);
}

.shikoku #nav li:nth-child(3) a::before {
    background-image: url(../images/menu_icon3.png);
}

.shikoku #nav li:nth-child(4) a::before {
    background-image: url(../images/menu_icon4.png);
}

.shikoku #nav a span {
    display: block;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: inherit;
    grid-column: 2;
    grid-row: 1;
}

.shikoku #nav a::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -2px;
    background: url(../images/tri_down_bk.png) no-repeat center/contain;
    grid-column: 1 / span 2;
    grid-row: 2;
}

.shikoku #nav li:nth-child(2) a::after,
.shikoku #nav li:nth-child(3) a::after,
.shikoku #nav li:nth-child(4) a::after {
    background-image: url(../images/tri_down_wh.png);
}


/* ---------- Lead Section (#lead) ---------- */
#lead {
    margin: 64px 0;
}

#lead .inner {
    /* Uses common .inner */
}

#lead h2 {
    color: #333333;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

#lead p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}


#lead .note {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

/* Lead link styles - inherits from .shikoku a */
#lead a:hover {
    color: #ff6600;
}

/* リード文 注意書き: 先頭の「※」でぶら下がりインデント（折り返しで頭を揃える） */
#lead .note {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

#lead .inner p.note {
    margin-top: 24px;
}#lead .inner p.note+p {
    margin-top: 0px;
}

/* Lead more content toggle */
#lead .lead-more {
    display: none;
}

#lead .lead-more.active {
    display: block;
}

#lead .btn-more {
    color: #3166b6;
    text-decoration: underline;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 8px;
}

#lead .btn-more:hover {
    color: #2a5aa0;
}

#lead .btn-more.active {
    color: #666;
}

#lead .btn-more.active:hover {
    color: #555;
}


/* ---------- Parking Section (#parking) ---------- */
#parking {
    background: #EDF8FF;
    padding: 64px 0;
}

/* ---------- Ticket Features Section ---------- */
#ticket-features {
    background: transparent;
    padding: 24px 0 0;
}

#ticket-features .inner {
    background: #edfbff;
    /* Figma: コンテナ背景 */
    border-radius: 8px;
    padding: 16px 24px 24px;
    /* pt-2 px-6 pb-6 相当 */
}

.features-title {
    color: #3166b6;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    text-underline-offset: 2px;
    margin: 0 0 16px 0;
}

.features-box {
    background: transparent;
    /* 背景は .inner に集約 */
    border-radius: 0;
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.feature-item {
    background: #fff;
    border-radius: 8px;
    padding: 16px 10px 16px 10px;
}

.feature-text {
    position: relative;
    padding-left: 32px;
    /* 16px bullet + 12px space + 4px余白 */
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
    background-image: url(../images/ellipse.png);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: 10px 50%;
}

.feature-text a:hover {
    color: #ff6600;
}

/* ---------- Video CTA ---------- */
#video-cta {
    background: transparent;
    padding: 32px 0 0;
}

#video-cta .inner {
    /* inherits width */
}

.btn-video {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* アイコン間隔はラベル内で制御 */
    background: #2c5c9d;
    color: #fff;
    text-decoration: none;
    padding: 24px 16px;
    border-radius: 8px;
    /* 角丸なし */
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
}

/* リンク状態でも白・下線なしを強制 */
.btn-video,
.btn-video:link,
.btn-video:visited,
.btn-video:hover,
.btn-video:active {
    color: #fff !important;
    text-decoration: none !important;
}

.btn-video-label {
    color: inherit !important;
    text-decoration: none !important;
}

.btn-video:hover {
    opacity: 0.9;
}

.btn-video-label {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    /* アイコン-テキスト-アイコンの間隔を16px */
}

.btn-video-label::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    background: url(../images/icon_movie.png) no-repeat center/contain;
}

.btn-video-label::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/icon_arrow_down.png) no-repeat center/contain;
}

/* 空要素は使わず、背景で描画するため不要 */

/* ---------- Notes ---------- */
#notes {
    margin:32px 0 0 0;
    padding: 0 0 24px;
}

#notes .notes-box {
    background: #ffeded;
    border-radius: 8px;
    padding: 12px 16px;
}

#notes .notes-list {
    margin: 0;
    padding-left: 1.5em;
    list-style: disc;
}

#notes .notes-list li {
    color: #d80000;
    font-size: 14px;
    line-height: 1.8;
}

#notes .notes-list a:hover {
    color: #ff6600;
}

/* Notice Section */
.notice-section {
    margin: 30px 0;
    background: #ffeded;
    border-radius: 8px;
    padding: 12px 16px;
  }
  
  .notice-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #d80000;
  }

  .notice-text {
    color: #d80000;
    font-size: 14px;
  }
  
  .notice-list {
    margin: 0;
    padding-left: 1.5em;
    list-style: disc;
  }
  
  .notice-list li {
    color: #d80000;
    font-size: 14px;
    line-height: 1.8;
  }
  
  .notice-list li:last-child {
    border-bottom: none;
  }


/* ---------- Ticket CTA (width 1000) ---------- */
.ticket-cta {
    background: transparent;
    padding: 32px 0;
}

.ticket-cta .inner {
    /* width:1000px inherits */
}

.ticket-cta-box {
    background: #f7f7f1;
    border-radius: 8px;
    padding: 32px;
}

.ticket-title {
    text-align: center;
    margin: 0 0 16px 0;
}

.ticket-title figure {
    margin: 0;
}

.ticket-title figure.pc {
    display: block;
}

.ticket-title figure.sp {
    display: none;
}

.ticket-title img {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.ticket-actions {
    display: flex;
    gap: 24px;
    padding: 24px 0;
}

.ticket-actions a {
    text-decoration: none;
    color: #333;
}

.btn-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffd600;
    color: #333;
    /* MCP指定 */
    padding: 24px 16px;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 0;
    background-image: url(../images/icon_chevron_bk.png);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: right 16px center;
}

.btn-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    color: #333;
    /* MCPのテキストカラー指定に合わせる */
    padding: 24px 16px;
    border-radius: 8px;
    border: 1px solid #d7d7d7;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 0;
    background-image: url(../images/icon_chevron_bk.png);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: right 16px center;
}

.btn-label {
    font-size: 20px;
    /* MCP指定: 20px */
    font-weight: 600;
    line-height: 26px;
    /* MCP leading */
    color: #333;
    /* リンクだが文字色は#333 */
    text-align: center;
    flex: 1 1 auto;
}

/* 背景アイコン使用に切替のため .btn-chevron img は不要 */

.ticket-notes {
    margin-top: 16px;
}

.ticket-notes ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticket-notes .note {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

/* 共通のnotesスタイル */
.notes {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.notes li {
    font-size: 14px;
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin: 0;
    line-height: 1.8;
    color: #333;
}

.ticket-notes .note+.note {
    margin-top: 0;
}

.ticket-notes .note {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.ticket-notes a:hover {
    color: #ff6600;
}

/* ---------- Prefecture Parking (対象駐車場・空き状況) ---------- */
#pref-parking {
    background: #edfbff;
    padding: 54px 0 16px 0;
}

#pref-parking .inner {
    /* 1000px inherit */
}

.pref-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

/* Removed old .pref-title styles with icon - now using new design without icons */

.pref-intro {
    margin: 40px 0 0 0
}

.pref-intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.price-title,
.howto-title,
.spots-title,
.parking-title {
    position: relative;
    background: linear-gradient(to right, transparent 0, transparent 16px, #0086b3 0px, #0086b3 100%);
    color: #fff;
    width: 100%;
    border-radius: 0 24px 24px 0 !important;
    padding: 20px 32px 20px 124px !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    /* 見出し直後に余白があるため0に */
}

.price-title::before,
.howto-title::before,
.spots-title::before,
.parking-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 102px;
    height: 102px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.price-title::before {
    background-image: url(../images/icon2.png);
}

.howto-title::before {
    background-image: url(../images/icon3.png);
}

.spots-title::before {
    background-image: url(../images/icon4.png);
}

.parking-title::before {
    background-image: url(../images/icon1.png);
}

.pref-content {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.pref-map {
    width: 684px;
}

.pref-map-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: none;
}

.pref-map-card img {
    display: block;
    width: 460px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.pref-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pref-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pref-cards li {
    margin: 0;
    padding: 0;
}

.pref-list-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* テキストと三角の間隔 */
    font-size: 16px;
    font-weight: 600;
    color: #181c30;
    margin: 0 0 0 0;
    line-height: 1.3;
}

.pref-list-title::after {
    content: "";
    display: inline-block;
    width: 10px;
    /* tri_down_bk.png の見た目に合わせる */
    height: 12px;
    background: url(../images/tri_down_bk.png) no-repeat center/contain;
}

.pref-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 4px 16px;
    text-decoration: none !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .1);
    position: relative;
}

.pref-card-name {
    font-size: 20px;
    font-weight: 600;
    color: #181c30;
    flex: 1;
    text-align: center;
}

.pref-card::before {
    content: "";
    display: block;
    width: 76px;
    height: 76px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.pref-card-ehime::before {
    background-image: url(../images/map_ehime.png);
}

.pref-card-kagawa::before {
    background-image: url(../images/map_kagawa.png);
}

.pref-card-kochi::before {
    background-image: url(../images/map_kochi.png);
}

.pref-card-tokushima::before {
    background-image: url(../images/map_tokushima.png);
}

/* Disabled Tokushima card */
.pref-card-tokushima {
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
    box-shadow: none;
    border: none;
}

.pref-card-tokushima::before {
    filter: grayscale(100%);
    opacity: 0.5;
}

.pref-card-tokushima::after {
    filter: grayscale(100%);
    opacity: 0.3;
}

.pref-card-tokushima .pref-card-name {
    color: #999 !important;
}

.pref-card::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url(../images/icon_PDF.png) no-repeat center/contain;
}

.pref-card:hover {
    text-decoration: none;
    color: #181c30;
}

/* ---------- Price Section ---------- */
#price {
    background: #fff;
    padding: 64px 0 32px 0;
}

#price .inner {
    /* 1000px */
}

.price-header {
    margin-bottom: 16px;
}

.price-badge {
    background: #0086b3;
    color: #fff;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 32px;
    font-weight: 600;
    display: inline-block;
}

.price-intro p {
    margin: 0 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.price-intro p:first-child {
    margin: 40px 0 0 0;
}

.price-panel {
    display: flex;
    background: #f0f0f0;
    border: 1px solid #e7e7e7;
    gap: 0;
    align-items: stretch;
    margin-top: 16px;
}

.price-label {
    width: 474px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #F0F0F0;
    border: 1px solid #F0F0F0;
}

.price-label-main {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4 !important;
    margin: 0;
}

.price-label-sub {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4 !important;
    margin: 0;
}

.price-amount {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.price-amount p {
    margin: 0;
    color: #0086b3;
    font-weight: 600;
    line-height: 1 !important;
}

.price-amount .num {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 96px;
    line-height: 1 !important;
}

.price-amount .yen {
    font-size: 64px;
    margin-left: 4px;
}

.price-amount .tax {
    font-size: 40px;
    margin-left: 4px;
    color: #0086b3;
}

.price-info {
    display: grid;
    grid-template-columns: 130px 1fr 130px 1fr;
    gap: 0;
    height: 62px;
    border: 1px solid #e7e7e7;
    margin-top: 24px;
}

.price-info-label {
    background: #f0f0f0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.price-info-content {
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

/* ---------- How-to Section ---------- */
#usage {
    background: #edfbff;
    padding: 54px 32px 0;
}

#usage .inner {
    /* 1000px */
}

.howto-header {
    margin-bottom: 16px;
}

.howto-badge {
    background: #0086b3;
    color: #fff;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 32px;
    font-weight: 600;
    display: inline-block;
}

.howto-intro p {
    margin: 40px 0 0 0;
    font-size: 16px;
    line-height: 1.8;
}

.howto-steps {
    background: #fff;
    border-radius: 8px;
    padding: 24px 32px;
    margin-top: 40px;
}

.howto-step {
    padding:0 0 32px 0;
    border-bottom: 1px solid #cbdcda;
    margin-bottom: 32px;
}

.howto-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px; /* panel bottom padding (24px) + 16px = 40px */
}

.howto-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 48px;
}

.howto-step-no {
    display: none;
}

.howto-step.step-1 .howto-step-head::before,
.howto-step.step-2 .howto-step-head::before,
.howto-step.step-3 .howto-step-head::before,
.howto-step.step-4 .howto-step-head::before,
.howto-step.step-5 .howto-step-head::before,
.howto-step.step-6 .howto-step-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.howto-step.step-1 .howto-step-head::before {
    background-image: url(../images/icon_no1.png);
}

.howto-step.step-2 .howto-step-head::before {
    background-image: url(../images/icon_no2.png);
}

.howto-step.step-3 .howto-step-head::before {
    background-image: url(../images/icon_no3.png);
}

.howto-step.step-4 .howto-step-head::before {
    background-image: url(../images/icon_no4.png);
}

.howto-step.step-5 .howto-step-head::before {
    background-image: url(../images/icon_no5.png);
}

.howto-step.step-6 .howto-step-head::before {
    background-image: url(../images/icon_no6.png);
}

.howto-step-head h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.howto-step-body {
    display: flex;
    gap: 32px;
}

.howto-step-text {
    flex: 1;
}

.howto-step-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

.howto-step-text .note {
    font-size: 14px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}



.howto-step-text a:hover {
    color: #ff6600;
}

.howto-link {
    margin: 16px 0 !important;
}

.howto-step-image {
    width: 390px;
    flex-shrink: 0;
}

.howto-step-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #DDD;
}

/* ---------- How-to Video ---------- */
#howto-video {
    padding: 40px 0 0 0;
}

#howto-video .howto-video-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px;
    text-align: center;
}

#howto-video .howto-video-image {
    width: 800px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#howto-video .howto-video-image iframe {
    display: block;
    width: 800px;
    height: 450px;
    max-width: 100%;
    border-radius: 8px;
}

/* ---------- FAQ ---------- */
#faq {
    padding: 40px 0 8px 0;
}

#faq .inner {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
}

#faq h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

#faq .faq-intro {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

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

#faq .faq-list li {
    margin: 32px 0 0 0;
    padding: 32px 0 0 0;
    border-top: 1px solid #eee;
}

#faq .faq-list li:first-child {
    border-top: none;
    margin: 32px 0 0 0;
    padding: 0 0 0 0;
}

#faq .faq-q {
    position: relative;
    padding-left: 52px;
    min-height: 40px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.8;
}

#faq .faq-q::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 40px;
    height: 40px;
    background-image: url(../images/icon_q.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#faq .faq-a {
    position: relative;
    padding-left: 52px;
    min-height: 24px;
    margin-top: 6px;
}

#faq .faq-a::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: 24px;
    height: 24px;
    background-image: url(../images/icon_a.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#faq .faq-a p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

#faq .faq-a .note {
    font-size: 14px;
    padding-left: 1.2em;
    text-indent: -1.2em;
    margin: 0;
    line-height: 1.8;
    color: #333;
}



/* ---------- Spots (おすすめスポット) ---------- */
#spots {
    padding: 40px 0;
}

#spots .spots-header {
    margin-bottom: 16px;
}

#spots .spots-banner {
    margin: 32px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 32px 60px 32px;
}

#spots .spots-banner .banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

#spots .spots-banner .banner-title {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.17;
    color: #181c30;
    margin: 0;
    white-space: nowrap;
}

#spots .spots-banner .banner-subtitle {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.17;
    color: #181c30;
    margin: 0;
    white-space: nowrap;
}

#spots .spots-banner .banner-image {
    width: 500px;
    max-width: 100%;
}

#spots .spots-banner .banner-image img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: center;
}

#spots .spots-badge {
    background: #0086b3;
    color: #fff;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 32px;
    font-weight: 600;
    display: inline-block;
}

.pref-section {
    margin-top: 64px;
}

.pref-section.pref-ehime {
    margin-top: 40px;
}



.pref-title {
    background: #f4c453;
    color: #3b2b06;
    font-size: 24px;
    font-weight: 600;
    padding: 16px;
    border-radius: 8px;
    margin: 0 0 32px 0;
    line-height: 1.17;
}

.pref-ehime-title {
    background: #F4C453;
    color: #3b2b06;
}

.pref-kagawa-title {
    background: #0E8A40;
    color: #fff;
}

.pref-kochi-title {
    background: #C94135;
    color: #fff;
}

.pref-tokushima-title {
    background: #2C5C9D;
    color: #fff;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.spot-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 448 / 336;
    object-fit: cover;
}

.spot-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin: 8px 0 0 0;
}

/* Spot name underlines with prefecture colors */
.spot-ehime-name {
    border-bottom-color: #F4C453;
}

.pref-kagawa .spot-name {
    border-bottom-color: #0E8A40;
}

.pref-kochi .spot-name {
    border-bottom-color: #C94135;
}

.pref-tokushima .spot-name {
    border-bottom-color: #2C5C9D;
}

.spot-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.spot-links {
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.spot-links p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #333;
}

.spot-links ul {
    margin: 0;
    padding-left: 1.2em;
}

.spot-links li {
    list-style: disc;
}




/* Section Title Common Style */
#parking h2,
#usage .section-header h2,
#spots .section-header h2 {
    color: #333333;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

/* Section Title Icon Common Style */
#parking h2::before,
#usage .section-header h2::before,
#spots .section-header h2::before {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background-color: #3166b6;
    border-radius: 8px;
    margin-right: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 40px;
    flex-shrink: 0;
}

/* Specific Icons for Section Titles */
#parking h2::before {
    background-image: url(../images/menu_icon1.png);
}

#usage .section-header h2::before {
    background-image: url(../images/menu_icon2.png);
}

#spots .section-header h2::before {
    background-image: url(../images/menu_icon4.png);
}


/* Page Links (Top and Bottom) */
.page-link ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 24px 0;
    gap: 24px;
}

.page-link li {
    width: 232px;
}

.page-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 16px 24px 42px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #d7d7d7;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #2c4398;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    position: relative;
}

.page-link a::before {
    /* removed */
}

.page-link-bottom a::before {
    /* removed */
}

.page-link a:hover {
    /* removed */
}


/* removed legacy wangan/parking list styles (begin)
/* Parking Area Sections (.wangan-area-section) */
.wangan-area-section {
    /* Applies to wangan, tobu, hokubu-seibu, nanbu */
    /* Inherits .panel styles */
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 32px;
}

.wangan-area-inner {
    width: auto;
    margin: 0;
}

.wangan-area-header {
    margin-bottom: 32px;
}

.wangan-area-header .wangan-area-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    line-height: 1;
    padding-bottom: 16px;
    border-bottom: 4px solid #3166B6;
    margin-bottom: 24px;
}

.wangan-area-description {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.8;
}

.wangan-area-map-list {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.wangan-map-placeholder {
    width: 640px;
    height: auto;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.wangan-map-placeholder img {
    width: 100%;
    height: auto;
}

.wangan-parking-list {
    width: 264px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.wangan-parking-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wangan-parking-list li:last-child {
    margin-bottom: 0;
}

.wangan-parking-list a {
    font-size: 16px;
    font-weight: 300;
    color: #2C4398;
    text-decoration: none;
    line-height: 1.4;
}

.wangan-parking-list a .parking-name {
    color: #2C4398;
    text-decoration: underline;
}

.wangan-parking-list a:hover .parking-name {
    color: #ff6600;
    text-decoration: underline;
}

.wangan-parking-list .map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 24px;
    height: 24px;
    background-color: #2C4398;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
    border-radius: 50%;
    text-decoration: none;
    flex-shrink: 0;
}

.wangan-parking-cards-row {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.wangan-parking-cards-row:last-child {
    margin-bottom: 0;
}

.parking-card {
    display: flex;
    gap: 16px;
    width: 452px;
}

.parking-card-image-tags {
    width: 160px;
    flex-shrink: 0;
}

.parking-card-image-placeholder {
    width: 160px;
    background-color: #d9d9d9;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.parking-card-image-placeholder img {
    width: 100%;
}

.parking-card-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.parking-card-tags .tag {
    display: inline-block;
    padding: 8px 0;
    font-size: 12px;
    font-weight: bold;
    border-radius: 2px;
    text-align: center;
    line-height: 1;
}

.parking-card-tags .tag-pricing {
    background-color: #FFF2F2;
    color: #E92525;
}

.parking-card-tags .tag-capacity {
    background-color: #F1F8FF;
    color: #0048CE;
}

.parking-card-details {
    width: 276px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.parking-card-details h3 {
    margin: 0;
    padding: 0;
}

.parking-card-details h3 a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: #2C4398;
    text-decoration: none;
    line-height: 1.2;
}

.parking-card-details h3 a:hover {
    color: #ff6600;
    text-decoration: none;
}

.parking-card-details h3 .map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 4px;
    width: 24px;
    height: 24px;
    background-color: #2C4398;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    text-decoration: none;
    flex-shrink: 0;
}

.parking-card-buttons {
    display: flex;
    gap: 8px;
}

.parking-card-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    width: 134px;
    text-align: center;
}

/* removed legacy wangan/parking list styles (end) */

.parking-card-buttons .btn-movie::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icon_movie.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: grayscale(100%);
}

.parking-card-buttons .btn-cam {
    background-color: #ffffff;
    color: #2C4398;
    border: 1px solid transparent;
    text-decoration: underline;
}

.parking-card-buttons .btn-cam::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icon_cam.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.parking-card-details p {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* (removed invalid nested comment block) */

.camera-video-placeholder {
    width: 100%;
    height: 526px;
    background-color: #d9d9d9;
    color: #555;
    position: relative;
}

.camera-video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.camera-video-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.camera-video-container p {
    text-align: left;
    margin: 0;
}

.camera-video-container .external-link {
    font-size: 16px;
    font-weight: bold;
    color: #2C4398;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 0px;
}

.camera-video-container .external-link:hover {
    color: #ff6600;
}

/* Add bullet icon before the link */
.camera-video-container .external-link::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(../images/bullet.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.camera-video-container .external-link::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    /* margin-left: 5px; Replaced by gap */
    background: url('../images/icon_external_dark.png') no-repeat;
    background-size: contain;
    /* vertical-align: middle; Flex handles alignment */
    flex-shrink: 0;
}

/* Moved Camera Video External Link */
.camera-video-external-link-bottom {
    text-align: center;
    /* margin-top: 32px; */
    font-size: 16px;
}

/* Inherit .external-link styles from .camera-video-container for the moved link */
.camera-video-external-link-bottom .external-link {
    font-size: 16px;
    font-weight: bold;
    color: #2C4398;
    text-decoration: underline;
    display: inline;
    line-height: 1.6;
}

.camera-video-external-link-bottom .external-link .link-icon-before {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/bullet.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 4px;
    vertical-align: middle;
}

.camera-video-external-link-bottom .external-link .link-icon-after {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/icon_external_dark.png') no-repeat center center;
    background-size: 14px 14px;
    margin-left: 4px;
    vertical-align: middle;
}

.camera-video-external-link-bottom .external-link:hover {
    color: #ff6600;
}


.discription_text_wrap {
    background: #f3f1e4;
    padding-top: 32px;
}

.discription_text {
    border: solid 1px #c0c1af;
    font-size: 13px;
    margin: auto;
    padding: 20px;
    line-height: 2;
    width: 1000px;
}

/* ---------- Trigger for SP omitted text (Keep if JS uses it) ---------- */
.trigger {
    display: none;
}

