/* ==========================================================================
Variables & Base Styles
========================================================================== */

:root {
    --color-white: #FFFFFF;
    --color-black: #2C2620;
    --font-main: "Zen Old Mincho", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #2C2620;
    background-color: var(--color-white);
    max-width: 100vw;
    overflow-x: hidden;
	position: relative;
	z-index: -1;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}


/* PC/SP表示切り替え（デフォルト：PC表示） */
.sp-only {
    display: none !important;
}

.pc-only {
    display: inline;
}
@media (max-width: 768px){
    .pc-only{
        display: none;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}


/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
    background-color: #3A3D47;
    height: 41px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.top-bar-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: flex-end;
}

.top-bar-text {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 1px 19px 1px 6px;
}

/* トップバーのリンクスタイル */
.top-bar a.top-bar-inner {
    text-decoration: none;
    color: inherit;
}

.top-bar a.top-bar-inner:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-image: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 9998;
    padding: 15px 18px;
    position: fixed;
    top: 41px;
    background-color: #4769ac;
}
.home .site-header {
    position: absolute;
    background-color: transparent;
}


.header-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-title{
    font-size: 1.67vw;
    color: #fff;
    padding-left: 6.25vw;
}
@media screen and (max-width: 873px){
    .header-title{
        padding-left: 2vw;
    }
}
.header-right{
    display: flex;
    align-items: center;
}
.header-right-wrapper{
    display: flex;
    align-items: center;
}
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li a {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    padding: 11px 4.17vw;
    display: flex;
    line-height: 1.3;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    border-left: 1px solid #fff;
}
.header-right-btn{
    font-size: clamp(13px, 16px);
    color: #2C2620;
    padding: 1.67vw;
    background-color: #EFAD5E;
    border-radius: 30px;
    box-shadow: inset -10px -10px 10px rgba(0, 0, 0, 0.25);
    font-weight: bold;
}
@media screen and (max-width: 873px){
    .header-right-btn{
        font-size: 13px;
    }
}
.header-right a:hover {
    opacity: 0.8;
}

/* Page Layout - トップバー・ヘッダー固定分のpadding調整 */
#page {
    padding-top: 18px;
	position: relative;
	z-index: -1;
}

/* WordPress管理バー対応 */
body.admin-bar .top-bar {
    top: 32px;
}

body.admin-bar .site-header {
    top: 52px; /* 管理バー(32px) + トップバー(20px) */
}

body.admin-bar #page {
    padding-top: 112px; /* 管理バー(32px) + トップバー(20px) + ヘッダー(60px) */
}

/* ==========================================================================
   Hamburger Menu (Mobile)
   ========================================================================== */
/* PC時はSP用要素を非表示 */
.hero-banner-sp,
.hero-cta-sp {
    display: none;
}

/* PC時はハンバーガーメニュー関連を非表示 */
.hamburger-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}


.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
}

.menu-text {
    font-size: 10px;
    margin-top: 3px;
    width: auto;
    height: auto;
    background: none;
}

/* Mobile Menu - Base styles (PC: hidden, SP: uses transform animation) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #EFAD5E;
    z-index: 10001;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-content {
    padding: 60px 20px 20px;
}

.mobile-nav {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: var(--color-white);
    font-size: 16px;
}

/* ==========================================================================
Hero Section
========================================================================== */

.hero-section {
    width: 100%;
}

.hero-content {
    /* 景観とイラストが一体化した背景画像 */
    background-image: url('../images/mv_pc.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1440 / 731;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 144px;
}

.hero-text-area {
    text-align: center;
    margin: 0 auto;
}
.hero-main-copy{
    font-size: 4.16vw;
    color: #fff;
    text-shadow: 1px 0 34.6px rgba(255, 255, 255, 1);
}
.hero-sub-title{
    font-size: 2.2vw;
    color: #fff;
    text-shadow: 1px 0 34.6px rgba(255, 255, 255, 1);
}
.hero-source{
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.39vw;
    color: #898989;
}



/* ==========================================================================
Main Content
========================================================================== */
.site-main{
	position: relative;
	z-index: -1;
}


/* ==========================================================================
INDEX Section
========================================================================== */
.content-index {
    max-width: 1480px;
    padding: 0 20px;
}

.index-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
}

.index-grid-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 10px;
    min-height: 160px;
    position: relative;
    transition: background-color 0.3s;
}

.index-grid-item:hover {
    background-color: #f9f9f9;
}

.index-grid-text {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* 小さい文字（上の行）の設定 */
.index-grid-text .small {
    font-size: 14px;
    display: inline-block;
    margin-bottom: 5px;
}

/* 縦線の設定 */
.index-grid-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #333;
}

/* 最後の項目の縦線を消す */
.index-grid-item:last-child::after {
    display: none;
}

/* 元々あった横線の設定（::before）は削除 */
.index-grid-item::before {
    display: none;
}


/* ==========================================================================
Brand Concept Section
========================================================================== */
.brand-concept {
    background: url(../images/bg_about.webp) no-repeat;
    color: #FFFFFF;
    padding: 130px 0 170px;
    overflow: hidden;
    background-position: bottom;
    background-size: 100% 100%;
    position: relative;
    z-index: 11;
}

