/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

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

/* コンテナ設定 */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
#header {
    background-color: #fff;
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #C5A15A;
    letter-spacing: 0.03em;
    text-align: center;
}

/* キービジュアル */
.hero-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #C5A15A;
    text-align: center;
}

.hero-bg {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-bg img {
    width: 100%;
    max-width: 1440px;
    height: auto;
}

/* CTA セクション */
.cta-section {
    padding: 80px 0;
    background-color: #fff;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.cta-image {
    width: 800px;
    height: auto;
    overflow: hidden;
}

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

.cta-buttons {
    display: flex;
    gap: 30px;
}

.cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 375px;
    height: 110px;
    background-color: #604B3F;
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 2.15;
    position: relative;
}

.cta-btn:hover {
    background-color: #4a3a30;
}

.cta-btn .arrow {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/* 装飾 */
.divider {
    width: 100%;
    height: 105px;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -1px;
}

.divider img {
    width: 100%;
    height: 105px;
}

/* セクション共通 */
.about-section,
.modelhouse-section,
.voice-section,
.faq-section,
.access-section {
    padding: 40px 0 90px;
}

.about-section {
    background-color: #F9F3E8;
}

.faq-section {
    background-color: #F9F3E8;
}

/* セクションタイトル */
.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 110px;
}

.section-title h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #604B3F;
    text-align: center;
    letter-spacing: 0.03em;
    line-height: 1.448;
}

.section-title h2 span {
    border-bottom: 7px solid #C5A15A;
    display: inline-block;
    padding-bottom: 5px;
}

.section-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    text-align: center;
    letter-spacing: 0.03em;
    line-height: 1.7;
}

/* フィーチャーボックス */
.feature-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 110px;
    position: relative;
    height: auto;
    padding-bottom: 0;
    overflow: visible;
}

.feature-box:last-child {
    margin-bottom: 0;
}

.feature-box.reverse .feature-image {
    left: 0;
    right: auto;
    top: -40px;
}

.feature-box.reverse .feature-content {
    margin-left: auto; /* 右寄せ */
    margin-right: 0;
}

.feature-box.reverse .feature-text {
    margin-left: calc(24% + 90px); /* 画像を避ける左側余白 */
    margin-right: 0;
}

.feature-box.reverse .feature-badge {
    left: 20px;
    right: auto;
    bottom: -30px;
}

.feature-content {
    width: calc(100% - 24%); /* 100%から画像幅の半分を引く */
    height: auto;
    min-height: 450px;
    padding: 40px 50px;
    background-color: #F6E7CC;
    position: relative;
    z-index: 2;
}

.feature-text {
    margin-right: calc(24% + 90px);
}

.feature-text h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #604B3F;
    margin-bottom: 20px;
    line-height: 1.536;
}

.feature-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.778;
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 5px 5px 0px 0px rgba(197, 161, 90, 0.4);
}

.point-item img {
    width: 23px;
    height: 23px;
}

.point-item span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #C5A15A;
    line-height: 1.6;
}

.feature-image {
    width: 580px;
    height: 420px;
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 3;
    overflow: visible; /* バッジが切れないように */
    line-height: 0;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.feature-image > .image-wrapper > img:first-child {
    width: 580px;
    height: 420px;
    object-fit: cover;
}

.feature-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    z-index: 4;
}

.feature-badge img {
}

/* モデルハウス特有のスタイル */
.photo-gallery {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.photo-gallery img {
    width: 250px;
    height: 160px;
}


/* オーナー様の声 */
.voice-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0;
    position: relative;
    height: auto;
    padding-bottom: 0px;
    overflow: visible;
}

.voice-content {
    width: calc(100% - 24%); /* 100%から画像幅の半分を引く */
    height: auto;
    min-height: 450px;
    background-color: #F6E7CC;
    position: relative;
    z-index: 2;
    padding: 40px 50px;
}

.voice-content h3,
.voice-content p {
    margin-right: calc(24% + 90px); /* 文字部分に画像を避ける余白 */
}

.voice-content h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #604B3F;
    margin-bottom: 20px;
    line-height: 1.536;
}

.voice-content p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    line-height: 1.778;
}

.voice-image {
    width: 580px;
    height: 420px;
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 3;
    overflow: visible; /* バッジが切れないように */
    line-height: 0;
}

.voice-image > .image-wrapper > img:first-child {
    width: 580px;
    height: 420px;
}

.voice-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    z-index: 4;
}

.voice-badge img {
}

