/* ========================================
   リセット・ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}
p {
    margin-bottom: 0;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #3E3732;
    line-height: 1.8;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   PC/SP 出し分け
======================================== */
/* SP表示：519px以下で表示 */
.sp-only {
    display: initial;
}

/* PC表示：520px以上で表示 */
.pc-only {
    display: none;
}

/* 520px以上（PC） */
@media (min-width: 520px) {
    .sp-only {
        display: none;
    }

    .pc-only {
        display: initial;
    }
}

/* ========================================
   カラー変数
======================================== */
:root {
    --color-text: #3E3732;
    --color-yellow: #F9C059;
    --color-lightyellow: #FFFBF0;
    --color-yellow2: #FFEAB2;
    --color-primary: #1A2188;
    --color-green: #85C899;
    --color-pink: #EE88B4;
    --color-orange: #F08337;
    --color-blue: #97A7D5;
    --color-beige: #FAF7F4;
    --color-town-list: #F4E391;
    --color-town-check: #FFFBF0;
    --color-tag-bg: #F5F2EC;
    --color-line: #E4E4E4;
    --color-btn-line:#07B53B;
    --color-white:#fff;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: auto;
}

.header__logo {
    flex: 0 0 auto;  /* 左端に固定 */
}

.header__logo img {
    height: 28px;
    width: auto;
}

.header__sundara {
    flex: 1 1 auto;  /* 中央に配置（残りのスペースを使用） */
    display: flex;
    justify-content: center;  /* 中央揃え */
}

.header__sundara img {
    height: 38px;
    width: auto;
}

.header__menu {
    flex: 0 0 auto;  /* 右端に固定 */
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__instagram img {
    width: 28px;
    /* height: 24px; */
}

.header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 24px;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
}
/* ========================================
   LLM引用向け「要約ブロック」の設定
======================================== */
/* 画面上には表示させないための設定 */
.accessibility, .accessibility-summary {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* ========================================
   パンくず
======================================== */
.breadcrumb {
    padding: 20px 20px;
    margin: 0;
    background-color: #fff;
}

.breadcrumb p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text);
}

.breadcrumb__text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.breadcrumb__text a {
    color: var(--color-text);
}

/* ========================================
   メインビジュアル
======================================== */
.mv {
    position: relative;
    height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mv__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mv__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv__content {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv__train-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mv__train {
    background: rgba(255, 255, 255, 0.8);
    padding: 3px 10px 5px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 10px;
    line-height: 1.5;
    color: var(--color-text);
    font-weight:500;
}

.mv__title h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 31px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 5px;
}

.mv__subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.mv__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mv__tag {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 3px 10px 5px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   セクション共通
======================================== */
.sec {
    padding: 50px 0;
}

.sec__inner {
    padding: 0 20px;
    /* max-width: 375px; */
    margin: 0 auto;
}
.sec-movie .sec__inner {
    padding: 0;
}

.sec--white {
    background: #fff;
}

.sec--beige {
    background: var(--color-beige);
}

.sec--lightyellow {
    background: var(--color-lightyellow);
}

.sec--yellow {
    background: var(--color-yellow2);
}

.sec--town-list {
    background: var(--color-town-list);
}
.sec--town-check {
    background: var(--color-town-check);
}

.sec__title {
    text-align: center;
    margin-bottom: 20px;
}

.sec__title-line {
    display: flex;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 69%, rgba(249, 192, 89, 0.4) 70%, rgba(249, 192, 89, 0.4) 100%);
    width: fit-content;
    margin: auto;
}

.sec__title-large {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.5;
}

.sec__title-medium {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 2;
}

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

.sec__title-center h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.5;
    color: var(--color-text);
}

.sec__title--orange h2 {
    color: var(--color-text);
}

.text-orange {
    color: var(--color-orange);
}

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

.sec__description p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   街の詳細情報（アコーディオン）
======================================== */
.town-info {
    position: relative;
    background: var(--color-lightyellow);
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    margin-bottom: 30px;
}

.p-accessibility{
    display: none;
}

.town-info.is-open {
    height: auto;
}

