@charset "UTF-8";

/* ==========================================================================
   Common Styles
   ========================================================================== */

:root {
    --primary-color: #002d6f;
    --accent-color: #0068b7;
    --bg-light-blue: #e1f0fa;
    --text-color: #2f3a40;
    --font-din: "Bebas Neue", "Oswald", sans-serif;
    --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: "SF Pro", "Hiragino Sans", 'ヒラギノ角ゴシック', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', sans-serif; */
    font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", "sans-serif";
    line-height: 1.6;
    color: #333;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ユーティリティ */
.pc-only {
    display: block;
}

.sp-only {
    display: none !important;
}

/* 共通コンテナ */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ヘッダー */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFF;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo-img {
    width: 150px;
    display: block;
    vertical-align: middle;
}

header .header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

header .header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

header .language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #002D6F;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

header .globe-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .globe-icon img {
    width: 100%;
    height: 100%;
}

header .arrow-icon {
    width: 8px;
    height: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .arrow-icon img {
    width: 100%;
    height: 100%;
}

header .btn-login {
    display: flex;
    padding: 4px 16px;
    justify-content: center;
    align-items: center;
    height: 36px;
    border-radius: 40px;
    background: #002D6F;
    color: #FFF;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

header .main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

header .main-nav a {
    text-decoration: none;
    color: #002D6F;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px; /* 間隔を広げる (2px -> 4px) */
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s;
}

header .main-nav li.current-item a {
    border-bottom-color: #002D6F; /* カレント時に色付け */
}

/* ヘッダー透過時 (header-transparent) */
header.header-transparent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.header-transparent .main-nav a {
    color: #FFF;
    transition: color 0.3s ease;
}

header.header-transparent .language-selector {
    color: #FFF;
    transition: color 0.3s ease;
}

header.header-transparent .hamburger-btn span {
    background-color: #FFF;
    transition: background-color 0.3s ease;
}

/* 透過ヘッダー内のリンクは白文字前提なので、ボーダーも白にする */
header.header-transparent .main-nav li.current-item a {
    border-bottom-color: #FFF;
    transition: border-bottom-color 0.3s ease;
}

/* ヘッダー透過時のユーザー情報アイコンも白くする */
header.header-transparent .header-user-info {
    color: #FFF;
    transition: color 0.3s ease;
}
header.header-transparent .header-user-info img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* スクロール時のヘッダー（白背景＋黒文字） */
header.header-transparent.header-scrolled {
    position: fixed;
    background-color: #FFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

header.header-transparent.header-scrolled .main-nav a {
    color: #002D6F;
}

header.header-transparent.header-scrolled .language-selector {
    color: #002D6F;
}

header.header-transparent.header-scrolled .hamburger-btn span {
    background-color: #002D6F;
}

header.header-transparent.header-scrolled .main-nav li.current-item a {
    border-bottom-color: #002D6F;
}

header.header-transparent.header-scrolled .header-user-info {
    color: #002D6F;
}
header.header-transparent.header-scrolled .header-user-info img {
    filter: none;
}

/* ヘッダー影なし (header-no-shadow) */
header.header-no-shadow {
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Bottom Sitemap Section (Common)
   -------------------------------------------------------------------------- */
.section-bottom-nav {
    padding: 60px 0;
    border-top: 1px solid #e9e9e9;
    background-color: #fff;
}

.bottom-nav-grid {
    display: flex;
    justify-content: space-between;
    width: 1080px;
    margin: 0 auto;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-column h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

/* Make link in h3 clickable and styled like normal h3 text */
.nav-column h3 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-column h3 a:hover {
    opacity: 0.7;
}

.nav-icon {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--accent-color); /* 青丸 */
    display: inline-block;
}

.nav-column ul {
    list-style: none;
    padding-left: 25px; /* アイコン分ずらす */
}

.nav-column li {
    margin-bottom: 5px;
}

.nav-column a {
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-column a:hover {
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Common Contact Section (Recruit CTA)
   -------------------------------------------------------------------------- */
.section-contact {
    background-color: #002D6F;
    padding: 64px 40px 80px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.contact-container {
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-text {
    text-align: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.9;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 480px;
    height: 80px;
    background-color: #FFF;
    border-radius: 70px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: #002D6F;
    transition: opacity 0.3s;
}

.btn-contact:hover {
    opacity: 0.9;
}

.btn-contact .arrow-icon {
    width: 16px;
    height: 16px;
}

/* フッター */
footer {
    background-color: #fff;
    color: #0c0c0c;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0;
    max-width: 1080px;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

footer .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer img {
    height: 48px;
    width: auto;
    max-width: 100%;
    margin-bottom: 0;
}

footer .footer-sunflare-style img {
    height: 76px;
    width: 368px;
}

footer .footer-address {
    padding-left: 54px;
}

footer .footer-address p {
    font-size: 13px;
    line-height: 1.8;
    color: #0c0c0c;
    margin: 0;
}

footer .footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

footer a {
    color: #0c0c0c;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

footer .footer-bottom {
    padding-top: 24px;
    text-align: center;
}

footer .footer-bottom p {
    font-size: 11px;
    color: #0c0c0c;
}

/* SP用要素をPCで非表示 */
.sp-menu,
.sp-search-toggle,
.sidebar-header-sp {
    display: none !important;
}
