@charset "UTF-8";

/*---------------------------------
  Reset
---------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
dl,
dd {
  margin: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

picture {
  display: block;
}

img {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  appearance: none;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/*---------------------------------
  Design Tokens

  PC Design Width : 1920px
  SP Design Width : 375px
  Content Width   : 1040px
---------------------------------*/
:root {
  --ipc-pc-base: 1920;
  --ipc-sp-base: 375;

  --ipc-color-text: #000000;
  --ipc-color-primary: #00d2ff;
  --ipc-color-primary-dark: #00a8cc;
  --ipc-color-gray: #808080;
  --ipc-color-bg: #ffffff;
  --ipc-color-border: rgba(0, 0, 0, 0.14);

  --ipc-font-sans: "Noto Sans JP", sans-serif;

  --ipc-inner: 1360px;
  --ipc-header-height: 80px;

  /* カンプの基準幅を超えた際に、文字や余白が無制限に拡大しないよう上限を設けます。 */
  --ipc-pc: clamp(0.75px, calc(100vw / var(--ipc-pc-base)), 1px);
  --ipc-sp: min(calc(100vw / var(--ipc-pc-base)), 1px);

  --ipc-duration-fast: 0.3s;
  --ipc-duration-base: 0.6s;
  --ipc-duration-slow: 1s;

  /* サイト共通のhoverモーション */
  --ipc-hover-text-duration: 0.3s;
  --ipc-hover-button-duration: 0.3s;
  --ipc-hover-thumbnail-duration: 0.55s;
  --ipc-hover-ease: ease;
  --ipc-hover-thumbnail-ease: var(--ipc-ease-out);
  --ipc-hover-thumbnail-scale: 1.035;

  --ipc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ipc-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media screen and (max-width: 1024px) {
  :root {
    --ipc-header-height: 72px;
    --ipc-sp: clamp(
      calc(320px / var(--ipc-sp-base)),
      calc(100vw / var(--ipc-sp-base)),
      1px
    );
  }
}

/*---------------------------------
  Base
---------------------------------*/
body {
  min-width: 320px;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.ipc {
  color: var(--ipc-color-text);
  background: var(--ipc-color-bg);
  font-family: var(--ipc-font-sans);
  font-size: clamp(0.875rem, calc(16 * var(--ipc-pc)), 1rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

p,
li,
dt,
dd,
th,
td,
span,
a {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  body.ipc {
    font-size: clamp(
      0.875rem,
      calc(0.75rem + 0.8vw),
      0.9375rem
    );
  }
}

/*---------------------------------
  Utilities
---------------------------------*/
.only-pc {
  display: block;
}

.only-sp {
  display: none;
}

.txt-left {
  text-align: left;
}

.txt-center {
  text-align: center;
}

.pcno-break::before {
  content: "";
  white-space: pre;
}

.spno-break::before {
  content: "\A";
  white-space: pre;
}

@media screen and (max-width: 1024px) {
  .only-pc {
    display: none !important;
  }

  .only-sp {
    display: block !important;
  }

  .pcno-break::before {
    content: "\A";
  }

  .spno-break::before {
    content: "";
  }
}

/*---------------------------------
  Reduced Motion
---------------------------------*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