.concept-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* メイン見出し */
.concept-headline {
    text-align: center;
    margin-bottom: 60px;
}

.concept-headline h2 {
    font-size: 64px;
    font-weight: 500;
}
.concept-headline h2 .txt-small{
    font-size: 48px;
}

.glow-text {
    color: #EFAD5E;
    /* 指定のぼかし設定 */
    text-shadow: 1px 0 34.6px #EFAD5E;
}

.headline-underline {
    margin-top: 15px;
}

.headline-underline img {
    max-width: 1210px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 取材協力エリア */
.cooperation-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 30px;
}

.coop-tag {
    background-color: #FFFFFF;
    padding: 11px 43px;
    font-size: 32px;
    font-weight: bold;
    color: #3A3D47;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.company-name {
    font-size: 48px;
    margin: 0;
    line-height: 1.2;
}

.produced-by {
    font-size: 32px;
    margin: 5px 0 0;
}

/* コンテンツレイアウト */
.concept-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 左の画像を少し広く */
    gap: 80px;
    align-items: center;
}

.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.main-visual figcaption {
    margin-top: 9px;
    font-size: 20px;
    color: #D9D9D9;
}

.main-visual figcaption a {
    color: inherit;
    text-decoration: underline;
}



.concept-text p {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 1.5em;
}

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

/* レスポンシブ */
@media (max-width: 960px) {
    .concept-content {
        grid-template-columns: 1fr;
    }
    .concept-headline h2 {
        font-size: 30px;
    }
    .cooperation-header {
        flex-direction: column;
        gap: 15px;
    }
}


/* ==========================================================================
Company Intro Section (Overlap Style)
========================================================================== */
.company-intro {
    position: relative;
    z-index: 10;
    margin-top: -70px;
    padding: 145px 0 80px;
    background-image: url('../images/bg_company.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: hidden;
}

.intro-inner {
    max-width: 1363px;
    margin: 0 auto;
    padding: 0 20px;
}

/* メインレイアウト */
.intro-main-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: flex-start;
    margin-bottom: 10px;
    text-align: center;
}

/* 左側テキスト */
.coop-label {
    display: inline-block;
    border: 1px solid #877D6C;
    padding: 2px 20px;
    font-size: 28px;
    color: #877D6C;
    margin-bottom: 25px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.company-title {
    font-size: 48px;
    color: #877D6C;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
}

.company-title .sub-name {
    font-size: 32px;
}

.gold-line {
    border: 0;
    border-top: 1px solid #877D6C;
    margin: 35px 0 45px;
}

.intro-desc p {
    font-size: 24px;
    line-height: 1.8;
    text-align: justify;
}

/* 右側画像（影付き） */
.intro-image-box {
    position: relative;
}

.styled-image {
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.styled-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cite-link {
    text-align: right;
    font-size: 20px;
    color: #848181;
}

.cite-link a {
    color: #848181;
    text-decoration: underline;
}

/* ボタンエリア */
.intro-cta-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1190px;
    margin: 0 auto;
}

.cta-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 27px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: inset -10px -10px 10px rgba(0,0,0,0.25);
    border: 1px solid #2C2620;
    border-radius: 0;
    font-family: "Noto Sans JP", sans-serif;
}

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

.btn-orange {
    background: #EFAD5E;
    color: #fff;
}

.btn-white {
    background: #fff;
}

.full-width {
    width: 100%;
}

/* 背景装飾の配置例 */
.bg-decoration {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}
.top-left { top: 0; left: 0; width: 300px; }
.bottom-right { bottom: 0; right: 0; width: 350px; }



/* ==========================================================================
3つの要素セクション
========================================================================== */
.elements-section {
    background-color: #3A3D47;
    color: #FFFFFF;
    margin-top: -30px;
    position: relative;
    z-index: 5;
    padding: 140px 0;
}

.elements-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.elements-header {
    text-align: center;
    margin-bottom: 80px;
}

.elements-header h2 {
    font-size: 64px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.glow-text {
    color: #EFAD5E;
    text-shadow: 1px 0 34.6px #EFAD5E;
}

.header-line {
    margin-bottom: 30px;
}

.header-lead {
    max-width: 1050px;
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.8;
    text-align: left;
}

/* 行のレイアウト */
.elements-list {
    display: flex;
    flex-direction: column;
    gap: 80px; /* 行ごとの間隔 */
}

.element-row {
    display: flex;
    align-items: flex-end; /* 垂直中央 */
    position: relative;
    gap: 12px; /* 画像とテキストの間隔 */
}
/* 白い背景を擬似要素で作る */
.element-row::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 33px;
    width: 1325px;
    height: 403px;
    background-color: #FFFFFF;
    z-index: -1;
}

/* 偶数行（02）を反転 */
.element-row.reverse {
    flex-direction: row-reverse;
    align-items: flex-start;
}
.element-row.reverse::before{
    left: unset;
    right: 33px;
    bottom: 40px;
}

/* 画像エリア */
.element-visual {
    flex: 0.8;
    position: relative;
}

.element-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.element-visual .cite-text {
    font-size: 20px;
    color: #848181;
    margin-top: 8px;
    padding-left: 35px;
    text-align: left;
    display: block;
}
.element-row.reverse .element-visual .cite-text{
    padding-left: 0;
    text-align: right;
    padding-right: 35px;
}

