:root {
    --navy: #0b3a6e;
    --blue: #1565c0;
    --light: #eef5fc;
    --text: #222;
    --muted: #5c6b7a;
    --border: #d6e2ee;
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); }

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

/* ---------- ヘッダー ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}

.company { display: flex; flex-direction: column; line-height: 1.3; }
.company-ja { font-size: 1.25rem; font-weight: 700; }
.company-en { font-size: .75rem; letter-spacing: .08em; color: var(--muted); }

nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}
nav a:hover { color: var(--blue); }

.nav-cta {
    background: var(--blue);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
}
.nav-cta:hover { background: var(--navy); }

/* ---------- ヒーロー ---------- */
/* 背景写真：しまなみ海道・来島海峡大橋（Unsplash / urusy） */
.hero {
    background:
        linear-gradient(180deg, rgba(7, 42, 80, .55) 0%, rgba(7, 42, 80, .35) 50%, rgba(7, 42, 80, .7) 100%),
        url("img/hero-shimanami.jpg") center 40% / cover no-repeat;
    color: #fff;
    min-height: min(80vh, 680px);
    padding: 110px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero h1,
.hero-lead { text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }

.hero-sub { letter-spacing: .3em; font-size: .85rem; opacity: .85; margin: 0 0 8px; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); margin: 0 0 20px; line-height: 1.4; }
.hero-lead { margin: 0 0 36px; }

.btn {
    display: inline-block;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
}
.btn:hover { background: var(--light); }

/* ---------- セクション共通 ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--light); }

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0 0 50px;
}
.section-title span {
    display: block;
    font-size: .8rem;
    letter-spacing: .25em;
    color: var(--blue);
}

/* ---------- 強み ---------- */
.strength {
    display: flex;
    align-items: center;
    gap: 48px;
}
.strength-text { flex: 1; }
.strength-text h3 { font-size: 1.4rem; color: var(--navy); margin: 0 0 12px; }

.boats { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.boats li {
    width: 140px;
    height: 140px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.boats-num { font-size: 2.6rem; font-weight: 700; color: var(--blue); line-height: 1; }
.boats-num small { font-size: 1rem; margin-left: 2px; }
.boats-area { font-weight: 700; color: var(--navy); margin-top: 6px; }

/* ---------- 事業内容 ---------- */
.services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service {
    background: #fff;
    padding: 28px;
    border-top: 4px solid var(--blue);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(11, 58, 110, .06);
}
.service-no { font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.service h3 { margin: 4px 0 10px; color: var(--navy); font-size: 1.15rem; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- 会社概要 ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.office-photo {
    display: block;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(11, 58, 110, .1);
}

.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.company-table th { width: 7em; color: var(--navy); white-space: nowrap; }
.muted { color: var(--muted); font-size: .85rem; }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--navy); color: #fff; }
.contact .section-title { color: #fff; }
.contact .section-title span { color: #9cc7f2; }
.contact-lead { text-align: center; margin: -20px 0 36px; }

.contact-box {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.contact-item {
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    padding: 24px 36px;
    border-radius: 4px;
    min-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.contact-item:hover { background: var(--light); }
.contact-label { font-size: .85rem; color: var(--muted); }
.contact-value { font-size: 1.6rem; font-weight: 700; }
.contact-mail { font-size: 1.1rem; word-break: break-all; }
.contact-fax { text-align: center; margin: 24px 0 0; }

/* ---------- フッター ---------- */
.footer {
    background: #072a50;
    color: #c9d8e8;
    text-align: center;
    padding: 32px 20px;
    font-size: .9rem;
}
.footer p { margin: 4px 0; }
.footer-name { color: #fff; font-weight: 700; }

/* ---------- スマホ ---------- */
.pc { display: inline; }

@media (max-width: 820px) {
    :root { --header-h: 120px; }
    .header-inner { flex-direction: column; padding: 10px 16px; gap: 6px; }
    nav ul { gap: 14px; flex-wrap: wrap; justify-content: center; font-size: .9rem; }
    .nav-cta { padding: 4px 12px; }
    .hero { padding: 70px 16px; min-height: 70vh; background-position: 30% 40%, 30% 40%; }
    .pc { display: none; }
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }
    .strength { flex-direction: column; gap: 28px; }
    .about { grid-template-columns: 1fr; }
    .services { grid-template-columns: 1fr; }
    .contact-item { min-width: 0; width: 100%; }
}
