@charset "utf-8";

/* css Document
*****************************************************************/
@import "_variable.css";

/* 全ページ共通 スタイル
*****************************************************************/

body{
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}

.pconly{
  @media (width < 810px) {
    display: none;
  }
}
.sponly{
  display: none;
  @media (width < 810px) {
    display: block;
  }
}
.portraitonly{
  display: none;
  @media (width < 500px) {
    display: block;
  }
}
.portraitnone{
  @media (width < 500px) {
    display: none;
  }
}
.tabonly{
  display: none;
  @media (width < 1025px){
    display: block;
  }
}
.tabnone{
  @media (width < 1025px){
    display: none;
  }
}

.mt0{
  margin-top: 0!important;
}
.mt10{
	margin-top: 10px!important;
  @media (width < 810px) {
    margin-top: 8px!important;
  }
}
.mt16{
  margin-top: 16px!important;
  @media (width < 810px) {
    margin-top: 12px!important;
  }
}
.mt24{
	margin-top: 24px!important;
  @media (width < 810px) {
    margin-top: 16px!important;
  }
}
.mt32{
  margin-top: 32px!important;
  @media (width < 810px) {
    margin-top: 20px!important;
  }
}
.mt40{
  margin-top: 40px!important;
  @media (width < 810px) {
    margin-top: 24px!important;
  }
}

small {
  font-size: 80%;
}

.span_br{
	display: inline-block;
}

.width{
  container-type: inline-size;
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
  @media (width < 810px) {
    width: 88%;
  }
}

.w1600{
  container-type: inline-size;
  width: 90%;
  max-width: 1600px;
  margin-inline: auto;
  @media (width < 810px) {
    width: 88%;
  }
}

.w1800{
  container-type: inline-size;
  width: 90%;
  max-width: 1800px;
  margin-inline: auto;
  @media (width < 810px) {
    width: 88%;
  }
}


/* 既存CSS書き換え
*****************************************************************/
.info-area{
  .info-btn2{
    font-size: 100%;
  }
}

.notes-in{
  font-weight: 400;
}

#foot-nav{
  ul{
    li{
      &:first-of-type{
        a{
          @media (width < 1170px) {
            background: linear-gradient(90deg, #C7161E 0%, #C8161F 100%);
          }
        }
      }
    }
  }
}

#pagetop{
  opacity: 1;
  @media (width < 810px) {
    bottom: 100px;
  }
  @media (width < 500px) {
    bottom: 80px;
  }
	a{
    width: 40px;
    height: 40px;
		background: transparent;
    border-radius: 0;
    @media (width < 500px) {
      width: 32px;
      height: 32px;
    }
    &::after{
      content: none;
    }
	}
  img{
    width: 40px;
    @media (width < 500px) {
      width: 32px;
    }
  }
}


/* common
*****************************************************************/


/* second
*****************************************************************/
.second-main{
  padding: 24px 0 20px;
  background: var(--point_c);
  color: #fff;
  @media (width < 810px) {
    padding: 20px 0 16px;
  }
}
.second-main__en{
  font-family: var(--font_eb);
  font-size: clamp(32px, -17.846px + 6.154vw, 56px);/*56~32(1200~810)*/
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  transform: scale(1, 1.15);
}
.second-main__ttl{
  font-family: var(--font_min);
  font-size: clamp(16px, 7.692px + 1.026vw, 20px);/*20~16(1200~810)*/
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-top: 0.4em;
}

.second-comments{
  text-align: left;
  padding-block: 24px;
  background: #efefef;
  font-size: clamp(0.75rem, 0.490rem + 0.513vw, 0.875rem);/*14~12(1200~810)*/
  font-weight: 400;
  @media (width < 810px) {
    padding-block: 16px;
  }
  &.--white{
    background: #fff;
  }
  .--indent{
    text-indent: -1em;
    padding-left: 1em;
  }
}
.second-comments__wrap{
  >*{
    &:first-child{
      margin-top: 0;
    }
  }
}
.second-comments__txt{
  font-family: var(--font_min);
  font-weight: 500;
}
.second-comments__stxt{
  font-family: var(--font_min);
  font-size: clamp(0.625rem, 0.365rem + 0.513vw, 0.75rem);/*12~10(1200~810)*/
  font-weight: 500;
}
.second-comments__note{
  margin-top: 10px;
  @media (width < 810px) {
    margin-top: 8px;
  }
}