.cite-text a {
    color: inherit;
    text-decoration: underline;
}

/* テキストエリア */
.element-content {
    flex: 1;
    position: relative;
    padding: 60px 37px 60px 0;
    z-index: 1;
    color: #333333; /* 文字は濃いグレー */
}
.element-row.reverse .element-content{
    padding: 60px 0 60px 90px;
    align-items: flex-end;
}
.element-content p{
    max-width: 644px;
}



/* 数字画像の位置調整 */
.number-img {
    position: absolute;
    top: -45px;
    right: 0;
    width: 86px;
}

/* 02の時は数字を左に */
.reverse .number-img {
    right: auto;
    left: 0;
}
.number-img-3{
    top: -73px;
}

.element-content h3 {
    font-size: 32px;
    margin-bottom: 35px;
    border-bottom: none;
    text-align: center;
}

.element-content p {
    font-size: 24px;
    line-height: 1.5;
    text-align: justify;
}



/* ==========================================================================
Recommendation Section (Overlap & PR Box)
========================================================================== */
.recommendation-section {
    background: url('../images/bg_pr.webp') no-repeat;
    background-position: bottom;
    background-size: 100% 100%;
    position: relative;
    z-index: 40;
    padding: 220px 0 310px;
}

.recommendation-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 上部エリア */
.upper-header {
    text-align: center;
    margin-bottom: 50px;
}

.upper-header .small-title {
    font-size: 36px;
}

.upper-header .main-title {
    font-size: 50px;
}

.upper-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 26px;
    align-items: center;
    padding: 0 50px;
}

.upper-text p {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 2em;
}

.upper-image img {
    width: 100%;
}

.upper-image figcaption {
    text-align: right;
    font-size: 20px;
    color: #848181;
    margin-top: 5px;
}

/* 連結画像エリア */
.connector-visual {
    position: absolute;
    width: 300px;
    right: 279px;
    top: -156px;
}

.connector-visual img {
    height: auto;
}

/* PRカード */
.pr-card {
    background: #fff;
    border: 1px solid #717171;
    padding: 40px 60px;
    position: relative;
    margin-top: 113px;
}

.pr-label {
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    left: 20px;
}

.pr-header {
    text-align: center;
    margin-bottom: 40px;
}

.pr-header h3 {
    font-size: 52px;
    line-height: 1.2;
}
.pr-header .txt-small{
    font-size: 36px;
}

.pr-header .glow-text {
    color: #EFAD5E;
    text-shadow: 1px 0 34.6px #EFAD5E;
}

.pr-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* チェックリスト */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 500;
}

.check-list li::before {
    content: "✓"; /* 本来は画像かアイコンフォントが望ましい */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
}

.pr-image-area img {
    width: 100%;
}

.pr-image-area figcaption {
    text-align: right;
    font-size: 20px;
    color: #848181;
}

/* ボタン */
.pr-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}




/* ==========================================================================
Construction Examples (Gallery with JS)
========================================================================== */
.case-gallery {
    padding: 10px 0 131px;
    background-color: #fff;
}

.gallery-inner {
    max-width: 1295px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bird-icon {
    width: 178px;
    text-align: left;
}

.gallery-header h2 {
    font-size: 64px;
    color: #2C2620;
    margin-bottom: 120px;
}
.gallery-header .txt-small{
    font-size: 48px;
}
.case-wrapper{
    margin: 0 auto 200px;
}
.case-wrapper:last-child{
    margin-bottom: 0;
}

/* グレーのラベルバー */
.case-label {
    background-color: #95928F;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 32px;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

/* 画像共通設定 */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.4s ease; /* フェード用 */
}

/* メイン画像 */
.main-display {
    margin-bottom: 22px;
    overflow: hidden;
}

/* サムネイル3枚 */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.thumb-img:hover {
    opacity: 0.7;
}

.cite-text {
    text-align: right;
    font-size: 20px;
    color: #848181;
    margin-top: 10px;
}

/* 深緑ボタン */
.btn-dark-green {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #56684C;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
    font-family: "Noto Sans JP", sans-serif;
}

.btn-dark-green:hover {
    transform: translateY(2px);
}
.gallery-footer .btn{
    max-width: 1104px;
    margin: 17px auto 0;
}

/* JSで切り替える際のフェードアウト用クラス */
.fade-out {
    opacity: 0;
}

/* ==========================================================================
House Concept Section
========================================================================== */
.house-concept {
    background: url(../images/bg_houseconcept.webp) no-repeat;
    padding: 260px 0 92px;
    background-size: 100% 100%;
    background-position: top;
    overflow: hidden;
}

.house-concept-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.section-title-area {
    text-align: center;
    margin-bottom: 80px;
}

.house-concept .section-title {
    font-size: 58px;
    display: inline-block;
    position: relative;
    line-height: 1.4;
    margin-bottom: 56px;
}
.house-concept .section-title .txt-small{
    font-size: 48px;
}

.house-illust {
    position: absolute;
    right: -324px;
    top: -10px;
    width: 324px;
}

.section-lead {
    max-width: 1150px;
    margin: 0 auto;
    text-align: left;
    font-size: 24px;
    line-height: 1.8;
}

.section-lead p { margin-bottom: 1.5em; }

/* 各こだわりアイテム */
.house-concept-item {
    display: flex;
    align-items: center;
    border-bottom: 3px solid #f0ebe1;
    padding-top: 20px;
}

.house-concept-item.reverse {
    flex-direction: row-reverse;
}

.item-text {
    flex: 1;
}

.item-visual {
    flex: 1.2;
    position: relative;
}

.item-visual img {
    width: 100%;
}

.item-visual .cite {
    display: block;
    text-align: right;
    font-size: 16px;
    color: #848181;
}

/* タイトルと背景数字 */
.title-wrap {
    position: relative;
    margin-bottom: 25px;
    padding-top: 20px;
}

.bg-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 160px;
    color: #fff;
    font-family: "Mr Dafoe", cursive;
    font-style: italic;
    line-height: 1;
    z-index: 1;
}

