@charset "utf-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #345654; /* RGB */
  font-family: "tangerine", tangerine, "fot-tsukuaoldmin-pr6n", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}
.main {
	background-color: #F4F2E4;
	overflow: hidden;  /* これを追加 */
}
section h2 span {
  font-weight: 700;
  font-size: clamp(3.5rem, 9.3vw, 4rem); /*最小2.4 中間7.9vw　最大3.5*/ /*最小のフォントサイズpx　÷　最小のフォントサイズで止める画面サイズ　✕　100　=　 vwの値*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 2.5rem;
}
section h2 {
  font-weight: 500;
  font-size: clamp(3.5rem, 9.3vw, 4rem);
  margin-bottom: 30px;
  padding-top: 70px;
  line-height: 1.5rem;
}
/*h2の装飾*/
section h2 span::before, section h2 span::after {
  content: '';
  width: 70px;
  height: 2px;
  border-top: 1px solid #F4F2E4;
  border-bottom: 1px solid #F4F2E4;
}
section h2 span::before {
  margin-right: 20px;
}
section h2 span::after {
  margin-left: 20px;
}
a {
  text-decoration: none;
  color: #345654;
}
a:hover {
  opacity: 0.8;
}
.none {
  display: none;
}
@media (min-width:700px) { /*700pxより画面が大きくなったら*/
  section h2 span {
    font-size: 4rem;
    font-weight: 700;
  }
  section h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 60px;
    padding-top: 90px;
    line-height: 1.8rem;
  }
}
/*header*/
.header {
  position: absolute; /*ヘッダーの背景をみせる*/
  width: 100%;
  z-index: 999; /*スタックコンテキスト子要素にいくらZ-indexを足しても親要素をぬけることはない*/
}
.header-title {
  display: none;
}
.header h1, .header-logo,.top-logo {
  text-align: left;
  position: absolute;
  top: 50px;
  left: 50px;
}
.header img {
  display: block;
  width: 40px;
  height: auto;
}
.section-top__image-pc {
  display: none;
}
/*section-top*/
.section-top {
  position: relative;
  background-image: url("../images/common/base-milk.jpg");
  background-size: contain;
  background-repeat: repeat;
  overflow: hidden;
}
.section-top::after {
  content: "";
  box-sizing: border-box;
  display: block;
  margin: clamp(20px, 5.3vw, 30px);
  width: auto;
  height: clamp(500px, 133vw, 700px);
  border: 1px solid #345654;
  border-radius: 30px;
}
 #canvas,.section-top__image-phone {
    display: block;
    position: absolute;
    width: 70%;
    bottom: 10%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
  }
.main-title {
  display: block;
  margin: 0 auto;
  position: absolute;
  width: 100%;
  top:clamp(420px, 112vw, 630px);
  /*top: clamp(150px, 53.5vw, 50px);*/
  z-index: 10; 
}
@media (min-width:700px) {
  .main-title {
  display: block;
  margin: 0 auto;
  position: absolute;
  width: 100%;
  top: clamp(360px, 51.4vw, 630px);
  z-index: 10;
}
}
.section-top h2 {
  font-weight: 400;
  font-size: clamp(4rem, 10.6vw, 5rem);
  margin-bottom: 0;
  padding-top: 0px;
}
 /*top color*/
  #canvas {
    z-index: 1;
  }
  .section-top__image-phone {
    pointer-events: none;
    z-index: 2;
  }
  #front-phone,#front, #canvas {
    display: none;
  }