.town-info__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.town-info__heading {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

.town-info__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.town-info__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.town-info__text {
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
}

.town-info__text strong {
    font-weight: 700;
}

.town-info__text-vertical {
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
}

.town-info__text-vertical strong {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.town-info__text-vertical ul {
    padding-left: 21px;
}

.town-info__text-vertical li {
    list-style: disc;
    margin-bottom: 0;
}

.town-info__text-vertical p {
    margin: 0 0 5px;
}

.town-info__text-vertical p:last-child {
    margin-bottom: 0;
}

.town-info__text-vertical a {
    display: block;
    text-decoration: underline;
    color: var(--color-text);
}

.town-info__more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.town-info.is-open .town-info__more {
    display: none;
}

.town-info__gradient {
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.town-info.is-open .town-info__gradient {
    display: none;
}

/* ========================================
   ボタン（もっと見る）
======================================== */
.btn-more {
    background: #fff;
    width: 100%;
    padding: 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-more__icon {
    width: 24px;
    height: 24px;
}

.btn-more__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
}

/* ========================================
   ボタン
======================================== */
.btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 8px 5px;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
}

/* aタグがボタンとして機能する場合のスタイル */
a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    /* color: inherit; */
    width: 100%;
}

.btn__icon {
    width: 24px;
    height: 24px;
}
.btn__icon02 {
    width: 41px;
    height: 41px;
}
.btn__icon-arrow {
    width: 14px;
    height: 14px;
}
.btn__icon-arrow {
    width: 20px;
    height: 20px;
}

.btn--outline {
    border: 1px solid var(--color-text);
    background: transparent;
    color: var(--color-text);
}

.btn--primary {
        background: var(--color-primary);
        color: #fff;
}

.btn--line {
    background: var(--color-btn-line);
    color: #fff;
}
.btn--search {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn--small {
    width: 275px;
    margin: 0 auto;
}

.btn--bukken{
    width: 331px!important;
    margin: 0 auto;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    display: flex;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* ========================================
   タイムライン
======================================== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline__item {
    position: relative;
    padding-top: 20px;
}

.timeline__badge {
    position: absolute;
    top: 5px;
    left: -15px;
    width: 90px;
    height: 90px;
    border-radius: 50px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    color: #fff;
    z-index: 1;
    word-break: keep-all;
}

.timeline__badge--green {
    background: var(--color-green);
}

.timeline__badge--pink {
    background: var(--color-pink);
}

.timeline__badge--yellow {
    background: var(--color-yellow);
}

.timeline__content {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.timeline__image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline__text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline__text a{
    text-decoration: underline;
}

.timeline__text h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.8;
}

.timeline__text p {
    font-size: 14px;
    line-height: 1.8;
}

.timeline__text p:first-of-type {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
}

.timeline__arrow {
    display: flex;
    justify-content: center;
    width: 100%;
}

.timeline__lead{
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 10px;
    line-height: 1.5;
    color: #fff;
    background-color: #716861;
    padding: 5px;
}

.timeline__pickup{
    padding: 20px 0 20px;
    background-color: #F3F0E8;
}

.timeline__inner {
    padding: 0;
    margin: 0 auto;
}

.timeline-pickup__label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-orange);
    text-align: center;
    margin-bottom: 5px;
}

.timeline-pickup__title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
}

.timeline-pickup-card:first-child {
    margin-left: 0;
}

.timeline-pickup-card__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.p-slider {
    display: block;
    width: 100%;
    overflow: hidden;
}

