/* 自動生成（static/ → wordpress/build_theme.py）。このファイルは直接直さず、static/ を直して作り直す */
/* =========================================================
   ブログなどSWELLのページで、トップページと同じヘッダー・フッターを出すための基本の指定
   static/css/style.css の「基本」（ページ全体にかかる指定）を、ヘッダー・スマホのメニュー・フッター（水中）の中だけにかかるようにしたもの。
   ページ全体にかけると、SWELLの記事の見た目（文字の大きさ・行の高さ・見出しの余白など）が変わってしまうため。
   :where() で囲んで、強さを static/ の「基本」と同じ（タグ名だけの指定と同じ）にしている。
   強くすると、ヘッダー・フッターの部品の余白など（例：.final-cta__note の上の余白）を打ち消してしまう。
   SWELLのタグ名だけの指定（a の色など）には、あとから読み込むので勝つ。
   static/css/style.css の「基本」を変えたときは、ここも合わせる
   ========================================================= */

:where(.site-header, .sp-menu, .underwater),
:where(.site-header, .sp-menu, .underwater) *,
:where(.site-header, .sp-menu, .underwater) *::before,
:where(.site-header, .sp-menu, .underwater) *::after {
  box-sizing: border-box;
}

.site-header,
.sp-menu,
.underwater {
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 16px;
  /* SWELLはページ全体を太さ500・長い英数字の途中でも折り返す設定にしているので、static/ と同じ（ブラウザの初期値）に戻す */
  font-weight: 400;
  overflow-wrap: normal;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase;
}

:where(.site-header, .sp-menu, .underwater) :is(img, svg) {
  display: block;
  max-width: 100%;
}

:where(.site-header, .sp-menu, .underwater) a {
  color: inherit;
}

:where(.site-header, .sp-menu, .underwater) :is(h1, h2, h3, h4, p) {
  margin: 0;
}


/* ---------- ここから下は static/css/style.css から自動で抜き出した、ヘッダー・スマホのメニュー・フッターの指定 ---------- */