@media (min-width:700px) { /*700pxより画面が大きくなったら*/
  .header {
    position: static;
    margin: 0 auto; /*上下０左右auto要素が中央に寄る*/
    min-height: 100px; /*headerの最低限の高さ*/
    box-sizing: border-box;
    padding-top: 40px;
    line-height: 2.5rem;
    font-size: 1.8rem;
    background-image: url("../images/common/base-milk.jpg");
    background-repeat: repeat;
    background-size: 30%;
  }
  .header h1, .header-logo,.top-logo {
    position: absolute;
    top: 30px;
    left: 50px
  }
  .header__navigation {
    display: block;
    max-width: 1020px;
    margin: 0 auto;
  }
  .header ul {
    width: 90%;
    /*border-bottom: 1px solid #FFF;*/
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5px;
    height: 60px;
    text-align: right;
  }
  .header__navigation ul li {
    display: inline-block;
    padding-left: 50px;
    font-weight: 700;
  }
  .close-button {
    display: none;
  }
  .section-top {
    position: relative;
    background-image: url("../images/common/base-milk.jpg");
    background-size: 50%;
    background-repeat: repeat;
    overflow: hidden;
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.2) inset;
  }
  .canvas-containar {
  display: block;
}
  #canvas, .section-top__image-pc {
    display: block;
    position: absolute;
    width: 90%;
    bottom: 20%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 1200px;
    cursor: pointer;
  }
  /*top color*/
  #canvas {
    z-index: 1;
  }
  .section-top__image-pc {
    pointer-events: none;
    z-index: 2;
  }
  #front-phone,#front, #canvas {
    display: none;
  }
  .section-top__image-phone {
    display: none;
  }
  .section-top h2 {
    font-size: clamp(5rem, 7.1vw, 8rem);
    display: block;
    margin: 0 auto;
    line-height: 1;
    margin-bottom: -20px;
  }
  .section-top::after {
    margin: clamp(20px, 5.3vw, 30px);
    width: auto;
    border: 1px solid #345654;
    border-radius: 20px;
    height: clamp(450px, 64.2vw, 800px);
  }
}
/*footer*/
.footer {
  background-image: url("../images/common/base-green.jpg");
  background-size: cover;
  background-repeat: repeat;
  color: #F4F2E4;
  text-align: center;
}
.footer__container {
  padding-top: 130px;
  padding-bottom: 130px;
}
.footer__container ul {
  margin-bottom: 50px;
}
.footer__container ul li {
  list-style: none;
  display: inline-block;
  padding: 0 30px;
  font-size: 1.8rem;
}
.footer__container ul li a {
  text-decoration: none;
  color: #F4F2E4;
  font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
}
.footer__icon {
  display: block;
  width: 50px;
  height: auto;
  padding-bottom: 50px;
  margin: 0 auto;
}
.footer__container img {
  width: 100%;
}
small {
  font-size: 2.4rem;
}
@media (min-width:700px) { /*700pxより画面が大きくなったら*/
  .footer__container {
    padding-top: 90px;
    padding-bottom: 60px;
  }
}