.p-slider .timeline-pickup-card {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.slick-initialized .slick-slide {
    display: block;
}
.p-slider .slick-slide {
    width: 234px;
    margin: 0 7.5px;
    outline: none;
}
.p-slider .slick-slide {
    height: auto;
}
.slick-slide {
    float: left;
    min-height: 1px;
    height: auto;
    display: flex !important;
}

.slick-track {
    display: flex !important;
  }
  

.timeline-pickup-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.timeline-pickup-card__image {
    width: 100%;
    height: 115px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.timeline-pickup-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.timeline-pickup-carousel {
    width: 100%;
    overflow: visible;
}

.timeline-pickup-carousel__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
}

.timeline-pickup-carousel__track > div {
    display: flex;
}

/* Pick Up：スライダー未使用（1枚）のときカードを横中央に（Slick 時のスライド幅に合わせる） */
.timeline-pickup-carousel__track.p-slider:not(.slick-initialized) {
    justify-content: center;
}

.timeline-pickup-carousel__track.p-slider:not(.slick-initialized) > div {
    flex: 0 0 auto;
    width: 234px;
    max-width: 100%;
}

.timeline-pickup-carousel__track.slick-initialized {
    overflow: visible;
}

.timeline-pickup-carousel .slick-dots {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    line-height: 1;
}

.timeline-pickup-carousel .slick-dots li {
    position: relative;
    display: inline-flex;
    margin: 0;
    padding: 0;
    width: 10px;
    height: 10px;
}

.timeline-pickup-carousel .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(166, 166, 166, 0.5);
    font-size: 0;
    line-height: 0;
    color: transparent;
}

.timeline-pickup-carousel .slick-dots li button:focus-visible {
    outline: 2px solid #A6A6A6;
    outline-offset: 2px;
}

.timeline-pickup-carousel .slick-dots li button:before {
    display: none;
}

.timeline-pickup-carousel .slick-dots li.slick-active button {
    background: #A6A6A6;
}

.timeline-pickup-card__content {
    padding: 20px;
    min-height: 173px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-pickup-card__subtitle {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 20px;
    /* white-space: nowrap; */
}

.timeline-pickup-card__info{
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.timeline-pickup-card__info img{
    margin-right:20px;
}

.timeline-pickup-card__info p:first-of-type {
    font-weight: 700;
    white-space: nowrap;
}

.timeline-pickup-card__info-line {
    flex: 1;
    min-width: 0;
}

.timeline-pickup-card__info-line a {
    color: var(--color-text);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
}

.timeline-pickup-card__info p,
.timeline-pickup-card__link {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

.timeline-pickup-card__link {
    font-weight: 400!important;
    white-space: normal!important;
    overflow-wrap: break-word;
    word-break: break-all;
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}



/* ========================================
   物件カード
======================================== */
.bukken-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bukken-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.bukken-card__image {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f2ec;
}

.bukken-card__image img {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}

.bukken-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bukken-card__title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bukken-card__title h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.8;
}

.bukken-card__price {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.8;
}

.bukken-card__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bukken-card__info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bukken-card__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.bukken-card__info-text {
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
}

.bukken-card__info-text p {
    margin: 0;
}

.bukken-card__description {
    font-size: 14px;
    line-height: 1.8;
}

.bukken-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 15px;
}

.bukken-card__tag {
    background: var(--color-tag-bg);
    padding: 0 5px;
    border-radius: 50px;
    font-size: 12px;
    line-height: 1.8;
}

/* ========================================
   Instagram
======================================== */
.instagram-embed {
    width: 100%;
    aspect-ratio: 390 / 590;
}

.instagram-embed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   住民の声
======================================== */
.voice-carousel {
    width: 100%;
    overflow: visible;
}

.voice-carousel__track.slick-initialized {
    overflow: visible;
}

.voice-slider .slick-slide {
    height: auto;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.voice-slider .slick-slide > div {
    height: 100%;
}

.voice-slider .slick-list {
    overflow: hidden;
}

.voice-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
}

.voice-cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
    overflow: hidden;
    height: auto;
    position: relative;
    height: 280px;
}
.voice-cards-container.is-open {
    height: auto;
}

.voice-card__more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.voice-card__gradient {
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.voice-card.is-open .voice-card__gradient {
    display: none;
}
.voice-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voice-card__title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-orange);
}

.voice-card__image {
    border-radius: 10px;
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
}
.voice-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-card__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.voice-card__author {
    font-size: 14px;
    line-height: 1.5;
}

/* ========================================
   動画セクション
======================================== */
.sec-movie {
    padding: 50px 20px;
}

.movie-container {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: visible;
}

