@charset "UTF-8";
/*
Theme Name: BRAINS
*/

:root {
	--font-en: "Alumni Sans", sans-serif;
	--font-jp: "Noto Sans JP", sans-serif;
	--color-text: #111;
	--color-accent-bg: #D6DDD9;
	--layout-padding: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-jp); color: var(--color-text); line-height: 2.0; background-color: #fff; font-weight: 300; font-size: 14px; letter-spacing: 0.05em; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
li { list-style: none; }
img { width: 100%; display: block; }

/* WP Standards */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }

.container { padding: 0 var(--layout-padding); max-width: 100%; }
.section-padding { padding: 140px 0; }
.text-body { font-size: 17px; line-height: 1.8; text-align: justify; margin-bottom: 30px; }

/* Fixed Contact Button */
.fixed-contact-btn { position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 2000; background-color: #3E7150; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 10px; height: auto; min-height: 155px; border-radius: 20px 0 0 20px; transition: opacity 0.3s; }
.fixed-contact-btn:hover { opacity: 0.8; }
.icon-mail { width: 26px; height: auto; display: block; }
.vertical-text { font-size: 14px; font-weight: 500; letter-spacing: 0.2em; writing-mode: vertical-rl; }

/* Header */
.header { width: 100%; padding: 20px 0; position: fixed; top: 0; left: 0; z-index: 1000; transition: background-color 0.3s ease, padding 0.3s ease; background-color: transparent; }
.admin-bar .header { top: 32px; } /* WP Admin Bar Fix */
.header.scrolled { background-color: rgba(255, 255, 255, 0.85); padding: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header.white-header { background-color: rgba(255, 255, 255, 0.85); }
.header-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo a { display: block; }
.logo img { transition: width 0.3s ease; }
.header.scrolled .logo img { width: 55px !important; }

.nav ul { display: flex; gap: 30px; list-style: none; }
.nav li a { position: relative; font-family: var(--font-en); font-size: 1.4rem; font-weight: 500; text-transform: uppercase; color: #000; text-decoration: none; line-height: 1; padding-bottom: 5px; display: block; }
.nav li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: #3E7150; transition: width 0.3s ease; }
.nav li a:hover::after { width: 100%; }
.hamburger { display: none; }

/* Hero */
.hero { height: 100vh; width: 100%; background-color: #ccc; background-image: url('images/top-bg.jpg'); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(3px); background-color: rgba(0, 0, 0, 0.2); z-index: 1; }
.hero-content { width: 100%; height: 100%; position: relative; z-index: 2; }
.hero-bg-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 260px; z-index: 2; pointer-events: none; }
.hero-en { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; font-family: var(--font-en); font-size: 3.2vw; font-weight: 500; line-height: 1.2; text-align: center; width: 100%; white-space: nowrap; color: #000; }
.hero-jp-company { position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; top: calc(50% + 130px + 60px); font-size: 16px; font-weight: 500; text-align: center; width: 100%; color: #000; }

.scroll-down-btn { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; border: 1px solid #000; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; cursor: pointer; transition: transform 0.3s ease; color: #000; }
.scroll-down-btn:hover { transform: translate(-50%, 5px); }
.scroll-text { font-family: var(--font-en); font-weight: 500; font-size: 16px; line-height: 1.1; text-align: center; margin-bottom: 8px; text-transform: lowercase; letter-spacing: 0.05em; }
.scroll-arrow { width: 10px; height: 10px; border-bottom: 1px solid #000; border-right: 1px solid #000; transform: rotate(45deg); }

/* --- PC設定（共通エリア） --- */
/* スマホ用改行をPCでは隠す */
.sp-only {
    display: none;
}

/* Typography */
.section-title { font-family: var(--font-en); font-size: 70px; line-height: 1; display: block; font-weight: 500; text-transform: lowercase; margin-bottom: 5px; color: #000; }
.main-heading { font-size: 24px; font-weight: 400; margin-top: 0; letter-spacing: 0.1em; }
.btn { display: inline-block; border: 1.5px solid #000; padding: 15px 60px; font-size: 18px; font-weight: 500; background: transparent; color: #000; transition: all 0.3s ease; border-radius: 9999px; }
.btn:hover { background-color: #000; color: #fff; border-color: #000; }
.btn-container-left { margin-top: 80px; text-align: left; }
.btn-container-center { margin-top: 80px; text-align: center; }

/* Mission */
.mission-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.mission-left { width: 30%; }
.mission-right { width: 65%; }
.mission-catch { font-family: var(--font-jp); font-size: 28px; font-weight: 700; line-height: 1.8; margin-bottom: 45px; color: #000; }

/* Strengths */
.strengths { width: 100%; background-color: #fff; padding-bottom: 120px; }
.strengths-top-visual { width: 100%; height: 500px; }
.strengths-top-visual img { width: 100%; height: 100%; object-fit: cover; }
.relative-container { position: relative; }
.strengths-header-overlap { text-align: center; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: 100%; z-index: 10; margin: 0; line-height: 1; }
.strengths-header-overlap .section-title { margin-bottom: 0px; color: #000; margin-top: 20px; }
.strengths-header-overlap .main-heading { margin: 0; color: #000; }
.strengths-body { padding-top: 150px; display: flex; justify-content: space-between; align-items: flex-start; max-width: 1000px; margin: 0 auto; }
.strengths-left { width: 44%; }
.strength-box { background-color: var(--color-accent-bg); padding: 40px; margin-bottom: 20px; text-align: center; }
.strength-item-title { font-size: 18px; font-weight: 500; line-height: 1.6; }
.strengths-right { width: 50%; }

/* Works */
.works-header { margin-bottom: 60px; text-align: center; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.work-unit { width: 100%; }
.work-img { aspect-ratio: 1 / 1; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-caption { margin-top: 10px; font-size: 18px; font-weight: 500; color: #666; text-align: center; }

/* Page Header (Lower Pages) */
.page-header { width: 100%; height: 600px; background-color: #999; position: relative; overflow: hidden; margin-top: 0; }
.logo-pos-wrapper { position: absolute; width: 223px; height: auto; left: 50%; top: 60%; transform: translate(-50%, -50%); z-index: 1; }
.text-pos-wrapper { position: absolute; top: 60%; transform: translateY(-50%); left: calc(var(--layout-padding) + 75px); z-index: 2; text-align: left; }
.page-title-left { font-family: var(--font-en); font-size: 60px; font-weight: 500; color: #fff; line-height: 1; margin: 0; }
.page-title-left .jp-sub { display: block; font-family: var(--font-jp); font-size: 16px; font-weight: 400; letter-spacing: 0.1em; margin-top: 10px; color: #fff; }

/* About */
.about-concept { background-color: #fff; text-align: center; border-bottom: 1px solid #E4E4E4; }
.concept-header { margin-bottom: 80px; max-width: 100%; margin-left: auto; margin-right: auto; }
.concept-title { display: flex; align-items: baseline; justify-content: center; gap: 10px; font-size: 30px; font-weight: 500; margin-bottom: 40px; letter-spacing: 0.1em; line-height: 1.2; flex-wrap: wrap; color: #000; }
.odm-large { font-size: 80px; font-weight: 500; line-height: 1; }
.concept-lead { font-size: 20px; font-weight: 400; line-height: 1.8; text-align: center; margin-bottom: 100px; }
.business-area-box { max-width: 1000px; margin: 0 auto 120px auto; width: 100%; border: 3px solid #000; padding: 20px 0; font-size: 24px; font-weight: 700; text-align: center; letter-spacing: 0.1em; color: #000; }
.business-wrapper { max-width: 1000px; margin: 0 auto 100px auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.business-img-col { width: 50%; }
.business-img-col img { width: 100%; max-width: 395px; height: auto; vertical-align: bottom; }
.business-text-col { width: 50%; text-align: left; }
.business-row { margin-bottom: 60px; }
.business-row:last-child { margin-bottom: 0; }
.business-title { font-size: 24px; font-weight: 500; margin-bottom: 15px; line-height: 1.4; }
.business-desc { font-size: 16px; font-weight: 400; line-height: 1.8; margin: 0; }

.outline-section { background-color: #fff; border-bottom: 1px solid #E4E4E4; }
.outline-table-wrapper { max-width: 900px; margin: 100px auto 0; }
.outline-list { width: 100%; }
.outline-row { display: flex; padding: 20px 0; font-size: 18px; }
.outline-row dt { width: 30%; font-weight: 500; padding-left: 20px; }
.outline-row dd { width: 70%; padding-right: 20px; }

.profile-section {
    background-color: #fff;
    width: 100%;
}

.profile-content {
    display: flex; /* 横並びを強制 */
    justify-content: center;
    align-items: flex-start;
    gap: 80px; /* 写真とテキストの間の余白 */
    margin-top: 100px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--layout-padding);
}

.profile-left-col {
    width: 35%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0; /* 縮まないように固定 */
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    margin-bottom: 30px;
    overflow: hidden;
    background-color: #eee;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 写真を円形の中に綺麗に収める */
}

.profile-role {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
}

.profile-name {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    color: #000;
}

.profile-right-col {
    flex: 1; /* 残りの幅をすべて使う */
    text-align: left;
}

.profile-right-col .text-body {
    font-size: 16px;
    line-height: 2.0;
    text-align: justify;
    margin-bottom: 0;
}

/* スマホ対応の復元 */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column; /* 縦並びにする */
        align-items: center;
        gap: 40px;
        margin-top: 60px;
    }

    .profile-left-col, 
    .profile-right-col {
        width: 100%;
    }

    .profile-image {
        width: 220px;
        height: 220px;
    }
}

/* Services */
.odm-service-section { background-color: #fff; border-bottom: 1px solid #E4E4E4; text-align: center; }
.odm-service-title { font-size: 40px; font-weight: 500; margin-bottom: 40px; color: #000; line-height: 1.2; }
.odm-service-content { max-width: 700px; margin: 0 auto; width: 100%; }
.odm-service-img { width: 100%; height: 350px; margin-bottom: 40px; }
.odm-service-img img { width: 100%; height: 100%; object-fit: cover; }
.odm-service-text { font-size: 16px; font-weight: 400; text-align: left; line-height: 2.0; margin-bottom: 40px; }

.flow-section { background-color: #fff; }
.flow-list { max-width: 1000px; margin: 80px auto 0; position: relative; }
.flow-row { display: flex; justify-content: space-between; align-items: center; gap: 60px; margin-bottom: 60px; position: relative; }
.flow-row:last-child { margin-bottom: 0; }
.flow-left { width: 45%; display: flex; flex-direction: column; align-items: center; position: relative; }
.flow-box { background-color: #D6DDD9; width: 100%; padding: 30px 20px; text-align: center; font-size: 24px; font-weight: 500; color: #000; position: relative; z-index: 2; }
.flow-row:not(:last-child) .flow-left::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 2px; height: 60px; background-color: #D6DDD9; z-index: 1; }
.flow-right { width: 50%; }
.flow-desc { font-size: 16px; font-weight: 400; line-height: 1.8; margin: 0; text-align: left; }

/* =========================================
   CONTACT Page Specific
   ========================================= */

/* タイトルエリア（背景なし版） */
.contact-header-simple {
    padding: 160px 0 60px;
    text-align: center;
    background-color: #fff;
}

.page-title-center {
    font-family: var(--font-en);
    font-size: 60px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1;
}

.page-title-sub {
    font-size: 16px;
    letter-spacing: 0.1em;
    margin-top: 10px;
    color: #3E7150;
}

/* フォーム全体のレイアウト */
.contact-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 30px;
}

.form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 16px;
}

.form-row label .required {
    background-color: #e74c3c;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-row label .optional {
    background-color: #999;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

/* 入力フィールドの装飾 */
.form-input input,
.form-input textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-jp);
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

.form-input input:focus,
.form-input textarea:focus {
    outline: none;
    border-color: #3E7150;
    background-color: #fff;
}

/* 送信エリア全体を中央揃えに強制 */
.form-submit {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 50px;
}

/* Turnstileウィジェット自体の位置調整（あれば） */
.cf-turnstile {
    margin: 0 auto !important;
    display: inline-block;
}

/* ボタン単体の設定 */
.form-submit .wpcf7-submit {
    min-width: 250px;
    margin: 0 auto !important;
}

.form-submit .btn {
    min-width: 250px;
    cursor: pointer;
}

/* Contact Form 7 の自動生成スパンをブロック要素に */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* エラーメッセージのスタイル */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border-radius: 5px;
    font-size: 15px;
    text-align: center;
}

/* 送信ボタンのCF7特有の微調整 */
.form-submit .wpcf7-submit {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background-color: #3E7150;
    color: #fff;
    padding: 15px 60px;
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.3s;
}

.form-submit .wpcf7-submit:hover {
    opacity: 0.8;
}

/* reCAPTCHAバッジを非表示 */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Cloudflare Turnstileの右下バッジ（もし表示されている場合）を非表示 */
#cf-turnstile-wrapper .cf-turnstile-badge {
    display: none !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .contact-header-simple {
        padding: 120px 0 40px;
    }
    .page-title-center {
        font-size: 40px;
    }
}




/* Works & Modal */
.achievement-section { background-color: #fff; text-align: center; border-bottom: 1px solid #E4E4E4; }
.achievement-grid { max-width: 1000px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.achieve-item { cursor: pointer; transition: opacity 0.3s; }
.achieve-item:hover { opacity: 0.8; }
.achieve-thumb { width: 100%; aspect-ratio: 300 / 250; }
.achieve-thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; display: flex; align-items: center; justify-content: center; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { position: relative; background-color: #fff; padding: 40px; width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.modal-close-btn { position: absolute; top: 10px; right: 15px; font-size: 40px; font-weight: 300; line-height: 1; cursor: pointer; color: #000; z-index: 10; }
.modal-img-wrap { width: 100%; max-width: 700px; margin: 0 auto 30px auto; }
.modal-img-wrap img { width: 100%; height: auto; }
.modal-title { font-size: 24px; font-weight: 500; text-align: center; margin-bottom: 20px; }
.modal-desc { font-size: 16px; font-weight: 400; text-align: center; line-height: 1.8; }
.modal-nav { position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; cursor: pointer; border-top: 2px solid #999; border-right: 2px solid #999; z-index: 5; }
.modal-nav:hover { border-color: #333; }
.modal-prev { left: 20px; transform: rotate(-135deg); }
.modal-next { right: 20px; transform: rotate(45deg); }

/* Footer */
.footer { padding-top: 50px; padding-bottom: 60px; background-color: var(--color-accent-bg); color: #000; }
.footer-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-left { flex: 3; padding-right: 20px; }
.footer-logo-wrap { margin-bottom: 40px; }
.footer-company-name { font-weight: 700; font-size: 16px; margin-bottom: 15px; }
.footer-address { font-size: 15px; font-weight: 400; line-height: 1.8; margin-bottom: 10px; }
.footer-text-map { display: inline-block; text-decoration: underline; font-size: 13px; margin-bottom: 30px; color: #000; }
.footer-tel-block { margin-bottom: 20px; }
.tel-row { display: flex; align-items: baseline; gap: 10px; line-height: 1.2; color: #000; }
.tel-label { font-family: var(--font-en); font-size: 25px; font-weight: 400; }
.tel-number { font-family: var(--font-en); font-size: 35px; font-weight: 400; letter-spacing: 0.05em; }
.footer-copyright { font-size: 15px; color: #3E7150; font-family: var(--font-en); letter-spacing: 0.1em; }
.footer-right { flex: 7; }
.footer-nav-list { display: grid; grid-template-columns: repeat(3, max-content); gap: 30px 50px; justify-content: start; margin-bottom: 80px; }
.footer-nav-list li a { position: relative; font-size: 18px; font-weight: 500; display: inline-block; line-height: 1; text-decoration: none; }
.footer-nav-list li a::after { content: ''; position: absolute; top: 20px; left: 0; width: 0; height: 2px; background-color: #3E7150; transition: width 0.3s ease; }
.footer-nav-list li a:hover::after { width: 100%; }
.en-sub { display: block; font-size: 15px; color: #3E7150; font-family: var(--font-en); margin-top: 10px; letter-spacing: 0.05em; }
.footer-map-area iframe { width: 100%; height: 300px; box-sizing: border-box; border: 5px solid #fff !important; display: block; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
	:root { --layout-padding: 20px; }
	.admin-bar .header { top: 46px; }
	.hamburger { display: block; position: fixed; top: 20px; right: 20px; width: 30px; height: 24px; z-index: 10001; cursor: pointer; }
	.hamburger span { display: block; width: 100%; height: 2px; background-color: #000; position: absolute; transition: all 0.3s; border-radius: 2px; }
	.hamburger span:nth-child(1) { top: 0; }
	.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
	.hamburger span:nth-child(3) { bottom: 0; }
	.hamburger.active span { background-color: #fff; }
	.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
	.hamburger.active span:nth-child(2) { opacity: 0; }
	.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

	.nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(62, 113, 80, 0.95); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; display: flex; justify-content: center; align-items: center; text-align: center; }
	.nav.active { opacity: 1; visibility: visible; }
	.nav ul { flex-direction: column; gap: 40px; }
	.nav li a { font-size: 30px; color: #fff; }
	.nav li a::after { background-color: #fff; }

	.fixed-contact-btn { flex-direction: row; justify-content: center; align-items: center; gap: 10px; width: 100%; height: auto; min-height: auto; bottom: 0; top: auto; right: auto; left: 0; border-radius: 0; transform: none; padding: 15px 0; }
	.vertical-text { writing-mode: horizontal-tb; letter-spacing: 0.05em; }

	.hero-en { font-size: 2.3rem; white-space: normal; }
	.hero-bg-logo { width: 180px; }
	.hero-jp-company { top: calc(50% + 90px + 40px); }
	.scroll-down-btn { width: 80px; height: 80px; bottom: 70px; }
	.page-header { height: 400px; }
	.logo-pos-wrapper { width: 150px; }
	.text-pos-wrapper { left: var(--layout-padding); }
	.page-title-left { font-size: 40px; }

	.strengths-body, .footer-container { flex-direction: column; }
	.mission-wrapper { flex-direction: column; padding: 0; }
	.mission-left { text-align: center; width: 100%; margin-bottom: 30px; }
	.mission-right { text-align: center; width: 100%; margin-bottom: 40px; }
	.mission-catch { text-align: left; font-size: 25px; }
	.mission-catch br { display: none; }
	.btn-container-left { text-align: center; }
	.strengths-left, .strengths-right, .footer-left, .footer-right { width: 100%; margin-bottom: 40px; }
	.strengths-header-overlap { position: static; transform: none; margin-top: 40px; margin-bottom: 40px; }
	.strengths-body { padding-top: 0; }

	.concept-title { font-size: 20px; gap: 10px; }
	.pc-only { display: none; }
	.odm-large { font-size: 40px; }
	.business-wrapper { flex-direction: column; align-items: center; }
	.business-img-col, .business-text-col { width: 100%; }
	.business-img-col { margin-bottom: 40px; text-align: center; }
	.outline-row { flex-direction: column; padding: 20px 0; text-align: center; }
	.outline-row dt { width: 100%; margin-bottom: 10px; padding-left: 0; color: #3E7150; }
	.outline-row dd { width: 100%; padding-right: 0; }
	.profile-content { flex-direction: column; align-items: center; gap: 40px; }
	.profile-left-col, .profile-right-col { width: 100%; max-width: 100%; }
	.profile-right-col .text-body { text-align: justify; }

	.flow-row { flex-direction: column; gap: 20px; margin-bottom: 50px; }
	.flow-left, .flow-right { width: 100%; }
	.flow-row:not(:last-child) .flow-left::after { display: none; } 
	.achievement-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
	
	.footer-logo-wrap { display: flex; justify-content: center; width: 100%; margin-bottom: 40px; }
	.footer-left { text-align: center; display: flex; flex-direction: column; align-items: center; }
	.tel-row { justify-content: center; }
	.footer-nav-list { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   Mobile / Responsive Styles (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
	
	:root { --layout-padding: 20px; }

	/* --- WP Admin Bar Offset (Mobile) --- */
	.admin-bar .header { top: 46px; }

	/* --- 共通ヘッダー：ロゴを20%縮小 --- */
	.logo img {
		width: 60px !important;
	}

	/* --- ハンバーガーメニュー --- */
	.hamburger {
		display: block;
		position: fixed; 
		top: 20px;
		right: 20px;
		width: 30px;
		height: 24px;
		z-index: 10001; 
		cursor: pointer;
	}

	.hamburger span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: #000;
		position: absolute;
		transition: all 0.3s;
		border-radius: 2px;
	}
	.hamburger span:nth-child(1) { top: 0; }
	.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
	.hamburger span:nth-child(3) { bottom: 0; }

	.hamburger.active span { background-color: #fff; }
	.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
	.hamburger.active span:nth-child(2) { opacity: 0; }
	.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

	.nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: rgba(62, 113, 80, 0.95);
		z-index: 10000;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s, visibility 0.3s;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.nav.active { opacity: 1; visibility: visible; }
	.nav ul { flex-direction: column; gap: 40px; }
	.nav li a { font-size: 30px; color: #fff; }
	.nav li a::after { background-color: #fff; }

	/* --- 追従お問い合わせボタン（スマホ：下部固定） --- */
	.fixed-contact-btn {
		flex-direction: row;      
		justify-content: center;  
		align-items: center;      
		gap: 10px;                
		width: 100%; 
		height: auto;
		min-height: auto;         
		bottom: 0; top: auto; right: auto; left: 0;
		border-radius: 0;
		transform: none;
		padding: 15px 0;
	}
	.vertical-text { writing-mode: horizontal-tb; letter-spacing: 0.05em; }
	.icon-mail { width: 22px; }

	/* --- TOP Hero --- */
	.hero-en {
		font-size: 32px !important;
		line-height: 1.4 !important;
		white-space: normal !important;
		text-align: center !important;
		display: block !important;
		width: 100% !important;
		padding: 0 20px !important;
	}
	.sp-only { display: inline; }
	.hero-bg-logo { width: 180px; }
	.hero-jp-company { top: calc(50% + 90px + 40px); }
	.scroll-down-btn { width: 80px; height: 80px; bottom: 70px; border-color: #fff; color: #fff; }
	.scroll-arrow { border-color: #fff; }

	/* --- 下層ページ共通：高さを55%に抑え、タイトルを120%拡大 --- */
	.page-header {
		height: 55vh !important;
		min-height: 300px;
	}
	.logo-pos-wrapper {
		display: none !important; /* 白抜きロゴを非表示 */
	}
	.text-pos-wrapper {
		width: 100%;
		left: 0;
		top: 60%;
		transform: translateY(-50%) !important;
	}
	.page-title-left {
		font-size: 44px !important;
		padding-left: 25px !important;
		line-height: 1.1 !important;
		color: #fff;
	}
	.page-title-left .jp-sub {
		font-size: 19px !important;
		margin-top: 8px;
		color: #fff;
	}

	/* --- レイアウト・セクション調整 --- */
	.section-padding { padding: 60px 0; }
	.strengths-body, .footer-container { flex-direction: column; }
	.mission-wrapper { flex-direction: column; padding: 0; }
	.mission-left { text-align: center; width: 100%; margin-bottom: 30px; }
	.mission-right { text-align: center; width: 100%; margin-bottom: 40px; }
	
	.mission-catch {
		font-size: 21px; 
		line-height: 1.6;
		text-align: left;
	}
	.mission-catch br { display: none; }

	.btn {
		padding: 15px 30px;
		line-height: 1.4;
		display: inline-block;
		text-align: center;
	}
	.btn-container-left { text-align: center; }
	.btn-container-center { margin-top: 30px; }

	.strengths-left, .strengths-right, .footer-left, .footer-right { width: 100%; margin-bottom: 40px; }
	.strengths-header-overlap { position: static; transform: none; margin-top: 40px; margin-bottom: 40px; }
	.strengths-header-overlap .section-title, .strengths-header-overlap .main-heading { color: #000; }
	.strengths-body { padding-top: 0; }
	.strength-item-title { font-size: 16px; line-height: 1.5; }

	/* --- ABOUT：リード文と会社概要の調整 --- */
	.concept-lead {
		text-align: justify;
		text-justify: inter-character;
		font-size: 15px;
		padding: 0 10px;
	}
	.pc-only { display: none; }
	.odm-large { font-size: 40px; }
	.business-wrapper { flex-direction: column; align-items: center; }
	.business-img-col, .business-text-col { width: 100%; }
	
	.outline-row {
		flex-direction: column;
		text-align: left !important;
		padding: 20px 0;
	}
	.outline-row dt { width: 100%; padding-left: 0; margin-bottom: 5px; color: #3E7150; }
	.outline-row dd { width: 100%; padding-right: 0; }

	.profile-content { flex-direction: column; align-items: center; gap: 40px; }
	.profile-left-col, .profile-right-col { width: 100%; }
	.profile-image { width: 220px; height: 220px; margin: 0 auto 30px; }

	/* --- フッター：メニューの一行表示調整 --- */
	.footer-logo-wrap { display: flex; justify-content: center; }
	.footer-left { text-align: center; align-items: center; }
	.tel-row { justify-content: center; }
	.footer-nav-list { grid-template-columns: 1fr 1fr; }
	.footer-nav-list li a {
		font-size: 15px !important;
		white-space: nowrap !important;
	}
	.en-sub { font-size: 14px; }

	/* --- WORKS --- */
	.achievement-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }

	/* --- CONTACT (Turnstile用) --- */
	.form-submit {
		text-align: center !important;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}