@charset "UTF-8";

/* ============================================================
   WONDER Y 再現版 スタイルシート
   色を変えたいときは下の「カラー設定」を書き換えてください。
   ============================================================ */

/* ---------- カラー設定 ---------- */
:root {
  --navy: #020c45;        /* ベースの濃紺（背景） */
  --navy-2: #0a1a56;      /* やや明るい紺（カード等） */
  --lime: #ccfe06;        /* 黄緑（ABOUT・RISE SAVE の背景） */
  --green: #a8e01c;       /* アクセント（ナビ下線・アイコン・英字） */
  --ink: #0b1430;         /* 黄緑背景の上の濃い文字 */
  --white: #ffffff;
  --gray: #c7ccdb;        /* 補足テキスト（紺背景） */
  --max-width: 1120px;
}

/* ---------- リセット＆基本 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 760px; }

/* ============================================================
   ヘッダー / ナビ
   ============================================================ */
.header { position: sticky; top: 0; z-index: 1000; background: var(--navy); }
.nav {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 18px 24px;
  display: flex; justify-content: center; align-items: center;
}
.nav__list { display: flex; gap: 32px; }
.nav__link {
  font-family: "Oswald", sans-serif;
  font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--green); }

.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 30px; height: 22px; background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; height: 3px; width: 100%; background: var(--white); border-radius: 3px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ============================================================
   HOME（メインビジュアル）
   ============================================================ */
