/*
Theme Name: 大岡船舶
Theme URI: https://ohoka-ships.co.jp/
Author: 大岡船舶サイト制作
Description: 大岡船舶株式会社 コーポレートサイト用カスタムテーマ（HOME / 事業内容 / 会社案内 / 採用情報）。ACFで主要コンテンツを編集可能。
Version: 1.9.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ohoka
*/

/* ============ Design tokens ============ */
:root{
  --navy:#0A1F33; --blue:#1565B5; --gold:#C9A24B; --deep:#0B2E5C;
  --gray:#F5F7FA; --gold2:#E5C97A; --blue2:#2D8BD6; --imgph:#123252;
  --line:rgba(11,46,92,.12); --serif:'Shippori Mincho B1',serif;
  --sans:'Noto Sans JP',-apple-system,sans-serif; --mono:'JetBrains Mono',monospace;
  --maxw:1280px; --padx:56px; --pady:108px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--sans);font-size:16px;color:var(--navy);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p,dl,dd,dt{margin:0;}
.container{max-width:var(--maxw);margin:0 auto;}
.section{padding:var(--pady) var(--padx);}
.bg-gray{background:var(--gray);}
.bg-navy{background:var(--navy);color:#fff;}
.serif{font-family:var(--serif);}
.mono{font-family:var(--mono);}
.center{text-align:center;}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}

