@charset "UTF-8";

/* ====================================
   基本設定・変数定義
   ==================================== */
:root {
    /* カラーパレット */
    --color-main: #E65100;     /* オレンジ */
    --color-main-hover: #F57C00;
    --color-sub: #4E342E;      /* ダークブラウン */
    --color-text: #333333;     /* 基本テキスト */
    --color-bg: #FCFAF8;       /* ベース背景 */
    --color-white: #ffffff;
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* リセットCSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2.0; /* ★ゆとり設定 */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ====================================
   レイアウト・共通クラス (PC/SP共通)
   ==================================== */

/* 共通コンテナ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px; /* ★PCでも広めの余白 */
    width: 100%;
}

/* セクションの上下余白（超ゆとり版） */
.section-padding {
    padding: 50px 0;
}

/* 背景色グレー */
.bg-gray {
    background-color: #fcf8f5;
}

/* 見出し関連 */
.section-header {
    text-align: center;
    margin-bottom: 80px; /* ★広めの余白 */
}

.section-title {
    font-size: 36px;
    color: var(--color-sub);
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}

.section-subtitle {
    font-size: 14px;
    color: var(--color-main);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    display: block;
    margin-bottom: 60px; /* ★広めの余白 */
}

/* サービス詳細ページの画像と文章の間隔 */
.detail-wrapper {
    gap: 100px;
}

/* ====================================
   共通ヘッダー (Header)
   ==================================== */
.site-header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px; /* ロゴに合わせて少し高く */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* ★ヘッダーロゴの調整 */
.logo a {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px; /* ★ロゴが見やすいように少し大きく */
    width: auto;  /* 比率を保つ */
}

/* PC用ナビゲーション */
.global-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 30px;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list a {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-sub);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.nav-list a .ja {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

.nav-list a:hover {
    color: var(--color-main);
}

/* お問い合わせボタン */
.btn-contact {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-main);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}
.btn-contact:hover {
    background-color: var(--color-main-hover);
    transform: translateY(-1px);
}
.btn-contact .icon {
    margin-right: 6px;
}

/* ====================================
   共通フッター (Footer)
   ==================================== */
.site-footer {
    background-color: var(--color-sub);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-info {
    max-width: 500px;
}

/* ★フッターロゴの調整 */
.footer-logo img {
    height: 40px; /* ★サイズ調整 */
    width: auto;
    margin-bottom: 15px;
    /* もしロゴが黒文字で見にくい場合、白く反転させるフィルターを追加 */
    /* filter: brightness(0) invert(1); */
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-info address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-email a {
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 12px;
    opacity: 0.6;
}

/* ボタン共通 */
.btn-area {
    text-align: center;
    margin-top: 60px;
}
.btn-secondary {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    font-weight: bold;
    transition: all 0.3s;
    background: #fff;
    border-radius: 4px;
}
.btn-secondary:hover {
    background: var(--color-main);
    color: #fff;
}


/* ====================================
   スマホ用レスポンシブ設定
   (画面幅 768px 以下のみ適用)
   ==================================== */
.hamburger-menu {
    display: none; /* PCでは非表示 */
}

@media (max-width: 768px) {
    /* コンテナ余白調整 */
    .container {
        padding: 0 20px;
    }
    
    /* ヘッダー高さ */
    .header-inner {
        height: 60px;
    }
    .logo img {
        height: 35px; /* スマホではロゴを小さく */
    }
    
    /* ハンバーガーメニュー */
    .hamburger-menu {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger-menu span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--color-sub);
        transition: all 0.3s;
    }
    .hamburger-menu span:nth-child(1) { top: 0; }
    .hamburger-menu span:nth-child(2) { top: 9px; }
    .hamburger-menu span:nth-child(3) { bottom: 0; }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    /* スマホ用ナビゲーション */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 40px;
        z-index: 1000;
    }
    .global-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        margin-right: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .nav-list li {
        margin: 0;
        margin-bottom: 20px;
    }
    .nav-list a {
        font-size: 18px;
    }

    /* フッターレイアウト */
    .footer-inner {
        flex-direction: column;
    }
    .footer-links {
        margin-top: 30px;
    }

    /* 余白調整 */
    .section-padding {
        padding: 100px 0;
    }
    .detail-wrapper {
        gap: 50px;
    }
}