@charset "UTF-8";

/*==============================
    color utility
==============================*/
:root {
 /* color */
 --color-black: #111111;
 --color-white: #ffffff;
 --color-gray: #7d7d7d;
 --color-lightgray: #dcdcdc;
 --color-red: #e06c75;
 --color-red-dark: #b04150;
 --color-blue: #61afef;
 --color-blue-dark: #2b6cb0;
 --color-yellow: #e5c07b;
 --color-yellow-dark: #bfa15f;
 --color-green: #98c379;
 --color-green-dark: #6fa061;
 --color-purple: #c678dd;
 --color-purple-dark: #9f5fb5;
 --color-orange: #d19a66;
 --color-teal: #56b6c2;
 --color-pink: #ff7eb6;
 /* space */
 --space-1: 16px;
 --space-2: 24px;
 --space-3: 32px;
 --space-4: 40px;
 --space-5: 80px;
}

@media (max-width: 767px) {
 :root {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
 }
}

/* ========================
     margin utility
  ======================== */
.mt {
 margin-top: var(--space);
}
.mb {
 margin-bottom: var(--space);
}

/* space utility: sets --space */
.space-1 {
 --space: var(--space-1);
}
.space-2 {
 --space: var(--space-2);
}
.space-3 {
 --space: var(--space-3);
}
.space-4 {
 --space: var(--space-4);
}
.space-5 {
 --space: var(--space-5);
}

.mg-auto {
 margin: 0 auto;
}

/* ========================
     wrap width
  ======================== */
:root {
 --wrap-width: 768px;
 --wrap-max: 90%;
}

@media (min-width: 768px) {
 :root {
  --wrap-width: 1024px;
  --wrap-max: 93%;
 }
}
/*
@media (min-width: 1440px) {
  :root {
    --wrap-width: 1280px;
    --wrap-max: 96%;
  }
}
*/
.wrap {
 width: var(--wrap-width);
 max-width: var(--wrap-max);
 margin: 0 auto;
}

/* ========================
     font & text utility
  ======================== */

:root {
 /* ベース */
 --font-size-base: clamp(14px, 1.5vw, 16px);

 /* 見出しスケール */
 --font-size-h1: clamp(2.5rem, 5vw, 3.5rem); /* 40px〜56px */
 --font-size-h2: clamp(2rem, 4vw, 2.75rem); /* 32px〜44px */
 --font-size-h3: clamp(1.5rem, 3vw, 2rem); /* 24px〜32px */
 --font-size-h4: clamp(1.25rem, 2vw, 1.5rem); /* 20px〜24px */
 --font-size-h5: clamp(1.125rem, 1.8vw, 1.25rem); /* 18px〜20px */
 --font-size-h6: clamp(1rem, 1.5vw, 1.125rem); /* 16px〜18px */

 /* 行間 */
 --line-height-base: 1.7;
 --line-height-heading: 1.3;
}

/* ========================
     Headings
  ======================== */
h1 {
 font-size: var(--font-size-h1);
 line-height: var(--line-height-heading);
 font-weight: 700;
 margin-bottom: 1em;
}
h2 {
 font-size: var(--font-size-h2);
 line-height: var(--line-height-heading);
 font-weight: 700;
 margin-bottom: 0.75em;
}
h3 {
 font-size: var(--font-size-h3);
 line-height: var(--line-height-heading);
 font-weight: 600;
 margin-bottom: 0.75em;
}
h4 {
 font-size: var(--font-size-h4);
 line-height: var(--line-height-heading);
 font-weight: 600;
}
h5 {
 font-size: var(--font-size-h5);
 line-height: var(--line-height-heading);
 font-weight: 500;
}
h6 {
 font-size: var(--font-size-h6);
 line-height: var(--line-height-heading);
 font-weight: 500;
}

/* ========================
     Paragraph & Lists
  ======================== */
p,
ul,
ol,
dl {
 font-size: var(--font-size-base);
 line-height: var(--line-height-base);
 margin-bottom: 1em;
}

