@charset "utf-8";

/* ==========================================================
   common.css
   WordPressテーマ共通 + HOME静的実装の共通部品を統合
   - Header / Footer / Mobile Menu / Accessibility は旧テーマを継承
   - 色・フォント・container・HOME共通部品は静的最新版を優先
   - ul / ol / li / a のグローバルリセットは行わない
   ========================================================== */

/* ==============================
   Base variables
============================== */
:root {
    /* HOME静的最新版を基準に統一 */
    --color-green: #1b6b34;
    --color-green-dark: #0f4f26;

    /* 旧テーマ互換用エイリアス */
    --color-main: var(--color-green);
    --color-main-dark: var(--color-green-dark);

    --color-text: #222;
    --color-subtext: #666;
    --color-bg: #fff;
    --color-bg-light: #f5f7f4;
    --color-border: #ddd;
    --color-line: #cfd6d0;

    --font-sans: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-serif: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;

    --container: 1200px;
    --container-width: var(--container); /* 旧テーマ互換 */
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: .02em;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

/* ==============================
   Accessibility
============================== */
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 16px;
    background: #fff;
    color: #000;
    border: 2px solid currentColor;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-main);
    outline-offset: 3px;
}

/* ==============================
   Layout
============================== */
.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-main {
    min-height: 60vh;
}

/* スマホのみ表示 */
.visible-xs {
    display: none !important;
}

/* ==============================
   Header
============================== */
.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
}

.site-header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.global-nav {
    margin-left: auto;
}

.global-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav-list a {
    display: block;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.global-nav-list a:hover,
.global-nav-list .current-menu-item > a {
    color: var(--color-main);
}

/* ==============================
   Mobile Menu Button
============================== */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    background: var(--color-text);
}

/* ==============================
   HOME common parts
============================== */
.section-label {
    margin: 0;
    line-height: 1;
}

.section-label-en {
    display: block;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .1em;
    line-height: 1.4;
}

.section-label-num {
    position: relative;
    display: block;
    margin-top: 14px;
    padding-top: 12px;
    color: var(--color-green-dark);
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.section-label-num::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 1px;
    background: var(--color-text);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-width: 210px;
    padding: 12px 22px;
    color: var(--color-green-dark);
    background: #fff;
    border: 1px solid var(--color-green);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}

.btn-outline::after {
    content: "\2192";
}

.btn-outline:hover {
    color: #fff;
    background: var(--color-green);
}

.btn-outline:focus-visible {
    outline: 3px solid var(--color-green-dark);
    outline-offset: 3px;
}
/* ==============================
   Footer
============================== */
.site-footer {
    background: #fff;
    color: var(--color-text);
}

.site-footer-inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px 120px;
    max-width: 960px;
    padding-top: 48px;
    padding-bottom: 36px;
}
.footer-company {
    flex: 0 1 auto;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.footer-company-info p {
    margin: 0 0 4px;
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-company-info .footer-company-name {
    font-size: 1rem;
    font-weight: 700;
}

.footer-tel span {
    display: inline-block;
    margin-right: 16px;
}



.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-nav-list a {
    display: inline-block;
    color: inherit;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover,
.footer-nav-list .current-menu-item > a {
    color: var(--color-main);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.copyright {
    margin: 0;
    padding: 16px 0;
    color: var(--color-subtext);
    font-size: 0.75rem;
}

.page-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    color: var(--color-green-dark);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.page-top::before {
    content: "\2191";
}

.page-top:hover {
    text-decoration: underline;
}