@charset "utf-8";

/* ==========================================================================
   cp-base.css — リセット CSS + ベーススタイル
   ========================================================================== */

/* --------------------------------------------------------------------------
   Box Sizing
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-height: 0;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   HTML / Body
   -------------------------------------------------------------------------- */

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--cp-font-base);
  font-weight: 400;
  font-size: var(--cp-font-size-base);
  color: var(--cp-color-text);
  line-height: var(--cp-line-height-body);
  letter-spacing: var(--cp-letter-spacing);
  font-feature-settings: "palt" 1;
  /* background-color: var(--cp-color-bg); */
  overflow-x: clip;
  width: 100%;
  position: relative;
  z-index: var(--cp-z-base);
}

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  font-size: 100%;
  margin: 0;
  line-height: var(--cp-line-height-heading);
}

/* --------------------------------------------------------------------------
   Paragraph
   -------------------------------------------------------------------------- */

p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
  text-decoration: none;
  outline: none;
  word-wrap: break-word;
  color: var(--cp-color-text);
  transition: var(--cp-transition-slow);
}

a:visited {
  color: var(--cp-color-text);
}

a:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   Semantic Elements（display: block 保証）
   -------------------------------------------------------------------------- */

article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

/* --------------------------------------------------------------------------
   Iframe
   -------------------------------------------------------------------------- */

iframe {
  vertical-align: bottom;
}

/* --------------------------------------------------------------------------
   Strong
   -------------------------------------------------------------------------- */

strong {
  font-weight: inherit;
}

/* --------------------------------------------------------------------------
   .cp-inner — コンテナクラス
   -------------------------------------------------------------------------- */

.cp-inner {
  width: var(--cp-layout-inner-width-pc);
  max-width: var(--cp-layout-max-width);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   .cp-pc / .cp-sp — 表示切替ユーティリティ
   -------------------------------------------------------------------------- */

.cp-sp {
  display: none;
}

.cp-pc {
  display: block;
}

/* --------------------------------------------------------------------------
   スクロールバー非表示ユーティリティ
   -------------------------------------------------------------------------- */

.cp-no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cp-no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   メディアクエリ — モバイル（767px以下）
   ========================================================================== */

@media screen and (max-width: 767px) {

  /* body */
  body {
    line-height: var(--cp-line-height-body-sp);
  }

  /* .cp-inner */
  .cp-inner {
    width: var(--cp-layout-inner-width-sp);
  }

  /* 表示切替 */
  .cp-pc {
    display: none;
  }

  .cp-sp {
    display: block;
  }

}