.decoration {
    position: absolute;
    right: 161px;
    bottom: -400px;
    width: 212px;
    height: 116px;
}

.decoration img {
    width: 100%;
    height: auto;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 5px;
    overflow: hidden;
}

.faq-question,
.faq-answer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
}

.faq-question {
    background-color: #C5A15A;
}

.faq-answer {
    background-color: #fff;
}

.q-mark,
.a-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1.391;
}

.q-mark {
    background-color: #fff;
    color: #C5A15A;
}

.a-mark {
    background-color: #C5A15A;
    color: #fff;
}

.question-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 23px;
    color: #fff;
    line-height: 1.87;
    flex: 1;
}

.answer-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    line-height: 1.778;
    flex: 1;
}

/* アクセスマップ */
.map-container {
    width: 100%;
    max-width: 1200px;
    height: 430px;
    margin: 0 auto;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* フッター */
#footer {
    background-color: #C5A15A;
    color: #fff;
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 1.448;
}

.footer-logo p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 1.448;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.office-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid #fff;
    flex: 1;
    max-width: 320px;
}

.office-info h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 23px;
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 1.448;
}

.office-info p {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 1.8;
}

.footer-license {
    display: flex;
    justify-content: center;
    padding: 0 40px;
}

.footer-license p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 2;
}

.footer-copyright {
    border-top: 1px solid #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #fff;
    line-height: 1.448;
}


