:root {
  --font-family-base: "Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic","Hiragino Sans","Helvetica Neue",Arial,Meiryo,sans-serif;
}

:root {
  --MainWhite: #fff;
  --MainBlack: #222222;
  --MainGray: #b7bcbc;
  --base-font-size: 16;
  --min-width-default: 320px;
  --max-width-default: 1920px;
  --min-width-md: 769px;
}



.en {

}


html {
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  font-feature-settings: "palt";
  overflow-x: hidden;
  -webkit-appearance: none;
  background: var(--MainWhite);
  font-size: 62.5%;
  letter-spacing: .05em;
}
body {
  font-family: var(--font-family-base);
  font-weight: 400;
  color: var(--MainBlack); 
  line-height: 2;
  background: url(../../img/bg-light.png) repeat;
  /* bodyにデフォルト値を設定する */
  --clamp-viewport-min: 375;
  --clamp-viewport-max: 1200;
  --clamp-min: 14;
  --clamp-max: 16;
}

*,
::before,
::after {
  --clamp-root-font-size: 10;
  --clamp-slope: calc(
    (var(--clamp-max) - var(--clamp-min)) /
      (var(--clamp-viewport-max) - var(--clamp-viewport-min))
  );
  --clamp-y-axis-intersection: calc(
    var(--clamp-min) - (var(--clamp-slope) * var(--clamp-viewport-min))
  );
  --clamp-preffered-value: calc(
    var(--clamp-y-axis-intersection) * (1rem / var(--clamp-root-font-size)) +
      (var(--clamp-slope) * 100vi)
  );
  --clamp: clamp(
    calc(var(--clamp-min) * (1rem / var(--clamp-root-font-size))),
    var(--clamp-preffered-value),
    calc(var(--clamp-max) * (1rem / var(--clamp-root-font-size)))
  );

  font-size: var(--clamp);
}
main {
  flex: 1;
}
body {
  overflow-x: hidden;
}
a,
button {
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  &::before,
  &::after {
    transition: all 0.5s ease-in-out;
  }
  &:hover {
     opacity: 0.6;
     transition: all 0.5s ease-in-out;
    &::before,
    &::after {
      transition: all 0.5s ease-in-out;
    }
  }
}
section {
  padding: 110px 0 70px 0;
}
@media (width >= 769px) {
  section {
    padding: 178px 0;
  }
}
/* フォント周り
------------------------------------------------------------*/

/* Font sizes */
.fz-14 {
  font-size: 14px;
  font-size: 1.4rem;
}

.fz-18 {
  font-size: 18px;
  font-size: 1.8rem;
}

.fz-20 {
  font-size: 20px;
  font-size: 2rem;
}

/* Important versions */
.fz-14-important {
  font-size: 14px !important;
  font-size: 1.4rem !important;
}

.fz-18-important {
  font-size: 18px !important;
  font-size: 1.8rem !important;
}

/* Font family */
.EBGaramond {
  font-family: "EB Garamond", serif;
}

/* Transition */
.transition {
  transition: all 0.5s ease-in-out;
}

/* Responsive sizes */
/* 14px から 20px */
.res-size-14-20 {
  font-size: clamp(
    14px,
    calc(14px + (20 - 14) * ((100vw - 320px) / (1920 - 320))),
    20px
  );
}

/* 16px から 24px */
.res-size-16-24 {
  font-size: clamp(
    16px,
    calc(16px + (24 - 16) * ((100vw - 320px) / (1920 - 320))),
    24px
  );
}

/* 18px から 28px */
.res-size-18-28 {
  font-size: clamp(
    18px,
    calc(18px + (28 - 18) * ((100vw - 320px) / (1920 - 320))),
    28px
  );
}

/* 20px から 32px */
.res-size-20-32 {
  font-size: clamp(
    20px,
    calc(20px + (32 - 20) * ((100vw - 320px) / (1920 - 320))),
    32px
  );
}

/* 24px から 36px */
.res-size-24-36 {
  font-size: clamp(
    24px,
    calc(24px + (36 - 24) * ((100vw - 320px) / (1920 - 320))),
    36px
  );
}

/* 28px から 42px */
.res-size-28-42 {
  font-size: clamp(
    28px,
    calc(28px + (42 - 28) * ((100vw - 320px) / (1920 - 320))),
    42px
  );
}

/* 32px から 48px */
.res-size-32-48 {
  font-size: clamp(
    32px,
    calc(32px + (48 - 32) * ((100vw - 320px) / (1920 - 320))),
    48px
  );
} /* 36px から 54px */
.res-size-36-54 {
  font-size: clamp(
    36px,
    calc(36px + (54 - 36) * ((100vw - 320px) / (1920 - 320))),
    54px
  );
}
/* 40px から 60px */
.res-size-40-60 {
  font-size: clamp(
    40px,
    calc(40px + (60 - 40) * ((100vw - 320px) / (1920 - 320))),
    60px
  );
}

/* 48px から 72px */
.res-size-48-72 {
  font-size: clamp(
    48px,
    calc(48px + (72 - 48) * ((100vw - 320px) / (1920 - 320))),
    72px
  );
}