/*ハンバーガーメニュー*/ /* navigation */
@media(max-width:700px) {
  .hamburger {
    display: block;
    position: absolute;
    z-index: 3;
    right: 50px;
    top: 50px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2.5px;
    left: 6px;
    border-radius: 2.5px;
    background: #345654;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2), .hamburger.active span:nth-child(3) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #000;
    text-align: center;
    transform: translateX(-100%);
    transition: all 0.6s;
    width: 75%;
    height: 100%;
    background: #345654;
  }
  nav.globalMenuSp ul {
    border-bottom: 1px solid #FFF;
    padding-bottom: 5px;
    background: #345654;
    margin: 0 auto;
    padding: 0;
  }
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
    text-align: center;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  nav.globalMenuSp ul li a {
    display: block;
    color: #F4F2E4;
    padding: 2em 0;
    margin: 1em 5em;
    text-decoration: none;
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
  }
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    transform: translateX(0%);
  }
  .close-button {
    font-family: sans-serif;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    color: #FFF;
    font-size: 3.5rem;
    padding: 10px;
    font-weight: 100;
    transform: scale(1, 0.8); /* 変形 */
  }
}
/***************************************************
 * Generated by SVG Artista on 1/11/2023, 7:16:54 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/
@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 7603.30078125px;
    stroke-dasharray: 7603.30078125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 7603.30078125px;
  }
}
@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 7603.30078125px;
    stroke-dasharray: 7603.30078125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 7603.30078125px;
  }
}
.main-image-phone-1 {
  -webkit-animation: animate-svg-stroke-1 8s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both;
  animation: animate-svg-stroke-1 8s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both;
}
@-webkit-keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 8637.068359375px;
    stroke-dasharray: 8637.068359375px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 8637.068359375px;
  }
}
@keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 8637.068359375px;
    stroke-dasharray: 8637.068359375px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 8637.068359375px;
  }
}
.main-image-phone-2 {
  -webkit-animation: animate-svg-stroke-2 8s cubic-bezier(0.47, 0, 0.745, 0.715) 1.12s both;
  animation: animate-svg-stroke-2 8s cubic-bezier(0.47, 0, 0.745, 0.715) 1.12s both;
}
/***************************************************
 * Generated by SVG Artista on 1/6/2023, 5:40:44 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/
@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 7603.31201171875px;
    stroke-dasharray: 7603.31201171875px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 7603.31201171875px;
  }
}
@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 7603.31201171875px;
    stroke-dasharray: 7603.31201171875px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 7603.31201171875px;
  }
}
.svg-elem-1 {
  -webkit-animation: animate-svg-stroke-1 9s ease-in-out 1s both;
  animation: animate-svg-stroke-1 9s ease-in-out 1s both;
}
@-webkit-keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 8637.068359375px;
    stroke-dasharray: 8637.068359375px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 8637.068359375px;
  }
}
@keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 8637.068359375px;
    stroke-dasharray: 8637.068359375px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 8637.068359375px;
  }
}
.svg-elem-2 {
  -webkit-animation: animate-svg-stroke-2 9s ease-in-out 2s both;
  animation: animate-svg-stroke-2 9s ease-in-out 2s both;
}
@-webkit-keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 7560.8125px;
    stroke-dasharray: 7560.8125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 7560.8125px;
  }
}
@keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 7560.8125px;
    stroke-dasharray: 7560.8125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 7560.8125px;
  }
}
.svg-elem-3 {
  -webkit-animation: animate-svg-stroke-3 9s ease-in-out 3s both;
  animation: animate-svg-stroke-3 9s ease-in-out 3s both;
}
@-webkit-keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 8773.2470703125px;
    stroke-dasharray: 8773.2470703125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 8773.2470703125px;
  }
}
@keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 8773.2470703125px;
    stroke-dasharray: 8773.2470703125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 8773.2470703125px;
  }
}
.svg-elem-4 {
  -webkit-animation: animate-svg-stroke-4 9s ease-in-out 4s both;
  animation: animate-svg-stroke-4 9s ease-in-out 4s both;
}
@-webkit-keyframes animate-svg-stroke-5 {
  0% {
    stroke-dashoffset: 10430.154296875px;
    stroke-dasharray: 10430.154296875px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 10430.154296875px;
  }
}
@keyframes animate-svg-stroke-5 {
  0% {
    stroke-dashoffset: 10430.154296875px;
    stroke-dasharray: 10430.154296875px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 10430.154296875px;
  }
}
.svg-elem-5 {
  -webkit-animation: animate-svg-stroke-5 9s ease-in-out 5s both;
  animation: animate-svg-stroke-5 9s ease-in-out 5s both;
}
@-webkit-keyframes animate-svg-stroke-6 {
  0% {
    stroke-dashoffset: 2910.85107421875px;
    stroke-dasharray: 2910.85107421875px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 2910.85107421875px;
  }
}
@keyframes animate-svg-stroke-6 {
  0% {
    stroke-dashoffset: 2910.85107421875px;
    stroke-dasharray: 2910.85107421875px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 2910.85107421875px;
  }
}
.svg-elem-6 {
  -webkit-animation: animate-svg-stroke-6 9s ease-in-out 6s both;
  animation: animate-svg-stroke-6 9s ease-in-out 6s both;
}
@-webkit-keyframes animate-svg-stroke-7 {
  0% {
    stroke-dashoffset: 12535.953125px;
    stroke-dasharray: 12535.953125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 12535.953125px;
  }
}
@keyframes animate-svg-stroke-7 {
  0% {
    stroke-dashoffset: 12535.953125px;
    stroke-dasharray: 12535.953125px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 12535.953125px;
  }
}
.svg-elem-7 {
  -webkit-animation: animate-svg-stroke-7 9s ease-in-out 7s both;
  animation: animate-svg-stroke-7 9s ease-in-out 7s both;
}
@-webkit-keyframes animate-svg-stroke-8 {
  0% {
    stroke-dashoffset: 2025.6162109375px;
    stroke-dasharray: 2025.6162109375px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 2025.6162109375px;
  }
}
@keyframes animate-svg-stroke-8 {
  0% {
    stroke-dashoffset: 2025.6162109375px;
    stroke-dasharray: 2025.6162109375px;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 2025.6162109375px;
  }
}
.svg-elem-8 {
  -webkit-animation: animate-svg-stroke-8 9s ease-in-out 8s both;
  animation: animate-svg-stroke-8 9s ease-in-out 8s both;
}
/*========= 写真フェードイン===============*/
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}
/*========= スクロールダウンのためのCSS ===============*/
/*====== 9-1-1 縦線が動いてスクロールを促す =======*/
/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 10px;
  /*全体の高さ*/
  height: 50px;
}
/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*========= スクロールダウンのためのCSS ===============*/
/*====== 9-1-1 縦線が動いてスクロールを促す =======*/
/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 10px;
  /*全体の高さ*/
  height: 100px;
}
/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 100px;
  background: #345654;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 50px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 100px;
    opacity: 0;
  }
}
.header__navigation ul li a, .grid__item a, .footer__container ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 5px;
}
.header__navigation ul li a::after, .grid__item a::after, .footer__container ul li a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #345654;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.grid__item a::after, .footer__container ul li a::after {
  background: #F4F2E4;
  color: #345654;
}
.header__navigation ul li a:hover::after, .grid__item a:hover::after, .footer__container ul li a:hover::after {
  transform: scale(1, 1);
}