/* ============ Buttons ============ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:17px 32px;font-size:14px;font-weight:500;letter-spacing:.08em;font-family:var(--sans);border:1px solid transparent;cursor:pointer;transition:opacity .2s;}
.btn:hover{opacity:.85;}
.btn .arrow{width:20px;height:1px;background:currentColor;display:inline-block;}
.btn--deep{background:var(--deep);color:#fff;border-color:var(--deep);}
.btn--gold{background:var(--gold);color:var(--navy);border-color:var(--gold);}
.btn--navy{background:var(--navy);color:#fff;border-color:var(--navy);}
.btn--outline-white{background:transparent;color:#fff;border-color:#fff;}
.btn--outline-navy{background:#fff;color:var(--navy);border-color:var(--navy);}
.btn--outline-blue{background:var(--deep);color:#fff;border-color:var(--blue2);}
.btn--sm{padding:11px 20px;font-size:14px;font-weight:600;letter-spacing:.1em;gap:10px;}
.btn--lg{padding:19px 36px;font-size:14px;}

/* ============ Header / Nav ============ */
.site-header{position:fixed;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;padding:26px var(--padx);color:#fff;transition:background .3s ease,padding .3s ease,box-shadow .3s ease;}
.site-header.scrolled{background:rgba(10,31,51,.95);padding-top:16px;padding-bottom:16px;box-shadow:0 4px 20px rgba(6,26,51,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
.site-header .logo{display:flex;align-items:baseline;gap:11px;font-family:var(--serif);font-size:22px;font-weight:600;letter-spacing:.06em;}
.site-header .logo small{font-size:9px;letter-spacing:.3em;opacity:.7;font-family:var(--sans);font-weight:500;}
.gnav{display:flex;gap:34px;margin:0 auto;font-size:13px;letter-spacing:.06em;}
.gnav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding-bottom:2px;}
.gnav a small{font-size:9px;letter-spacing:.2em;opacity:.55;}
.gnav a.current{border-bottom:2px solid var(--gold);}
.header-entry{white-space:nowrap;}
.header-contact{white-space:nowrap;margin-left:8px;}
.hamburger{display:none;margin-left:auto;width:26px;height:16px;flex-direction:column;justify-content:space-between;background:none;border:none;cursor:pointer;padding:0;}
.hamburger span{display:block;height:1.5px;background:#fff;width:100%;}
.mobile-drawer{position:fixed;inset:0;background:var(--navy);z-index:100;display:none;flex-direction:column;padding:80px 32px;}
.mobile-drawer.open{display:flex;}
.mobile-drawer a{color:#fff;font-family:var(--serif);font-size:20px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.12);}
.mobile-drawer .close{position:absolute;top:24px;right:28px;font-size:30px;background:none;border:none;color:#fff;cursor:pointer;}

/* ============ HERO (home) ============ */
.hero{position:relative;height:770px;overflow:hidden;color:#fff;}
.hero__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.hero__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,26,51,.5) 0%,rgba(6,26,51,0) 30%,rgba(6,26,51,0) 50%,rgba(6,26,51,.78) 100%),linear-gradient(90deg,rgba(6,26,51,.55) 0%,rgba(6,26,51,0) 62%);}
.hero__inner{position:absolute;left:var(--padx);right:var(--padx);bottom:124px;max-width:760px;z-index:5;}
.eyebrow-mono{display:flex;align-items:center;gap:14px;margin-bottom:26px;font-family:var(--mono);font-size:11px;letter-spacing:.24em;opacity:.9;}
.eyebrow-mono .bar{display:inline-block;width:40px;height:1px;background:var(--gold);}
.hero h1{font-family:var(--serif);font-weight:500;font-size:74px;line-height:1.25;letter-spacing:.04em;margin-bottom:30px;text-shadow:0 2px 30px rgba(0,0,0,.25);}
.hero__lead{font-size:16px;line-height:2.1;margin-bottom:34px;max-width:580px;opacity:.92;}
.hero__lead em{font-family:var(--serif);font-style:normal;font-size:22px;color:var(--gold2);padding:0 4px;}
.hero__cta{display:flex;gap:14px;flex-wrap:wrap;}
.hero__scroll{position:absolute;right:var(--padx);bottom:54px;z-index:5;display:flex;flex-direction:column;align-items:center;gap:12px;font-family:var(--mono);font-size:10px;letter-spacing:.32em;color:rgba(255,255,255,.7);}
.hero__scroll .line{width:1px;height:54px;background:linear-gradient(180deg,rgba(255,255,255,.7),transparent);}

/* ============ Recruit banner ============ */
.recruit-banner{background:var(--gold);padding:32px var(--padx);}
.recruit-banner__inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:36px;}
.recruit-banner__mark{font-family:var(--serif);font-style:italic;font-size:32px;font-weight:500;color:var(--navy);letter-spacing:.06em;line-height:1;padding-right:36px;border-right:1px solid rgba(10,31,51,.2);}
.recruit-banner__body{flex:1;color:var(--navy);}
.recruit-banner__body .t{font-family:var(--serif);font-size:22px;font-weight:600;margin-bottom:4px;}
.recruit-banner__body .s{font-size:14px;opacity:.82;}

/* ============ Eyebrow (section label) ============ */
.eyebrow{display:inline-flex;align-items:baseline;gap:10px;font-size:11px;letter-spacing:.18em;color:var(--blue);font-weight:600;}
.eyebrow .bar{display:inline-block;width:28px;height:1px;background:var(--blue);transform:translateY(-3px);}
.eyebrow .jp{font-family:var(--serif);letter-spacing:.1em;font-weight:500;color:var(--navy);font-size:12px;}
.eyebrow--light .bar{background:var(--blue2);}
.eyebrow--light .jp{color:#fff;}
.eyebrow--light{color:var(--blue2);}
.eyebrow--gold .bar{background:var(--gold2);}
.eyebrow--gold .jp{color:#fff;}
.eyebrow--gold{color:var(--gold2);}

/* section head (sub pages) */
.sec-head{text-align:center;margin-bottom:48px;}
.sec-head .rule{display:inline-block;width:30px;height:3px;background:var(--blue);margin-bottom:18px;}
.sec-head h2{font-family:var(--serif);font-weight:600;font-size:34px;letter-spacing:.04em;color:var(--navy);line-height:1.4;}
.sec-head .sub{font-size:14px;color:rgba(10,31,51,.65);margin-top:8px;}

/* ============ INTRO ============ */
.intro{position:relative;text-align:center;overflow:hidden;background:#fff;}
.intro__wm{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:0;opacity:.09;}
.intro__wm img{width:min(86%,860px);}
.intro__inner{position:relative;z-index:1;max-width:1080px;margin:0 auto;}
.intro h2{font-family:var(--serif);font-weight:500;font-size:44px;letter-spacing:.04em;line-height:1.5;color:var(--navy);margin:22px 0 28px;}
.intro__lead{font-size:14px;line-height:2.1;color:rgba(10,31,51,.78);margin-bottom:54px;}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:48px;}
.stats .cell{padding:30px 14px;text-align:center;border-right:1px solid var(--line);}
.stats .cell:last-child{border-right:none;}
.stats .num{font-family:var(--serif);font-weight:500;font-size:38px;color:var(--blue);letter-spacing:.02em;line-height:1.1;margin-bottom:6px;}
.stats .num span{font-size:17px;color:var(--navy);margin-left:4px;}
.stats .label{font-family:var(--mono);font-size:10px;letter-spacing:.14em;color:rgba(10,31,51,.6);}
.stats--sm .num{font-size:24px;}
.stats--sm .num span{font-size:15px;}
.stats--sm .label{font-family:var(--sans);font-size:11px;letter-spacing:0;}

/* ============ Pillars / cards ============ */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;max-width:1280px;margin:0 auto;}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;max-width:1280px;margin:0 auto;}
.pillar{background:#fff;padding:42px 34px 38px;border-top:3px solid var(--blue);}
.pillar--gray{background:var(--gray);}
.pillar .n{font-family:var(--serif);font-style:italic;font-weight:500;font-size:36px;color:var(--blue);letter-spacing:.04em;line-height:1;margin-bottom:8px;}
.pillar--gold{border-top-color:var(--gold);}
.pillar--gold .n{color:var(--gold);font-size:34px;}
.pillar--gold .en{color:var(--blue);}
.pillar .en{font-family:var(--mono);font-size:10px;letter-spacing:.24em;color:var(--gold);margin-bottom:18px;}
.pillar h3{font-family:var(--serif);font-weight:600;font-size:19px;line-height:1.6;color:var(--navy);letter-spacing:.04em;margin-bottom:16px;}
.pillar p{font-size:16px;line-height:1.95;color:rgba(10,31,51,.72);}

/* divisions */
.divisions{margin-top:60px;}
.division{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);}
.division__img{position:relative;aspect-ratio:4/5;overflow:hidden;}
.division__img img{width:100%;height:100%;object-fit:cover;}
.division__img .num{position:absolute;top:14px;left:16px;font-family:var(--mono);font-size:11px;color:rgba(255,255,255,.85);letter-spacing:.2em;z-index:2;}
.division__img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,26,51,.1),rgba(6,26,51,.55));}
.division__body{padding:24px 22px 26px;}
.division__body .en{font-family:var(--serif);font-style:italic;font-size:12px;color:var(--gold2);letter-spacing:.2em;margin-bottom:8px;}
.division__body h3{font-family:var(--serif);font-size:23px;color:#fff;margin-bottom:12px;letter-spacing:.06em;font-weight:500;}
.division__body p{font-size:14px;opacity:.7;line-height:1.9;}

/* ============ Company (home) ============ */
.company{display:grid;grid-template-columns:1.05fr 1fr;padding:var(--pady) var(--padx);gap:80px;max-width:1380px;margin:0 auto;align-items:start;}
.company h2{font-family:var(--serif);font-weight:600;font-size:37px;line-height:1.4;letter-spacing:.04em;color:var(--navy);margin-top:18px;}
.company .en{font-family:var(--serif);font-style:italic;color:var(--blue);font-size:13px;letter-spacing:.2em;margin-top:6px;}
.company dl{margin:34px 0 32px;}
.company dl .row{display:grid;grid-template-columns:130px 1fr;padding:17px 0;border-top:1px solid var(--line);font-size:14px;}
.company dl .row:last-child{border-bottom:1px solid var(--line);}
.company dl dt{color:var(--blue);letter-spacing:.06em;font-size:14px;}
.company dl dd{color:var(--navy);}
.company__img{position:relative;aspect-ratio:4/5;overflow:hidden;width:100%;}
.company__img img{width:100%;height:100%;object-fit:cover;}

/* ============ CTA ============ */
.cta{position:relative;color:#fff;overflow:hidden;background:linear-gradient(120deg,var(--deep) 0%,var(--navy) 100%);text-align:center;}
.cta::before{content:"";position:absolute;inset:0;opacity:.18;background-image:radial-gradient(ellipse at 20% 30%,var(--blue2) 0%,transparent 45%),radial-gradient(ellipse at 80% 70%,var(--blue) 0%,transparent 50%);}
.cta__inner{position:relative;max-width:920px;margin:0 auto;}
.cta h2{font-family:var(--serif);font-weight:600;font-size:37px;line-height:1.4;letter-spacing:.04em;color:#fff;margin:24px 0 18px;}
.cta p{font-size:15px;line-height:2;margin-bottom:36px;opacity:.85;}
.cta__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

/* ============ Footer ============ */
.site-footer{background:var(--navy);color:rgba(255,255,255,.7);padding:70px var(--padx) 26px;font-size:12px;}
.site-footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;max-width:1280px;margin:0 auto 46px;}
.site-footer .brand{font-family:var(--serif);font-size:22px;color:#fff;margin-bottom:6px;letter-spacing:.04em;}
.site-footer .brand-en{font-size:9px;letter-spacing:.32em;opacity:.5;margin-bottom:18px;font-family:var(--mono);}
.site-footer address{font-style:normal;line-height:2;font-size:12px;opacity:.85;}
.site-footer h4{color:#fff;font-size:13px;font-weight:600;letter-spacing:.08em;margin-bottom:16px;}
.site-footer h4 span{display:block;font-size:9px;opacity:.5;letter-spacing:.24em;font-weight:400;margin-top:2px;font-family:var(--mono);}
.site-footer li a{display:block;padding:6px 0;}
.site-footer__bar{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;opacity:.55;max-width:1280px;margin:0 auto;}

/* ============ Sub-page banner + breadcrumb ============ */
.page-banner{position:relative;height:420px;overflow:hidden;color:#fff;}
.page-banner img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.page-banner__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,26,51,.55) 0%,rgba(6,26,51,.2) 45%,rgba(6,26,51,.7) 100%);}
.page-banner__inner{position:absolute;left:var(--padx);right:var(--padx);bottom:44px;z-index:5;}
.page-banner .en{font-family:var(--mono);font-size:10px;letter-spacing:.28em;color:var(--gold2);margin-bottom:14px;}
.page-banner h1{font-family:var(--serif);font-weight:500;font-size:56px;letter-spacing:.06em;line-height:1.2;margin-bottom:10px;}
.page-banner p{font-size:14px;line-height:1.9;opacity:.92;}
.breadcrumb{background:var(--gray);padding:13px var(--padx);font-size:11px;color:rgba(10,31,51,.6);font-family:var(--mono);letter-spacing:.06em;border-bottom:1px solid rgba(11,46,92,.08);}

/* ============ Ports / pills ============ */
.two-col{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;max-width:1280px;margin:0 auto;align-items:center;}
.ports{display:flex;flex-wrap:wrap;gap:8px;}
.ports span{padding:6px 14px;background:#fff;border:1px solid #93c5fd;color:var(--blue);font-size:14px;border-radius:16px;}
.map-square{background:#fff;border:1px solid var(--line);padding:24px;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;}
.map-square:has(img),.map-square:has(video){padding:0;}
.map-square img,.map-square video{width:100%;height:100%;object-fit:cover;display:block;}
.map-box{background:#E8F0F5;border:1px solid var(--line);min-height:240px;display:flex;align-items:center;justify-content:center;color:rgba(10,31,51,.45);font-size:14px;font-family:var(--mono);letter-spacing:.08em;}
.map-col{display:flex;flex-direction:column;}
.map-col .map-box{flex:1 1 auto;padding:0;overflow:hidden;align-items:stretch;justify-content:stretch;}
.map-box iframe{display:block;flex:1 1 auto;width:100%;height:100%;min-height:240px;border:0;}
.map-link{margin:8px 0 0;text-align:right;font-size:12px;}
.map-link a{color:var(--blue);text-decoration:none;}
.map-link a:hover{text-decoration:underline;}

/* ships */
.ships{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:1080px;margin:0 auto;}
.ship{background:#fff;border:1px solid var(--line);overflow:hidden;}
.ship__img{position:relative;aspect-ratio:16/10;overflow:hidden;}
.ship__img img{width:100%;height:100%;object-fit:cover;}
.ship__body{padding:22px 24px;display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.ship__name{font-family:var(--serif);font-weight:600;font-size:24px;color:var(--navy);letter-spacing:.06em;}
.ship__spec{display:flex;gap:24px;}
.ship__spec .k{font-family:var(--mono);font-size:9px;letter-spacing:.16em;color:rgba(10,31,51,.5);margin-bottom:2px;}
.ship__spec .v{font-size:14px;color:var(--navy);font-weight:500;}

/* tabs */
.tabs{display:flex;gap:4px;border-bottom:2px solid var(--deep);margin-bottom:28px;flex-wrap:wrap;}
.tabs .tab{padding:12px 24px;cursor:pointer;font-size:14px;font-weight:600;border:1px solid #cfd6e0;border-bottom:none;border-radius:4px 4px 0 0;background:#fff;color:var(--navy);flex:1;text-align:center;min-width:78px;}
.tab-block--target .tabs .tab{font-size:20px;padding:16px 20px;}
.tabs .tab.active{background:var(--deep);color:#fff;border-color:var(--deep);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.dept{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;align-items:start;}
.dept .en{font-family:var(--serif);font-style:italic;font-size:12px;color:var(--gold);letter-spacing:.2em;margin-bottom:8px;}
.dept h3{font-family:var(--serif);font-weight:600;font-size:24px;color:var(--navy);letter-spacing:.06em;margin-bottom:16px;}
.dept p.d{font-size:14px;line-height:2;color:rgba(10,31,51,.78);margin-bottom:24px;}
.dept .duties-h{font-family:var(--mono);font-size:10px;letter-spacing:.18em;color:var(--blue);margin-bottom:12px;}
.dept .duty{padding:12px 16px;background:#fff;border-left:3px solid var(--blue);margin-bottom:8px;font-size:14px;}
.dept__img{position:relative;aspect-ratio:4/3;overflow:hidden;}
.dept__img img{width:100%;height:100%;object-fit:cover;}

/* facilities / meals */
.facilities{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;max-width:1080px;margin:0 auto 48px;}
.facility img{aspect-ratio:4/3;object-fit:cover;width:100%;margin-bottom:12px;}
.facility h4{font-family:var(--serif);font-size:16px;color:var(--navy);margin-bottom:5px;letter-spacing:.04em;}
.facility p{font-size:14px;color:rgba(10,31,51,.65);line-height:1.7;}
.meals{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:900px;margin:0 auto;}
.meal img{aspect-ratio:16/10;object-fit:cover;width:100%;margin-bottom:10px;}
.meal p{font-size:14px;color:rgba(10,31,51,.7);}
.subhead{font-family:var(--serif);font-size:18px;text-align:center;color:var(--navy);margin-bottom:20px;}
.note{font-size:11px;color:rgba(10,31,51,.5);text-align:center;margin-top:18px;}

/* info table */
.info-table{max-width:880px;margin:0 auto;border-top:1px solid var(--line);}
.info-table .row{display:grid;grid-template-columns:220px 1fr;border-bottom:1px solid var(--line);}
.info-table dt{padding:16px 18px;background:var(--gray);font-weight:600;font-size:14px;color:var(--blue);letter-spacing:.04em;}
.info-table dd{padding:16px 18px;font-size:14px;color:var(--navy);line-height:1.8;}

/* timeline */
.timeline{position:relative;max-width:760px;margin:0 auto;padding-left:30px;}
.timeline::before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:var(--blue);}
.timeline .item{position:relative;padding:0 0 30px 24px;}
.timeline .item::before{content:"";position:absolute;left:-29px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--blue);border:3px solid var(--gray);box-shadow:0 0 0 2px var(--blue);}
.timeline .y{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--blue);margin-bottom:4px;letter-spacing:.04em;}
.timeline .ev{font-size:14px;color:var(--navy);font-weight:500;}
.timeline .de{font-size:14px;color:rgba(10,31,51,.62);margin-top:4px;line-height:1.8;}

/* access */
.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:1080px;margin:0 auto 24px;align-items:stretch;}
.access-info{border-top:1px solid var(--line);}
.access-info .r{display:grid;grid-template-columns:80px 1fr;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px;}
.access-info .r .k{color:var(--blue);font-weight:600;}
.access-list{max-width:1080px;margin:0 auto;}
.access-list .a{padding:12px 16px;background:var(--gray);border-left:3px solid var(--blue);margin-bottom:8px;font-size:14px;}
.access-list .a strong{color:var(--navy);}

/* recruit target */
.welcome-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:44px;}
.welcome{padding:18px 20px;background:#fff;border-left:4px solid var(--blue);}
.welcome .t{font-family:var(--serif);font-size:15px;color:var(--navy);margin-bottom:5px;letter-spacing:.02em;}
.welcome .d{font-size:14px;color:rgba(10,31,51,.65);line-height:1.7;}
.benefit{background:#fff;border:1px solid var(--line);padding:32px 26px;}
.benefit .n{font-family:var(--serif);font-style:italic;font-size:30px;color:var(--blue);line-height:1;margin-bottom:6px;}
.benefit .en{font-family:var(--mono);font-size:10px;letter-spacing:.22em;color:var(--gold);margin-bottom:14px;}
.benefit h4{font-family:var(--serif);font-size:17px;color:var(--navy);margin-bottom:10px;letter-spacing:.02em;}
.benefit p{font-size:14px;line-height:1.9;color:rgba(10,31,51,.7);}
.voice{background:#fff;border-left:4px solid var(--blue);padding:26px 30px;}
.voice .head{display:flex;align-items:baseline;gap:12px;margin-bottom:12px;flex-wrap:wrap;}
.voice .name{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--navy);}
.voice .meta{font-size:12px;color:rgba(10,31,51,.6);}
.voice .q{font-size:16px;line-height:2;color:var(--navy);}
.voice .src{font-size:10px;color:rgba(10,31,51,.45);margin-top:12px;font-style:italic;}
.sub-label{font-family:var(--serif);font-size:17px;color:var(--navy);margin-bottom:16px;letter-spacing:.04em;}

/* flow */
.flow{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;max-width:1180px;margin:0 auto;}
.flow .step{padding:28px 18px;background:var(--gray);border:1px solid var(--line);text-align:center;}
.flow .num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:var(--blue);color:#fff;font-family:var(--serif);font-weight:600;border-radius:50%;margin-bottom:12px;font-size:15px;}
.flow h4{font-family:var(--serif);font-size:14px;color:var(--navy);margin-bottom:6px;letter-spacing:.02em;}
.flow p{font-size:14px;color:rgba(10,31,51,.65);line-height:1.7;}

/* faq */
.faq{max-width:900px;margin:0 auto;}
.faq .item{border:1px solid rgba(11,46,92,.14);border-radius:4px;margin-bottom:10px;overflow:hidden;background:#fff;}
.faq .q{padding:16px 20px;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;}
.faq .q .txt{flex:1;font-weight:600;font-size:16px;color:var(--navy);padding-left:34px;position:relative;line-height:1.6;}
.faq .q .txt::before{content:"Q";position:absolute;left:0;top:-1px;background:var(--blue);color:#fff;width:23px;height:23px;line-height:23px;text-align:center;font-size:12px;border-radius:50%;font-family:var(--mono);}
.faq .q .mark{color:var(--blue);font-size:18px;flex-shrink:0;line-height:1.3;}
.faq .a{padding:4px 20px 18px 54px;font-size:16px;line-height:1.9;color:rgba(10,31,51,.78);border-top:1px solid rgba(11,46,92,.08);display:none;}
.faq .item.open .a{display:block;}
.faq .item.open .q .mark{transform:none;}

/* recruit pillars section bg tweaks handled by .pillar--gold */
.tab-block{max-width:1080px;margin:0 auto;}
.req-block{max-width:980px;margin:0 auto;}

/* ============ Responsive (mobile) ============ */
@media (max-width:900px){
  :root{--padx:24px;--pady:60px;}
  .gnav,.header-entry,.header-contact,.hero__scroll{display:none;}
  .hamburger{display:flex;}
  .site-header{padding:18px 24px;}
  .site-header .logo{font-size:16px;}

  .hero{height:700px;}
  .hero__inner{bottom:48px;}
  .hero h1{font-size:40px;}
  .hero__lead{font-size:14px;}
  .hero__cta{flex-direction:column;}
  .hero__cta .btn{width:100%;}

  .recruit-banner__inner{flex-direction:column;text-align:center;gap:14px;}
  .recruit-banner__mark{border-right:none;padding-right:0;font-size:22px;}
  .recruit-banner .btn{width:100%;}

  .intro h2{font-size:25px;}
  .sec-head h2{font-size:23px;}
  .stats{grid-template-columns:1fr 1fr;}
  .stats .cell:nth-child(2){border-right:none;}
  .grid3,.grid2,.two-col,.company,.dept,.ships,.meals,.access-grid,.welcome-grid{grid-template-columns:1fr;}
  .grid4,.facilities{grid-template-columns:1fr 1fr;}
  .company{gap:32px;padding:60px 24px;}
  .flow{grid-template-columns:1fr;}
  .cta h2,.company h2{font-size:23px;}

  .page-banner{height:300px;}
  .page-banner h1{font-size:34px;}

  .info-table .row{grid-template-columns:1fr;}
  .info-table dt{padding:12px 0 2px;background:none;}
  .info-table dd{padding:4px 0 14px;}

  .site-footer__grid{grid-template-columns:1fr 1fr;gap:26px 40px;}
  .site-footer{padding:50px 24px 26px;}
  .req-block .tabs .tab,.tab-block .tabs .tab{min-width:0;}
}
@media (max-width:520px){
  .grid4,.facilities{grid-template-columns:1fr 1fr;}
}

/* ============ Legal pages (プライバシーポリシー / 利用規約) ============ */
.page-banner--slim{height:auto;background:linear-gradient(120deg,var(--deep) 0%,var(--navy) 100%);padding:150px 0 56px;color:#fff;overflow:visible;}
.page-banner--slim .page-banner__inner{position:static;left:auto;right:auto;bottom:auto;max-width:var(--maxw);margin:0 auto;padding:0 var(--padx);}
.page-banner--slim .en{font-family:var(--mono);font-size:10px;letter-spacing:.28em;color:var(--gold2);margin-bottom:12px;}
.page-banner--slim h1{font-family:var(--serif);font-weight:500;font-size:40px;letter-spacing:.06em;line-height:1.2;}
/* プライバシー/利用規約：ヘッダー画像なしデザイン（ナビは紺帯で表示） */
.page-template-page-privacy .site-header,
.page-template-page-terms .site-header{position:relative;background:var(--navy);}
.legal-head{background:#fff;padding:56px var(--padx) 0;}
.legal-head .inner{max-width:var(--maxw);margin:0 auto;}
.legal-head .en{font-family:var(--mono);font-size:10px;letter-spacing:.28em;color:var(--blue);margin-bottom:12px;}
.legal-head h1{font-family:var(--serif);font-weight:600;font-size:34px;color:var(--navy);letter-spacing:.06em;line-height:1.2;}
@media (max-width:900px){ .legal-head{padding:32px 24px 0;} .legal-head h1{font-size:26px;} }

/* アンカーリンクのスクロール位置調整 */
#overview,#ships,#life,#profile,#history,#access,#requirements,#faq{scroll-margin-top:90px;}

.legal{max-width:860px;margin:0 auto;}
.legal > *:first-child{margin-top:0;}
.legal h2{font-family:var(--serif);font-weight:600;font-size:21px;color:var(--navy);margin:44px 0 14px;padding-left:14px;border-left:4px solid var(--blue);letter-spacing:.02em;}
.legal h3{font-size:15px;color:var(--navy);margin:24px 0 8px;font-weight:600;}
.legal p{font-size:16px;line-height:2;color:rgba(10,31,51,.8);margin-bottom:16px;}
.legal ul,.legal ol{margin:0 0 18px;padding-left:1.5em;}
.legal li{font-size:16px;line-height:1.9;color:rgba(10,31,51,.8);margin-bottom:6px;}
.legal a{color:var(--blue);text-decoration:underline;}
.legal .updated{font-size:14px;color:rgba(10,31,51,.55);text-align:right;margin-top:40px;}
.site-footer__bar a{transition:opacity .2s;}
.site-footer__bar a:hover{opacity:.75;text-decoration:underline;}
@media (max-width:900px){
  .page-banner--slim{padding:110px 0 40px;}
  .page-banner--slim h1{font-size:28px;}
}

/* ==================================================================
   スクロール連動フェードイン
   ------------------------------------------------------------------
   html.js-reveal は wp_head のインラインスクリプトで付与する。
   JSが動かない環境ではクラスが付かず、すべて通常表示になる。
   セレクタは main.js からも参照できるようカスタムプロパティに保持する。
   ================================================================== */
html.js-reveal{
	--reveal-a:".sec-head, .intro__inner, .recruit-banner__inner, .cta__inner, .subhead, .tab-block, .info-table, .access-list, .req-block, .section > .center, .section > .note, .section.center > *, .legal > h2, .legal > p, .legal > ul, .legal > .updated";
	--reveal-b:".grid3, .grid4, .ships, .facilities, .meals, .stats, .timeline, .access-grid, .flow, .faq, .two-col, .welcome-grid, .company, .ports";
}

@media (prefers-reduced-motion: no-preference){
	html.js-reveal .sec-head,
	html.js-reveal .intro__inner,
	html.js-reveal .recruit-banner__inner,
	html.js-reveal .cta__inner,
	html.js-reveal .subhead,
	html.js-reveal .tab-block,
	html.js-reveal .info-table,
	html.js-reveal .access-list,
	html.js-reveal .req-block,
	html.js-reveal .section > .center,
	html.js-reveal .section > .note,
	html.js-reveal .section.center > *,
	html.js-reveal .legal > h2,
	html.js-reveal .legal > p,
	html.js-reveal .legal > ul,
	html.js-reveal .legal > .updated,
	html.js-reveal .grid3 > *,
	html.js-reveal .grid4 > *,
	html.js-reveal .ships > *,
	html.js-reveal .facilities > *,
	html.js-reveal .meals > *,
	html.js-reveal .stats > *,
	html.js-reveal .timeline > *,
	html.js-reveal .access-grid > *,
	html.js-reveal .flow > *,
	html.js-reveal .faq > *,
	html.js-reveal .two-col > *,
	html.js-reveal .welcome-grid > *,
	html.js-reveal .company > *,
	html.js-reveal .ports > *{
		opacity:0;
		transform:translateY(24px);
		transition:opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
	}
	html.js-reveal .is-visible,
	html.js-reveal .is-visible > *{
		opacity:1 !important;
		transform:none !important;
	}
	/* 子要素は少しずつ遅らせる */
	html.js-reveal .is-visible > *:nth-child(2){transition-delay:.08s;}
	html.js-reveal .is-visible > *:nth-child(3){transition-delay:.16s;}
	html.js-reveal .is-visible > *:nth-child(4){transition-delay:.24s;}
	html.js-reveal .is-visible > *:nth-child(5){transition-delay:.32s;}
	html.js-reveal .is-visible > *:nth-child(6){transition-delay:.40s;}
	html.js-reveal .is-visible > *:nth-child(7){transition-delay:.44s;}
	html.js-reveal .is-visible > *:nth-child(8){transition-delay:.48s;}
	html.js-reveal .is-visible > *:nth-child(n+9){transition-delay:.52s;}

	/* タブの中身は表示切替と競合するため対象外にする */
	html.js-reveal .tab-panel *{opacity:1 !important;transform:none !important;}

	/* フェイルセーフ：JS未実行/資産キャッシュ時も本文を必ず表示 */
	@keyframes ohoka-reveal-failsafe{to{opacity:1;transform:none;}}
html.js-reveal:not(.reveal-js-ok) .sec-head,
	html.js-reveal:not(.reveal-js-ok) .intro__inner,
	html.js-reveal:not(.reveal-js-ok) .recruit-banner__inner,
	html.js-reveal:not(.reveal-js-ok) .cta__inner,
	html.js-reveal:not(.reveal-js-ok) .subhead,
	html.js-reveal:not(.reveal-js-ok) .tab-block,
	html.js-reveal:not(.reveal-js-ok) .info-table,
	html.js-reveal:not(.reveal-js-ok) .access-list,
	html.js-reveal:not(.reveal-js-ok) .req-block,
	html.js-reveal:not(.reveal-js-ok) .section > .center,
	html.js-reveal:not(.reveal-js-ok) .section > .note,
	html.js-reveal:not(.reveal-js-ok) .section.center > *,
	html.js-reveal:not(.reveal-js-ok) .legal > h2,
	html.js-reveal:not(.reveal-js-ok) .legal > p,
	html.js-reveal:not(.reveal-js-ok) .legal > ul,
	html.js-reveal:not(.reveal-js-ok) .legal > .updated,
	html.js-reveal:not(.reveal-js-ok) .grid3 > *,
	html.js-reveal:not(.reveal-js-ok) .grid4 > *,
	html.js-reveal:not(.reveal-js-ok) .ships > *,
	html.js-reveal:not(.reveal-js-ok) .facilities > *,
	html.js-reveal:not(.reveal-js-ok) .meals > *,
	html.js-reveal:not(.reveal-js-ok) .stats > *,
	html.js-reveal:not(.reveal-js-ok) .timeline > *,
	html.js-reveal:not(.reveal-js-ok) .access-grid > *,
	html.js-reveal:not(.reveal-js-ok) .flow > *,
	html.js-reveal:not(.reveal-js-ok) .faq > *,
	html.js-reveal:not(.reveal-js-ok) .two-col > *,
	html.js-reveal:not(.reveal-js-ok) .welcome-grid > *,
	html.js-reveal:not(.reveal-js-ok) .company > *,
	html.js-reveal:not(.reveal-js-ok) .ports > *{
		animation:ohoka-reveal-failsafe .01s linear 1.6s forwards;
	}


	/* 画像・動画は少し大きめから戻す */
	html.js-reveal .division__img img,
	html.js-reveal .ship__img img,
	html.js-reveal .dept__img img,
	html.js-reveal .company__img img,
	html.js-reveal .facility img,
	html.js-reveal .meal img,
	html.js-reveal .map-square img,
	html.js-reveal .map-square video{
		transform:scale(1.06);
		transition:transform 1.1s cubic-bezier(.22,.61,.36,1);
	}
	html.js-reveal .is-visible .division__img img,
	html.js-reveal .is-visible .ship__img img,
	html.js-reveal .is-visible .dept__img img,
	html.js-reveal .is-visible.company__img img,
	html.js-reveal .is-visible .company__img img,
	html.js-reveal .is-visible .facility img,
	html.js-reveal .is-visible .meal img,
	html.js-reveal .is-visible .map-square img,
	html.js-reveal .is-visible .map-square video{
		transform:scale(1);
	}
}
