@charset "UTF-8";

/* 全体
--------------------------------------------- */

html {
  box-sizing: border-box;
}

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

body {
  line-height: 1.4;
  text-align: center;
  position: relative;
  color: #000;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  font-size: clamp(0.875rem, 0.775rem + 0.4vw, 1rem);
}


/* リンク
--------------------------------------------- */

a {
  text-decoration: none;
  background-color: transparent;
  transition: 500ms;
  color: #000;
  cursor: pointer;
}

.post,
.page {
  margin: 0;
}

a:active,
a:visited,
a:focus,
a:hover {
  color: #000;
  transition: 0.25s;
}

.link_w,
.link_w a {
  color: #fff;
}

.link_w:hover,
.link_w:focus,
.link_w:active,
.link_w:visited,
.link_w a:hover,
.link_w a:focus,
.link_w a:active,
.link_w a:visited {
  color: #fff;
}


/* 見出し・テキスト
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  clear: both;
  margin: 0;
  font-weight: normal;
}

p,
dl,
dd,
dt {
  padding: 0;
  margin: 0;
}

p {
  vertical-align: baseline;
}

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


/* 画像
--------------------------------------------- */

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

figure,
picture {
  margin: 0;
}

picture {
  display: block;
}


/* 共通
--------------------------------------------- */

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

.pc {
  display: block;
}

.sp {
  display: none;
}

.underline {
  text-decoration: underline;
}

.underline:hover {
  text-decoration: none;
}

/* 外部リンクのアイコン（文字の後ろに表示。色は文字色に合わせる） */
.ico_ext::after {
  content: "";
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.35em;
  vertical-align: -0.02em;
  background-color: currentColor;
  -webkit-mask: url(../img/common/ico_common_external.svg) no-repeat center / contain;
  mask: url(../img/common/ico_common_external.svg) no-repeat center / contain;
}

.bold {
  font-weight: 700;
}


/* スマートフォン
--------------------------------------------- */

@media screen and (max-width: 640px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }
}