.concept-item.reverse .bg-num {
    left: auto;
    right: -10px;
}

.title-wrap h3 {
    position: relative;
    z-index: 2;
    font-size: 32px;
    color: #A9855A;
    text-align: center;
    padding-bottom: 112px;
}

.item-text p {
    font-size: 24px;
    line-height: 1.9;
    margin-bottom: 1.2em;
    padding: 0 35px;
}

/* 装飾の植物 */
.deco-flower-top {
    position: absolute;
    top: -50px;
    right: -230px;
    width: 250px;
}

.deco-flower-bottom {
    position: absolute;
    bottom: -40px;
    left: -130px;
    width: 163px;
}

/* CTAボタンエリア */
.concept-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1112px;
    margin: 40px auto 0;
}

.btn-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.btn:hover {
    transform: translateY(2px);
    box-shadow: none;
}


/* ==========================================================================
Customer Voice Section
========================================================================== */
.customer-voice {
    background: url('../images/bg_voice.webp') no-repeat;
    background-size: 100% 100%;
    padding: 265px 0 220px;
    margin-top: -50px;
}

.voice-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.voice-header {
    text-align: center;
    margin-bottom: 60px;
}

.voice-title .sub-title {
    font-size: 64px;
    color: #E5A55A;
    display: inline-block;
}

.voice-title .main-title {
    font-size: 42px;
    color: #E5A55A;
    letter-spacing: 0.1em;
}

/* 口コミカード */
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.voice-card {
    background: #FFFFFF;
    border-radius: 50px;
    display: flex;
    padding: 60px 22px 35px;
    gap: 28px;
    box-shadow: 2px 4px 2px rgba(0,0,0,0.25);
}

/* カード左側 */
.voice-left {
    flex: 0 0 432px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.voice-card-title {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 34px;
}

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

.rating {
    font-size: 36px;
}

.stars {
    color: #D5C6AD;
    letter-spacing: 2px;
}

.score {
    color: #B0A08A;
    font-weight: bold;
    margin-left: 10px;
}

/* カード右側 */
.voice-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voice-right p {
    font-size: 20px;
    line-height: 1.2;
    color: #848181;
    margin-bottom: 1.5em;
}

.voice-right p:last-of-type {
    margin-bottom: 0;
}

.source {
    margin-top: 20px;
    text-align: right;
    font-size: 13px;
    color: #7B7979;
}

/* ボタンエリア */
.voice-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}


.btn:hover {
    transform: translateY(2px);
    box-shadow: none;
}

