@charset "UTF-8";

/* =========================================
   Base Setup (Partners Tax)
   ========================================= */
:root {
    --navy: #002b5c;       /* 信頼のネイビー */
    --gold: #c5a059;       /* 品格のゴールドベージュ */
    --bg-light: #f4f4f4;   /* 背景用ライトグレー */
    --text-main: #333333;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    
    --font-serif: 'Noto Serif JP', serif; /* 知的さを出す明朝 */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #fff;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
ul { list-style: none; }

/* 見出しスタイル */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; }

.en {
    font-family: var(--font-en);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* アニメーション */
.fade-up {
    opacity: 0; transform: translateY(20px); transition: all 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   Header (Solid & Trustworthy)
   ========================================= */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 80px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--navy);
    display: flex; align-items: center; gap: 10px;
}
/* ロゴマーク（四角いアイコン） */
.logo::before {
    content: ''; display: block; width: 24px; height: 24px;
    background: var(--navy);
    border-top: 2px solid var(--gold); /* 上部にゴールドのライン */
}

.nav { height: 100%; display: flex; align-items: center; }
.nav ul { display: flex; height: 100%; }
.nav li { height: 100%; display: flex; align-items: center; }
.nav a {
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    height: 100%;
    display: flex; align-items: center;
    border-top: 3px solid transparent; /* ホバー時のライン用 */
    transition: 0.3s;
}
.nav a:hover, .nav a.active {
    color: var(--navy);
    border-top-color: var(--gold);
    background: #f9f9f9;
}

.header-cta {
    display: flex; align-items: center; height: 100%;
}
.btn-contact-header {
    background: var(--navy);
    color: #fff !important;
    height: 100%;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-top: none !important;
}
.btn-contact-header:hover { background: var(--gold); }

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 6px 0; }

/* =========================================
   Hero Section (Box Layout)
   ========================================= */
.hero {
    height: 80vh;
    position: relative;
    display: flex; align-items: center;
    justify-content: flex-start; /* 左寄せ */
    padding: 0 10%;
    margin-top: 80px; /* ヘッダー分 */
    background: #f0f0f0;
}
.hero-bg {
    position: absolute; top: 0; right: 0; width: 65%; height: 100%;
    background-size: cover; background-position: center;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); /* 斜めカット */
}

.hero-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    border-left: 5px solid var(--navy);
}
.hero-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--navy);
}
.hero-sub {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}
.btn-primary {
    display: inline-block;
    background: var(--gold); color: #fff;
    padding: 1rem 3rem;
    font-weight: 700;
    border-radius: 2px;
}
.btn-primary:hover { background: var(--navy); }

/* =========================================
   Layout & Components
   ========================================= */
.section { padding: 8rem 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.bg-light { background: var(--bg-light); }

.section-header {
    text-align: center; margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.2rem; color: var(--navy); position: relative; display: inline-block;
    padding-bottom: 1rem;
}
.section-header h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--gold);
}

/* Service Boxes (Grid) */
.grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.service-box {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    transition: 0.3s;
}
.service-box:hover {
    border-color: var(--navy);
    box-shadow: 0 10px 20px rgba(0,43,92,0.1);
    transform: translateY(-5px);
}
.service-icon {
    font-size: 3rem; color: var(--navy); margin-bottom: 1.5rem;
}
.service-title {
    font-size: 1.3rem; margin-bottom: 1rem; color: var(--navy);
}
.service-desc {
    font-size: 0.9rem; color: #666; text-align: left;
}

/* News List */
.news-list { border-top: 1px solid var(--border-color); margin-top: 2rem; }
.news-item {
    display: flex; align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: 0.3s;
}
.news-item:hover { background: #fafafa; padding-left: 10px; }
.news-date { width: 120px; color: #888; font-family: var(--font-en); }
.news-cat {
    background: var(--navy); color: #fff; font-size: 0.7rem; padding: 2px 8px; margin-right: 15px; border-radius: 2px;
}
.news-title { font-weight: 500; }

/* Sub Page Header */
.page-header {
    background: var(--navy);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    margin-top: 80px;
    background-image: linear-gradient(rgba(0,43,92,0.9), rgba(0,43,92,0.9)), url('assets/img/hero-bg.jpg'); /* 背景画像をうっすら */
    background-size: cover;
    background-position: center;
}
.page-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.breadcrumb { font-size: 0.8rem; opacity: 0.7; }
.breadcrumb a:hover { text-decoration: underline; }

/* Profile Table */
.profile-table {
    width: 100%; border-collapse: collapse; border: 1px solid var(--border-color);
}
.profile-table th, .profile-table td {
    padding: 1.5rem; border-bottom: 1px solid var(--border-color); text-align: left;
}
.profile-table th {
    background: var(--bg-light); width: 25%; color: var(--navy); border-right: 1px solid var(--border-color);
}

/* Contact Info Box */
.contact-box {
    background: var(--bg-light); border: 1px solid var(--border-color);
    padding: 3rem; text-align: center; margin-top: 4rem;
}
.phone-number {
    font-family: var(--font-en); font-size: 2.5rem; font-weight: 700; color: var(--navy);
    margin: 1rem 0; display: block;
}

/* Footer */
.footer {
    background: var(--navy); color: #fff; padding: 4rem 0 0;
}
.footer-container {
    max-width: 1100px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-bottom: 4rem;
}
.footer-logo { font-size: 1.5rem; font-family: var(--font-serif); margin-bottom: 1.5rem; }
.footer-nav a { display: inline-block; margin-right: 1.5rem; color: #ccc; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.copyright {
    background: #00224a; text-align: center; padding: 1.5rem; font-size: 0.8rem; color: #aaa;
}

/* Form */
.form-biz { max-width: 800px; margin: 0 auto; }
.form-row {
    display: grid; grid-template-columns: 200px 1fr; gap: 2rem; margin-bottom: 2rem; align-items: center;
}
.form-row label { font-weight: 700; color: var(--navy); }
.required { color: red; font-size: 0.8rem; margin-left: 5px; }
input, textarea, select {
    width: 100%; padding: 0.8rem; border: 1px solid #ccc; border-radius: 4px; font-family: inherit;
}
.btn-submit {
    width: 250px; padding: 1rem; background: var(--navy); color: #fff; border: none;
    font-weight: 700; font-size: 1.1rem; cursor: pointer; display: block; margin: 3rem auto 0;
    border-radius: 4px;
}
.btn-submit:hover { background: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: block; }
    .header-cta { display: none; }
    
    .hero { flex-direction: column; padding: 0; margin-top: 80px; height: auto; }
    .hero-bg { position: relative; width: 100%; height: 300px; clip-path: none; order: 1; }
    .hero-box { max-width: 100%; margin: -50px 5% 2rem; order: 2; padding: 2rem; }
    .hero-title { font-size: 2rem; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0.5rem; align-items: flex-start; }
}