@charset "utf-8";

/* ============================================
   common_sp.css
   STYLE FREE AIサイト(/ai/)スマホ用共通変数・共通レイアウト
   ============================================ */
/* ============ 変数宣言 ============ */
:root {
  --header-height: calc((50 / 390) * 100vw);

  /* font-family */
  --ff-noto-sans: "Noto Sans JP", sans-serif;
  --ff-inter: "Inter", sans-serif;

  /* タイトルサイズ */
  --fz-h1: calc((38 / 390) * 100vw);
  --fz-h2: calc((32 / 390) * 100vw);
  --fz-h3: calc((28 / 390) * 100vw);
  --fz-h4: calc((24 / 390) * 100vw);
  --fz-h5: calc((23 / 390) * 100vw);
  --fz-h6: calc((22 / 390) * 100vw);

  /* フォントサイズ */
  --fz-large: calc((20 / 390) * 100vw);
  --fz-medium: calc((18 / 390) * 100vw);
  --fz-base: calc((16 / 390) * 100vw);
  --fz-small: calc((14 / 390) * 100vw);
  --fz-tiny: calc((12 / 390) * 100vw);

  /* 余白 */
  --sp-1: calc((8 / 390) * 100vw);
  --sp-2: calc(var(--sp-1) * 2);
  --sp-3: calc(var(--sp-1) * 3);
  --sp-4: calc(var(--sp-1) * 4);
  --sp-5: calc(var(--sp-1) * 5);
  --sp-6: calc(var(--sp-1) * 6);
  --sp-7: calc(var(--sp-1) * 7);
  --sp-8: calc(var(--sp-1) * 8);
  --sp-9: calc(var(--sp-1) * 9);
  --sp-10: calc(var(--sp-1) * 10);
  --sp-05: calc(var(--sp-1) * 0.5);

  /* font-weight */
  --fw-black: 900;
  --fw-bold: 700;
  --fw-semibold: 600;
  --fw-medium: 500;
  --fw-regular: 400;
  --fw-light: 300;
  --fw-thin: 200;
  --fw-ultralight: 100;

  --lh-default: 1.5;

  /* color */
  --clr-main: #0e549b;
  --clr-main2: #dce9f5;
  --clr-main3: #102a60;
  --clr-sub: #e6edf3;
  --clr-accent: #e76d26;
  --clr-accent2: #d65a11;
  --clr-bg: #fbf9f8;
  --clr-text: #0d1117;
  --clr-text2: #222222;
  --clr-text3: #62748e;
  --clr-border: #aaaaaa;
  --clr-border2: #d8d8d8;
  --clr-white: #ffffff;
  --clr-black: #000000;
  --clr-gradient: 105deg, #4a48ab, #9c67bb, #d17bc5, #ffc2c3;

  /* コンテンツ幅 */
  --layout-xl: 1920px;
  --layout-ll: 1440px;
  --layout-l: 1200px;
  --layout-m: 1080px;
  --layout-s: 760px;

  --z-index-base: 1;
  --z-index-visual: 80;
  --z-index-drawer: 90;
  --z-index-header: 100;

  --transition: all 0.3s;
  --scroll-padding-top: var(--header-height);
}

/* ============ style ============ */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: border-box;

  /* outline: 1px solid #ff0000 !important; */
  /* background-color: #ff00001a !important; */
}

html,
body {
  overflow-x: hidden;
  scroll-padding-top: var(--scroll-padding-top);
  /* scroll-behavior: smooth; */
}

body {
  min-width: 375px;
  margin: 0 auto;
  word-break: break-all;
  color: var(--clr-text);
  font-family: var(--ff-noto-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fz-base);
  line-height: var(--lh-default);
}


a[href^="tel:"] {
  pointer-events: none;
}

a {
  display: block;
  color: inherit;
  transition: var(--transition);

  &:hover {
    opacity: 0.5;
  }
}

img,
picture,
svg,
video {
  display: block;
  font-style: italic;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

select,
textarea,
input:not(.p-postal-code, .submit) {
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
}

select::placeholder,
textarea::placeholder,
input:not(.p-postal-code, .submit)::placeholder {
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: var(--sp-10);
}

select {
  cursor: pointer;
  appearance: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

h1 {
  font-size: var(--fz-h1);
}

h2 {
  font-size: var(--fz-h2);
}

h3 {
  font-size: var(--fz-h3);
}

h4 {
  font-size: var(--fz-h4);
}

h5 {
  font-size: var(--fz-h5);
}

h6 {
  font-size: var(--fz-h6);
}

p,
li,
figcaption {
  text-wrap: pretty;
}

/* -------------------------------------------------------------------------- */
[class*="__wrapper-xl"],
[class*="__wrapper-l"],
[class*="__wrapper-ll"],
[class*="__wrapper-m"],
[class*="__wrapper-s"] {
  width: 100%;
  margin-inline: auto;
}

.pc {
  display: none !important;
  visibility: visible !important;
}

.sp {
  display: inline !important;
  visibility: visible !important;
}
