@charset "utf-8";

/* --- 1. 基本設定 --- */
body {
    margin: 0;
    padding-top: 70px; /* ヘッダーの高さ分 */
    font-family: 'Noto Sans JP', sans-serif;
    color: #111111;
    line-height: 1.8;
    overflow-x: hidden; /* 横揺れ防止 */
    background-color: #ffffff;
}

.hrf-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. ヘッダー (崩れ防止・レスポンシブ) --- */
.hrf-site-header {
    background-color: #001d3d;
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    height: 70px;
}

.hrf-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
}

.hrf-header-logo { flex: 1; min-width: 0; }
.hrf-header-logo a { display: flex; flex-direction: column; text-decoration: none; color: #ffffff; }

.hrf-logo-en {
    font-size: 1.3rem;
    font-family: 'Dela Gothic One', cursive;
    font-style: italic;
    line-height: 1.1;
}

.hrf-logo-jp {
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* ハンバーガーメニュー */
.hrf-menu-checkbox { display: none; }
.hrf-menu-button { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 18px; cursor: pointer; flex-shrink: 0; z-index: 10000; }
.hrf-menu-button span { display: block; width: 100%; height: 2px; background: #fff; transition: 0.3s; }

.hrf-menu-content {
    position: absolute; top: 70px; right: 0;
    background: #001d3d; width: 250px;
    max-height: 0; overflow: hidden; transition: 0.4s;
    border-left: 1px solid #d4af37;
}
.hrf-menu-content ul { list-style: none; padding: 20px 0; margin: 0; }
.hrf-menu-content li a { display: block; color: #fff; text-decoration: none; padding: 15px 30px; font-weight: bold; }

.hrf-menu-checkbox:checked ~ .hrf-menu-content { max-height: 500px; }
.hrf-menu-checkbox:checked + .hrf-menu-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hrf-menu-checkbox:checked + .hrf-menu-button span:nth-child(2) { opacity: 0; }
.hrf-menu-checkbox:checked + .hrf-menu-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- 3. フッター --- */
.hrf-site-footer {
    background-color: #001d3d;
    color: #ffffff;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
}
.hrf-footer-content { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.hrf-footer-logo { font-size: 2rem; font-family: 'Dela Gothic One', cursive; font-style: italic; color: #fff; }
.hrf-footer-nav ul { list-style: none; padding: 0; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hrf-footer-nav a { color: #fff; text-decoration: none; font-weight: bold; font-size: 0.9rem; }
.footer-photo { max-width: 240px; margin: 0 auto; }
.footer-photo img { width: 100%; height: auto; display: block; }
.hrf-footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.75rem; opacity: 0.5; }

/* PC用調整 */
@media screen and (min-width: 768px) {
    .hrf-logo-en { font-size: 1.8rem; }
    .hrf-logo-jp { font-size: 0.9rem; border-left: 1px solid rgba(255,255,255,0.3); padding-left: 12px; margin-left: 12px; }
    .hrf-header-logo a { flex-direction: row; align-items: baseline; }
    .hrf-footer-content { flex-direction: row; justify-content: space-between; text-align: left; align-items: flex-start; }
    .hrf-footer-nav ul { flex-direction: column; align-items: flex-start; border-left: 1px solid rgba(212,175,55,0.3); padding-left: 40px; }
}


/* --- 3. Hero Section 各ページ共通 --- */
.hrf-hero-gate {
    background-color: #001d3d !important;
    color: #ffffff;
    padding: 80px 20px 140px !important;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    margin-bottom: 80px;
    /* セクション自体の下部を三角形に切り抜く */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 50% 100%, 0 calc(100% - 60px));
}

.hrf-hero-gate-tagline {
    font-family: 'Dela Gothic One', cursive;
    font-size: 1.2rem;
    color: #ff0000;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.hrf-hero-gate-title {
    margin-top: 15px;
    line-height: 1.2;
}

.hero-jp {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    color: #ffffff;
    margin-top: 5px;
}

/* 不要な三角形要素の非表示 */
.hrf-hero-gate-triangle, .hrf-about-triangle {
    display: none;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .hrf-hero-gate {
        padding: 60px 20px 100px !important;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
    }
    .hero-en { font-size: 2rem; }
    .hero-jp { font-size: 1.2rem; }
}