ul,
ol {
 padding-left: 1em;
}

.font-s {
 font-size: 0.8rem;
}

.font-m {
 font-size: 1rem;
}

.font-l {
 font-size: 1.6rem;
}

.text-al-l {
 text-align: left;
}

.text-al-c {
 text-align: center;
}

.text-al-r {
 text-align: right;
}

.fw100 {
 font-weight: 100;
}

.fw200 {
 font-weight: 200;
}

.fw300 {
 font-weight: 300;
}

.fw400 {
 font-weight: 400;
}

.fw500 {
 font-weight: 500;
}

.fw600 {
 font-weight: 600;
}

.fw700 {
 font-weight: 700;
}

.fw800 {
 font-weight: 800;
}

.fw900 {
 font-weight: 900;
}

.u {
 padding: 2px;
 border-bottom: 1px solid;
}

/* ========================
     display utility
  ======================== */

.block {
 display: block;
}

.flex {
 display: flex;
}

.fd-column {
 flex-direction: column;
}

.fd-column-r {
 flex-direction: column-reverse;
}

.fd-reverse {
 flex-direction: row-reverse;
}

.jc-center {
 justify-content: center;
}

.jc-start {
 justify-content: flex-start;
}

.jc-end {
 justify-content: flex-end;
}

.jc-sa {
 justify-content: space-around;
}

.jc-sb {
 justify-content: space-between;
}

.ai-center {
 align-items: center;
}

.ai-start {
 align-items: flex-start;
}

.ai-end {
 align-items: flex-end;
}

.ai-baseline {
 align-items: baseline;
}

.gap8 {
 gap: 8px;
}

.gap16 {
 gap: 16px;
}

.gap24 {
 gap: 24px;
}

.gap32 {
 gap: 32px;
}

.gap40 {
 gap: 40px;
}

.fw-wrap {
 flex-wrap: wrap;
}

/* ========================
     animation
  ======================== */

.fadein {
 opacity: 0.1;
 -webkit-transform: translate(0, 10px);
 transform: translate(0, 50px);
 -webkit-transition: 0.9s;
 transition: 0.8s;
}

.fadein.scrollin {
 opacity: 1;
 -webkit-transform: translate(0, 0);
 transform: translate(0, 0);
}

/*==============================
    基本設定 / 共通項目
==============================*/

html {
 scroll-behavior: smooth;
}

body {
 font-size: var(--font-size-base);
 line-height: var(--line-height-base);
 overflow-x: hidden;
 scroll-behavior: smooth;
 font-optical-sizing: auto;
 font-style: normal;
 font-weight: 600;
}

ul {
 list-style: none;
 margin: 0;
 padding: 0;
}

a {
 margin: 0;
 padding: 0;
 font-size: 1rem;
 text-decoration: none;
 transition: 0.3s;
}

picture {
  display: block;
  line-height: 0;
}

img {
 display: block;
 max-width: 100%;
 height: auto;
 margin: auto;
}

a img:hover {
 cursor: pointer;
}

input:hover,
select:hover,
button:hover {
 cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
 font-weight: normal;
 margin: 0;
 padding: 0;
}

table {
 margin: auto;
 width: 800px;
 max-width: 100%;
}

th,
td {
 font-weight: normal;
 text-align: left;
}

input,
button,
select,
textarea {
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
 background: transparent;
 border: none;
 border-radius: 0;
 font: nherit;
 outline: none;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
 max-width: 100%;
}

textarea {
 resize: vertical;
}

input[type="submit"],
input[type="button"],
label,
button,
select {
 cursor: pointer;
}

input:hover {
 cursor: unset;
}

iframe {
  max-width: 100%;
}

/* ========================
     responsive
  ======================== */

@media screen and (min-width: 821px) {
 .sp {
  display: none;
 }
}

@media screen and (max-width: 820px) {
 .pc {
  display: none;
 }
 .sp_column {
  flex-direction: column;
 }
}