:root {
  --navy-900: #081232;
  --navy-600: #3a4b6e;
  --blue-800: #0443ba;
  --blue-700: #0559f3;
  --blue-600: #0470f0;
  --blue-500: #0a9bfa;
  --blue-400: #5ebafd;
  --blue-300: #8cccfc;
  --blue-100: #d0ecfc;
  --blue-50: #dcf0fc;
  --gold-500: #c09848;
  --yellow-400: #fdc51b;
  --line-green: #06c755;
  --bg-base: #fdfcfa;
  --bg-white: #ffffff;
  --border-light: #e6eef4;
  --font-sans: "Noto Sans JP", sans-serif;
  --gutter: 40px;
  --container: 1200px;
}
:where(.site-header) .container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
br[class^="b-"] {
  display: none;
}
@media (max-width: 374px) {
  br.b-xs {
    display: inline;
  }
}
@media (min-width: 375px) and (max-width: 424px) {
  br.b-s {
    display: inline;
  }
}
@media (min-width: 425px) and (max-width: 767px) {
  br.b-m {
    display: inline;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  br.b-tb {
    display: inline;
  }
}
@media (min-width: 1024px) {
  br.b-pc {
    display: inline;
  }
}
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-line:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}
.btn-line__arrow {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-line--lg {
  min-width: 440px;
  height: 100px;
  padding: 0 56px;
  gap: 20px;
  border-radius: 24px;
  font-size: 26px;
  line-height: 36px;
  box-shadow: 0 10px 24px rgba(5, 153, 77, 0.22);
}
.btn-line--lg .btn-line__arrow {
  width: 18px;
  height: 15px;
}
.btn-line--sm {
  height: 60px;
  padding: 0 28px;
  gap: 10px;
  border-radius: 16px;
  font-size: 18px;
  line-height: 26px;
  box-shadow: 0 6px 14px rgba(5, 153, 77, 0.22);
}
.btn-line--sm .btn-line__arrow {
  width: 12px;
  height: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-base);
  box-shadow: inset 0 -1px 0 var(--border-light);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 88px;
}
.site-header__logo img {
  width: 190px;
  height: auto;
}
.site-header__nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
}
.site-header__nav a {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.site-header__nav a:hover {
  color: var(--blue-700);
}
.site-header__line {
  margin-left: 40px;
}
.c-blue {
  color: var(--blue-700);
}
.site-header__menu-btn, .sp-menu {
  display: none;
}
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --edge: max(var(--gutter), (100vw - 480px) / 2);
  }
  :where(.site-header) .container {
    width: min(100% - var(--gutter) * 2, 480px);
  }
  .btn-line--lg {
    min-width: 0;
    width: 100%;
    height: 76px;
    padding: 0 24px;
    gap: 15px;
    border-radius: 18px;
    font-size: 20px;
    line-height: 28px;
    box-shadow: 0 8px 18px rgba(5, 153, 77, 0.22);
  }
  .btn-line--lg .btn-line__arrow {
    width: 14px;
    height: 11px;
  }
  .site-header__inner {
    width: 100%;
    height: 64px;
    padding: 0 12px 0 20px;
  }
  .site-header__logo img {
    width: 130px;
  }
  .site-header__nav {
    display: none;
  }
  .site-header__line {
    height: 40px;
    margin-left: auto;
    padding: 0 18px;
    gap: 6px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 17px;
    box-shadow: 0 4px 9px rgba(5, 153, 77, 0.22);
  }
  .site-header__line .btn-line__arrow {
    width: 8px;
    height: 7px;
  }
  .site-header__menu-btn {
    position: relative;
    display: block;
    width: 32px;
    height: 40px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .site-header__menu-btn span {
    position: absolute;
    left: 5px;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--navy-900);
  }
  .site-header__menu-btn span:nth-child(1) {
    top: 12px;
  }
  .site-header__menu-btn span:nth-child(2) {
    top: 20px;
  }
  .site-header__menu-btn span:nth-child(3) {
    top: 28px;
  }
  .sp-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    overflow: hidden auto;
    padding: 0 20px 40px;
    background: var(--bg-base);
  }
  .sp-menu[hidden] {
    display: none;
  }
  .sp-menu::after {
    content: "";
    position: absolute;
    left: 240px;
    top: 660px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--blue-100);
    pointer-events: none;
  }
  body.is-menu-open {
    overflow: hidden;
  }
  .sp-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    margin-right: -8px;
  }
  .sp-menu__logo img {
    width: 130px;
    height: auto;
  }
  .sp-menu__close {
    position: relative;
    width: 32px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .sp-menu__close span {
    position: absolute;
    left: 4px;
    top: 18.5px;
    width: 24px;
    height: 3px;
    border-radius: 1.5px;
    background: var(--navy-900);
    transform: rotate(45deg);
  }
  .sp-menu__close span:nth-child(2) {
    transform: rotate(-45deg);
  }
  .sp-menu__nav {
    margin-top: 48px;
  }
  .sp-menu__nav a {
    position: relative;
    display: block;
    height: 72px;
    padding-top: 14px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
  }
  .sp-menu__nav a::after {
    content: "→";
    position: absolute;
    right: 5px;
    top: 22px;
    color: var(--blue-700);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
  }
  .sp-menu__ja {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }
  .sp-menu__en {
    display: block;
    margin-top: 6px;
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.04em;
  }
  .sp-menu__line {
    position: relative;
    z-index: 1;
    height: 72px;
    margin-top: 40px;
    font-size: 19px;
  }
  .sp-menu__note {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 13px;
    line-height: 16px;
    text-align: center;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --gutter: 32px;
    --edge: max(var(--gutter), (100vw - 800px) / 2);
  }
  :where(.site-header) .container {
    width: min(100% - var(--gutter) * 2, 800px);
  }
  .btn-line--lg {
    min-width: 317px;
    height: 72px;
    padding: 0 40px;
    gap: 14px;
    border-radius: 17px;
    font-size: 19px;
    line-height: 26px;
    box-shadow: 0 7px 17px rgba(5, 153, 77, 0.22);
  }
  .btn-line--lg .btn-line__arrow {
    width: 13px;
    height: 10px;
  }
  .site-header__inner {
    height: 80px;
  }
}
@media (max-width: 374px) {
  .site-header__logo img {
    width: 112px;
  }
  .site-header__line {
    height: 33px;
    padding: 0 14px;
    border-radius: 8px;
  }
  .site-header__line .btn-line__arrow {
    display: none;
  }
  .site-header__menu-btn {
    flex: none;
  }
}
.underwater {
  position: relative;
  overflow: clip;
  background: var(--navy-900);
  text-align: center;
}
.underwater__bg img {
  position: absolute;
  left: 50%;
  top: min(max(100vw, 1296px) * -0.04167, 377.14px - 30.357vw);
  width: max(100%, 1296px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
.underwater__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 420px;
  background: linear-gradient(rgba(5, 15, 51, 0), rgba(5, 15, 51, 0.45) 50%, rgba(5, 13, 41, 0.8));
}
.final-cta, .site-footer {
  position: relative;
  z-index: 1;
}
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}
.final-cta__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 68px;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.95),
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.8);
}
.final-cta__em {
  position: relative;
  z-index: 0;
}
.final-cta__underline {
  position: absolute;
  z-index: -1;
  left: 2px;
  top: 57px;
  width: 150px;
  max-width: none;
  height: 14px;
}
.btn-line--md {
  min-width: 317px;
  height: 72px;
  margin-top: 30px;
  padding: 0 40px;
  gap: 14px;
  border-radius: 17px;
  font-size: 19px;
  line-height: 26px;
  box-shadow: 0 7px 17px rgba(5, 153, 77, 0.22);
}
.btn-line--md .btn-line__arrow {
  width: 13px;
  height: 10px;
}
.final-cta__note {
  margin-top: 16px;
  font-family: "Klee One", var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0.04em;
}
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-bottom: 40px;
  color: #fff;
}
.site-footer__hw {
  width: 420px;
  height: auto;
  margin-top: 40px;
  transform: translateX(10px);
  filter: drop-shadow(0 2px 10px rgba(5, 20, 64, 0.45));
}
.site-footer__logo {
  margin-top: 39px;
}
.site-footer__logo img {
  width: 241px;
  height: auto;
}
.site-footer__tagline {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}
.site-footer__nav {
  display: flex;
  gap: 56px;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.04em;
}
.site-footer__nav a, .site-footer__legal a {
  text-decoration: none;
}
.site-footer__nav a:hover, .site-footer__legal a:hover {
  text-decoration: underline;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  margin-top: 75px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 16px;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__legal li + li::before {
  content: "｜";
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.35);
}
.site-footer__copy small {
  font-size: inherit;
}
@media (max-width: 1023px) {
  .underwater__bg img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    transform: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .underwater__shade {
    height: 440px;
    background: linear-gradient(rgba(5, 15, 51, 0), rgba(5, 15, 51, 0.45) 45%, rgba(5, 13, 41, 0.8));
  }
  .final-cta {
    padding-top: 130px;
  }
  .final-cta__title {
    font-size: 36px;
    line-height: 52px;
  }
  .final-cta__underline {
    left: -5px;
    top: 46px;
    width: 110px;
    height: 12px;
  }
  .final-cta__note {
    margin-top: 14px;
  }
  .site-footer {
    padding-bottom: 46px;
  }
  .site-footer__hw {
    width: 340px;
    margin-top: 174px;
    transform: translateX(8px);
  }
  .site-footer__logo {
    margin-top: 43px;
  }
  .site-footer__logo img {
    width: 224px;
  }
  .site-footer__tagline {
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }
  .site-footer__nav {
    gap: 48px;
    margin-top: 30px;
  }
  .site-footer__bottom {
    margin-top: 77px;
    font-size: 12px;
    line-height: 14px;
  }
  .site-footer__legal li + li::before {
    margin: 0 12px;
  }
}
@media (max-width: 767px) {
  .underwater__shade {
    height: 360px;
    background: linear-gradient(rgba(5, 15, 51, 0), rgba(5, 15, 51, 0.5) 45%, rgba(5, 13, 41, 0.85));
  }
  .final-cta {
    padding-top: 64px;
  }
  .final-cta__title {
    font-size: 24px;
    line-height: 36px;
  }
  .final-cta__underline {
    left: -3px;
    top: 31px;
    width: 74px;
    height: 10px;
  }
  .btn-line--md {
    margin-top: 24px;
  }
  .final-cta__note {
    margin-top: 12px;
    font-size: 20px;
    line-height: 30px;
  }
  .site-footer {
    padding-bottom: 32px;
  }
  .site-footer__hw {
    width: 212px;
    margin-top: 142px;
    transform: translateX(4px);
  }
  .site-footer__logo {
    margin-top: 41px;
  }
  .site-footer__logo img {
    width: 181px;
  }
  .site-footer__tagline {
    margin-top: 9px;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }
  .site-footer__nav {
    gap: 36px;
    margin-top: 53px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    font-size: 12px;
    line-height: 14px;
  }
  .site-footer__legal {
    justify-content: center;
    gap: 6px 12px;
  }
  .site-footer__legal li + li::before {
    margin: 0 12px 0 0;
  }
  .site-footer__legal li:nth-child(3)::before {
    display: none;
  }
  .site-footer__copy {
    font-size: 11px;
    line-height: 13px;
  }
}
@media (max-width: 374px) {
  .btn-line--md {
    align-self: stretch;
    min-width: 0;
    margin-inline: 20px;
  }
  .final-cta__note {
    font-size: 18px;
  }
}
@media (min-width: 425px) and (max-width: 767px) {
  .site-footer {
    padding-bottom: 52px;
  }
}