.movie-container__placeholder {
    width: 100%;
    height: 595px;
    background: rgba(228, 228, 228, 0.8);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.movie-container__placeholder:hover {
    background: rgba(228, 228, 228, 0.9);
}

.movie-container__play-button {
    width: 60px;
    height: 60px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.movie-container__play-button:hover {
    transform: scale(1.1);
}

.movie-container__play-button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.movie-container__embed {
    width: 100%;
    overflow: visible;
    min-height: 0;
}

/* Instagram embed.js が iframe の高さを指定するため、aspect-ratio / 固定 min-height は付けない（下見切れ防止） */
.movie-container__embed iframe {
    width: 100% !important;
    max-width: 100%;
    border: none;
    border-radius: 5px!important;
    margin: 0 auto !important;
    display: block;
}

.movie-container__embed .instagram-media {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 540px !important;
}

.movie-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
}

.movie-description p {
    margin: 0;
}

/* ========================================
   Q&A（スライダー）
======================================== */
.qa-accordion {
    position: relative;
    overflow: visible;
    height: auto;
}

.qa-accordion__cards {
    width: 100%;
}

.qa-carousel {
    width: 100%;
    overflow: visible;
}

.qa-carousel__track.slick-initialized {
    overflow: visible;
}

.qa-slider .slick-slide {
    height: auto;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.qa-slider .slick-slide > div {
    height: auto;
}

.qa-slider .slick-list {
    overflow: hidden;
}

.qa-card {
    background: var(--color-beige);
    border-radius: 15px;
    overflow: hidden;
}

.qa-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qa-card__question {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.qa-card__image{
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.qa-badge {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.8;
    flex-shrink: 0;
    margin-top: 3px;
    background: #fff;
}

.qa-badge--blue {
    color:var(--color-blue);
}

.qa-badge--pink {
    color: var(--color-pink);
}

.qa-card__question > span:not(.qa-badge),
.qa-card__question p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.8;
    flex: 1;
    margin: 0;
}

.qa-card__answer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.qa-card__answer-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
}

.qa-card__answer-text p {
    margin: 0 0 20px;
}

.qa-card__answer-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   街グリッド
======================================== */
.town-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
}

.town-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.town-card__image {
    width: 100%;
    height: 160px;
    border-radius: 5px;
    overflow: hidden;
}

.town-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.town-card__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.town-card__title {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.town-card__content h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
}

.town-card__content p {
    font-size: 14px;
    line-height: 1.5;
}

/* ========================================
   住んだら手帳について
======================================== */
.sec-about__logo {
    width: 100%;
    aspect-ratio: 575 / 155;
    margin-bottom: 30px;
}

.sec-about__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-box {
    background: var(--color-lightyellow);
    padding: 30px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.about-box__title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-orange);
    text-align: center;
    margin-bottom: 20px;
}

.about-box__text {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-box__text p {
    margin: 0;
}

/* ========================================
   SNSリンク
======================================== */
.sns-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 90px;
}

.sns-links__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.sns-links__item img {
    height: 50px;
    width: auto;
}

.sns-links__item:nth-child(2) img {
    height: 60px;
}

/* ========================================
   フッター
======================================== */
.footer {
    border-top: 1px solid var(--color-line);
    padding: 50px 0;
}

.footer__content {
    padding: 0 20px 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 50px;
    border-top: 1px #E4E4E4 solid;
}

.footer__logo {
    width: 140px;
    height: 53px;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__company {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}

.footer__nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.footer__nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer__nav a {
    text-decoration: underline;
}

/* ========================================
   トースト通知
======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(62, 55, 50, 0.95);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 90%;
    text-align: center;
    pointer-events: none;
}

.toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast--success {
    background: rgba(62, 55, 50, 0.95);
}

.toast--error {
    background: rgba(220, 53, 69, 0.95);
}

/* ========================================
   ボタンのアクセシビリティ対応
======================================== */
.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

/* ========================================
   レスポンシブ対応（520px以下に最適化）
======================================== */
@media (max-width: 520px) {
    .sec__inner {
        max-width: 100%;
    }
}

/* ========================================
   視差効果用背景（520px以上のみ）
======================================== */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600vh; /* イラスト配置範囲に合わせて拡大 */
    z-index: -1;
    display: none;
    overflow: visible;
    background-color: #fff4d8; /* 最奥レイヤー：ライトイエロー */
}