.hero { padding: 10px 0 40px; }
.hero__inner {
  max-width: var(--max-width); margin-inline: auto; padding-inline: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.hero__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__copy {
  position: absolute; left: 7%; top: 50%; transform: translateY(-50%);
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 900; line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero__copy span { display: block; }
.hero__logo { aspect-ratio: 3 / 2; overflow: hidden; }
.hero__logo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   共通セクション
   ============================================================ */
.section { padding: 80px 0; }
.section--lime { background: var(--lime); color: var(--ink); }

.sec-head { text-align: center; margin-bottom: 44px; }
.sec-title {
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 0.03em; line-height: 1.15;
  color: var(--white);
}
.sec-title::after { content: ""; display: block; width: 54px; height: 4px; margin: 14px auto 0; border-radius: 999px; background: var(--green); }
.sec-sub { margin-top: 12px; font-weight: 700; color: var(--gray); }
.section--lime .sec-title { color: var(--ink); }
.section--lime .sec-title::after { background: var(--ink); }
.section--lime .sec-sub { color: #30451a; }

/* ============================================================
   NEWS / ACTIVITY（ホーム下部・活動実績） & WORKS 共通で使う
   ============================================================ */
.news__list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 34px; }
.news-item { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: start; }
.news-item__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.news-item__date { font-weight: 700; margin-bottom: 2px; }
.news-item__ttl { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.news-item__text { font-size: 0.95rem; color: var(--gray); line-height: 1.7; }

/* ============================================================
   ABOUT（黄緑）
   ============================================================ */
.about__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.about__lead .sec-title { text-align: left; margin-bottom: 20px; }
.about__lead .sec-title::after { margin-left: 0; }
.about__catch { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.7; color: var(--ink); }
.about__photo img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }

.profile {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: rgba(255, 255, 255, 0.35); border-radius: 14px; padding: 32px;
}
.profile__photo img { width: 100%; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.profile__label { font-family: "Oswald", sans-serif; letter-spacing: 0.1em; font-weight: 600; color: #3a5a10; margin-bottom: 4px; }
.profile__name { font-size: 1.8rem; font-weight: 900; margin-bottom: 16px; color: var(--ink); }
.profile__body p { color: #16233f; margin-bottom: 14px; }

/* ============================================================
   SERVICE（ネイビー・アイコン付きリスト）
   ============================================================ */
.service__list { max-width: 900px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center;
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 24px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-row:hover { transform: translateY(-4px); border-color: var(--green); }
.service-row__icon { color: var(--green); display: flex; justify-content: center; }
.service-row__icon svg { width: 56px; height: 56px; }
.service-row__en { font-family: "Oswald", sans-serif; font-size: 0.95rem; letter-spacing: 0.06em; color: var(--green); margin-bottom: 6px; }
.service-row__ttl { font-size: 1.2rem; margin-bottom: 6px; }
.service-row__text { font-size: 0.95rem; color: var(--gray); }

/* ============================================================
   WORKS（ネイビー・カードギャラリー）
   ============================================================ */
.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.works__item img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.works__item img:hover { transform: scale(1.02); }

/* 詳細ページに飛べるカード（ブログ記事リンク） */
.works__item--link { position: relative; display: block; }
.works__more {
  position: absolute; right: 10px; top: 10px;
  background: var(--green); color: var(--navy);
  font-size: 0.82rem; font-weight: 700;
  padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.works__item--link:hover .works__more { background: #ffffff; }

/* ============================================================
   記事ページ（WORKS/NEWSの詳細ページ）
   ============================================================ */
.article__back { display: block; width: fit-content; color: var(--green); font-weight: 700; margin-bottom: 22px; }
.article__back:hover { text-decoration: underline; }
.article__cat {
  display: inline-block; background: var(--green); color: var(--navy);
  font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 0.04em;
  font-size: 0.85rem; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.article__title { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 900; line-height: 1.45; margin-bottom: 8px; }
.article__date { color: var(--gray); margin-bottom: 26px; }
.article__hero { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.article__body p { margin-bottom: 18px; }
.article__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.article__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 560px) { .article__gallery { grid-template-columns: 1fr; } }

/* ============================================================
   RISE SAVE（黄緑）
   ============================================================ */
.rise__top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; margin-bottom: 36px; }
.rise__banner img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.rise__intro p { color: #16233f; margin-bottom: 14px; }
.rise__report { background: rgba(255, 255, 255, 0.35); border-radius: 14px; padding: 30px 32px; }
.rise__report p { color: #16233f; margin-bottom: 18px; }
.rise__photo img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }

/* ============================================================
   CONTACT（ネイビー・ボタン）
   ============================================================ */
.contact__body { text-align: center; }
.contact__text { color: var(--gray); margin-bottom: 30px; }
.contact__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 260px; padding: 16px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem;
  transition: transform 0.15s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.c-btn svg { width: 22px; height: 22px; }
.c-btn:hover { transform: translateY(-2px); opacity: 0.95; }
.c-btn--mail { background: var(--green); color: var(--navy); }
.c-btn--insta {
  color: #fff;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  box-shadow: 0 6px 18px rgba(221, 42, 123, 0.4);
}
.contact__mailtext { color: var(--gray); font-size: 0.92rem; }
.contact__mailtext a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   フッター
   ============================================================ */
.footer { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 28px 0; }
.footer__inner { max-width: var(--max-width); margin-inline: auto; padding: 0 24px; text-align: center; }
.footer__logo { font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 0.1em; font-size: 1.3rem; margin-bottom: 6px; }
.footer__copy { font-size: 0.8rem; color: var(--gray); }

/* ============================================================
   アニメーション（Canva風のふわっと表示）
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.news-item.reveal:nth-child(1), .service-row.reveal:nth-child(1) { transition-delay: 0.05s; }
.news-item.reveal:nth-child(2), .service-row.reveal:nth-child(2) { transition-delay: 0.16s; }
.news-item.reveal:nth-child(3), .service-row.reveal:nth-child(3) { transition-delay: 0.27s; }
.service-row.reveal:nth-child(4) { transition-delay: 0.38s; }

.hero__media { animation: fadeUp 1s ease both; }
.hero__logo { animation: fadeUp 1s ease 0.2s both; }
.hero__copy { animation: fadeIn 1.2s ease 0.6s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__media, .hero__logo, .hero__copy {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav { justify-content: flex-end; position: relative; }
  .hamburger { display: flex; }
  .nav__list {
    position: absolute; top: 100%; right: 24px;
    flex-direction: column; gap: 4px;
    background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px; padding: 12px 10px; min-width: 200px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { display: block; padding: 14px 16px; text-decoration: none; }

  .section { padding: 56px 0; }
  .hero__inner { grid-template-columns: 1fr; }

  /* ABOUT 縦並び */
  .about__top { grid-template-columns: 1fr; gap: 24px; }
  .about__lead .sec-title { text-align: center; }
  .about__lead .sec-title::after { margin-left: auto; }
  .about__catch { text-align: center; }
  .profile { grid-template-columns: 1fr; gap: 20px; padding: 24px; text-align: center; }
  .profile__photo img { max-width: 240px; margin: 0 auto; }

  /* SERVICE：アイコンを上に */
  .service-row { grid-template-columns: 1fr; text-align: center; gap: 10px; }

  /* RISE SAVE 縦並び */
  .rise__top { grid-template-columns: 1fr; gap: 20px; }

  /* NEWS 縦並び */
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-item__photo img { max-width: 320px; aspect-ratio: 16 / 10; }

  /* CONTACT ボタンを縦に */
  .c-btn { width: 100%; max-width: 320px; }
}

@media (max-width: 560px) {
  /* スマホ：WORKSは2列×4段のタイル */
  .works__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .works__item img { border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
  /* 小さいタイルでは「詳しく見る」を控えめに（タイル全体を押せばOK） */
  .works__more { top: 6px; right: 6px; font-size: 0.66rem; padding: 3px 8px; }
}

/* ============================================================
   お問い合わせフォーム（SpinOwl風：やわらかい角丸の入力欄＋濃色の送信ボタン）
   ============================================================ */
.contact__note { color: var(--gray); font-size: 0.88rem; margin-top: -14px; margin-bottom: 30px; }
.cform {
  background: #ffffff; color: #333;
  border-radius: 16px; padding: 40px 40px 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  text-align: left;
}
.cform__hp { display: none; }
.cform__row { margin-bottom: 24px; }
.cform__fieldset { border: none; padding: 0; min-width: 0; }
.cform__label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; color: #222; padding: 0; }
.cform__req { color: #e2483d; margin-left: 4px; }
.cform__input {
  width: 100%; font: inherit; font-size: 15px; color: #333;
  background: #f8f7f6; border: 1px solid #cccccc; border-radius: 10px;
  padding: 12px 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cform__input::placeholder { color: #9a9a9a; }
.cform__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(168, 224, 28, 0.45); background: #fff; }
.cform__textarea { resize: vertical; min-height: 160px; line-height: 1.7; }

.cform__radios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cform__radio {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: #f8f7f6; border: 1px solid #cccccc; border-radius: 10px;
  padding: 11px 14px; font-size: 0.93rem; line-height: 1.4;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cform__radio input { accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.cform__radio:hover { border-color: var(--navy); }
.cform__radio:has(input:checked) { border-color: var(--navy); background: #eef6d6; font-weight: 700; }

.cform__agree { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 24px; font-size: 0.93rem; cursor: pointer; }
.cform__agree input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.cform__agree a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

.cform__submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 320px; margin: 0 auto;
  background: var(--navy); color: #fff; border: none; border-radius: 10px;
  padding: 15px 24px; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.cform__submit svg { width: 20px; height: 20px; }
.cform__submit:hover { background: var(--green); color: var(--navy); transform: translateY(-2px); }

.contact__sub { text-align: center; margin-top: 44px; }
.contact__subttl { color: var(--gray); font-size: 0.9rem; margin-bottom: 14px; }

/* 送信完了ページ / プライバシーポリシー */
.thanks { text-align: center; }
.thanks__lead { font-size: 1.3rem; font-weight: 900; margin: 10px 0 18px; }
.thanks p { color: var(--gray); margin-bottom: 30px; }
.thanks a:not(.cform__submit) { color: var(--green); text-decoration: underline; }
.thanks__back { margin-top: 10px; }
.policy .sec-title { text-align: center; }
.policy h2 { font-size: 1.1rem; margin: 32px 0 10px; padding-left: 12px; border-left: 4px solid var(--green); }
.policy p { color: #dfe3ef; }
.policy a { color: var(--green); text-decoration: underline; }
.policy__date { margin-top: 32px; color: var(--gray) !important; font-size: 0.9rem; margin-bottom: 24px; }

@media (max-width: 640px) {
  .cform { padding: 28px 18px 26px; }
  .cform__radios { grid-template-columns: 1fr; }
}

/* フォーム送信ステータス（Web3Forms） */
.cform__status { text-align: center; font-size: 0.92rem; margin-top: 14px; min-height: 1.4em; color: #555; }
.cform__status.is-error { color: #d23a2f; font-weight: 700; }
.cform__submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* 記事ページ下の「前の実績／次の実績」 */
.article__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 28px; }
.article__pager-link {
  display: block; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; padding: 16px 18px; font-weight: 700; font-size: 0.95rem; line-height: 1.5;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.article__pager-link span { display: block; color: var(--green); font-family: "Oswald", sans-serif; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 4px; }
.article__pager-link:hover { border-color: var(--green); transform: translateY(-2px); }
.article__pager-link--next { text-align: right; grid-column: 2; }
@media (max-width: 560px) {
  .article__pager { grid-template-columns: 1fr; }
  .article__pager-link--next { grid-column: auto; }
}
