/* ==========================================================================
   SKYPIX Common CSS
   FAQ・プライバシーポリシー・iPhoneガイドの共通スタイル
   サポートページ専用（LP固有スタイルは除外済み）
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Reset
   -------------------------------------------------------------------------- */
*, ::before, ::after { margin: 0px; padding: 0px; box-sizing: border-box; }
:where([hidden]:not([hidden="until-found"])) { display: none !important; }
:where(html) { text-size-adjust: none; color-scheme: dark light; tab-size: 2; }
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) { scroll-behavior: smooth; }
}
:where(body) { line-height: 1.5; font-family: system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
:where(button) { all: unset; }
:where(input, button, textarea, select) { font: inherit; color: inherit; }
:where(textarea) { resize: block; }
:where(button, label, select, summary, [role="button"], [role="option"]) { cursor: pointer; }
:where(:disabled) { cursor: not-allowed; }
:where(label:has(> input:disabled), label:has(+ input:disabled)) { cursor: not-allowed; }
:where(a) { color: inherit; text-underline-offset: 0.2ex; }
:where(ul, ol) { list-style: none; }
:where(img, svg, video, canvas, audio, iframe, embed, object) { display: block; }
:where(img, picture, svg, video) { block-size: auto; }
:where(p, h1, h2, h3, h4, h5, h6) { overflow-wrap: break-word; }
:where(h1, h2, h3) { line-height: calc(1em + 0.5rem); text-wrap: balance; }
:where(hr) { border: none; border-block-start: 1px solid; color: inherit; block-size: 0px; overflow: visible; }
:where(:focus-visible) { outline: canvastext solid 3px; box-shadow: canvas 0px 0px 0px 5px; outline-offset: 1px; }
:where(:focus-visible, :target) { scroll-margin-block: 8vh; }
:where(.visually-hidden:not(:focus-within, :active)) { clip-path: inset(50%) !important; height: 1px !important; width: 1px !important; overflow: hidden !important; position: absolute !important; white-space: nowrap !important; border: 0px !important; }

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --color-main: #009290;
  --color-light: #F4FBFF;
  --color-txt: #454545;
  --color-white: #fff;
  --color-black: #000;

  --font-14: 0.875rem;
  --font-16: 1rem;
  --font-18: 1.125rem;
  --font-20: 1.25rem;
  --font-24: 1.5rem;
  --font-28: 1.75rem;
  --font-40: 40px;
  --font-44: 44px;
  --font-60: 60px;

  --gutter-5: 5px;
  --gutter-12: 12px;
  --gutter-20: 20px;
  --gutter-24: 24px;
  --gutter-32: 32px;
  --gutter-40: 40px;
  --gutter-48: 48px;
  --gutter-60: 60px;
  --gutter-80: 80px;

  --unit: 130px;
  --unit-inner: 120px;
  --unit-inner-small: 60px;
  --header: clamp(56px, 10vw, 80px);

  --transition: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  --radius-l: min(40px, 6vw);
  --radius-s: 10px;
}

@media screen and (max-width: 810px) {
  :root {
    --font-20: 1.125rem;
    --font-24: 1.125rem;
    --font-28: 1.125rem;
    --font-40: 1.5rem;
    --font-44: 1.8rem;
    --font-60: 40px;
    --gutter-24: 20px;
    --gutter-32: 28px;
    --gutter-40: 30px;
    --gutter-48: 36px;
    --gutter-60: 48px;
    --gutter-80: 64px;
    --unit: 60px;
    --unit-inner: 50px;
    --radius-s: 5px;
  }
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  background: var(--color-white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif;
  color: var(--color-txt);
  line-height: 1.8;
}

img {
  width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-size: var(--font-20);
  line-height: 1.2;
}

address { font-style: normal; }
ul { list-style: none; }

.disc { list-style-type: "・"; padding-left: 1em; }
.bold { font-weight: 700; }

a {
  text-decoration: none;
  color: var(--color-txt);
}

@media screen and (min-width: 810.1px) {
  a { transition: opacity var(--transition); }
  a:hover { opacity: 0.7; }
}

.underline { text-decoration: underline; }

@media screen and (min-width: 810.1px) {
  a[href^="tel:"] { pointer-events: none; cursor: default; }
}

/* PC/SP display toggle */
@media screen and (max-width: 810px) {
  .pc { display: none !important; }
}
@media screen and (min-width: 810.1px) {
  .sp { display: none !important; }
}

/* Margin/padding between text elements */
p + p, p + ul, ul + p, p + ol, ol + p { margin-block-start: 0.5em; }

.txt_nomal { font-weight: normal; }
.small { font-size: 14px; }

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  padding-inline: 4%;
  margin-block: var(--unit);
  position: relative;
}

