/**
 * 共通css
 */

/**
 * フォント
 */
/* @import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap"); */
/* font-family: "Noto Serif JP", serif; */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
/* font-family: "Noto Sans JP", sans-serif; */
/* @import url("https://fonts.googleapis.com/css2?family=Staatliches&display=swap"); */
/* font-family: "Staatliches", sans-serif; */
/* @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap'); */
/* font-family: "Oswald", sans-serif; */

/*
 * カラー
 */
:root {

  /* アニメーション */
  --transition-duration: 0.32s;

  /* hover時 透明度 */
  --hover-opacity: 0.64;

  /* 色 */
  --color-white: #ffffff;
  --color-black: #121212;
  --color-light-gold: #f9f9f6;
  --color-light-gray: #f2f2f2;
  --color-dark-gray: #606060;
  --color-background: #ffffff;

  /* テキスト色 */
  --text-black: #231815;
  --text-white: #ffffff;
  --text-green: #72BA43;

  --padding-inline: 16px;
  --column-gap: 4px;
  --row-gap: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  color: var(--text-black);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 0.719rem + 1.125vw, 1.563rem);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.sp-only {
  @media screen and (min-width:769px) {
    display: none;
  }
}
.tb-only {
  @media screen and (min-width:961px) {
    display: none;
  }
}
.pc-only {
  @media screen and (max-width:768px) {
    display: none;
  }
}

/* 余白 */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* フォント */
 .text-bold { font-weight: bold; }

/* 文字揃え */
.texr-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }


/* ページの幅 */
.contents-full {
  padding-inline: 16px;
  @media screen and (min-width: 769px) {
    padding-inline: 48px;
  }
}
.contents-wide {
  position: relative;
  margin-inline: auto;
  padding-inline: 16px;
  width: 100%;
  max-width: 1700px;
  @media screen and (min-width: 769px) {
    padding-inline: 32px;
  }
}
.contents-width {
  margin-inline: auto;
  padding-inline: 16px;
  width: 100%;
  max-width: 1450px;
  @media screen and (min-width: 769px) {
    padding-inline: 32px;
  }
}

section {
  position: relative;
}

a {
  text-decoration: none;
  transition: opacity var(--transition-duration);
  &:hover {
    opacity: var(--hover-opacity);
  }
}

h2 {
  margin: 0 auto;
  font-size: clamp(1.25rem, 0.625rem + 2.5vw, 2.5rem);
  font-weight: 700;
}



/* フッター */
footer {
  padding-bottom: 2%;
  .contact-wrap {
    margin-bottom: 4%;
    @media screen and (min-width:768px) {
      display: grid;
      grid-template-columns: 0.6fr 0.4fr;
      align-items: flex-end;
    }
  }
  h2 {
    margin-bottom: 4%;
  }
  .tel {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto 24px auto;
    padding: 0;
    @media screen and (min-width:768px) {
      margin: 0 auto;
    }
    dt {
      margin: 0 auto;
      font-size: clamp(0.625rem, 0.25rem + 1.5vw, 1.375rem);
      line-height: 1.0;
      span {
        display: inline-block;
        padding: 10% 40%;
        border: 1px solid var(--text-black);
      }
    }
    dd {
      margin: 0 auto;
      padding: 0;
      font-size: clamp(1.125rem, 0.656rem + 1.875vw, 2.063rem);
    }
  }
  .copy {
    text-align: right;
  }
  .footer-char {
    margin: 0 auto;
    width: 96%;
    @media screen and (min-width:768px) {
      width: 72%;
    }
  }
}

/* 黒右三角 */
.triangle-right-black {
  position: relative;
  padding-right: 23px;
  &::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 18px;
    background-image: url(../../images/triangle_right_black.svg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
  }
}