@charset "UTF-8";

/* ==================================================
   共通変数・リセットCSS
================================================== */
:root {
    --blue: #004098; /* コーポレートブルー */
    --green: #009b77; /* アクセントグリーン */
    --text-main: #333;
    --bg-light: #fafafa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Noto Sans JP', sans-serif; 
    color: var(--text-main); 
    font-size: 16px; 
    line-height: 1.8;
    letter-spacing: 0.04em;
    overflow-x: hidden; 
    background-color: #fff; 
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none; transition: 0.3s; color: inherit; }

/* PC/SP 切り替え用ユーティリティ */
.sp-only { display: none; }
.sp-br { display: none; }
.pc-only { display: inline; }
.pc-br { display: inline; }
.tb-only { display: none; }
/* ==================================================
   Header (PC)
================================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    background: #fff; 
    z-index: 1000; display: flex; align-items: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease, box-shadow 0.3s ease;
}
.header.hide { transform: translateY(-100%); }
.header.is-white {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__inner { 
    width: 95%; max-width: 1440px; margin: 0 auto; height: 100%;
    display: flex; justify-content: flex-start; 
    align-items: center; 
}

.logo { 
    height: 100%; 
    display: flex; align-items: center; 
    padding: 0 40px; 
}
.logo img { height: 48px; transition: 0.3s; }

.nav-list { display: flex; gap: 48px; list-style: none; margin-left: 60px; }
.nav-item { position: relative; }
.nav-item > a { 
    color: var(--text-main); font-weight: 700; font-size: 16px; 
    display: flex; align-items: center; padding: 30px 0; letter-spacing: 0.05em;
}
/* カレントページのスタイル */
.nav-item.current > a { color: var(--blue); }

.nav-item.has-dropdown > a::after {
    content: ''; display: inline-block; 
    width: 6px; height: 6px; 
    margin-left: 8px; margin-top: -3px;
    border-right: 2px solid var(--blue); 
    border-bottom: 2px solid var(--blue);
    transform: rotate(45deg); 
}

.dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: #fff; width: 200px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transition: 0.2s; padding: 10px 0;
    border-top: 3px solid var(--blue); list-style: none; 
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown li a { 
    display: block; padding: 12px 20px; font-size: 15px; 
    font-weight: 500; color: var(--text-main); text-align: center; 
}
.dropdown li a:hover { color: var(--green); background: #f4f7fa; }

.menu-wrap { display: none; }

/* ==================================================
   Section Common (全ページで使える見出し・ボタン等)
================================================== */
.section { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }

/* ▼▼ 下線と余白の調整を削除し、元に戻しました ▼▼ */
.s-title { 
    color: var(--blue); 
    font-size: 32px; 
    font-weight: 700; 
    margin-bottom: 5px; letter-spacing: 0.05em; 
    font-feature-settings: "palt";
}

.s-en { 
    display: flex; align-items: center; color: var(--blue); font-size: 15px; letter-spacing: 0.2em; margin-bottom: 40px; font-family: 'Times New Roman', Times, serif; 
}
.s-en::before { content: ""; display: inline-block; width: 30px; height: 1px; background-color: var(--blue); margin-right: 15px; }

.section-lead {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn-green { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--green); 
    color: #fff; 
    width: 320px; 
    padding: 18px 10px 18px 25px; 
    font-weight: 700; 
    font-size: 18px; 
    position: relative; 
    letter-spacing: 0.05em; 
    text-indent: 0.05em; 
    box-sizing: border-box;
}
.btn-green::after { content: ''; position: absolute; right: 25px; width: 6px; height: 6px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.btn-green:hover { opacity: 0.9; }

.breadcrumb {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px 0;
    font-size: 14px;
    color: #666;
}
.breadcrumb__inner {
    max-width: 1000px;
    margin: 0 auto;
}
.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--blue);
}
/* ==================================================
   Footer
================================================== */
.footer { background: var(--blue); color: #fff; padding: 80px 20px 40px; text-align: center; position: relative; }
.footer__inner { max-width: 1200px; margin: 0 auto; }
.f-logo img { height: 60px; margin-bottom: 30px; } 
.f-companies { display: flex; justify-content: center; gap: 40px; font-size: 16px; margin-bottom: 50px; letter-spacing: 0.05em; }
.f-nav { display: flex; justify-content: center; gap: 50px; list-style: none; margin-bottom: 60px; font-weight: 700; font-size: 16px; letter-spacing: 0.1em; }
.f-nav a:hover { opacity: 0.7; }
.f-address { font-size: 15px; margin-bottom: 80px; letter-spacing: 0.05em; }
.f-address .map-link { color: #fff; margin-left: 10px; font-size: 14px; text-decoration: underline; display: inline-flex; align-items: center; gap: 4px;}
.copyright { font-size: 13px; opacity: 0.7; }

.f-address .map-link .icon-link {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* ==================================================
   Page Top Button
================================================== */
.page-top-btn {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background: #fff; border-radius: 50%; border: 2px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 999; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); opacity: 0; visibility: hidden;
}
.page-top-btn.is-show { opacity: 1; visibility: visible; }
.page-top-btn::after {
    content: ""; width: 12px; height: 12px; 
    border-top: 3px solid var(--green); border-left: 3px solid var(--green);
    transform: rotate(45deg) translate(2px, 2px); transition: all 0.3s ease;
}
.page-top-btn:hover { background: var(--green); transform: translateY(-5px); }
.page-top-btn:hover::after { border-color: #fff; }


/* ==================================================
   769 〜 1024px
================================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .tb-only {
        display: inline;
    }
}

/* ==================================================
   スマホ用レスポンシブ設定 (共通部分)
================================================== */
@media screen and (max-width: 768px) {
    .sp-only { display: block; }
    .sp-br { display: inline; }
    .pc-only { display: none; }
    .pc-br { display: none; }
    
    /* Header (SP) */
    .header { height: 70px; background-color: #fff; }
    .logo { background-color: transparent; padding: 0; }
    .logo img { height: 35px; position: relative; z-index: 1002; } 

    nav { position: absolute; }

    .menu-wrap {
        display: flex; flex-direction: column; align-items: center; gap: 4px;
        cursor: pointer; z-index: 1002; margin-left: auto;
    }
    .menu-text { font-size: 10px; letter-spacing: 0.1em; line-height: 1; color: var(--text-main); font-weight: 500; transition: 0.3s;}
    .hamburger {
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
        width: 36px; height: 36px; border: 1px solid var(--text-main); border-radius: 50%; background: #fff;
    }
    .hamburger span { width: 16px; height: 1px; background-color: var(--text-main); transition: 0.3s ease; }
    
    .menu-wrap.active .hamburger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .menu-wrap.active .hamburger span:nth-child(2) { opacity: 0; }
    .menu-wrap.active .hamburger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

    /* ナビゲーションメニュー (SP) */
    .nav-list {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #fff;
        flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
        opacity: 0; visibility: hidden; transition: 0.3s; padding-top: 100px; margin-left: 0;
        overflow-y: auto;
    }
    .nav-list.active { opacity: 1; visibility: visible; }
    
    .sp-menu-title {
        color: var(--blue); font-family: "Yu Mincho", "YuMincho", serif;
        font-size: 18px; letter-spacing: 0.1em; text-align: center;
        margin-bottom: 20px; font-weight: 500;
    }

    .nav-item { width: 100%; text-align: left; border-bottom: 1px solid #e0e0e0; }
    .nav-item:nth-child(2) { border-top: 1px solid #e0e0e0; }

    .nav-item > a { 
        padding: 20px 5%; font-size: 16px; font-weight: 500; 
        justify-content: flex-start; letter-spacing: 0.05em; color: #333;
        position: relative; 
    }
    /* SPメニューでのカレント表示 */
    .nav-item.current > a { color: var(--blue); background-color: #f4f7fa; }
    
    .nav-item > a::after { 
        content: ''; position: absolute; right: 5%; top: 50%;
        width: 8px; height: 8px; 
        border-top: 2px solid #333; border-right: 2px solid #333;
        border-left: none; border-bottom: none;
        transform: translateY(-50%) rotate(45deg); 
        display: block; transition: 0.3s; margin: 0;
    }
    
    .nav-item.has-dropdown > a::after {
        border-top: none; border-left: none;
        border-bottom: 2px solid var(--blue); border-right: 2px solid var(--blue);
        transform: translateY(-50%) rotate(45deg); margin: 0; 
    }
    
    .nav-item.has-dropdown > a.open::after { transform: translateY(-50%) rotate(225deg); }
    
    .dropdown {
        position: static; transform: none; width: 100%; box-shadow: none; border: none;
        display: none; visibility: visible; opacity: 1; padding: 0; background: #f9f9f9;
    }
    .dropdown.open { display: block; }
    .dropdown li a { padding: 15px 5% 15px 8%; font-size: 14px; text-align: left; border-bottom: 1px solid #eee; }
    .dropdown li:last-child a { border-bottom: none; }

    /* セクション共通 SP対応 */
    .section { padding: 50px 4%; }
    
    /* ▼▼ SP用の下線指定も削除しました ▼▼ */
    .s-title { font-size: 26px; }
    
    .s-en { margin-bottom: 30px; font-size: 13px; }
    .section-lead { font-size: 15px; margin-bottom: 30px; }
    .btn-green { width: 100%; padding: 18px; box-sizing: border-box; font-size: 16px; text-indent: 0; }
    h1.page-title { max-width: auto; padding: 90px 20px 20px; font-size: 28px; }
    h1.page-title .page-title-en { font-size: 20px; }
    .breadcrumb {padding: 80px 20px 0;}

    /* Footer SP対応 */
    .footer { padding: 50px 20px 30px; }
    .footer__inner { text-align: center; }
    .f-logo { display: inline-block; vertical-align: middle; margin-right: 15px; margin-bottom: 35px; }
    .f-logo img { height: 45px; margin-bottom: 0; } 
    .f-companies { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: left; gap: 6px; font-size: 14px; margin-bottom: 35px; }
    .f-nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 20px 40px; margin-bottom: 40px; font-size: 14px; text-align: left; width: fit-content; margin-left: auto; margin-right: auto; }
    .f-address { font-size: 13px; margin-bottom: 30px; }
    .copyright { font-size: 12px; }
    .page-top-btn { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}