@charset "UTF-8";
/* =========================================================
   沖縄観光キャリアカレッジ8期生 募集ページ
   トンマナ：株式会社ダイブ ニュース記事ページ準拠
   ※ブランドカラーは :root の変数で一括変更できます
========================================================= */
:root {
  --c-primary: #0a5bd3;      /* メインカラー（リンク・ボタン） */
  --c-primary-dark: #0746a5;
  --c-accent: #00a0c8;       /* サブカラー（海のブルー） */
  --c-text: #1a1a1a;
  --c-text-sub: #666;
  --c-border: #e3e6ea;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f7fa;
  --c-dark: #0f1a2b;         /* フッター */
  --c-alert: #d6333b;
  --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-en: "Montserrat", var(--ff-base);
  --header-h: 72px;
  --radius: 12px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-base); color: var(--c-text); background: var(--c-bg);
  font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; transition: color .2s, opacity .2s; }
a:hover { color: var(--c-primary-dark); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
.sp-only { display: none; }
.nowrap { display: inline-block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 700; text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,91,211,.25); }
.btn--outline { border-color: var(--c-text); color: var(--c-text); padding: 14px 40px; }
.btn--outline:hover { background: var(--c-text); color: #fff; }
.btn--closed { background: #b5b5b5; color: #fff; cursor: not-allowed; }
.btn--sm { padding: 8px 22px; font-size: 14px; }
.btn--lg { padding: 20px 56px; font-size: 18px; min-width: 320px; }
.btn__arrow { width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--c-border); box-shadow: 0 2px 16px rgba(0,0,0,.04); }
.site-header__inner { max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.site-header__logo img { height: 40px; width: auto; }

/* ---------- Article head ---------- */
.article__head { padding-top: 56px; padding-bottom: 40px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.article__meta time { font-family: var(--ff-en); font-weight: 600; letter-spacing: .08em; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--c-bg-soft); color: var(--c-primary); border: 1px solid #d5e3f7; }
.article__title { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.55; font-weight: 700; letter-spacing: .05em; }
.article__title-sub { display: block; font-size: .5em; color: var(--c-text-sub); font-weight: 500; margin-bottom: 8px; }
.article__hero { margin-bottom: 56px; }
.article__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Anchor nav ---------- */
.anchor-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 56px; }
.anchor-nav a {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--c-border); border-radius: var(--radius);
  color: var(--c-text); text-decoration: none; font-weight: 700; font-size: 15px; position: relative; background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.anchor-nav a::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(45deg) translateY(-3px); }
.anchor-nav a:hover { border-color: var(--c-primary); box-shadow: 0 6px 18px rgba(10,91,211,.1); transform: translateY(-2px); }
.anchor-nav__num { font-family: var(--ff-en); color: var(--c-primary); font-size: 13px; }

/* ---------- Lead ---------- */
.lead p { margin-bottom: 1.6em; }
.lead p:last-child { margin-bottom: 0; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 560px; margin: 40px auto 48px; }
.pillar {
  background: linear-gradient(160deg, #eef5ff 0%, #e6f7fb 100%); border-radius: var(--radius); padding: 24px 16px;
  text-align: center; font-weight: 700; line-height: 1.6;
}
.pillar__num { display: block; font-family: var(--ff-en); color: var(--c-primary); font-size: 22px; margin-bottom: 8px; letter-spacing: .06em; }

/* ---------- Section ---------- */
.section { padding-top: 96px; }
.section__title { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; padding-bottom: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--c-border); position: relative; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--c-primary); }
.section__en { display: block; font-family: var(--ff-en); font-size: 13px; font-weight: 600; color: var(--c-primary); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }

.block { padding: 32px 0; border-bottom: 1px dashed var(--c-border); }
.block:first-of-type { padding-top: 0; }
.block:last-child { border-bottom: none; }
.block > * + * { margin-top: 16px; }
.block__title { font-size: 19px; font-weight: 700; padding-left: 18px; position: relative; line-height: 1.5; }
.block__title::before { content: ""; position: absolute; left: 0; top: .2em; width: 4px; height: 1.1em; border-radius: 2px; background: var(--c-primary); }

.highlight { font-size: 18px; font-weight: 700; }
.highlight em { font-style: normal; color: var(--c-primary); font-size: 1.4em; }
.highlight__sub { display: inline-block; margin-left: 12px; font-size: 13px; padding: 2px 12px; border-radius: 999px; background: var(--c-primary); color: #fff; vertical-align: middle; }
.text-accent { color: var(--c-alert); }
del { color: var(--c-text-sub); }

.kv { background: var(--c-bg-soft); border-radius: var(--radius); padding: 20px 24px; }
.kv > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 8px 0; }
.kv > div + div { border-top: 1px solid var(--c-border); }
.kv dt { font-weight: 700; color: var(--c-text-sub); font-size: 14px; }

.list { list-style: none; }
.list li { position: relative; padding-left: 1.2em; }
.list li + li { margin-top: 8px; }
.list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.list--check li { padding-left: 1.8em; }
.list--check li::before { top: .55em; left: 0; width: 14px; height: 8px; border-radius: 0; background: none; border-left: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(-45deg); }

