@charset "UTF-8";

/* ============================
   :root
============================ */
:root {
  /* Colors */
  --main: #e27d00;
  --base: #f7f7f7;
  --sub: #fcf2e5;
  --sub2: #262626;

  /* Fonts */
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Roboto", sans-serif;
  --font-body: "Roboto", "Noto Sans JP", sans-serif;

  /* Font size */
  --fs-body: 1rem;
  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.75rem;
  --fs-h4: 1.5rem;

  /* Line height */
  --lh-body: 2;
  --lh-list: 1.6;
  --lh-heading: 1.6;

  /* Font weight */
  --fw-body: 400;
  --fw-bold: 700;
  --fw-heavy: 900;
  --fw-thin: 100;

  /* Spacing */
  --space-body: 1.8rem;
  --space-heading: 1.4rem;
  --space-message: 0.3rem;

  /* Layout */
  --container-width: 1080px;
  --container-mgb400: 25rem;
  --container-mgb200: 12.5rem;
  --container-mg160: 10rem;
  --container-mgb80: 5rem;
  --container-mgb64: 4rem;
  --container-mgb48: 3rem;
  --container-mgb32: 2rem;
  --container-mgb28: 1.75rem;
  --container-mgb20: 1.25rem;
  --container-mgb16: 1rem;
  --container-magine_botton-inner: 3rem;
  --container-padding-wrap: 12.5rem;
  --container-padding-inner: 2rem;
  --container-padding-pc: 12.5rem;
  --container-padding-sp: 5rem;
}

/* ============================
   html body
============================ */
html {
  font-size: 100%;
}
@media (max-width: 768px) {
  html {
    font-size: 87.5%;
  }
}

body {
  font-feature-settings: "palt";
  font-kerning: normal;
  letter-spacing: 0.04em;
  text-align: justify;
  text-justify: inter-ideograph;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  color: #000;
  background: var(--base);
  -webkit-font-smoothing: antialiased;
}

/* ============================
   見出し設計
============================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  line-height: var(--lh-heading);
  font-weight: var(--fw-bold);
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--container-mgb48);
}
h4 {
  font-size: var(--fs-h4);
  margin-bottom: var(--container-mgb28);
}
p {
  margin-bottom: var(--space-body);
}
li,
dt,
dd,
a {
  font-size: var(--fs-body);
  line-height: var(--lh-list);
}

/* ============================
   改行_sp-only
============================ */

.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}
.pc-only {
  display: none;
}
@media (min-width: 769px) {
  .pc-only {
    display: inline;
  }
}

/* ============================
    アクセシビリティ_フォーカス
============================ */
.button:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 4px;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 4px;
}

/* ============================
   Global Link Behavior_ホバー時の基本
============================ */
a {
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}
/* hoverできるデバイスだけ */
@media (hover: hover) {
  a:hover {
    opacity: 0.85;
  }
}

/* ============================
   Text Link Styles_テキストリンク用
============================ */
.link {
  color: var(--main);
  text-decoration: none;
  position: relative;
  font-weight: 500;
}
/* 下線アニメーション */
.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .link:hover::after {
    transform: scaleX(1);
  }
}

/* ============================
   External Link_外部リンク用
============================ */

.link--external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link--external svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ============================
   Text Utility Classes
   （span / inline用）
============================ */

/* ---------- Font Size ---------- */
.fs-10 {
  font-size: 10px;
}
.fs-11 {
  font-size: 11px;
}
.fs-12 {
  font-size: 12px;
}
.fs-13 {
  font-size: 13px;
}
.fs-14 {
  font-size: 14px;
}
.fs-15 {
  font-size: 15px;
}
.fs-16 {
  font-size: 16px;
}
.fs-18 {
  font-size: 18px;
}
.fs-20 {
  font-size: 20px;
}
.fs-24 {
  font-size: 24px;
}

/* ---------- Font Weight ---------- */
.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}

/* ---------- Letter Spacing ---------- */
.ls-0 {
  letter-spacing: 0;
}
.ls-02 {
  letter-spacing: 0.02em;
}
.ls-04 {
  letter-spacing: 0.04em;
}
.ls-06 {
  letter-spacing: 0.06em;
}
.ls-08 {
  letter-spacing: 0.08em;
}
.ls-10 {
  letter-spacing: 0.1em;
}

/* ---------- Line Height ---------- */
.lh-10 {
  line-height: 1;
}
.lh-12 {
  line-height: 1.2;
}
.lh-14 {
  line-height: 1.4;
}
.lh-16 {
  line-height: 1.6;
}
.lh-18 {
  line-height: 1.8;
}

/* ---------- Color ---------- */
.tc-main {
  color: var(--main);
}
.tc-base {
  color: var(--base);
}
.tc-sub {
  color: var(--sub);
}
.tc-sub2 {
  color: var(--sub2);
}

/* ---------- Font Family ---------- */
.ff-jp {
  font-family: var(--jp-font);
}
.ff-en {
  font-family: var(--en-font);
}

/* ---------- Text Style ---------- */
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.underline {
  text-decoration: underline;
}
.no-wrap {
  white-space: nowrap;
}

/*  */
.center {
  text-align: center;
}