/* ==========================================================================
Company & Studio Section
========================================================================= */
.company-studio-section {
    padding: 176px 0 0;
    background-color: #fff;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

/* イントロ・重なり */
.intro-header {
    position: relative;
    margin-bottom: 40px;
}

.intro-header .sub-title { font-size: 40px; color: #877D6C; }
.intro-header .main-title { font-size: 64px; color: #E3933C;}

.tree-deco {
    position: absolute;
    right: 0;
    top: -140px;
    width: 332px;
    z-index: 1;
}

.overlap-box-wrapper {
    margin-bottom: 40px;
    position: relative;
    max-width: 1126px;
}

.grey-box {
    background-color: #8E8681;
    color: #fff;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.box-sub { font-size: 32px; margin-bottom: 10px; }
.box-title { font-size: 48px; font-weight: bold; }

.overlap-img-top {
    position: absolute;
    z-index: 5;
    width: 460px;
    right: -167px;
    top: -30px;
}
.overlap-img-top img { width: 100%; }
.company-brand{
    background-color: #FCF7ED;
    padding: 30px 54px 356px;
}
.brand-name { font-size: 65px; color: #615B56; text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);}
.brand-sub { font-size: 32px; color: #615B56; margin-bottom: 30px; text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);}

.large-visual {
    position: absolute;
    right: -167px;
    top: 420px;
    width: 95%;
}

.cite { text-align: right; font-size: 12px; color: #999; margin-top: 5px; }

.intro-description { line-height: 2; font-size: 24px; color: #848181; margin: 263px auto 54px; max-width: 1163px;}
.orange-txt { color: #E3933C;}

/* スタジオ情報・メリット */
.benefit-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    position: relative;
    max-width: 1195px;
    margin: 0 auto;
    z-index: 3;
    padding: 11px 0 53px;
}
.benefit-row::before{
    position: absolute;
    background: url(../images/bg_orange-fukidashi.webp) no-repeat;
    content: "";
    width: 1195px;
    height: 228px;
    background-size: 100% 100%;
    top: 0;
    z-index: -1;
}
.benefit-item { text-align: center; }
.b-icon { margin-bottom: 9px; }
.b-icon img { width: 87px; }

.b-bubble {
    font-size: 20px;
    color: #E3933C;
    line-height: 1.5;
}


/* スタジオカード */
.studios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    margin-bottom: 70px;
}

.studio-card {
    border: 1px solid #2C2620;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.card-header {
    background-color: #3C3F46;
    color: #fff;
    text-align: center;
    padding: 44px 0;
    font-size: 48px;
}


.studio-photo { margin-bottom: 20px; }
.studio-photo img { width: 100%; height: 417px; object-fit: cover; }
.studio-details{
    padding: 55px 62px 65px;
}
.studio-details{
    font-size: 20px;
    line-height: 1.5;
    color: #848181;
}
.studio-card-body .btn{
    max-width: 514px;
    margin: 0 auto 20px;
}
.map-area { margin-top: 25px; border: 1px solid #eee; }
.map-area img { width: 100%; display: block; }


.final-cta { display: flex; flex-direction: column; gap: 20px; max-width: 1112px; margin: 0 auto;}
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.full-width { width: 100%; }


/* レスポンシブ */
@media (max-width: 850px) {
    .overlap-box-wrapper, .studios-grid, .benefit-row, .cta-row {
        grid-template-columns: 1fr;
    }
    .grey-box { margin-right: 0; margin-bottom: -20px; }
}







/* ==========================================================================
FAQ Section (Adjusted)
========================================================================== */
/* FAQセクション全体 */
.faq {
    padding: 200px 0 0 0;
}

.faq-inner {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトルエリア */
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 40px;
    font-weight: 500;
    color: #6b6763;
    line-height: 1.5;
    margin: 0;
}

.faq-title span {
    font-size: 64px;
    font-weight: bold;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-item {
    background-color: #fff;
    border-radius: 36px;
    border: 1px solid #2C2620;
    overflow: hidden;
}

/* 質問ボタン部分 */
.faq-q {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    padding: 30px 40px;
    cursor: pointer;
    text-align: left;
    position: relative;
    outline: none;
}

.q-prefix {
    background-color: #2F2A26;
    color: #fff;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-right: 25px;
    padding-bottom: 8px;
    font-family: "Zen Old Mincho", serif;
}

.q-text {
    font-size: 20px;
    font-weight: 500;
    padding-right: 40px;
    font-family: "Zen Old Mincho", serif;
}

/* プラス・マイナスアイコン */
.faq-icon {
    position: absolute;
    right: 40px;
    width: 20px;
    height: 2px; /* これが「横棒」になります */
    background-color: #333; /* 線の色 */
    transition: all 0.3s;
}

/* 縦棒を作る */
.faq-icon::after {
    content: "";
    display: block; /* display: none を解除 */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: #333; /* 線の色 */
    transform: translate(-50%, -50%); /* 中央に配置 */
    transition: all 0.3s; /* アニメーション速度 */
}

/* 縦棒を消していた記述を削除するか上書き */
.faq-icon::before { display: none; } 

/* アクティブ時（マイナスにする）の設定 */
.faq-item.is-active .faq-icon::after {
    /* 縦棒を回転させて横棒に重ねる（または opacity: 0 で消す） */
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* 回答部分（デフォルトは隠す） */
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* アクティブ時の回答表示 */
.faq-item.is-active .faq-a {
    max-height: 500px;
    overflow: visible;
}

/* 回答の内容エリア */
.a-inner {
    padding: 50px 40px 30px;
    display: flex;
    align-items: flex-start; /* Aとテキストの開始位置を揃える */
    position: relative;
}
/* QとAの間の点線 */
.a-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    border-top: 1px dashed #ccc;
}

.a-prefix {
    font-size: 32px;
    font-weight: bold;
    margin-right: 25px;
    line-height: 1.8; /* a-textと行の高さを合わせる */
}

.a-text {
    flex: 1; /* 残りの幅をすべて使う */
    font-size: 20px;
    line-height: 1.8;
}












/* ==========================================================================
Recent Posts Section
========================================================================== */
.section-recent-posts {
    background-color: #fff;
    max-width: 1270px;
    padding-top: 200px;
    margin: 0 auto;
}

.recent-posts-header {
    text-align: center;
    margin-bottom: 60px;
}

.recent-posts-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    color: #6b6763;
}

.recent-posts-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.article-card a {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s;
}
.article-card a:hover {
    opacity: 0.8;
}

.article-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 30px;
}
.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}







/* ==========================================================================
Company List Section
========================================================================== */
.company-list-section {
    padding: 0 0 56px;
    background-color: #fff;
}

.company-list-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトル */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
.company-list-title {
    font-size: 64px;
    font-weight: bold;
    color: #6b6763;
    display: inline-block;
    position: relative;
}
.company-list-title .title-sub { font-size: 48px; margin-bottom: -10px;}

/* グリッドレイアウト */
.company-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-bottom: 52px;
}

/* カードスタイル */
.company-card {
    background: #F9F7F7;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.company-card-hidden { display: none; }

/* カードヘッダー */
.company-card .card-header {
    background-color: #877D6C;
    color: #fff;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    min-height: 100px;
}
.company-card .card-title { font-size: 24px; font-weight: bold; margin: 0; line-height: 1.4; color: #fff;}

/* カードボディ */
.company-card .card-body { padding: 15px 15px 55px; flex-grow: 1; background-color: #F9F7F7; border: none;}

.info-group { margin-bottom: 25px; }
.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 23px;
}
.info-value {
    font-size: 18px;
    line-height: 1.6;
}

.company-map {
    margin-top: 20px;
}
.company-info-btn-wrapper{
    text-align: center;
    margin-top: 22px;
}
.company-info-btn{
    background-color: #D0C8BF;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    width: 92%;
    margin: 0 auto;
    padding: 20px 0;
    display: inline-block;
    line-height: 1;
    border-radius: 30px;
    transition: 0.3s;
}
.company-info-btn:hover{
    transform: translateY(-2px);
    opacity: .8;
}

/* もっと見るボタン */
.more-btn-area { text-align: center; }
.btn-more-navy {
    background-color: #EFAD5E;
    color: #fff;
    border: none;
    padding: 21px 70px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
    max-width: 400px;
}
.btn-more-navy:hover { opacity: 0.8; }

/* アニメーション用の設定 */
.company-card-visible {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}







/* ==========================================================================
   Fixed Right Elements - トップに戻るボタン & 追従バナー
   ========================================================================== */

.fixed-right-elements {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9998;
    pointer-events: none;
}

/* トップに戻るボタン */
.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: #EFAD5E;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(12, 136, 173, 0.4);
}

.scroll-to-top-btn .top-text {
    color: #FFF;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.scroll-to-top-btn .top-arrow {
    width: 20px;
    height: 20px;
}

.scroll-to-top-btn .top-arrow path {
    stroke: #FFF;
}

/* 追従バナー */
.fixed-banner {
    position: relative;
    width: 408px;
    height: auto;
    aspect-ratio: 750/367;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    border-radius: 4px;
    overflow: visible;
    margin-top: 5px;
    pointer-events: none; 
}

.fixed-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto; 
}

.fixed-banner a {
    display: block;
    line-height: 0;
}
.fixed-banner a:hover{
    opacity: 0.8;
}


.fixed-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* バナー閉じるボタン */
.close-banner-btn {
    position: absolute;
    top: -4px;
    right: 0px;
    width: 24px;
    height: 24px;
    background-color: #333;
    border: 2px solid #FFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    pointer-events: auto;
}

.close-banner-btn:hover {
    transform: scale(1.1);
}

.close-banner-btn svg {
    width: 10px;
    height: 10px;
}


/* ==========================================================================
Footer
========================================================================== */

.site-footer {
    margin-top: 0;
}
.footer-top-wrapper{
    background-color: #EFEFED;
}
.footer-top-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 100px;
    padding-top: 77px;
    max-width: 1175px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 437px;
}

.footer-section-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 11px 0;
    position: relative;
}

.footer-section-content {
    background-color: #FFFFFF;
    flex: 1;
    padding: 20px;
    border: 1px solid #707070;
}

.footer-article-list,
.footer-company-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.footer-article-list li,
.footer-company-links li {
    line-height: 1.5;
}

.footer-article-list a,
.footer-company-links a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: opacity 0.2s ease;
}

.footer-article-list a:hover,
.footer-company-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}
.footer-no-content {
    color: #666;
    font-size: 14px;
    margin: 0;
    text-align: center;
    padding: 20px 0;
}
/* 免責事項エリア（ベージュのボックス） */
.footer-bottom-disclaimer {
    padding: 80px 115px;
    background-color: #fff;
    text-align: center;
}

.disclaimer-box {
    background-color: #B5AA9A;
    max-width: 1020px;
    margin: 0 auto;
    padding: 21px;
}

.footer-disclaimer {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    font-family: "Shippori Mincho", serif;
    letter-spacing: 0.05em;
}

/* 濃い茶色の背景エリア */
.footer-dark-section {
    background-color: #2C2620;
    padding: 55px 0 16px;
    color: #fff;
}

.footer-dark-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーションメニュー */
.footer-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    gap: 20px; /* メニュー間の間隔 */
}

