* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #333333;
    background: #F7F7F7;
    line-height: 1.8;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

/* ヘッダー */
.site-header {
    background: rgba(17, 17, 17, 0.96);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    height: 72px;
    width: min(1180px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.logo img {
    width: 54px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
   font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "MS PMincho",
        serif;
}

.logo-text span {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #d0d0d0;
}

.logo-text strong {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 40px;
    font-size: 14px;
    white-space: nowrap;
}

.nav a {
    opacity: 0.9;
    transition: 0.25s;
}

.nav a:hover {
    color: #B8BCC2;
}

.header-tel {
    text-align: right;
    line-height: 1.3;
    white-space: nowrap;
}

.header-tel span {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.header-tel small {
    font-size: 12px;
    color: #d8d8d8;
}

/* ファーストビュー */
.hero {
    min-height: 620px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.62) 46%, rgba(255,255,255,0.12) 100%),
        url("../images/hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-content {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 30px 0 0 20px;
}

.hero h1 {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.45;
    margin: 0 0 28px;
    color: #111111;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #222222;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 15px 28px;
    border: 1px solid #2B2B2B;
    font-weight: bold;
    transition: 0.25s;
}

.btn.primary {
    background: #111111;
    color: #ffffff;
}

.btn.secondary {
    background: rgba(255,255,255,0.88);
    color: #111111;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.86;
}

/* 共通セクション */
.section {
    padding: 80px 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

h2 {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 32px;
    margin: 0 0 28px;
    color: #111111;
    letter-spacing: 0.08em;
}

h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    background: #2B2B2B;
    margin-top: 12px;
}

h2.center {
    text-align: center;
}

h2.center::after {
    margin: 12px auto 0;
}

/* ごあいさつ */
.text-area p {
    margin-bottom: 18px;
}

.image-area img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* サービス */
.service {
    background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.section-en {
    text-align: center;
    margin: 0 0 8px;
    color: #9a865d;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    letter-spacing: 0.35em;
}

.service-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.service-card {
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(184,188,194,0.35);
    transition: 0.25s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}

.service-image {
    height: 180px;
    overflow: hidden;
    background: #eeeeee;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 34px 22px 38px;
    min-height: 260px;
}

.service-card h3 {
    margin: 0;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #111111;
}

.service-card span {
    display: block;
    width: 42px;
    height: 1px;
    background: #9a865d;
    margin: 18px auto 20px;
}

.service-card p {
    margin: 0;
    font-size: 14px;
    line-height: 2;
    color: #333333;
}

/* 会社概要 */
.company {
    background: #ffffff;
}

.company-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: stretch;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.company-table th,
.company-table td {
    border-bottom: 1px solid #d4d4d4;
    padding: 16px;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 28%;
    background: #f1f1f1;
    font-weight: bold;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    filter: grayscale(20%);
}

/* お問い合わせ */
.contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background: #ffffff;
}

.contact-left {
    background: #111111;
    color: #ffffff;
    padding: 64px max(6vw, 32px);
}

.contact-left h2 {
    color: #ffffff;
}

.contact-left h2::after {
    background: #B8BCC2;
}

.contact-tel {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin: 24px 0 6px;
    letter-spacing: 0.04em;
}

.contact-right {
    padding: 64px max(6vw, 32px);
}

.contact-right h3 {
    font-size: 24px;
    margin-top: 0;
}

/* フッター */
.footer {
    background: #111111;
    color: #ffffff;
    padding: 28px 0;
}

.footer-inner {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer img {
    width: 160px;
}

.footer p {
    font-size: 12px;
    color: #cccccc;
}

.footer-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}

.instagram-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#ffffff;
    font-size:14px;
    font-weight:500;
    text-decoration:none;
    transition:all .25s ease;
}

.instagram-link i{
    font-size:32px;
}

.instagram-link:hover{
    color:#B8BCC2;
    transform:translateY(-2px);
}

/* タブレット・小さめPC */
@media (max-width: 1050px) and (min-width: 769px) {
    .header-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 12px;
    }

    .logo img {
        width: 52px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .nav {
        gap: 24px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-tel {
        text-align: center;
    }

    .header-tel span {
        font-size: 22px;
    }

    .hero {
        min-height: 560px;
    }

    .two-column,
    .company-layout,
    .contact {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map iframe {
        min-height: 320px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .site-header {
        position: static;
    }

    /* ヘッダーはロゴ＋会社名のみ表示 */
    .nav,
    .header-tel {
        display: none;
    }

    .header-inner {
        height: auto;
        padding: 12px 0;
        justify-content: flex-start;
        align-items: center;
    }

    .logo img {
        width: 48px;
    }

    .logo-text strong {
        font-size: 20px;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 15px;
    }

    .btn {
        width: 100%;
        min-width: auto;
    }

    .section {
        padding: 56px 0;
    }

    .two-column,
    .company-layout,
    .contact {
        grid-template-columns: 1fr;
    }

    .map iframe {
        min-height: 300px;
    }

    h2 {
        font-size: 27px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 6px;
    }

    .contact-tel {
        font-size: 30px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }
}