/* ====================================================================
   共通コンポーネントスタイル（components.css）
   
   【対象ページ】
   - 全ページ共通: Header, Footer, Buttons, Mobile Navigation, Breadcrumb
   - index.html: Hero Section
   
   【レスポンシブ対応】
   - PCサイズ（1024px以上）: このファイルで基本スタイル定義
   - タブレット・モバイル: responsive.cssで対応
   ==================================================================== */

/* ====================================================================
   1. ヘッダー（全ページ共通）
   ==================================================================== */
/* === Header Styles (from header.css) === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #4f9cd4;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-right: 20px;
    padding-right: 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 0;
}

.site-header .logo {
    margin-left: 20px;
    padding-left: 0;
}

.site-header .logo img {
    height: 35px;
    width: auto;
}

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

.site-header .main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
}

.site-header .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.site-header .main-nav a:hover::after,
.site-header .main-nav a.active::after {
    width: 100%;
}

.site-header .header-cta {
    background-color: white;
    color: #4a90e2;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.site-header .header-cta:hover {
    background-color: rgba(255,255,255,0.9);
    color: #3a7bc8;
    transform: translateY(-1px);
}

/* Mobile Navigation Toggle（PC用はdisplay:none） */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    margin-right: 0px;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Mobile Menu Button - Figma Design（PC用はdisplay:none） */
.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    margin-right: 0px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.mobile-menu-button::before,
.mobile-menu-button::after,
.mobile-menu-button span {
    content: '';
    position: absolute;
    left: 5.5px;
    width: 33px;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.mobile-menu-button::before {
    top: 11px;
}

.mobile-menu-button span {
    top: 22px;
}

.mobile-menu-button::after {
    top: 33px;
}

/* ====================================================================
   2. ヒーローセクション（index.htmlトップページ）
   ==================================================================== */
/* === Hero Section Styles (from hero.css) === */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    min-height: 600px;
    background: url('../../images/hero/fv_main.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-top: 120px;
}

.hero-title {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 70px auto 20px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.45);
}

.hero-title,
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================================
   3. ボタン（全ページ共通）
   ==================================================================== */
/* === Button Styles (from buttons.css) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--blue-dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: #4F9CD4;
    color: #ffffff;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3a7cb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 156, 212, 0.3);
    color: #ffffff;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.125rem;
}

.btn-tertiary {
    background-color: #4F9CD4;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    padding: 9px 40px;
    border-radius: 23px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-tertiary:hover {
    background-color: #3a7bb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 156, 212, 0.3);
    color: #FFFFFF;
}

.btn .arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ====================================================================
   4. フッター（全ページ共通）
   ==================================================================== */
/* === Footer Styles (from footer.css) === */
.site-footer {
    background-color: #FFFFFF;
    padding: 50px 0;
    border-top: 1px solid #EAEAEA;
    color: #595757;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0px;
}

.footer-left {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
}

.footer-info {
    text-align: center;
}

.footer-info .company-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-info .address {
    font-size: 0.8rem;
    line-height: 1.6;
    white-space: nowrap;
}

.footer-right {
    flex-basis: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav {
    display: flex;
    gap: 40px;
    margin-bottom: 26px;
}

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

.footer-nav a {
    text-decoration: none;
    color: #595757;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #4a90e2;
}

.copyright {
    font-size: 0.75rem;
    color: #A0A0A0;
}

/* ====================================================================
   5. モバイルナビゲーション（タブレット・モバイル用）
   ==================================================================== */
/* === Mobile Navigation Styles (from mobile-nav.css) === */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    visibility: hidden;
}

.mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 3rem;
    font-weight: 300;
    color: #555;
    cursor: pointer;
    line-height: 1;
}

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

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    display: block;
    padding: 18px 30px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.mobile-nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.mobile-nav-links .btn-primary {
    display: block;
    width: calc(100% - 60px);
    margin: 30px auto 0;
    text-align: center;
    color: #fff;
    background-color: #4F9CD4;
    padding: 15px;
}
.mobile-nav-links .btn-primary:hover {
    background-color: #3a7bc8;
    color: #fff;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0s 0.4s;
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s;
}

body.nav-open {
    overflow: hidden;
}

/* ====================================================================
   6. パンくずリスト（全ページ共通）
   ==================================================================== */
/* === Breadcrumb Styles (from breadcrumb.css) === */
.breadcrumb {
    background-color: transparent;
    padding: 40px 0 40px 0;
    margin-bottom: 40px;
}

/* タブレット・モバイルで非表示 */
@media (max-width: 1023px) {
    .breadcrumb {
        display: none;
    }
}

.breadcrumb .container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

.entry-page-wrapper .breadcrumb {
    max-width: 760px;
    margin: 0 auto 40px auto;
    padding: 0 0px;
}

.entry-page-wrapper .breadcrumb ol {
    margin: 0;
    padding: 0;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb ol li {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    color: #595757;
    position: relative;
}

.breadcrumb ol li:not(:last-child)::after {
    content: '＞';
    margin-left: 8px;
    color: #595757;
}

.breadcrumb ol li a {
    color: #595757;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb ol li a:hover {
    color: #4F9CD4;
}

.breadcrumb ol li:last-child {
    position: relative;
    color: #4F9CD4;
    font-weight: 500;
}

.breadcrumb ol li:last-child::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4F9CD4;
} 