@media (min-width: 520px) {
    .parallax-bg {
        display: block;
    }
}

/* 各視差レイヤー */
.parallax-layer {
    position: absolute;
    width: 40vw; /* viewport幅の40% */
    max-width: 600px; /* 最大幅を制限（4Kディスプレイ対応） */
    aspect-ratio: 1; /* 正方形の領域を確保 */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    will-change: transform; /* GPU アクセラレーション */
}

/* 各レイヤーの背景画像 - .page-wrapperとの相対位置を固定 */
.parallax-layer--1 {
    background-image: url('../images/common/illust01_1x.webp');
    /* 画面中央から.page-wrapperの右端まで + 余白20px */
    left: calc(50% + 197.5px + 20px);
    transform: translateX(0);
    animation: float-slow 12s ease-in-out infinite;
}

.parallax-layer--2 {
    background-image: url('../images/common/illust02_1x.webp');
    /* 画面中央から.page-wrapperの左端まで - 余白20px */
    left: calc(50% - 197.5px - 20px);
    transform: translateX(-100%); /* イラスト自身の幅分左にずらす */
    animation: float-slow 11s ease-in-out infinite;
    animation-delay: -3s; /* 位相をずらす */
}

.parallax-layer--3 {
    background-image: url('../images/common/illust03_1x.webp');
    left: calc(50% - 197.5px - 20px);
    transform: translateX(-100%);
    animation: float-medium 10s ease-in-out infinite;
}

.parallax-layer--4 {
    background-image: url('../images/common/illust04_1x.webp');
    left: calc(50% + 197.5px + 20px);
    transform: translateX(0);
    animation: float-medium 9s ease-in-out infinite;
    animation-delay: -4s;
}

/* data-position属性に応じた縦方向の配置（%ベース - page-wrapperの高さに対する相対位置） */
.parallax-layer[data-position="0"] { top: 0%; }
.parallax-layer[data-position="1"] { top: 4%; }
.parallax-layer[data-position="2"] { top: 8%; }
.parallax-layer[data-position="3"] { top: 12%; }
.parallax-layer[data-position="4"] { top: 16%; }
.parallax-layer[data-position="5"] { top: 20%; }
.parallax-layer[data-position="6"] { top: 24%; }
.parallax-layer[data-position="7"] { top: 28%; }
.parallax-layer[data-position="8"] { top: 32%; }
.parallax-layer[data-position="9"] { top: 36%; }
.parallax-layer[data-position="10"] { top: 40%; }
.parallax-layer[data-position="11"] { top: 44%; }
.parallax-layer[data-position="12"] { top: 48%; }
.parallax-layer[data-position="13"] { top: 52%; }
.parallax-layer[data-position="14"] { top: 56%; }
.parallax-layer[data-position="15"] { top: 60%; }
.parallax-layer[data-position="16"] { top: 64%; }
.parallax-layer[data-position="17"] { top: 68%; }
.parallax-layer[data-position="18"] { top: 72%; }
.parallax-layer[data-position="19"] { top: 76%; }
.parallax-layer[data-position="20"] { top: 80%; }
.parallax-layer[data-position="21"] { top: 84%; }
.parallax-layer[data-position="22"] { top: 88%; }
.parallax-layer[data-position="23"] { top: 92%; }
.parallax-layer[data-position="24"] { top: 96%; }

/* テクスチャレイヤー */
.parallax-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/bg_texture.webp');
    background-repeat: repeat;
    background-position: center;
    background-size: 100% auto;
    opacity: 0.5; /* 透明度調整 */
    pointer-events: none;
}

/* アニメーション定義（軽量版） - transformの競合を避けるためtranslateを使用 */
@keyframes float-slow {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 5px 15px;
    }
}

@keyframes float-medium {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: -5px 20px;
    }
}