@media screen and (max-width: 1200px) {
    /* ヘッダーロゴを左寄せ */
    .header-content {
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .logo {
        font-size: 26px;
        text-align: left;
    }
    
    .hero-section {
        height: auto;
        min-height: 300px;
        background-color: transparent;
    }
    
    
    /* CTA画像：左右余白なし、角丸なし、横100% */
    .cta-image {
        width: 100%;
        max-width: none;
        border-radius: 0;
        margin: 0;
    }
    
    /* CTAボタン：中央寄せで縦並び */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 375px;
        height: 75px;
        font-size: 18px;
    }
    
    /* CTA全体のパディング調整 */
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content {
        gap: 30px;
    }
    
    /* セクション全体のパディング調整（SP版Figmaデータに合わせて） */
    .about-section,
    .modelhouse-section,
    .voice-section,
    .faq-section,
    .access-section {
        padding: 30px 0 40px;
    }
    
    .section-title {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    /* コンテナのパディング調整 */
    .container {
        padding: 0 20px;
    }
    
    /* SP版ではPoint01、Designなどの英字バッジを非表示 */
    .feature-badge,
    .voice-badge,
    .decoration {
        display: none !important;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-desc {
        font-size: 18px;
    }
    
    .feature-box {
        height: auto;
        margin-bottom: 30px;
    }
    
    .feature-box.reverse {
        /* レスポンシブ時は同じ */
    }
    
    /* SP版：Figma SP版データに完全一致させる */
    .feature-image {
        position: relative;
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        height: 260px;
        margin-bottom: 0;
        overflow: hidden;
    }
    
    .feature-content {
        width: 100%;
        padding: 20px;
        position: relative;
        margin-right: 0;
        min-height: auto;
    }
    
    .feature-text {
        margin-right: 0;
    }
    
    .feature-box.reverse .feature-text {
        margin-left: 0;
        margin-right: 0;
    }
    
    .feature-box.reverse .feature-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .feature-text h3 {
        font-size: 23px;
    }
    
    .feature-text p {
        font-size: 16px;
    }
    
    .point-item span {
        font-size: 18px;
    }
    
    .feature-image {
        width: 100%;
        height: 260px;
    }
    
    .photo-gallery {
        display: flex; /* 横並び維持 */
        gap: 0;
    }
    
    .photo-gallery img {
        width: 50%;
        height: auto;
    }
    
    .voice-box {
        height: auto;
    }
    
    .voice-image {
        position: relative;
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        height: 260px;
        margin-bottom: 0;
        overflow: hidden;
    }
    
    .voice-content {
        width: 100%;
        padding: 20px;
        position: relative;
        min-height: auto;
    }
    
    .voice-content h3,
    .voice-content p {
        margin-right: 0;
    }
    
    .voice-content h3 {
        font-size: 23px;
    }
    
    .voice-content p {
        font-size: 16px;
    }
    
    .faq-question,
    .faq-answer {
        padding: 10px;
    }
    
    .q-mark,
    .a-mark {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .answer-text {
        font-size: 16px;
    }
    
    .map-container {
        height: 260px;
    }
    
    .feature-image {
        width: 100%;
        height: auto;
        text-align: center;
        order: 1; /* 画像を上に */
    }
    .feature-image img {
        width: 100% !important;
        height: auto !important;
    }
    
    .feature-image > .image-wrapper > img:first-child {
        width: 100% !important;
        height: auto !important;
    }
    
    .image-wrapper {
        width: 100% !important;
        display: block !important;
    }
    
    .voice-box {
        display: flex;
        flex-direction: column;
    }
    
    .voice-image {
        width: 100%;
        height: auto;
        text-align: center;
        order: 1; /* 画像を上に */
        position: relative;
        top: 0;
        right: auto;
        left: auto;
        overflow: hidden;
    }
    
    .voice-image img {
        width: 100% !important;
        height: auto !important;
    }
    
    .voice-content {
        width: 100%;
        padding: 20px;
        position: relative;
        min-height: auto;
        order: 2; /* テキストを下に */
        margin-right: 0;
    }
    
    .voice-content h3,
    .voice-content p {
        margin-right: 0;
    }
    .feature-box {
        display: flex;
        flex-direction: column;
    }
    
    .feature-content {
        order: 2; /* テキストを下に */
    }
    
    .feature-box.reverse .feature-image {
        left: 0;
        right: auto;
        top: 0;
        order: 1; /* reverse要素でも画像を上に */
    }
    
    .divider {
        height: 50px;
    }
    
    .divider img {
        height: 50px;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }
    
    /* 店舗情報の調整 */
    .office-info {
        width: 100%;
        max-width: 300px;
    }
    
    .office-info h3 {
        font-size: 18px;
    }
    
    /* produced byの文字サイズ */
    .footer-logo p {
        font-size: 16px;
    }
}

/* PC版では改行を非表示 */
.sp-br {
    display: none;
}

/* 1200px以下ではPC用改行を非表示 */
@media screen and (max-width: 1200px) {
    .pc-br {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    /* スマホ版では改行を表示 */
    .sp-br {
        display: inline;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    /* SP版ではPoint01、Designなどの英字バッジを非表示 */
    .feature-badge,
    .voice-badge,
    .decoration {
        display: none !important;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-desc {
        font-size: 16px;
    }
    
    /* SP版では画像配置をリセット */
    .feature-image {
        position: relative;
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .feature-content {
        width: 100%;
        padding: 15px;
        position: relative;
    }
    
    .voice-image {
        position: relative;
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    
    .voice-content {
        width: 100%;
        padding: 15px;
        position: relative;
    }
    
    .feature-text h3 {
        font-size: 20px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
    
    .point-item span {
        font-size: 16px;
    }
    
    .cta-btn {
        height: 60px;
        font-size: 16px;
    }
    
    /* 画像設定：横100%・高さauto・余白削除 */
    .feature-image {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }
    
    .feature-image img,
    .voice-image img {
        width: 100% !important;
        height: auto !important;
    }
    
    .voice-image {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }
    
    /* フッター調整 */
    .office-info {
        width: 100%;
        max-width: 280px; /* 横幅を合わせる */
    }
    
    .office-info h3 {
        font-size: 16px; /* 店名を小さく */
    }
    
    .footer-logo p {
        font-size: 14px; /* produced byを小さく */
    }
}


/* 2025.09 画像注釈 */
p.nota {
    font-size: 14px;
    font-weight: normal!important;
    line-height: 1.778;
    margin-top: 15px;
    margin-bottom: 0;

}

/* 2025.09 フローティングメニュー */
.header_link_to_form {
  position: fixed;
  top: 8rem;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.header_link_to_form a {
  display: flex;
  justify-content: center;
  align-items: center;
  writing-mode: vertical-rl;
  text-decoration: none;
  letter-spacing: 0.2rem;
  text-orientation: mixed;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.2;
  height: 170px;
  padding: 1.2rem;
  background-color: #604B3F;
  transition: background-color 0.3s, color 0.3s;
}
.header_link_to_form a:hover {
  background-color: #4a3a30;
  color: #fff;
}

@media screen and (width <= 798px) {
  header.wrap {
    margin: 0 0.5rem;
  }
  .header_link_to_form {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
    gap: 0.3rem;
    padding: 0.3rem;
    box-sizing: border-box;
  }
  .header_link_to_form a {
    width: 100%;
    height: 55px;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: normal;
    text-align: center;
    text-orientation: initial;
    writing-mode: initial;
  }
}