.footer-navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-navigation ul li a:hover {
    opacity: 0.7;
}

/* 境界線 */
.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin-bottom: 120px;
}

/* コピーライト（右寄せ） */
.copyright {
    text-align: right;
    font-size: 11px;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-navigation ul {
        flex-wrap: wrap;
        gap: 15px 20px;
    }
    .footer-disclaimer {
        font-size: 16px;
    }
    .copyright {
        text-align: center;
    }
}





/* ==========================================================================
   Area Column Grid (Archive Page)
   ========================================================================== */

.area-column-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.area-column-card {
    background: #FFF;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.area-column-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.area-column-card-link:hover {
    opacity: 1;
}

.area-column-card-image {
    width: 95%;
    aspect-ratio: 4 / 2;
    overflow: visible;
    background: #D9D9D9;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.area-column-card-image::before{
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #2B8FA8;
    content: "";
    height: 100%;
    position: absolute;
    z-index: -1;
    transform: translate(7px, 7px);
}

.area-column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.area-column-card:hover .area-column-card-image img {
    transform: scale(1.05);
}

.area-column-card-content {
    padding: 15px;
}

.area-column-card-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.area-column-card-date {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    color: #666;
    display: block;
}

/* Pagination */
.area-column-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.area-column-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.area-column-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.area-column-pagination .page-numbers:hover {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
    opacity: 1;
}

