/* ===================================
   フォント定義
   =================================== */
@font-face {
    font-family: 'MOBO';
    src: url('../fonts/MOBO-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MOBO';
    src: url('../fonts/MOBO-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MOBO';
    src: url('../fonts/MOBO-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MOBO';
    src: url('../fonts/MOBO-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   リセット & 基本設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary-green: #46934f;
    --color-secondary-green: #418e4a;
    --color-primary-orange: #f08300;
    --color-secondary-orange: #fdb100;
    --color-brown: #6c3400;
    --color-dark-brown: #5c2e14;
    --color-text-dark: #231815;
    --color-text-gray: #797979;
    --color-bg-gray: #f4f4f4;
    --color-white: #ffffff;
    --color-border: #cecece;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip; /* clipはスクロールコンテキストを作らないのでstickyヘッダーが機能する */
}

body {
    font-family: 'MOBO', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    color: var(--color-text-dark);
    background: var(--color-bg-gray);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-size: inherit;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: sticky;
    top: 0;
    background: #f4f4f4;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    padding: 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 25px;
    width: 114px;
    overflow: hidden;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instagram-link {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.instagram-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-header {
    background: linear-gradient(90deg, var(--color-secondary-orange) 0%, var(--color-primary-orange) 60%);
    color: var(--color-white);
    padding: 6px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-header:hover {
    opacity: 0.9;
}

.btn-header span {
    line-height: 13px;
}

.btn-header img {
    width: 13px;
    height: 13px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 100%;
    height: 1px;
    background: #231815;
    display: block;
}

/* ===================================
   メインビジュアル
   =================================== */
.mv {
    position: relative;
    margin: 0 auto 10px auto;
    overflow: hidden;
    padding: 80px 0 40px;
}

.mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-content {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.mv-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
    flex: 1;
    text-shadow: 
        0px 4px 40px #6c3400,
        0px 4px 40px rgba(108, 52, 0, 0.25),
        0px 4px 20px rgba(108, 52, 0, 0.35);
}

.mv-text {
    display: flex;
    flex-direction: column;
    padding: 0 2px 0 30px;
}

.mv-subtitle {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2.25px;
    line-height: 1.6;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
}

.mv-title {
    color: var(--color-white);
    font-family: 'Futura', sans-serif;
    font-size: 80px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: normal;
    margin: 0;
}

.mv-description {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
    padding: 0 2px 0 30px;
    white-space: nowrap;
}

.mv-image {
    width: 366px;
    height: 132px;
    flex-shrink: 0;
}

.mv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-info-box {
    position: relative;
    width: 390px;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 20px;
}

.mv-quote {
    position: relative;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.8;
    padding: 10px 13px 11px;
    white-space: nowrap;
}

.quote-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 11px;
}

.quote-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 11px;
    transform: rotate(180deg);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-secondary-orange) 0%, var(--color-primary-orange) 60%);
    color: var(--color-white);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    width: 100%;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary img {
    width: 20px;
    height: 20px;
}

.mv-features {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.feature-item img {
    width: 40px;
    height: 40px;
}

.feature-item p {
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.feature-divider {
    width: 1px;
    height: 50px;
    background: #a0a0a0;
}

/* ===================================
   サービスカード
   =================================== */
.services{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden; /* スライドアニメ横ぶれ防止 */
}

.service-card {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.service-card:nth-child(1),.service-card:nth-child(2) {
    width: 50%;
}

.service-image {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 403px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    position: absolute;
    right: 20px;
    top: calc(50% + 120px);
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    padding: 20px;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.service-card.reform .service-info {
    left: 20px;
    right: auto;
}

.service-card.real-estate .service-info {
    right: 20px;
}

.service-info-row {
    display: flex;
    gap: 3px;
    align-items: flex-start;
    justify-content: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-text h3 {
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin: 0;
}

.service-en {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin: 0;
}

.service-card.custom-home .service-en {
    color: var(--color-brown);
}

.service-card.reform .service-en {
    color: var(--color-primary-orange);
}

.service-card.real-estate .service-en {
    color: var(--color-secondary-green);
}

.service-divider {
    height: 1px;
    width: 24px;
}

.service-divider.brown,
.service-card.custom-home .service-divider {
    background: var(--color-brown);
}

.service-divider.orange,
.service-card.reform .service-divider {
    background: var(--color-primary-orange);
}

.service-divider.green,
.service-card.real-estate .service-divider {
    background: var(--color-secondary-green);
}

.service-card .link-arrow {
    white-space: nowrap;
}

.service-card.reform .link-arrow {
    /* reformもservice-info内でflex配置 */
}

/* ===================================
   共通セクション
   =================================== */
.section-title-wrapper {
    margin-bottom: 20px;
}

.section-title-wrapper.center {
    text-align: center;
}

.section-en {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    color: var(--color-secondary-green);
    margin-bottom: 2px;
}

.section-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.section-divider {
    height: 1px;
    width: 24px;
    background: var(--color-text-dark);
}

.section-title-wrapper.center .section-divider {
    margin: 0 auto;
}

.section-title-wrapper.white .section-en,
.section-title-wrapper.white .section-title {
    color: var(--color-white);
}

.section-title-wrapper.white .section-divider {
    background: var(--color-white);
}

.section-description {
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    margin-top: 10px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--color-primary-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.link-arrow:hover {
    opacity: 0.7;
}

.link-arrow img {
    width: 20px;
    height: 20px;
}

.link-arrow.center {
    display: flex;
    justify-content: center;
}

/* ===================================
   施工事例
   =================================== */
.construction-examples {
    padding: 40px 0 20px 0;
    background: var(--color-bg-gray);
    margin: 0 auto;
}

.construction-examples .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px 20px;
}

.case-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.case-card {
    background: var(--color-white);
    overflow: hidden;
    display: flex;
}

.case-card.large {
    width: 100%;
}

.case-card.large .case-image {
    width: 61%;
    height: 235px;
    flex-shrink: 0;
    overflow: hidden;
}

.case-card.large .case-image img {
    width: 100%;
    height: 345px;
    object-fit: cover;
    object-position: center bottom;
}

.case-card.large .case-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-card.large h3 {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.case-card.large p {
    font-size: 12px;
    color: var(--color-text-gray);
    letter-spacing: 0.1em;
    line-height: 1.8;
    margin: 0;
}

.case-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.case-card.small {
    width: 50%;
    flex-direction: column;
}

.case-card.small .case-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.case-card.small .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card.small .case-content {
    padding: 15px;
}

.case-card.small h3 {
    font-size: 14px;
    line-height: 1.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 4px 0;
}

.case-card.small p {
    font-size: 12px;
    color: var(--color-text-gray);
    letter-spacing: 0.1em;
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   Instagram
   =================================== */
.instagram {
    padding: 40px 30px;
    background: var(--color-bg-gray);
    margin: 0 auto;
}

.instagram-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.instagram-row {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.instagram-item {
    width: 160px;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   お客様の声
   =================================== */
.customer-feedback {
    padding: 40px 30px;
    background: var(--color-bg-gray);
    margin: 0 auto;
}

.feedback-slider {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.feedback-slider::-webkit-scrollbar {
    display: none;
}

.feedback-track {
    display: flex;
    gap: 8px;
    width: fit-content;
}

.feedback-card {
    background: var(--color-white);
    padding: 20px;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-snap-align: start;
}

.feedback-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feedback-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--color-primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feedback-avatar.orange {
    border-color: var(--color-primary-orange);
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feedback-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-number {
    font-size: 14px;
    letter-spacing: 0.1em;
}

.stars {
    display: flex;
    gap: 0;
}

.stars img {
    width: 20px;
    height: 20px;
}

.feedback-text {
    font-size: 13px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.slider-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 16px;
    height: 2px;
    background: #bdbdbd;
    transition: background 0.3s;
}

.dot.active {
    background: var(--color-text-dark);
}

/* ===================================
   ワンストップ
   =================================== */
.onestop {
    position: relative;
    height: 321px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 20px;
    margin: 0 auto;
}

.onestop-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 439px;
    z-index: 0;
}

.onestop-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.onestop-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
}

.onestop .section-title-wrapper,
.onestop .section-description,
.onestop-diagram {
    position: relative;
    z-index: 1;
}

.onestop-diagram {
    position: relative;
    width: 366px;
    height: 132px;
}

.union {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.onestop-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 21px;
    padding: 15px 15px 12px 15px;
}

.onestop-circle {
    position: relative;
    width: 108px;
    height: 108px;
}

.onestop-circle > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.onestop-circle .stroke {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.circle-content .icon {
    width: 40px;
    height: 40px;
}

.circle-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.circle-title {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.circle-en {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 7px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.circle-en {
    color: var(--color-brown);
}

.onestop-circle:nth-child(2) .circle-en {
    color: var(--color-secondary-green);
}

.onestop-circle:nth-child(3) .circle-en {
    color: var(--color-primary-orange);
}

.circle-divider {
    height: 1px;
    width: 24px;
}

.circle-divider.brown {
    background: var(--color-brown);
}

.circle-divider.green {
    background: var(--color-secondary-green);
}

.circle-divider.orange {
    background: var(--color-primary-orange);
}


/* ===== ワンストップ（注文住宅ページ版） ===== */
.ch-onestop {
    position: relative;
   
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ch-onestop-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.ch-onestop-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-onestop-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
}

.ch-onestop-box {
    position: relative;
    z-index: 1;
    width: 390px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px 55px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
/* ===================================
   お知らせ
   =================================== */
.information{
    padding: 60px 30px;
    background: var(--color-bg-gray);
    margin: 0 auto;
}

.information-wrap {
    background: var(--color-white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-date {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-primary-green);
    border: 1px solid var(--color-primary-green);
    padding: 0 5px;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
}

.news-title {
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

/* ===================================
   会社概要
   =================================== */
.about {
    padding: 12px 20px 60px 20px;
    background: var(--color-bg-gray);
    margin: 0 auto;
}

.about-wrap{
    background: var(--color-white);
    display: flex;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
}

.about-image {
    width: 167px;
    height: 223px;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.about-text {
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

/* ===================================
   お問い合わせ
   =================================== */
.contact {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-bg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(calc(-50% + 20px));
    width: 100%;
    height: 322px;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.contact-text {
    color: var(--color-white);
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

.btn-white {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 6px 20px 6px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background 0.3s;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-white img {
    width: 20px;
    height: 20px;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: var(--color-white);
    padding: 30px 0;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer .logo {
    height: 25px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-col a {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-dark-brown);
    line-height: 1.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.7;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--color-text-gray);
}

/* ===================================
   ナビゲーションドロワー
   =================================== */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    pointer-events: none;
}

.nav-menu.open {
    pointer-events: auto;
}

.nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu.open .nav-overlay {
    opacity: 1;
}

.nav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--color-white);
    padding: 70px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.nav-menu.open .nav-drawer {
    transform: translateX(0);
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-close span {
    position: absolute;
    width: 24px;
    height: 1px;
    background: var(--color-text-dark);
    display: block;
}

.nav-close span:first-child {
    transform: rotate(45deg);
}

.nav-close span:last-child {
    transform: rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links li {
    border-bottom: 1px solid var(--color-border);
}

.nav-links li:first-child {
    border-top: 1px solid var(--color-border);
}

.nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-text-dark);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary-green);
}

.nav-cta {
    margin-top: auto;
}

/* ハンバーガー → × アニメーション */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 430px) {
    .mv-title {
        color: var(--color-white);
        font-family: 'Futura', sans-serif;
        font-size: 40px;
        font-weight: 500;
        letter-spacing: 2px;
        line-height: normal;
        margin: 0;
    }

    .mv-description {
        color: var(--color-white);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.5px;
        line-height: 1.6;
        text-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
        padding: 0 2px 0 30px;
        white-space: nowrap;
    }

    .mv-info-box {
        width: 90%;
    }

    .service-card:nth-child(1),.service-card:nth-child(2) {
        width: 100%;
    }

    
    .instagram-grid {
        overflow-x: unset;
        flex-direction: column;
        width: 100%;
    }
    
    .about {
        margin: 30px 20px 0;
    }
}

@media (min-width: 431px) {
    body {
        background: #e0e0e0;
    }

    .mv-bg img {
        content: url('../images/mv-bg-pc.png');
    }
}

/* ===================================
   アーカイブ共通: ページヒーロー
   =================================== */
.archive-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 30px 30px;
}

.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, #2d6e35 100%);
    z-index: 0;
}

.archive-hero.orange::before {
    background: linear-gradient(135deg, var(--color-primary-orange) 0%, #c06a00 100%);
}

.archive-hero.brown::before {
    background: linear-gradient(135deg, var(--color-brown) 0%, #3e1e00 100%);
}

.archive-hero-inner {
    position: relative;
    z-index: 1;
}

.archive-hero-en {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.archive-hero-title {
    font-size: 26px;
    color: var(--color-white);
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* ===================================
   アーカイブ共通: カードグリッド
   =================================== */
.archive-section {
    padding: 40px 20px 80px;
    background: var(--color-bg-gray);
}

.archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.archive-card {
    background: var(--color-white);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text-dark);
    display: block;
    transition: box-shadow 0.3s;
}

.archive-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.archive-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e8e8;
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.archive-card:hover .archive-card-image img {
    transform: scale(1.05);
}

.archive-card-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #999;
    font-size: 12px;
}

.archive-card-body {
    padding: 14px;
}

.archive-card-date {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-primary-green);
    border: 1px solid var(--color-primary-green);
    padding: 1px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.archive-card-date.orange {
    color: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
}

.archive-card-title {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.7;
    font-weight: 600;
}

.archive-card-excerpt {
    font-size: 11px;
    color: var(--color-text-gray);
    line-height: 1.7;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 物件情報: タグ */
.archive-card-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    background: var(--color-primary-green);
    color: var(--color-white);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

/* ===================================
   アーカイブ: ページネーション
   =================================== */
.archive-pagination {
    text-align: center;
    margin-top: 40px;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--color-primary-green);
    border-color: var(--color-primary-green);
    color: var(--color-white);
}

.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
    width: auto;
    padding: 0 12px;
}

/* 空表示 */
.archive-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-gray);
    font-size: 14px;
    letter-spacing: 0.05em;
}

/* ===================================
   シングル: 施工事例 / 物件詳細
   =================================== */
.single-section {
    padding: 40px 20px 80px;
    background: var(--color-bg-gray);
}

.single-inner {
    background: var(--color-white);
    padding: 30px 20px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.single-date {
    font-size: 12px;
    color: var(--color-text-gray);
    letter-spacing: 0.05em;
}

.single-title {
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--color-primary-green);
    padding-bottom: 16px;
}

.single-title.orange {
    border-color: var(--color-primary-orange);
}

.single-thumb {
    width: 100%;
    margin-bottom: 28px;
    border-radius: 4px;
    overflow: hidden;
}

.single-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.single-content {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.03em;
}

.single-content p { margin-bottom: 1em; }
.single-content h2 { font-size: 18px; font-weight: 600; margin: 1.5em 0 0.5em; }
.single-content h3 { font-size: 16px; font-weight: 600; margin: 1.2em 0 0.4em; }
.single-content img { max-width: 100%; height: auto; margin: 1em 0; }

.single-back {
    margin-top: 40px;
    text-align: center;
}

/* ===================================
   お問い合わせページ
   =================================== */
.contact-page-section {
    padding: 50px 20px 80px;
    background: var(--color-bg-gray);
}

.contact-page-inner {
    background: var(--color-white);
    padding: 40px 24px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-page-lead {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 2;
    margin-bottom: 32px;
    color: var(--color-text-dark);
}

/* CF7 フォームスタイル */
.contact-page-inner .wpcf7 input[type="text"],
.contact-page-inner .wpcf7 input[type="email"],
.contact-page-inner .wpcf7 input[type="tel"],
.contact-page-inner .wpcf7 select,
.contact-page-inner .wpcf7 textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.contact-page-inner .wpcf7 input:focus,
.contact-page-inner .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary-green);
    background: #fff;
}

.contact-page-inner .wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-page-inner .wpcf7 input[type="submit"] {
    background: linear-gradient(90deg, var(--color-secondary-orange) 0%, var(--color-primary-orange) 60%);
    color: var(--color-white);
    border: none;
    padding: 14px 40px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    margin-top: 16px;
}

.contact-page-inner .wpcf7 input[type="submit"]:hover {
    opacity: 0.9;
}

.contact-page-inner .wpcf7 .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.contact-page-inner .wpcf7 .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
}

/* 会社情報テーブル（お問い合わせページ下部） */
.contact-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.contact-info-table th,
.contact-info-table td {
    padding: 12px 14px;
    font-size: 13px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.contact-info-table th {
    width: 35%;
    color: var(--color-text-gray);
    font-weight: normal;
    background: #fafafa;
}

.grecaptcha-badge{
    display: none;
}
/* ===================================
   FV アニメーション（ページロード時）
   =================================== */
@keyframes fvFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

.fv-anim {
    opacity: 0;
    animation: fvFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.3s;
}

.fv-anim[data-delay="1"] { animation-delay: 0.55s; }
.fv-anim[data-delay="2"] { animation-delay: 0.8s; }

/* ===================================
   スクロールアニメーション共通
   =================================== */
.js-anim {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.js-anim.fade-up    { transform: translateY(50px); }
.js-anim.slide-left  { transform: translateX(-80px); }
.js-anim.slide-right { transform: translateX(80px); }

.js-anim.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* before/after はコンテナが overflow:hidden のため translate を小さくする */
.rf-ba-before.js-anim.slide-left  { transform: translateX(-50px); }
.rf-ba-after.js-anim.slide-right  { transform: translateX(50px); }

/* ===================================
   お問い合わせページ レスポンシブ修正
   =================================== */
@media (max-width: 640px) {
    .contact-info-table,
    .contact-info-table tbody,
    .contact-info-table tr,
    .contact-info-table th,
    .contact-info-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-info-table th {
        background: #f5f5f5;
        padding: 10px 14px 4px;
        border-bottom: none;
        font-weight: 600;
        color: var(--color-text-dark);
    }

    .contact-info-table td {
        padding: 6px 14px 14px;
    }

    .contact-page-inner {
        padding: 24px 16px;
    }

    .contact-page-lead {
        font-size: 13px;
    }

    .archive-hero {
        height: 150px;
    }

    .archive-hero-title {
        font-size: 20px;
    }

    .archive-hero-en {
        font-size: 10px;
    }
}

/* ===================================
   MV スライドショー
   =================================== */
.mv-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mv-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.mv-bg-slide.active {
    opacity: 1;
}

.mv-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ken Burns: アクティブ時にわずかにズームアウト */
@keyframes mvKenBurns {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0); }
}

.mv-bg-slide.active img {
    animation: mvKenBurns 5.5s ease-out forwards;
}

/* ===================================
   アーカイブ共通: ページヒーロー
   =================================== */
.archive-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 30px 30px;
}
.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, #2d6e35 100%);
    z-index: 0;
}
.archive-hero.orange::before { background: linear-gradient(135deg, var(--color-primary-orange) 0%, #c06a00 100%); }
.archive-hero.brown::before  { background: linear-gradient(135deg, var(--color-brown) 0%, #3e1e00 100%); }
.archive-hero-inner   { position: relative; z-index: 1; }
.archive-hero-en      { font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.archive-hero-title   { font-size: 26px; color: var(--color-white); letter-spacing: 0.1em; line-height: 1.4; }

/* ===================================
   アーカイブ共通: カードグリッド
   =================================== */
.archive-section { padding: 40px 20px 80px; background: var(--color-bg-gray); }
.archive-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.archive-card    { background: var(--color-white); box-shadow: 0 0 3px rgba(0,0,0,.1); overflow: hidden; text-decoration: none; color: var(--color-text-dark); display: block; transition: box-shadow .3s; }
.archive-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.archive-card-image { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #e8e8e8; }
.archive-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.archive-card:hover .archive-card-image img { transform: scale(1.05); }
.archive-card-image .no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #ddd; color: #999; font-size: 12px; }
.archive-card-body   { padding: 14px; }
.archive-card-date   { font-size: 11px; color: var(--color-primary-green); border: 1px solid var(--color-primary-green); padding: 1px 6px; border-radius: 3px; display: inline-block; margin-bottom: 8px; }
.archive-card-date.orange { color: var(--color-primary-orange); border-color: var(--color-primary-orange); }
.archive-card-title  { font-size: 13px; letter-spacing: .05em; line-height: 1.7; font-weight: 600; }
.archive-card-excerpt{ font-size: 11px; color: var(--color-text-gray); line-height: 1.7; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive-card-tag    { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 2px; background: var(--color-primary-green); color: var(--color-white); margin-bottom: 6px; }
.archive-empty       { text-align: center; padding: 60px 20px; color: var(--color-text-gray); font-size: 14px; }

/* ===================================
   アーカイブ: ページネーション
   =================================== */
.archive-pagination { text-align: center; margin-top: 40px; }
.archive-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; }
.archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--color-border); border-radius: 4px; font-size: 13px; color: var(--color-text-dark); text-decoration: none; transition: all .2s; }
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover { background: var(--color-primary-green); border-color: var(--color-primary-green); color: var(--color-white); }
.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next  { width: auto; padding: 0 12px; }

/* ===================================
   シングル
   =================================== */
.single-section { padding: 40px 20px 80px; background: var(--color-bg-gray); }
.single-inner   { background: var(--color-white); padding: 30px 20px; box-shadow: 0 0 3px rgba(0,0,0,.1); }
.single-meta    { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.single-date    { font-size: 12px; color: var(--color-text-gray); }
.single-title   { font-size: 20px; letter-spacing: .05em; line-height: 1.6; margin-bottom: 24px; border-bottom: 2px solid var(--color-primary-green); padding-bottom: 16px; }
.single-title.orange { border-color: var(--color-primary-orange); }
.single-thumb   { width: 100%; margin-bottom: 28px; border-radius: 4px; overflow: hidden; }
.single-thumb img { width: 100%; height: auto; display: block; }
.single-content { font-size: 14px; line-height: 2; }
.single-content p  { margin-bottom: 1em; }
.single-content h2 { font-size: 18px; font-weight: 600; margin: 1.5em 0 .5em; }
.single-content h3 { font-size: 16px; font-weight: 600; margin: 1.2em 0 .4em; }
.single-content img{ max-width: 100%; height: auto; margin: 1em 0; }
.single-back    { margin-top: 40px; text-align: center; }

/* ===================================
   お問い合わせページ
   =================================== */
.contact-page-section { padding: 50px 20px 80px; background: var(--color-bg-gray); max-width: 100%; overflow-x: hidden; }
.contact-page-inner   { background: var(--color-white); padding: 40px 24px; box-shadow: 0 0 3px rgba(0,0,0,.1); max-width: 100%; overflow-x: hidden; word-break: break-word; overflow-wrap: break-word; }
.contact-page-lead    { font-size: 14px; letter-spacing: .05em; line-height: 2; margin-bottom: 32px; word-break: break-word; overflow-wrap: break-word; }
.contact-tel-link     { color: var(--color-primary-green); font-weight: 600; text-decoration: none; white-space: nowrap; -webkit-text-size-adjust: 100%; display: inline; }
.contact-tel-link:hover { text-decoration: underline; }
.contact-info-table   { width: 100%; border-collapse: collapse; margin-top: 40px; table-layout: fixed; }
.contact-info-table th,
.contact-info-table td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--color-border); vertical-align: top; word-break: break-word; }
.contact-info-table th { width: 35%; color: var(--color-text-gray); font-weight: normal; background: #fafafa; }
.contact-page-inner .wpcf7 { max-width: 100%; overflow-x: hidden; }
.contact-page-inner .wpcf7 p { margin: 0 0 16px; }
.contact-page-inner .wpcf7 input[type="text"],
.contact-page-inner .wpcf7 input[type="email"],
.contact-page-inner .wpcf7 input[type="tel"],
.contact-page-inner .wpcf7 select,
.contact-page-inner .wpcf7 textarea { width: 100%; max-width: 100%; border: 1px solid var(--color-border); border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit; background: #fafafa; box-sizing: border-box; transition: border-color .2s; }
.contact-page-inner .wpcf7 input:focus,
.contact-page-inner .wpcf7 textarea:focus { outline: none; border-color: var(--color-primary-green); background: #fff; }
.contact-page-inner .wpcf7 textarea { min-height: 160px; resize: vertical; }
.contact-page-inner .wpcf7 input[type="submit"] { background: linear-gradient(90deg, var(--color-secondary-orange) 0%, var(--color-primary-orange) 60%); color: var(--color-white); border: none; padding: 14px 40px; border-radius: 5px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity .3s; width: 100%; margin-top: 16px; }
.contact-page-inner .wpcf7 input[type="submit"]:hover { opacity: .9; }

/* ===================================
   お客様の声ページ（ブロックエディタ）
   =================================== */
.owners-voice-section { background: var(--color-bg-gray); padding: 40px 20px 80px; }
.owners-voice-content { max-width: 100%; }
.entry-content p  { font-size: 14px; line-height: 2; margin-bottom: 1.2em; }
.entry-content h2 { font-size: 20px; margin: 2em 0 .8em; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary-green); }
.entry-content h3 { font-size: 16px; font-weight: 600; margin: 1.6em 0 .6em; }
.entry-content img   { max-width: 100%; height: auto; display: block; }
.entry-content figure{ margin: 1.5em 0; }
.entry-content figcaption { font-size: 12px; color: var(--color-text-gray); text-align: center; margin-top: 6px; }
.entry-content .wp-block-columns { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 1.5em; }
.entry-content .wp-block-column  { flex: 1; min-width: 0; }
.entry-content .alignwide { margin-left: -20px; margin-right: -20px; max-width: calc(100% + 40px); }
.entry-content .wp-block-button__link { background: linear-gradient(90deg, var(--color-secondary-orange), var(--color-primary-orange)); color: var(--color-white); padding: 12px 24px; border-radius: 5px; font-size: 14px; text-decoration: none; display: inline-block; transition: opacity .3s; }
.entry-content .wp-block-button__link:hover { opacity: .9; }

/* ===================================
   レスポンシブ（お問い合わせ・アーカイブ）
   =================================== */
@media (max-width: 640px) {
    .contact-page-section { padding: 30px 16px 60px; }
    .contact-page-inner   { padding: 24px 16px; }
    .contact-info-table,
    .contact-info-table tbody,
    .contact-info-table tr,
    .contact-info-table th,
    .contact-info-table td { display: block; width: 100%; box-sizing: border-box; }
    .contact-info-table th { background: #f5f5f5; padding: 10px 14px 4px; border-bottom: none; font-weight: 600; color: var(--color-text-dark); }
    .contact-info-table td { padding: 6px 14px 16px; }
    .contact-info-table tr { border-bottom: 1px solid var(--color-border); }
    .archive-hero        { height: 140px; padding: 0 20px 24px; }
    .archive-hero-title  { font-size: 18px; word-break: keep-all; }
    .archive-hero-en     { font-size: 10px; }
}

/* FV onestop-circle リンク化 */
a.onestop-circle {
    display: block;
    transition: opacity 0.2s;
}
a.onestop-circle:hover {
    opacity: 0.75;
}

/* ===================================
   お問い合わせ カスタムフォーム
   =================================== */
.contact-custom-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-group label,
.contact-form-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
    margin: 0;
}

.contact-required {
    font-size: 11px;
    font-weight: 400;
    background: var(--color-primary-orange);
    color: var(--color-white);
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ラジオボタン群 */
.contact-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 6px;
}

.contact-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-white);
    transition: all 0.2s;
    user-select: none;
}

.contact-radio-label:has(input:checked) {
    border-color: var(--color-primary-orange);
    background: rgba(240, 131, 0, 0.06);
    color: var(--color-primary-orange);
    font-weight: 600;
}

.contact-radio-label input[type="radio"] {
    accent-color: var(--color-primary-orange);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* テキスト入力 */
.contact-custom-form input[type="text"],
.contact-custom-form input[type="email"],
.contact-custom-form input[type="tel"],
.contact-custom-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s;
    color: var(--color-text-dark);
}

.contact-custom-form input:focus,
.contact-custom-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-orange);
    background: var(--color-white);
}

.contact-custom-form textarea {
    min-height: 160px;
    resize: vertical;
}

/* 送信ボタン */
.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--color-secondary-orange) 0%, var(--color-primary-orange) 60%);
    color: var(--color-white);
    border: none;
    padding: 14px 32px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.3s;
    font-family: inherit;
}

.contact-submit-btn:hover {
    opacity: 0.9;
}

.contact-submit-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* 送信結果メッセージ */
.contact-result {
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.contact-result--success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.contact-result--error {
    background: #fce4ec;
    border: 1px solid #f48fb1;
    color: #c62828;
}
/* ===================================
   CF7: お問い合わせ種別ラジオボタン
   SP縦並び / PC横並び
   =================================== */
.wpcf7-radio {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-white);
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}

.wpcf7-list-item label:hover {
    border-color: var(--color-primary-orange);
}

.wpcf7-list-item input[type="radio"] {
    accent-color: var(--color-primary-orange);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* チェック済みはオレンジ強調 */
.wpcf7-list-item:has(input:checked) label {
    border-color: var(--color-primary-orange);
    background: rgba(240, 131, 0, 0.06);
    color: var(--color-primary-orange);
    font-weight: 600;
}

/* PC: 横並び */
@media (min-width: 431px) {
    .wpcf7-radio {
        flex-direction: row;
    }
}
/* service-card / ch-feature / rf-feature のアニメーションを少し遅めに */
.service-card.js-anim,
.ch-feature--left.js-anim,
.ch-feature--right.js-anim,
.rf-feature.js-anim {
    transition-duration: 1.5s;
}

/* FV要素はJSが走る前から非表示にしてflashを防ぐ */
.rf-mv-title-box,
.rf-mv-subtitle,
.ch-mv-title-box,
.ch-mv-subtitle,
.ab-mv-title-box,
.ab-mv-subtitle,
.mv-subtitle,
.mv-title,
.mv-description {
    opacity: 0;
}
/* ch-feature / rf-feature のflash防止（JSが走る前から非表示）*/
.ch-feature--left,
.ch-feature--right,
.rf-feature {
    opacity: 0;
}
