@charset "utf-8";

/* ----------------------------------------
	共通css
---------------------------------------- */
/* fonts */
@font-face {
  font-family: "Noto Serif JP";
  src: url("../fonts/NotoSerifJP-VariableFont_wght.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ZCOOL XiaoWei";
  src: url("../fonts/ZCOOLXiaoWei-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/ZenKakuGothicNew-Bold.ttf") format("truetype");
  font-display: swap;
}

p {
  font-family: "Noto Serif JP", serif;
  color: #071709;
  letter-spacing: 0.12em;
  line-height: 2;
}

figcaption {
  font-family: "Noto Sans", sans-serif;
  color: #071709;
  letter-spacing: 0.12em;
  line-height: 2;
}

/* h1-h4 */
h1,
h2,
h3,
h4 {
  font-family: "Noto Serif JP", serif;
  color: #071709;
  letter-spacing: 0.12em;
}

ul,
li {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.12em;
  line-height: 2;
}

span {
  letter-spacing: 0.12rem;
}

/* 画像サイズ */
img {
  max-width: 100%;
}

/* リンクスタイル */
a {
  letter-spacing: 0.12rem;
}

/* dl dt dd */
dl,
dt,
dd {
  font-family: "Noto Serif JP", serif;
  line-height: 2;
  letter-spacing: 0.12rem;
}

/* address */
address {
  font-family: "Noto Serif JP", serif;
  line-height: 2;
  letter-spacing: 0.12rem;
}

/* ----------------------------------------
	共通アイテム
---------------------------------------- */
/* 見出し */
i.heading-circle {
  color: #39b54a;
  margin-right: 0.5rem;
}

.sub-ttl {
  font-family: "ZCOOL XiaoWei", sans-serif;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: bold;
  position: relative;
}

/* 画面幅767px以下 */
@media screen and (max-width:767px) {
  h2 {
  font-size: 1.2rem;
  }
}

h2::before {
  position: absolute;
  color: #e1f3e2;
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-size: 15rem;
  z-index: -1;
  white-space: nowrap;
}

/* circle ボタン */
a.btn-circle {
  position: relative;
  display: inline-block;
  width: 130px;
  height:130px;
  border-radius: 50%;
  font-family: "ZCOOL XiaoWei", sans-serif;
  color: #39b54a;
  border: double 4px #39b54a;
  border-radius: 50%;
  transition: 0.8s ease-in-out;
  text-align: center;
  line-height: 1.5;
}

a.btn-circle span {
  position: absolute;
  display: inline-block;
  left: 3px;
  top: 55%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 120px;
  text-align: center;
}

a.btn-circle:hover {
  color: #fff;
  border: double 4px transparent;
  background-color: #39b54a;
  transform: rotateY(360deg);
}

/* 右矢印ボタン */
i.btn-arrow-right {
  width: 50px;
  height: 50px;
  color: #39b54a;
  border-radius: 50%;
  border: double 4px #39b54a;
  line-height: 0.8;
  padding: 0.9rem;
  transition: 0.8s ease-in-out;
}

@keyframes loop-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------
	animation
---------------------------------------- */
html, body {
  overflow-x: hidden;
}

.image-container {
  overflow: hidden;
}

.slide-in {
  opacity: 0;
  /* transform: translateX(0); */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

/* 左から右 */
.from-left {
  transform: translateX(-100px);
}

.from-left.visible {
  transform: translateX(0);
  opacity: 1;
}

/* 右から左 */
.from-right {
  transform: translateX(100px);
}

.from-right.visible {
  transform: translateX(0);
  opacity: 1;
}