.area-column-pagination .page-numbers.current {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
}

.no-posts-message {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 60px 20px;
}

/* --- サイドバー全体 --- */
.company-intro-sidebar {
    width: 306px;
    font-family: "Zen Maru Gothic", sans-serif;
}

.sidebar-widget {
    margin: 12px 0;
}

/* --- 検索バー & タグ --- */
.search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}
.search-field {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border: 1px solid #333;
    border-radius: 50px; /* 丸く */
    font-size: 16px;
}
.search-submit-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none; border: none; padding: 0;
}
.search-submit-icon img { width: 22px;}

/* --- ウィジェットタイトル (共通の丸い背景) --- */
.widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 12px;
    background: #EFAD5E;
    font-family: "Noto Sans JP", sans-serif;
}
/* --- コンテンツ一覧ボタン --- */
.sidebar-btn-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sidebar-btn-card {
    display: flex;
    align-items: center;
    border: 1px solid #426CB6;
    padding: 9px 27px 8px 16px;
    text-decoration: none;
    color: #03234E;
    font-weight: bold;
    font-size: 16px;
    background: #fff;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    font-family: "Noto Sans JP", sans-serif;
}
.sidebar-btn-card:hover {
    background-color: #f0f5ff; /* ほんのり青く */
    border-color: #03234E;     /* 枠線を少し濃く */
    box-shadow: 0 4px 10px rgba(66, 108, 182, 0.2); /* 影で浮遊感を出す */
    top: -2px; /* 少し上に浮かせる */
}

/* 矢印を動かす */
.sidebar-btn-card .btn-arrow {
    transition: transform 0.3s ease;
    margin-left: 0;
}

.sidebar-btn-card:hover .btn-arrow {
    transform: translateX(5px); /* 右に5px移動 */
}


.sidebar-btn-card .btn-icon { width: 48px; flex-shrink: 0; }
.sidebar-btn-card .btn-arrow { width: 8px; }

/* --- 記事リスト (横並び) --- */
.side-article-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.side-article-item a {
    display: flex;
    text-decoration: none;
    gap: 8px;
    font-family: "Noto Sans JP", sans-serif;
}
.side-article-thumb {
    width: 102px;
    height: 61px;
    flex-shrink: 0;
    position: relative;
    background: #E0E0E0; /* 画像ない時用 */
}
.side-article-thumb img { width: 100%; height: 100%; object-fit: cover; }

.side-article-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.side-article-title {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.side-article-date {
    font-size: 12px;
    color: #A5A5A5;
    margin-top: 2px;
}

/* --- ランキング順位 --- */
.rank-num {
    position: absolute;
    top: -5px;
    left: -8px;
    background: #000;
    color: #fff;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* ==========================================================================
   Area Column Single Page
   ========================================================================== */

.area-column-article {
    background: #FFF;
    margin-bottom: 60px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header .article-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: block;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}

/* より詳細度の高いセレクタで確実に適用 */
.area-column-article .article-header .article-title {
    display: block;
    overflow: visible;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-category-tag {
    display: inline-block;
    background: #E77051;
    color: #FFF;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 4px;
}

.article-dates {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
}

.article-dates .article-published,
.article-dates .article-updated {
    margin-right: 15px;
}

.article-eyecatch {
    width: 100%;
    margin-bottom: 30px;
    background: #D9D9D9;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0A3077;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0A3077;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 12px;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.article-content a {
    color: #0A3077;
    text-decoration: underline;
}

.article-content a:hover {
    opacity: 0.7;
}

.article-content blockquote {
    background: #F5F5F5;
    border-left: 4px solid #0A3077;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.article-areas {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.areas-label {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.area-tag {
    display: inline-block;
    background: #F5F5F5;
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.area-tag:hover {
    background: #E0E0E0;
    opacity: 1;
}

/* Related Articles */
.related-articles-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}

.related-articles-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ==========================================================================
   Area Column Sidebar
   ========================================================================== */

.area-column-sidebar {
    width: 306px;
    flex-shrink: 0;
    padding: 0;
}

/* Sidebar Banner */
.sidebar-banner-widget {
    padding: 0;
    margin: 0;
}

.sidebar-banner-widget a {
    display: block;
    line-height: 0;
}

.sidebar-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Area Column Archive & Single Page
   ========================================================================== */

.company-archive-item {
    background-color: #ffffff;
    border: 2px solid #1B1B1B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.08);
}
.company-archive-title {
    font-size: 22px;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 15px 0;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 15px;
    line-height: 1.5;
}
.company-archive-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
}
.company-archive-btn-area {
    display: flex;
    justify-content: flex-end;
}
.company-archive-btn-area .company-btn {
    display: inline-flex;
    align-items: center;
    background-color: #56684C;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
}

.company-archive-btn-area .btn-arrow {
    width: 25px;
}
.area-column-archive,
.area-column-single {
    background-color: #FFF;
    padding-bottom: 60px;
	margin-top: 10vw;
}

.area-column-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 20px 0;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
}

.breadcrumb-nav a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
    opacity: 1;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #666;
}