.inner { width: min(100%, 1200px); margin: 0px auto; }
.inner-n { width: min(100%, 810px); margin: 0px auto; }
.inner-s { width: min(100%, 640px); margin: 0px auto; }

.wrap.bg_light { padding-block: var(--unit-inner); }

.dib { display: inline-block; }
.tac { text-align: center; margin-inline: auto; width: fit-content; max-width: 100%; }
.tar { text-align: right; margin-left: auto; width: fit-content; max-width: 100%; }
.tal { text-align: left; margin-right: auto; width: fit-content; max-width: 100%; }

.pb-0 { padding-bottom: 0px !important; }
.pt-0 { padding-top: 0px !important; }
.p-0 { padding-block: 0px !important; }
.mb-0 { margin-bottom: 0px !important; }
.mt-0 { margin-top: 0px !important; }
.m-0 { margin-block: 0px !important; }

.bg_light { background: var(--color-light); }

.flex { display: flex; }

@media screen and (max-width: 810px) {
  .flex { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
header {
  height: var(--header);
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 90;
}

.header__bg {
  content: "";
  position: fixed;
  width: 100%;
  height: 19%;
  top: 0px;
  left: 0px;
  background: linear-gradient(rgba(0, 0, 0, 0.7) -8.72%, rgba(102, 102, 102, 0) 101.88%);
  z-index: 91;
  pointer-events: none;
}

@media screen and (max-width: 810px) {
  .header__bg { height: 19vw; }
}

header nav {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 92;
}

.head_logo {
  height: var(--header);
  aspect-ratio: 12 / 11;
}

.head_logo > * { padding: 17%; }
.head_logo * { width: 100%; height: 100%; object-fit: contain; }

/* Header - Desktop */
@media screen and (min-width: 810.1px) {
  header nav { padding-right: 4%; font-size: var(--font-18); }
  header .menu { display: flex; gap: 2em; }
  header .menu li,
  header .menu a {
    padding: 0.7em 0.3em;
    color: var(--color-white);
    letter-spacing: 0.1em;
    font-weight: bold;
  }
  header .menu li:last-of-type a {
    border-radius: 8px;
    background: rgb(0, 146, 144);
    padding-inline: 2em;
  }
}

/* Header - Mobile (Hamburger Menu) */
@media screen and (max-width: 810px) {
  header .burger_btn {
    height: var(--header);
    aspect-ratio: 1 / 1;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 2;
  }
  header .burger_btn::before,
  header .burger_btn::after {
    content: "";
    position: absolute;
    width: 44%;
    height: 1px;
    left: 50%;
    background: var(--color-white);
    transform: translateX(-50%);
    transition: var(--transition);
  }
  header .menu_active + .burger_btn.burger_scroll::before,
  header .menu_active + .burger_btn.burger_scroll::after {
    background: var(--color-white);
  }
  header .burger_btn::before { top: 43%; }
  header .burger_btn::after { bottom: 43%; }
  header .menu_active + .burger_btn::before {
    top: 50%;
    transform: translateX(-50%) rotate(45deg);
  }
  header .menu_active + .burger_btn::after {
    bottom: 50%;
    transform: translateX(-50%) rotate(-45deg);
  }
  header .menu {
    position: fixed;
    visibility: hidden;
    flex-direction: column;
    padding-top: calc(var(--header) * 2);
    opacity: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 146, 144, 0.94);
    top: 0px;
    right: -100vw;
    padding-inline: 4%;
    font-size: 20px;
    transition: var(--transition);
  }
  body:has(.menu_active) { overflow: hidden; }
  header .menu.menu_active {
    display: flex;
    visibility: visible;
    right: 0px;
    opacity: 1;
    transition: var(--transition);
  }
  header .menu a {
    display: block;
    padding: 8%;
    position: relative;
    color: var(--color-white);
    font-size: min(40px, 7vw);
    letter-spacing: 0.2em;
    border-radius: 8px;
  }
  header .menu .head_logo {
    position: absolute;
    top: 0px;
    left: 0px;
  }
  header .menu .head_logo a { padding: 17%; }
  header .menu .head_logo img { max-height: 100%; }
  header .menu li + li { margin-top: 4vw; }
  header .menu img { max-height: 3vw; }
  header .menu li a .arrow {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 1em;
  }
  header .menu li:last-of-type a {
    border: 1px solid var(--color-white);
    padding-block: 2.5vw;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer { overflow: hidden; }

/* Footer navigation bar (dark background) */
footer .flex {
  margin-block: 0px;
  padding-block: var(--gutter-40);
  background: rgb(38, 38, 38);
  color: var(--color-white);
  gap: 3em;
}

footer .flex a {
  color: var(--color-white);
}

@media screen and (min-width: 810.1px) {
  footer .flex span { margin-left: auto; }
}

@media screen and (max-width: 810px) {
  footer .flex {
    gap: 1em;
    padding-top: var(--gutter-60);
    padding-inline: 6%;
  }
  footer p,
  footer .flex a { font-size: var(--font-14); }
  footer .flex span {
    font-size: 11px;
    margin-top: 1.5em;
  }
}

/* --------------------------------------------------------------------------
   Hero Section (.fv.kiyaku) - 規約ページ用ヒーロー
   -------------------------------------------------------------------------- */
.fv {
  height: clamp(480px, -120px + 100vh, 806px);
  margin-block: 0px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: inherit;
  color: var(--color-white);
  padding-inline: 6%;
}

.fv .kv {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  object-fit: cover;
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  overflow: hidden;
}

.fv .inner { position: relative; z-index: 3; }

.fv_txt { margin-bottom: clamp(70px, 10vh, 90px); }

.fv_txt strong,
.fv_txt h1,
.fv_txt h2 {
  font-size: var(--font-28);
  letter-spacing: 0.2em;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px;
}

.fv_txt p {
  font-size: var(--font-14);
  margin-top: 2em;
}

/* 規約ページ用ヒーロー */
.fv.kiyaku {
  font-size: var(--font-28);
  padding-block: calc(var(--header) + 2em) 3em;
  height: auto;
}

.fv.kiyaku .fv_txt { margin-bottom: 0px; }

.fv.kiyaku .kv {
  background: linear-gradient(135deg, #009290 0%, #00b4b0 100%);
}

/* --------------------------------------------------------------------------
   Kiyaku (規約) Content Area
   -------------------------------------------------------------------------- */
.kiyaku .inner-n + .inner-n { margin-top: var(--unit); }
.kiyaku section { margin-block: var(--gutter-32); }
.kiyaku section + section { margin-block-start: var(--gutter-60); }

.kiyaku h3 {
  text-align: center;
  font-size: var(--font-28);
  margin-bottom: 1.5em;
}

.kiyaku h4 {
  font-size: var(--font-20);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  color: var(--color-main);
}

.kiyaku ol {
  list-style: number;
  padding-left: 1.6em;
}

.kiyaku li + li { margin-top: 0.5em; }
.kiyaku a { text-decoration: underline; }

/* 特定商取引法テーブル */
.kiyaku .tokusho div { padding: 0.8em; }
.kiyaku .tokusho div:nth-of-type(2n) { background: rgb(243, 243, 243); }
.kiyaku .tokusho dt { color: var(--color-main); font-weight: bold; }
.kiyaku .tokusho .small { display: inline-block; font-weight: normal; }

@media screen and (min-width: 810.1px) {
  .kiyaku .tokusho div {
    display: grid;
    grid-template-columns: 10em 1fr;
    line-height: 1.5;
    gap: 0px 1.5em;
  }
}

/* --------------------------------------------------------------------------
   FAQ Component
   -------------------------------------------------------------------------- */
.faq { overflow: hidden; }

.faq dt {
  font-weight: bold;
  position: relative;
  padding-inline: 84px 4vw;
  background: rgb(248, 248, 248);
  border-block: 1px solid rgb(196, 196, 196);
  padding-block: 1.5em;
  margin-right: calc(50% - 50vw);
}

.faq dt::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 54px;
  border-radius: 27px;
  border: 2px solid rgb(216, 216, 216);
  background: url("../images/Q.svg") center center / 22% no-repeat rgb(255, 255, 255);
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
}

.faq dd {
  padding-left: 84px;
  padding-block: 1.5em 3em;
}

.faq dd:last-of-type { padding-bottom: 0px; }

@media screen and (max-width: 810px) {
  .faq { font-size: var(--font-14); }
  .faq dt {
    margin-left: 15px;
    padding-left: 42px;
    padding-block: 0.7em;
  }
  .faq dt::before {
    border: 1px solid rgb(216, 216, 216);
    width: 46px;
    height: 27px;
    left: -15px;
  }
  .faq dd {
    padding-left: 57px;
    padding-block: 0.7em 1.7em;
  }
}