.notes { list-style: none; font-size: 14px; color: var(--c-text-sub); }
.notes li { position: relative; padding-left: 1.3em; }
.notes li + li { margin-top: 4px; }
.notes li::before { content: "※"; position: absolute; left: 0; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; }
.card > * + * { margin-top: 12px; }
.card__label { font-weight: 700; color: var(--c-primary); font-size: 17px; }
.card__text { font-weight: 500; }

.table th, .table td { padding: 16px 20px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--c-border); }
.table th { width: 38%; background: var(--c-bg-soft); font-weight: 700; }

.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.link-list a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid var(--c-border); border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 14px; color: var(--c-text);
}
.link-list a::after { content: ""; width: 10px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat; }
.link-list a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.doc { display: block; text-decoration: none; color: var(--c-text); }
.doc__thumb { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--c-border); background: var(--c-bg-soft); }
.doc-cover {
  --cover-c: var(--c-primary);
  --cover-grad: linear-gradient(160deg, #0a5bd3 0%, #3f97de 55%, #6ccbe2 100%);
  display: flex; flex-direction: column; container-type: inline-size;
  background: #fff; letter-spacing: .02em; transition: transform .5s var(--ease);
}
.doc-cover--accent {
  --cover-c: var(--c-accent);
  --cover-grad: linear-gradient(160deg, #00a0c8 0%, #3cb6da 55%, #74cde3 100%);
}
.doc:hover .doc-cover { transform: scale(1.04); }
.doc-cover__head {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 11cqi 8cqi; background: var(--cover-grad); color: #fff;
}
.doc-cover__lead { font-size: 3.6cqi; font-weight: 700; line-height: 1.4; }
.doc-cover__title { margin-top: 4cqi; font-size: 8.4cqi; font-weight: 900; line-height: 1.3; }
.doc-cover__badge {
  margin-top: 6cqi; padding: .6cqi 4cqi; border-radius: 999px;
  background: #fff; color: var(--cover-c); font-size: 4cqi; font-weight: 700; line-height: 1.6;
}
.doc-cover__body { display: flex; align-items: center; justify-content: space-between; gap: 4cqi; padding: 7cqi 8cqi; }
.doc-cover__name {
  padding-left: 4cqi; border-left: 1.4cqi solid var(--cover-c);
  font-size: 7cqi; font-weight: 900; line-height: 1.3; color: var(--c-dark);
}
.doc-cover__ext { font-family: var(--ff-en); font-size: 3cqi; color: #999; letter-spacing: .08em; }

/* ---------- Entry ---------- */
.entry { background: var(--c-bg-soft); border-radius: 20px; padding: 48px; text-align: center; }
.entry .list { display: inline-block; text-align: left; margin: 24px 0 36px; }
.entry__deadline { font-size: 18px; }
.entry__deadline strong { color: var(--c-alert); }
.entry__deadline small { display: block; font-size: 13px; color: var(--c-text-sub); }

/* ---------- Office ---------- */
.office { margin: 80px 0 120px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 32px; }
.office__label { font-family: var(--ff-en); font-size: 12px; color: var(--c-primary); font-weight: 700; letter-spacing: .14em; }
.office__name { font-weight: 700; font-size: 17px; margin: 4px 0 8px; }
.office__text { font-size: 14px; color: var(--c-text-sub); }


/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.85); padding-top: 64px; font-size: 14px; }
.site-footer__inner { padding-bottom: 48px; }
.site-footer__logo { height: 40px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); } /* 白抜き表示 */
.site-footer__name { font-weight: 700; color: #fff; margin-bottom: 4px; }
.site-footer__address { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.65); }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 20px 24px; font-size: 12px; font-family: var(--ff-en); color: rgba(255,255,255,.5); margin: 0; }

/* ---------- Page top ---------- */
.pagetop {
  position: fixed; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary);
  box-shadow: 0 6px 18px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s; z-index: 90;
}
.pagetop::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translateY(3px) rotate(45deg); }
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--c-primary-dark); }

/* ---------- Animation ---------- */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-fade.is-inview { opacity: 1; transform: none; }
.no-js .js-fade { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .site-header__inner { padding: 0 20px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .sp-only { display: inline; }
  .container { padding: 0 16px; }
  .article__head { padding-top: 36px; padding-bottom: 28px; }
  .article__hero { margin-bottom: 40px; padding: 0; }
  .article__hero img { border-radius: 0; }
  .anchor-nav { grid-template-columns: 1fr; gap: 8px; margin-bottom: 40px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 72px; }
  .cards, .docs { grid-template-columns: 1fr; }
  .docs { gap: 40px; max-width: 360px; margin: 0 auto; }
  .kv { padding: 16px; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; }
  .table tr:not(:first-child) th { border-top: 1px solid var(--c-border); }
  .entry { padding: 32px 20px; }
  .btn--lg { min-width: 0; width: 100%; padding: 18px 24px; font-size: 16px; }
  .office { padding: 24px 20px; }
  .site-footer { padding-top: 48px; }
  .pagetop { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