.breadcrumb-current {
    color: #666;
}

/* Search Result Header */
.search-result-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.search-result-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.search-result-count {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
}

.no-results-message h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.no-results-message p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}


/* Content Wrapper */
.area-column-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.area-column-main {
    flex: 1;
    min-width: 0;
}



/* ==========================================================================
   Useful Column Section (Top Page)
   ========================================================================== */

.useful-column-section {
    padding: 60px 20px 80px;
    width: 100%;
    max-width: 100%;
}

.useful-column-container {
    max-width: 1280px;
    margin: 0 auto;
}

.useful-column-title {
    color: #000;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin-bottom: 40px;
}

.useful-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.useful-column-grid .area-column-card.column-card-hidden {
    display: none;
}

.useful-column-grid .area-column-card.column-card-visible {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.useful-column-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.useful-column-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #E63939;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 60px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.useful-column-more-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    opacity: 1;
}

.useful-column-more-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.useful-column-more-btn .btn-icon svg {
    width: 24px;
    height: 24px;
}

.useful-column-empty {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 40px 20px;
}


/* ==========================================================================
Privacy Policy Page
========================================================================== */

.privacy-policy-page {
    background-color: #FFF;
    padding-bottom: 60px;
}

.privacy-policy-article {
    background: #FFF;
}

/* Page Header */
.policy-header {
    margin-bottom: 40px;
}

.policy-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
    background: #0A3077;
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    border-radius: 4px;
}

/* Introduction */
.policy-intro {
    background: #F8F9FA; */
    border-left: 4px solid #0A3077;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 0 4px 4px 0;
}

.policy-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

/* Policy Sections */
.wp-block-group {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #E0E0E0;
}

.wp-block-group:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.policy h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}

.policy-section-content {
    padding-left: 5px;
}

.policy p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    margin: 0 0 15px 0;
}

.policy-section-content p:last-child {
    margin-bottom: 0;
}

.policy-section-content a {
    color: #0A3077;
    text-decoration: underline;
}

.policy-section-content a:hover {
    opacity: 0.7;
}

/* Subsection Title */
.policy-subsection-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
    padding: 8px 12px;
    background: #F5F5F5;
    border-radius: 4px;
    display: inline-block;
}

.policy-subsection-title:first-child {
    margin-top: 0;
}

/* Policy Note */
.policy-note {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 10px !important;
}

/* Footer */
.policy-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #0A3077;
    text-align: right;
}

.policy-updated {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}
.wp-block-navigation__container:only-child, .wp-block-page-list:only-child{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ==========================================================================
   Sitemap Page
   ========================================================================== */

.sitemap-page {
    background-color: #FFF;
    padding-bottom: 60px;
}

.sitemap-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sitemap-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0A3077;
}

.sitemap-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0A3077;
    margin: 0;
}

.sitemap-intro {
    margin-bottom: 40px;
}

.sitemap-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.sitemap-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}

.sitemap-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sitemap-section-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wp-block-navigation__container:only-child, .wp-block-page-list:only-child{
    width: 100%;
}

.wp-block-navigation .wp-block-navigation-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 20px;
    width: 100%;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.wp-block-navigation .wp-block-navigation-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #0A3077;
    border-radius: 50%;
}

.wp-block-navigation .wp-block-navigation-item li a {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.wp-block-navigation .wp-block-navigation-item li a:hover {
    color: #0A3077;
    padding-left: 5px;
}

/* トップページ以外の、ブロックエディタで作った表に適用 */
body:not(.home) .wp-block-table {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* テーブル全体の基本設定 */
body:not(.home) .wp-block-table table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 2px solid #c8e6e4 !important;
	margin-bottom: 30px;
}

/* 行の区切り線 */
body:not(.home) .wp-block-table tr {
  border-bottom: 1px solid #c8e6e4 !important;
}

body:not(.home) .wp-block-table tr:last-child {
  border-bottom: none !important;
}
body:not(.home) .wp-block-table tr th:first-child,
body:not(.home) .wp-block-table tr td:first-child {
  background-color: #5bbcb4 !important; /* 指定の緑色 */
  color: #fff !important;
  font-weight: bold;
  text-align: center;
  padding: 18px 24px;
  width: fit-content;
  white-space: nowrap;
  border: none !important;
}

body:not(.home) .wp-block-table tr td:not(:first-child) {
  padding: 18px 28px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  border: none !important;
  text-align: left;
  background-color: #fff; /* 背景を白に固定 */
}

/* リンクのスタイル（データ部分のみ） */
body:not(.home) .wp-block-table td:not(:first-child) a {
  color: #333;
  text-decoration: none;
}

body:not(.home) .wp-block-table td:not(:first-child) a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  /* 一番左のセル */
  body:not(.home) .wp-block-table tr th:first-child,
  body:not(.home) .wp-block-table tr td:first-child {
    width: 120px; /* 少し狭くする */
    padding: 12px 10px;
    font-size: 14px;
  }
  /* 二番目以降のセル */
  body:not(.home) .wp-block-table tr td:not(:first-child) {
    padding: 12px 15px;
    font-size: 14px;
  }
}