/*
 * 合同会社KIZUNA  共通スタイル
 * HTML: index.html
 * PC／スマートフォン共通
 */

/* ===== 01. カラー変数 ===== */
:root {
    --navy: #102b45;
    --deep: #071c2f;
    --blue: #1679b9;
    --sky: #eaf6fd;
    --ink: #1c3345;
    --muted: #597080;
    --line: #dce8ee;
    --white: #fff;
}

/* ===== 02. リセット・基本スタイル ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
    color: var(--ink);
    line-height: 1.9;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,summary:focus-visible {
    outline: 3px solid #69c6f7;
    outline-offset: 4px;
}

/* ===== 03. 共通レイアウト ===== */
.wrap {
    width: min(1160px,calc(100% - 80px));
    margin-inline: auto;
}

/*-----改行----*/
.br-pc{display:block;}
.br-sp{display:none;}
.br-mb{display:none;}

@media screen and (max-width:768px){
	.br-pc{display:none;}
	.br-sp{display:block;}
}
@media screen and (max-width:599px){
	.br-mb{display:block;}
}

/* ===== 04. ヘッダー・ナビゲーション ===== */
.header {
    background: #ffffffef;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
}

.head {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ヘッダーロゴ（カラー版） */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
    font-size: 13px;
}

.nav a:hover {
    color: var(--blue);
}

.nav .action {
    background: var(--blue);
    padding: 10px 18px;
    color: #fff;
    border-radius: 4px;
}

/* スマートフォン用メニューボタン（PCでは非表示） */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}

.menu-toggle:focus-visible {
    outline: 3px solid #69c6f7;
    outline-offset: 3px;
}

.menu-toggle__line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* メニューが開いた時に3本線を「×」に変形 */
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 05. メインビジュアル ===== */
.hero {
    /* 既存の濃紺グラデーションを画像に重ねる（上から順に重なります） */
    background:
        linear-gradient(120deg,rgba(5,25,43,.5),rgba(17,93,140,.2)),
        url("../img/fv.webp") right center / cover no-repeat;
    min-height: 590px;
    overflow: hidden;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}


.hero .wrap {
    position: relative;
    z-index: 2;
    padding-block: 96px;
}

.eyebrow,.kicker {
    font-size: 12px;
    letter-spacing: .19em;
    font-weight: 850;
}

.eyebrow {
    color: #9bdbfb;
}

.hero h1 {
    font-size: clamp(36px,5.5vw,65px);
    line-height: 1.48;
    margin: 22px 0;
    letter-spacing: .04em;
}

.hero h1 span {
    color: #93ddff;
}

.hero-copy {
    max-width: 720px;
    color: #deedf6;
    font-size: 17px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 12px 26px;
    border-radius: 5px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: .2s;
}

.btn:hover {
    background: #075b97;
    transform: translateY(-2px);
}

.btn.outline {
    border: 1px solid #b6d1e3;
    background: transparent;
}

.btn.outline:hover {
    background: #ffffff1d;
}

/* ===== 06. 特徴ラベル ===== */
.mini-strip {
    background: #eaf5fa;
    border-bottom: 1px solid var(--line);
}

.mini {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 50px;
    padding: 20px 0;
    font-size: 13px;
    font-weight: 750;
    color: var(--navy);
}

.mini span:before {
    content: "●";
    font-size: 7px;
    color: var(--blue);
    margin-right: 12px;
    vertical-align: 3px;
}

/* ===== 07. 共通セクション・見出し ===== */
.section {
    padding: 96px 0;
}

.section.alt {
    background: #f3f8fb;
}

.kicker {
    color: var(--blue);
    margin: 0 0 13px;
}

.section h2,.contact h2 {
    font-size: clamp(27px,3.8vw,41px);
    color: var(--navy);
    line-height: 1.45;
    letter-spacing: .035em;
    margin: 0 0 25px;
}

.lead {
    color: var(--muted);
    max-width: 870px;
    font-size: 16px;
    margin-top: 0;
}

/* ===== 08. 会社紹介 ===== */
.cols {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 68px;
    align-items: center;
}

.statement {
    margin-top: 25px;
    border-left: 4px solid var(--blue);
    padding-left: 23px;
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
}

.visual{text-align:center;}
.visual img {width:70%;}


/* ===== 09. 事業内容 ===== */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 43px;
}

.service {
    background: #fff;
    border-radius: 10px;
    padding: 30px 28px;
    box-shadow: 0 10px 26px #0a294308;
}

/* サービスアイコン：PCではSERVICE番号の上に配置 */
.service-icon {
    display: block;
    width: 120px;
    max-width: 100%;
    height: 92px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 18px;
}

.service .no {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
}

.service h3 {
    font-size: 23px;
    color: var(--navy);
    margin: 15px 0 12px;
}

.service p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.service ul {
    padding-left: 18px;
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.service li {
    margin: 4px 0;
}

.notice {
    margin-top: 27px;
    font-size: 13px;
    color: #3a6078;
}

/* ===== 10. 配送相談事例 ===== */
.cases {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 17px;
    margin-top: 35px;
}

.case {
    padding: 25px 27px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--line);
}

.case b {
    font-size: 18px;
    color: var(--navy);
}

.case p {
    font-size: 14px;
    color: var(--muted);
    margin: 8px 0 0;
}

/* ===== 11. KIZUNAの姿勢 ===== */
.point-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 38px;
}

