@charset "UTF-8";

/* =================================
   リセット & 共通設定
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
    color: #333;
    line-height: 1.8;
    letter-spacing: 0.08em;
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    color: #111a2c;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.section-title p {
    font-size: 14px;
    color: #bd9d55;
    letter-spacing: 0.2em;
}

/* =================================
   ヘッダー & ハンバーガーメニュー
================================= */
.header {
    background-color: #1a2c4e;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    height: 70px;
    max-width: 1920px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo img {
    height: 24px;
    width: auto;
    display: block;
}

/* PC時の通常メニュー（横並び） */
.global-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.global-nav a {
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.1em;
}

.global-nav a:hover {
    color: #bd9d55;
}

/* ハンバーガーボタン（PCでは非表示） */
.hamburger {
    display: none;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.is-active span {
    background-color: #fff;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


/* =================================
   メインビジュアル (Hero - 動画版)
================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-color: #111a2c;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* スマホ用動画はPC表示の時は隠す */
.video-sp {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 26, 44, 0.4);
    z-index: 1;
}

/* 既存の .hero-text を書き換え */
.hero-text {
    position: absolute;
    top: 55%;
    left: 8%;
    /* transform: translateY(-50%); はアニメーション内で指定するので消してOKです */
    text-align: left;
    color: #fff;
    width: 90%;
    max-width: 800px;
    z-index: 2;

    /* --- アニメーションの追加 --- */
    opacity: 0;
    /* 最初は透明にしておく */
    /* 0.5秒遅れで、1.5秒かけてゆっくり表示する */
    animation: heroFadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

/* .hero-textのすぐ下にこれを追加 */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-40%);
    }

    /* 少し下からスタート */
    100% {
        opacity: 1;
        transform: translateY(-50%);
    }

    /* 本来の位置へ */
}

.hero-text h2 {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 16px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
}

.btn-gold {
    display: inline-block;
    background-color: #9e8548;
    color: #fff;
    font-size: 15px;
    padding: 16px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-gold:hover {
    background-color: #b59d5e;
    color: #fff;
    opacity: 1;
}

/* =================================
   私たちについて (About)
================================= */
.about-content {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-img {
    width: 60%;
    background-color: #e0e0e0;
    min-height: 450px;
}

.about-text-box {
    width: 50%;
    background-color: #fff;
    padding: 60px 50px;
    margin-left: -10%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
    border-top: 4px solid #bd9d55;
}

.about-text-box h3 {
    color: #111a2c;
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* =================================
   事業内容 (Service)
================================= */
.service-section {
    background-color: #1a2c4e;
}

.service-section .section-title h2 {
    color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #eee;
}

.card-text {
    padding: 30px 25px;
}

.card-text h3 {
    font-size: 19px;
    color: #111a2c;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #bd9d55;
    padding-bottom: 15px;
}


/* =================================
   セミナー情報 (Seminar)
================================= */
.seminar-section {
    background-color: #567c9f;
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.seminar-inner {
    max-width: 800px;
    margin: 0 auto;
}

.seminar-en {
    font-size: 16px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    opacity: 0.8;
}

.seminar-jp {
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.seminar-desc {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.seminar-link {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    transition: 0.3s;
}

.seminar-link:hover {
    opacity: 0.7;
    border-color: transparent;
}

/* =================================
   よくある質問 (FAQ)
================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.faq-item summary {
    padding: 25px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #111a2c;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: "＋";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #bd9d55;
}

.faq-item[open] summary::after {
    content: "－";
}

.faq-answer {
    padding: 0 20px 25px;
    color: #555;
}

/* =================================
   会社概要 (Company)
================================= */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.company-table th {
    width: 30%;
    text-align: left;
    background-color: #f8f9fa;
    color: #111a2c;
    font-weight: bold;
}

/* =================================
   フッター (Footer)
================================= */
.footer {
    background-color: #1A2C4E;
    color: #fff;
    padding: 80px 5% 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-nav {
    display: flex;
    list-style: none;
    gap: 25px;
}

.footer-nav a {
    font-size: 14px;
    color: #ccc;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #777;
}

/* =================================
   スマホ対応 (Responsive)
================================= */
@media screen and (max-width: 768px) {
    .section {
        padding: 60px 5%;
    }

    .section-title h2 {
        font-size: 26px;
    }

    /* スマホ表示時のヘッダー微調整 */
    .header-left {
        gap: 10px;
    }

    /* スマホではハンバーガーメニューを表示 */
    .hamburger {
        display: block;
    }

    /* スマホ用ナビゲーション（初期は画面外に隠す） */
    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(17, 26, 44, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }

    /* JavaScriptで is-active が付いたら表示する */
    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .global-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .global-nav a {
        color: #fff;
        font-size: 18px;
    }

    /* --- 動画の切り替え --- */
    .video-pc {
        display: none;
        /* スマホではPC用動画を隠す */
    }

    .video-sp {
        display: block;
        /* スマホではスマホ用動画を表示 */
    }

    /* メインビジュアル微調整 */
    .hero-text {
        left: 5%;
        top: 50%;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .btn-gold {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* 私たちについて */
    .about-content {
        flex-direction: column;
    }

    .about-img {
        width: 100%;
        min-height: 250px;
    }

    .about-text-box {
        width: 90%;
        margin-left: 0;
        margin-top: -40px;
        padding: 40px 20px;
    }

    /* 事業内容 */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* セミナー情報 */
    .seminar-jp {
        font-size: 24px;
    }

    .seminar-desc {
        text-align: left;
    }

    /* 会社概要表 */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
    }

    /* フッター */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

/* =================================
   アニメーション設定 
================================= */
/* スクロールして画面に入ったら下からふわっと出る設定 */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 画面に入って「is-inview」クラスが付いたら表示 */
.js-fade-up.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* 事業内容カードのホバー時の画像拡大 */
.service-card img {
    transition: transform 0.8s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* =================================
   プライバシーポリシー
================================= */
.privacy-section {
    background-color: #fcfcfc;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-align: center;
    /* ★追加：すべてを中央寄せにする */
}

.privacy-container>p {
    margin-bottom: 30px;
}

.privacy-container h3 {
    font-size: 20px;
    color: #111a2c;
    border-bottom: 2px solid #bd9d55;
    display: inline-block;
    padding-bottom: 5px;
    margin: 50px 0 20px;
}

.privacy-container ul {
    margin-bottom: 30px;
    padding-left: 0;
    list-style-position: inside;
    /* 黒丸を文字の中に入れる */
}

.privacy-container li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.privacy-date {
    text-align: center;
    margin-top: 60px;
    font-weight: bold;
    color: #111a2c;
}

/* --- スマホ表示時の調整 --- */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 50px 5%;
    }

    .page-header h2 {
        font-size: 24px;
    }

    .privacy-container {
        padding: 40px 20px;
    }

    .privacy-container h3 {
        font-size: 18px;
        margin: 40px 0 15px;
    }
}