/* コンテナの共通スタイル */
.l-container-s,
.l-container-mm,
.l-container-m,
.l-container,
.l-container-l {
  margin: 0 auto;
}

/* 幅70%のコンテナ */
.l-container-s {
  width: 70%;
  max-width: var(--width-content-s);
}

/* 幅80%のコンテナ */
.l-container-mm,
.l-container-m {
  width: 80%;
  max-width: var(--width-content);
}

/* 幅80%のコンテナ */
.l-container,
.l-container-l {
  width: 90%;
}

/* 特定の最大幅を持つコンテナ */
.l-container {
  /* max-width: var(--width-content-m); */
  max-width: 1443px;
  margin: auto;
}

.l-container-l {
  max-width: var(--width-content-l);
}

/* サムネイルデフォルト
------------------------------------------------------------*/
.thumbnail {
  span {
    display: block;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* レイアウトまわり
------------------------------------------------------------*/
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
  gap: 20px;
}

@media (width >= 769px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 3fr));
  }
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-reverse {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row-reverse;
}

@media (width >= 576px) {
  .flex-reverse {
    display: flex;
    justify-content: flex-end;
  }
}

.flex-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: column;
}

.flex-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* レスポンシブまわり
------------------------------------------------------------*/
.sp-none {
  display: none;
}
@media (width >= 769px) {
  .sp-none {
    display: block;
  }
}
.pc-none {
  display: block;
}
@media (width >= 769px) {
  .pc-none {
    display: none;
  }
}

/* カラーまわり
------------------------------------------------------------*/
.fontWhite {
  color: var(--MainWhite);
}
.bgBlack {
  background-color: var(--mainBlack);
}
.bgGray {
  background-color: var(--mainGray);
}
.bgWhite {
  background-color: var(--mainWhite);
}

/* テキストまわり
------------------------------------------------------------*/
.fwb {
  font-weight: 600;
}
.fwm {
  font-weight: 500;
}
.tac {
  text-align: center;
}
.tal {
  text-align: left;
}
.tar {
  text-align: right;
}

/*----------------------------
scroll section ｜
----------------------------*/
/* フェードインの初期状態 */
.js-fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s, transform 2s;
}

/* 画面内に入ったときに付与されるクラス */
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*----------------------------
scroll 画像 ｜
----------------------------*/

.img-path-Right {
  --inset-top: 0;
  --inset-right: 0;
  --inset-bottom: 0;
  --inset-left: 100%;
  clip-path: inset(
    var(--inset-top) var(--inset-right) var(--inset-bottom) var(--inset-left)
  );
  transition: 0.6s ease-in;
  &.is-visible {
    --inset-left: 0;
  }
}

.img-path-Left {
  --inset-top: 0;
  --inset-right: 100%;
  --inset-bottom: 0;
  --inset-left: 0%;
  clip-path: inset(
    var(--inset-top) var(--inset-right) var(--inset-bottom) var(--inset-left)
  );
  transition: 0.6s ease-in;
  &.is-visible {
    --inset-right: 0;
  }
}
.img-path-Top {
  --inset-top: 100%;
  --inset-right: 0;
  --inset-bottom: 0;
  --inset-left: 0%;
  clip-path: inset(
    var(--inset-top) var(--inset-right) var(--inset-bottom) var(--inset-left)
  );
  transition: 0.6s ease-in;
  &.is-visible {
    --inset-top: 0;
  }
}

.img-path-Bottom {
  --inset-top: 0;
  --inset-right: 0;
  --inset-bottom: 100%;
  --inset-left: 0;
  clip-path: inset(
    var(--inset-top) var(--inset-right) var(--inset-bottom) var(--inset-left)
  );
  transition: 0.6s ease-in;
  &.is-visible {
    --inset-bottom: 0;
  }
}

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

img {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: auto;
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dt,
dd,
table,
th,
td,
span {
  line-height: 1.8;
}


/*----------------------------
Ttl ｜
----------------------------*/
.modSecTtl{
  &:after{
    content:"";
  }
}

/*----------------------------
Box ｜
----------------------------*/
.modBox{
}

/*----------------------------
btn ｜
----------------------------*/
.modBtn{
  a{
    background: #000;
    color: #fff;
    font-size: 16px;
    display: block;
    max-width: 361px;
    text-align: center;
    padding: 18px 0;
    margin: auto;
    letter-spacing: .05em;
  }
}
@media (width >= 769px) {
  .modBtn{
    a{
      max-width: 645px;
      padding: 14px 0;
      font-size: 26px;
    }
  }
}

/*----------------------------
img ｜
----------------------------*/
.img-scale{
  overflow:hidden;
  transition:1s all;
}
.img-scale:hover {
  color:#000;
  transition:1s all;
}
.img-scale .bg img{
  transition:1s all;
}
.img-scale:hover .bg img{
  transform:scale(1.1,1.1);
  transition:1s all;
}

/*----------------------------
form ｜
----------------------------*/
input,select,textarea{
  cursor: pointer;
}