.point {
    background-color:#fff;
	padding:20px;
	border-radius:10px;
}

/* KIZUNAの姿勢アイコン：PCでは項目見出しの上に配置 */
.point-icon {
    display: block;
    width: 86px;
    height: 86px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.point strong {
    font-size: 19px;
    color: var(--navy);
}

.point p {
    color: var(--muted);
    font-size: 14px;
}

/* ===== 12. お問い合わせの流れ ===== */
.flow {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 42px;
}

.step {
    position: relative;
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.step .no {
    color: var(--blue);
    font-size: 12px;
    letter-spacing: .1em;
    font-weight: 900;
}

.step h3 {
    margin: 11px 0;
    font-size: 17px;
    color: var(--navy);
}

.step p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* ===== 13. よくあるご質問 ===== */
.faq {
    max-width: 900px;
    margin: 35px auto 0;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 17px 4px;
}

.faq summary {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:after {
    content: "+";
    font-size: 25px;
    font-weight: 400;
    color: var(--blue);
}

.faq details[open] summary:after {
    content: "−";
}

.faq details p {
    color: var(--muted);
    font-size: 14px;
    margin: 14px 0 5px;
}

/* ===== 14. 会社概要 ===== */
.company {
    border-top: 2px solid var(--navy);
    margin-top: 35px;
}

.company .line {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 18px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.company dt {
    font-weight: 800;
    color: var(--navy);
}

.company dd {
    margin: 0;
}

.company dd a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== 15. お問い合わせ ===== */
.contact {
    background: linear-gradient(120deg,#071d30,#143e60);
    color: #fff;
    text-align: center;
    padding: 88px 20px;
}

.contact .kicker {
    color: #95d6fa;
}

.contact h2 {
    color: #fff;
}

.contact p {
    color: #d3e6f2;
}

.contact .buttons {
    justify-content: center;
}

.contact .address {
    font-size: 15px;
    color: white;
    font-weight: 750;
    margin-top: 30px;
}

.contact .subnote {
    font-size: 12px;
    color: #b9ccd9;
}

/* ===== 16. フッター ===== */
.footer {
    background: #061524;
    color: #b2c4d0;
    padding: 34px 0;
    font-size: 12px;
}

.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* フッターロゴ（白版） */
.footer-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* ===== レスポンシブ：(max-width:920px) ===== */
@media(max-width:920px) {
    .nav {
        gap: 13px;
        font-size: 12px;
    }

    .cols {
        gap: 30px;
    }

    .grid3 {
        gap: 14px;
    }

    .service {
        padding: 25px 20px;
    }
}

/* ===== レスポンシブ：(max-width:720px) ===== */
@media(max-width:720px) {
    .wrap {
        width: min(100% - 34px,1160px);
    }

    .head {
        height: 69px;
    }

    /* スマートフォン時のロゴサイズ */
    .brand img {
        width: 175px;
    }

    .footer-logo {
        width: 185px;
    }

    /* スマートフォン：ボタン＋縦開閉メニューに切り替え */
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 17px 20px;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 14px 28px #071c2f1c;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 13px 8px;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }

    .nav .action {
        margin-top: 14px;
        padding: 13px 16px;
        border-bottom: 0;
        font-size: 14px;
        text-align: center;
    }

    .hero {
        min-height: 540px;
    }

    .hero .wrap {
        padding-block: 65px;
    }

    .hero-copy {
        font-size: 15px;
    }

    .section {
        padding: 67px 0;
    }

    .cols,.grid3,.cases,.point-grid,.flow {
        grid-template-columns: 1fr;
    }

    .cols {
        gap: 32px;
    }

    .visual {
        min-height: 230px;
    }

    .grid3,.cases,.point-grid,.flow {
        gap: 14px;
    }

    .point-grid {
        margin-top: 30px;
    }

    /* 02. 事業内容：アイコンを左、文章を右へ配置 */
    .service {
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr);
        align-items: center;
        column-gap: 14px;
    }

    .service-icon {
        width: 66px;
        height: auto;
        aspect-ratio: 800 / 570;
        align-self: center;
        justify-self: center;
        margin: 0;
    }

    .service-content {
        min-width: 0;
    }

    /* 04. KIZUNAが大切にすること：アイコンを左、文章を右へ配置 */
    .point {
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr);
        align-items: center;
        column-gap: 14px;
    }

    .point-icon {
        width: 66px;
        height: 66px;
        align-self: center;
        justify-self: center;
        margin: 0;
    }

    .point-content {
        min-width: 0;
    }

    .point strong {
        font-size: 17px;
    }

    .company .line {
        grid-template-columns: 110px 1fr;
        gap: 8px;
        font-size: 13px;
    }

    .contact {
        padding: 65px 17px;
    }

    .mini {
        justify-content: flex-start;
        gap: 5px 18px;
    }

    .mini span {
        font-size: 12px;
    }
}

/* OS側でアニメーションを減らす設定に対応 */
@media (prefers-reduced-motion: reduce) {
    .nav,
    .menu-toggle__line {
        transition: none;
    }
}

/* スマートフォン：フッター中央揃え */
@media (max-width: 720px) {
    .footer .foot {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        text-align: center;
    }

    .footer-logo {
        display: block;
        margin: 0 auto;
    }

    .footer .foot span {
        text-align: center;
    }
}