/* NPO法人 Around The Table — サイト共通スタイル
   元サイト（ペライチ）の見た目を写したもの。色・寸法は元サイトの実測値。 */

:root {
  --text: #05161a;
  --accent: #ff8b7f;      /* サーモン：英字の小見出し・強調 */
  --orange: #f47e00;      /* View more ボタン */
  --yellow: #f8ca00;      /* 寄付ボタン */
  --highlight: #ffe169;   /* 「寄付ページへ」のマーカー */
  --contact: #ce5d2f;     /* お問い合わせボタン */
  --cyan: #28c3d4;        /* イベント日程 */
  --sky: #73aad9;         /* ツアーページのボタン */
  --side-insta: #f5bcb5;
  --side-donate: #b5f5e8;
  --page-bg: #f6f6f6;
  --line: #dddddd;
  --sidebar-w: 240px;
  --content-w: 940px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Noto Sans JP", Meiryo, メイリオ, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
body.bg-white { background: #fff; }
body.bg-black { background: #000; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

/* ---------- サイドバー（PC） ---------- */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  z-index: 50;
  overflow-y: auto;
}
.sidebar__logo { display: block; padding: 12px 12px; }
.sidebar__logo img { width: 216px; height: 216px; object-fit: cover; margin: 0 auto; }
.sidebar__nav { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid #eee; }
.sidebar__nav li { border-bottom: 1px solid #eee; }
.sidebar__nav a {
  display: block; padding: 9px 16px; font-size: 18px; line-height: 1.5;
  text-decoration: none; color: #333;
}
.sidebar__nav a:hover, .sidebar__nav a[aria-current="page"] { background: #fafafa; color: var(--orange); }
.sidebar__btns { margin-top: auto; padding: 0 16px 16px; display: grid; gap: 8px; }
.side-btn {
  display: block; text-align: center; text-decoration: none; color: var(--text);
  font-size: 14px; padding: 15px 8px;
}
.side-btn--insta { background: var(--side-insta); }
.side-btn--donate { background: var(--side-donate); }
.side-btn:hover { opacity: .8; }

/* ---------- スマホ用ヘッダー ---------- */
.sp-header, .sp-nav, .sp-bottom { display: none; }

.main { margin-left: var(--sidebar-w); min-height: 100vh; overflow-x: hidden; }

/* ---------- 共通の箱 ---------- */
.inner { width: 100%; max-width: calc(var(--content-w) + 90px); margin: 0 auto; padding: 0 45px; }
.inner--narrow { max-width: calc(780px + 90px); }
.inner--text { max-width: calc(525px + 90px); }
.section { padding: 40px 0; }
.section--tight { padding: 20px 0; }
.section--white { background: #fff; }
.center { text-align: center; }
.right { text-align: right; }

/* 見出し（二重線上下） */
.dbl-head {
  border-top: 5px double #05161a;
  border-bottom: 5px double #05161a;
  text-align: center;
  padding: 14px 0 10px;
  margin: 0;
  line-height: 1.3;
}
.dbl-head__ja { display: block; font-size: 28px; font-weight: 700; }
.dbl-head__en { display: block; font-size: 16px; font-weight: 700; color: var(--accent); }
.dbl-head--sm .dbl-head__ja { font-size: 24px; }
.dbl-head--plain .dbl-head__en { color: var(--text); }
.head-plain { text-align: center; line-height: 1.3; margin: 0 0 20px; }
.head-plain .dbl-head__ja { font-size: 28px; }

.accent { color: var(--accent); }

/* ボタン */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  color: #fff; font-size: 14px; line-height: 1.4;
  padding: 10px 16px; min-width: 160px;
  transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn--orange { background: var(--orange); }
.btn--yellow { background: var(--yellow); }
.btn--yellow-pill { background: var(--yellow); border-radius: 300px; font-size: 16px; padding: 12px 28px; }
.btn--contact { background: var(--contact); font-size: 16px; width: 287px; max-width: 100%; padding: 10px; }
.btn--black-pill { background: #222; border-radius: 300px; font-size: 16px; width: 330px; max-width: 100%; padding: 8px; }
.btn--cyan-pill { background: var(--cyan); border-radius: 300px; font-size: 16px; width: 330px; max-width: 100%; padding: 8px; }
.btn--wide { display: block; width: 100%; font-size: 20px; padding: 10px; }
.btn--sky { background: var(--sky); border-radius: 100px; }
.btn--tour-orange { background: #e58100; border-radius: 100px; }
.btn--essay { background: var(--orange); }
.btn-row { margin-top: 32px; }

/* 2カラム（画像と文章） */
.media { display: grid; grid-template-columns: 1fr 368px; gap: 50px; align-items: center; }
.media--left { grid-template-columns: 368px 1fr; }
.media__img img { width: 100%; }
.media__img--round img { border-radius: 40px; aspect-ratio: 1; object-fit: cover; object-position: top; }
.media__text { text-align: center; }

/* ページ先頭の大きな画像 */
.hero-img img { width: 100%; }

/* ---------- トップ：スライダー ---------- */
.slider { position: relative; padding: 30px 0 10px; overflow: hidden; }
.slider__track { display: flex; transition: transform .5s ease; }
.slider__slide { flex: 0 0 84%; padding: 0 1%; }
.slider__slide img { width: 100%; aspect-ratio: 857 / 426; object-fit: cover; }
.slider__arrow {
  position: absolute; top: calc(30px + (84% * 426 / 857) / 2 - 20px);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.7); color: #fff; font-size: 22px; line-height: 40px;
  cursor: pointer; padding: 0; z-index: 2;
}
.slider__arrow--prev { left: 9%; }
.slider__arrow--next { right: 9%; }
.slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #ccc; padding: 0; cursor: pointer; }
.slider__dots button[aria-current="true"] { background: #333; }

/* ---------- トップ：クルー募集カード ---------- */
.crew-title { font-size: 28px; font-weight: 700; text-align: center; line-height: 1.4; margin: 0 0 20px; }
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.crew__card {
  background: transparent; border: 3px solid #222; border-radius: 16px;
  padding: 18px 18px 14px; text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
}
.crew__card img { width: 100%; margin-bottom: 14px; }
.crew__name { font-size: 24px; font-weight: 700; color: #4d4d4d; margin: 0; }
.crew__price { margin: 0; line-height: 1.2; }
.crew__price strong { font-size: 56px; color: var(--accent); }
.crew__price small { font-size: 18px; font-weight: 700; color: #222; margin-left: 6px; }
.crew__text { font-size: 14px; font-weight: 700; margin: 8px 0 0; }
.crew__text--gray { color: #4d4d4d; }
.marker { background: var(--highlight); color: #0000ee; font-weight: 400; text-decoration: none; }

/* ---------- 「Hungry is not weakness」 ---------- */
.quote-hero {
  background-size: cover; background-position: center;
  padding: 60px 0 40px;
}
.quote-hero__big { font-size: 48px; font-weight: 700; line-height: 1.3; color: var(--accent); margin: 0 0 40px; }
.quote-hero__big span, .quote-hero__small span { background: #fff; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.quote-hero__small { font-size: 18px; font-weight: 700; color: var(--accent); line-height: 1.6; margin: 0 0 20px; }

/* ---------- お問い合わせフォーム ---------- */
.form { background: #fff; padding: 10px 10px 12px; }
.form__row { margin-bottom: 14px; }
.form__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.req { display: inline-block; background: #e60012; color: #fff; font-size: 10px; line-height: 1; padding: 2px 3px; margin-left: 6px; vertical-align: 1px; font-weight: 400; }
.form input[type=text], .form input[type=tel], .form input[type=email] {
  width: 100%; border: 0; border-bottom: 1px solid #aaa; padding: 8px; font-size: 16px; background: transparent; color: var(--text);
}
.form input[type=tel] { width: 200px; }
.form select, .form textarea { width: 100%; border: 1px solid #ccc; padding: 6px; font-size: 16px; background: #fff; color: var(--text); font-family: inherit; }
.form textarea { height: 88px; resize: vertical; }
.form__checks label { margin-right: 10px; font-size: 15px; }
.form__submit {
  display: block; margin: 24px auto 8px; width: 270px; max-width: 100%; height: 49px;
  background: #222; color: #fff; border: 0; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.form__note { font-size: 13px; padding: 0 10px; margin: 0; }
.form__lead { text-align: center; font-size: 13px; margin: 0 0 6px; }
.form__error { color: #e60012; font-size: 13px; text-align: center; min-height: 1em; margin: 0; }

/* ---------- 斜めストライプ枠 ---------- */
.stripe-box {
  max-width: 780px; margin: 0 auto; padding: 15px;
  background: repeating-linear-gradient(-45deg, #222 0 8px, transparent 8px 16px);
}
.stripe-box--light { background: repeating-linear-gradient(-45deg, #d6e0e8 0 8px, #fff 8px 16px); }
.stripe-box__in { background: #fff; padding: 30px 20px; text-align: center; }
.stripe-box--onpage .stripe-box__in { background: var(--page-bg); }

/* ---------- 活動紹介：2列カード ---------- */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.cards2__item { text-align: center; }
.cards2__item img { width: 100%; aspect-ratio: 450 / 252; object-fit: cover; margin-bottom: 14px; }
.cards2__title { font-size: 28px; font-weight: 700; margin: 0 0 6px; line-height: 1.4; }
.cards2__sub { font-size: 14px; font-weight: 700; color: var(--accent); margin: 0 0 6px; }

/* 片側が画面端まで伸びる画像 */
.bleed { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.bleed__text { padding: 0 0 0 max(45px, calc((100% * 2 - var(--content-w)) / 2)); }
.bleed--img-left .bleed__text { padding: 0 max(45px, calc((100% * 2 - var(--content-w)) / 2)) 0 0; }
.bleed__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bleed--img-left .bleed__img img { aspect-ratio: 3 / 2; }
.bleed h3 { font-size: 20px; margin: 0 0 20px; }
.bleed h3.big { font-size: 28px; }
.timeline p { margin: 0; }

/* ---------- 団体情報 ---------- */
.mission-lead { font-size: 36px; font-weight: 700; color: var(--accent); text-align: center; line-height: 1.4; margin: 0 0 30px; }
.mission-text { font-size: 18px; font-weight: 700; text-align: center; margin: 20px 0 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; margin: 0 -26px; }
.values__card { background: #fff; border-top: 4px solid #222; box-shadow: 0 1px 3px rgba(0,0,0,.35); padding: 20px 16px 30px; text-align: center; }
.values__card h3 { font-size: 20px; color: var(--accent); margin: 0 0 14px; }
.values__card p { margin: 0; }
.message { display: grid; grid-template-columns: 1fr 368px; gap: 40px; align-items: start; }
.message h3 { font-size: 28px; margin: 0 0 24px; }
.message__sign { text-align: right; font-weight: 700; margin-top: 30px; }
.message__sign small { font-size: 14px; margin-right: 12px; }
.message__sign span { font-size: 22px; }
.message__img { padding-top: 60px; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 0 -18px; }
.board img { width: 100%; aspect-ratio: 450 / 300; object-fit: cover; border-radius: 50%; margin-bottom: 16px; }
.board h3 { font-size: 22px; text-align: center; margin: 0 0 16px; }
.board h3.big { font-size: 28px; }
.board__history { font-size: 13px; }
.board__history p { margin: 0; }
.profile { margin: 0; }
.profile dt { font-size: 14px; padding-top: 30px; }
.profile dd { font-size: 16px; margin: 4px 0 0; padding-bottom: 30px; border-bottom: 1px solid #ccc; }
.portal { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; }
.portal__title { font-size: 20px; margin: 0 0 4px; }
.portal a { color: #0000ee; font-size: 16px; }
.portal img { width: 140px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* ---------- 採用情報 ---------- */
.letter { max-width: 700px; margin: 0 auto; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.25); padding: 0 60px 40px; text-align: center; }
.letter img { margin: -15px auto 12px; }
.member { display: grid; grid-template-columns: 368px 1fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.member--right { grid-template-columns: 1fr 368px; }
.member p { margin: 0; }
.accordion { border-top: 0; }
.accordion details { border-bottom: 2px solid #222; }
.accordion summary { list-style: none; cursor: pointer; font-size: 20px; font-weight: 700; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 10px; height: 10px; border-right: 3px solid #222; border-bottom: 3px solid #222; transform: rotate(45deg); margin-top: -6px; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.accordion__body { padding: 0 18px 20px; }
.faq__item { margin-bottom: 30px; }
.faq__row { display: flex; align-items: stretch; }
.faq__mark { width: 30px; flex: 0 0 30px; display: flex; align-items: center; justify-content: center; }
.faq__mark--q { background: #ccc; }
.faq__mark--a { background: #222; color: #fff; }
.faq__body { padding: 8px 8px; }
.arrow-band { background: #222; color: #fff; text-align: center; font-size: 20px; line-height: 1.3; padding: 18px 16px; position: relative; margin: 0; font-weight: 400; }
.arrow-band::after { content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); border: 15px solid transparent; border-top-color: #222; border-bottom: 0; }

/* ---------- お問い合わせページ先頭 ---------- */
.contact-hero { position: relative; min-height: 375px; display: flex; align-items: center; overflow: hidden; background: #fff; }
.contact-hero__bg { position: absolute; inset: 0; background: linear-gradient(180deg, #4f9be0 0%, #8fc3ee 45%, #d8ecfa 70%, #e7e2b8 82%, #c9bd7a 100%); }
.contact-hero__veil { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.95) 0 47%, rgba(255,255,255,.45) 47% 49%, rgba(255,255,255,0) 49%); }
.contact-hero__text { position: relative; padding: 0 45px; }
.contact-hero h1 { font-size: 36px; margin: 0; line-height: 1.3; }
.contact-hero .en { display: block; font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: .05em; }
.contact-hero p { margin: 16px 0 0; }

/* ---------- 子どもたちについて ---------- */
.notice-box { background: #e4f7fa; padding: 0 0 20px; margin-top: 40px; }
.notice-box__label { display: inline-flex; align-items: center; gap: 8px; background: #26bfd2; color: #fff; font-weight: 700; font-size: 16px; padding: 4px 8px; }
.notice-box__label img { width: 25px; }
.notice-box p { padding: 12px 8px 0; margin: 0; }
.sns-logo { text-align: center; margin: 40px 0; }
.sns-logo img { width: 50px; margin: 0 auto 4px; }
.sns-logo a { text-decoration: none; }

/* ---------- ツアー日程 ---------- */
.event { margin: 0 auto 60px; }
.event h2 { font-size: 28px; color: var(--cyan); margin: 0 0 10px; line-height: 1.4; }
.event p { margin: 0; }
.event .btn { margin-top: 30px; }

/* ---------- 画像を縦に積むページ ---------- */
.stack img { width: 100%; }
.stack--gap > * + * { margin-top: 0; }
.essay .stack-item { padding: 15px 45px; }
.essay .stack-item--full { padding: 15px 0; }
.essay .btn-wrap { padding: 15px 45px; }
.video-title { text-align: center; padding: 30px 45px 10px; }
.video-title span { background: #fff; color: var(--text); font-size: 28px; font-weight: 700; }
.video { max-width: 700px; margin: 0 auto; aspect-ratio: 16 / 9; }
.video iframe, .canva iframe { width: 100%; height: 100%; border: 0; }
.center-line { display: flex; align-items: center; gap: 20px; font-size: 28px; font-weight: 700; margin: 0; }
.center-line::before, .center-line::after { content: ""; flex: 1; height: 1px; background: #05161a; }
.center-line::before { flex: 0 0 0; }
.ig-embed { max-width: 540px; margin: 0 auto; position: relative; }
.ig-embed iframe, .ig-embed blockquote { min-width: 0 !important; max-width: 100% !important; }

/* 学校講演（Canva 埋め込み） */
.canva { position: relative; width: 100%; padding-top: 100%; box-shadow: 0 2px 8px rgba(63,69,81,.16); border-radius: 8px; overflow: hidden; margin: 1.6em 0 .9em; }
.canva iframe { position: absolute; inset: 0; }

/* ---------- フッター ---------- */
.footer { text-align: center; padding: 60px 16px 40px; font-size: 14px; }
.bg-black .footer { color: #fff; }

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  body { padding-top: 60px; padding-bottom: 56px; }
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .sp-header {
    display: flex; position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 60;
    background: #fff; align-items: center; justify-content: space-between; padding: 0 12px 0 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
  }
  .sp-header__logo img { height: 60px; width: 100px; object-fit: cover; }
  .sp-toggle { width: 44px; height: 44px; border: 1px solid #ccc; border-radius: 4px; background: #fff; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
  .sp-toggle span { width: 20px; height: 3px; background: #222; display: block; }
  .sp-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 56px; background: #fff; overflow-y: auto; z-index: 59; }
  .sp-nav.is-open { display: block; }
  .sp-nav ul { list-style: none; margin: 0; padding: 0; }
  .sp-nav a { display: block; padding: 14px 16px; border-bottom: 1px solid #eee; text-decoration: none; color: #333; font-size: 18px; }
  .sp-bottom { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
  .sp-bottom a { text-align: center; padding: 16px 4px; text-decoration: none; color: var(--text); font-size: 15px; }

  .inner { padding: 0 16px; }
  .section { padding: 28px 0; }
  .dbl-head__ja, .head-plain .dbl-head__ja { font-size: 22px; }
  .media, .media--left, .message, .member, .member--right, .bleed { grid-template-columns: 1fr; gap: 20px; }
  .media--left .media__img, .member .member__img { order: -1; }
  .media .media__img { order: -1; }
  .bleed__text, .bleed--img-left .bleed__text { padding: 0 16px; }
  .bleed .bleed__img { order: -1; }
  .crew, .cards2, .values, .board { grid-template-columns: 1fr; margin: 0; }
  .crew__price strong { font-size: 44px; }
  .slider__slide { flex-basis: 100%; padding: 0; }
  .slider__arrow { top: calc(30px + (100vw * 426 / 857) / 2 - 20px); }
  .slider__arrow--prev { left: 8px; }
  .slider__arrow--next { right: 8px; }
  .quote-hero__big { font-size: 32px; }
  .mission-lead { font-size: 24px; }
  .cards2__title { font-size: 22px; }
  .letter { padding: 0 20px 30px; }
  .message__img { padding-top: 0; }
  .portal { flex-direction: column; align-items: flex-start; }
  .essay .stack-item, .essay .btn-wrap { padding: 10px 16px; }
  .contact-hero__veil { background: rgba(255,255,255,.8); }
  .contact-hero__text { padding: 0 16px; }
  .event h2 { font-size: 22px; }
  .btn--wide { font-size: 17px; }
  .center-line { font-size: 22px; }
}

/* ---------- 学校講演（Canva資料「学校講演のご案内」を書き写したもの） ---------- */
.lec { --teal: #088b8f; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(63,69,81,.16); overflow: hidden; margin: 1.6em 0 .9em; color: #000; font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif; }
.lec__head { background: var(--teal); color: #fff; text-align: center; padding: 56px 20px 50px; }
.lec__head h1 { font-size: 44px; font-weight: 400; margin: 0 0 14px; line-height: 1.3; }
.lec__pill { display: inline-block; background: #c9f0ee; color: var(--teal); border-radius: 20px; padding: 2px 12px; font-size: 18px; margin: 0; }
.lec__body { max-width: 540px; margin: 0 auto; padding: 18px 16px 40px; font-size: 13px; line-height: 1.6; }
.lec__bar { background: var(--teal); color: #fff; border-radius: 6px; font-size: 21px; padding: 10px 12px; margin: 14px 0 14px; line-height: 1.4; }
.lec__body p { margin: 0 0 12px; }
.lec__photo { width: 100%; margin: 0 0 12px; }
.lec__list { margin: 0 0 12px; padding-left: 24px; }
.lec__list li + li { margin-top: 2px; }
.lec__body a { color: #1a5fd0; }
.lec__steps { margin: 0 0 12px; padding-left: 24px; }
.lec__steps ul { list-style: circle; padding-left: 18px; margin: 0; }
.lec__sub { margin: 0 !important; padding-left: 18px; }
.lec__gtitle { font-size: 14px; font-weight: 400; margin: 40px 0 10px; }
.lec-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 12px; align-items: start; }
.lec-gallery__item { margin: 0; text-align: center; font-size: 12px; }
.lec-gallery__pics { display: grid; gap: 6px; }
.lec-gallery__pics img { width: auto; max-width: 100%; max-height: 210px; margin: 0 auto; }
.lec-gallery__pics--two img { max-height: 100px; }
.lec-gallery__item figcaption { margin-top: 10px; }
@media (max-width: 767px) {
  .lec__head { padding: 36px 16px 32px; }
  .lec__head h1 { font-size: 26px; }
  .lec__pill { font-size: 14px; }
  .lec-gallery { grid-template-columns: repeat(2, 1fr); }
}