/* ========================================
   レスポンシブ対応（520px以上：PC・タブレット向け）
======================================== */
@media (min-width: 520px) {
    body {
        background: transparent; /* 視差効果に置き換えるため透明に */
    }

    /* メインコンテンツを中央に配置 */
    .page-wrapper {
        max-width: 395px;
        margin: 0 auto;
        background: #fff;
        position: relative;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    /* ヘッダーも中央に配置 */
    .header {
        max-width: 395px;
        margin: 0 auto;
        left: 50%;
        /* transform: translateX(-50%); */
    }
}

/* ========================================
   アニメーション削減設定への対応
======================================== */
@media (prefers-reduced-motion: reduce) {
    .parallax-layer {
        animation: none !important;
    }

    /* スクロール連動も無効化 */
    .parallax-bg {
        position: absolute;
    }
}

/* ========================================
   追加フッター要素（qualificationスタイル）
======================================== */
footer .ft-link {
    text-align: center;
    padding: 20px 0;
    background: #3ca3ee;
}

footer .ft-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .ft-link li {
    display: inline;
    font-size: 86.5%;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #fff;
}

footer .ft-link li:last-child {
    border-right: none;
}

footer .ft-link a:link,
footer .ft-link a:visited,
footer .ft-link a:hover,
footer .ft-link a:active {
    color: #fff;
    text-decoration: none;
}

footer .ft-corp {
    text-align: center;
    padding: 8px 0;
    background: #3ca3ee;
    color: #fff;
    font-weight: bold;
}

footer .ft-corp small {
    font-size: 86.5%;
    color: #fff;
}

/* ========================================
   ハンバーガーメニュー
======================================== */
.hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.hamburger-menu.is-open {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

/* オーバーレイ（背景） - 半透明の暗い背景 */
.hamburger-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1;
    cursor: pointer;
}

/* メニューコンテンツ */
.hamburger-menu__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
    z-index: 2;
    pointer-events: none;
}

/* 閉じるボタン */
.hamburger-menu__close {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-menu__close:hover {
    opacity: 0.7;
}

.hamburger-menu__close img {
    width: 100%;
    height: 100%;
}

/* メニュー内部 */
.hamburger-menu__inner {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
    pointer-events: auto;
}

.hamburger-menu.is-open .hamburger-menu__inner {
    transform: translateY(0);
    opacity: 1;
}

/* ナビゲーションボタン */
.hamburger-menu__nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.hamburger-menu__nav-button {
    display: block;
    width: 100%;
    padding: 20px 15px;
    background: #fff;
    border-radius: 20px;
    color: #3E3732;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hamburger-menu__nav-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* SNSアイコン（横並び） */
.hamburger-menu__sns {
    width: 80%;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.hamburger-menu__sns-link {
    display: block;
    /* width: 48px; */
    height: 48px;
    transition: all 0.3s ease;
}

.hamburger-menu__sns-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.hamburger-menu__sns-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SP版スタイル調整（〜519px） */
@media (max-width: 519px) {
    .hamburger-menu__content {
        padding: 70px 20px 20px;
    }

    .hamburger-menu__inner {
        gap: 40px;
        max-width: 100%;
    }

    .hamburger-menu__nav-button {
        padding: 20px 24px;
        font-size: 16px;
        font-weight: 700;
    }

    .hamburger-menu__sns {
        gap: 25px;
    }

    .hamburger-menu__sns-link {
        /* width: 40px; */
        height: 40px;
    }
}

/* PC版スタイル（520px以上） */
@media (min-width: 520px) {
    /* .page-wrapperと同じサイズ・位置にメニューコンテンツを配置 */
    .hamburger-menu__content {
        max-width: 395px;
        margin: 0 auto;
        height: 100vh;
        box-sizing: border-box;
    }

    /* 閉じるボタンの位置はSPと同じ（変更なし） */

    .hamburger-menu__inner {
        gap: 24px;
        max-width: 320px;
    }

    /* .hamburger-menu__nav-button {
        padding: 20px 40px;
        font-size: 18px;
    } */

    .hamburger-menu__sns {
        gap: 15px;
    }

    .hamburger-menu__sns-link {
        /* width: 56px; */
        height: 56px;
    }
}

/* ハンバーガーボタンのアクティブ状態 */
.header__hamburger {
    position: relative;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

.header__hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #3E3732;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header__hamburger span:nth-child(3) {
    bottom: 0;
}

/* メニュー開いている時のアニメーション */
.header__hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}
