@charset "UTF-8";
html {
  height: -webkit-fill-available;
  overflow-y: scroll;
}

body {
  -webkit-text-size-adjust: 100%;
}

#tofu_resin {
  width: 100%;
  font-family: 'Noto Sans JP';
	font-weight: 300;
  background-color: #DFEBF0;
  position: relative;
}
#tofu_resin header,
#tofu_resin section {
  position: relative;
}
#tofu_resin h1 {
}
#tofu_resin h1 img {
  width: 100%;
}
#tofu_resin header .logo {
    width: 100px;
    position: absolute;
    top: 20px;
    left: 20px;
}
#tofu_resin h2 {
position: relative;
padding-bottom: 30px;
margin-bottom: 40px;
font-weight:100;
font-size: 46px;
line-height: 130%;
background: linear-gradient(90deg, #2596B6 0%, #68CA2D 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
#tofu_resin h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 1px;
  background-color: #2596B6;
}
#tofu_resin p {
  font-size: 16px;
  line-height: calc(40 / 16);
  text-align: justify;
  color: #000;
}
#tofu_resin .inner {
  width: 1000px;
  min-width: 1000px;
  margin: 0 auto;
}
#tofu_resin .innerBox {
	display: flex;
	align-items: flex-start; 
}
#tofu_resin .scroller {
  position: fixed;
  left: 130px;
  bottom: 0;
  height: 80px;
  z-index: 99;
  display: none;
}
#tofu_resin .scroller span {
  position: absolute;
  left: -4px;
  top: -38px;
  color: #000;
  font-size: 8px;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
}
#tofu_resin .scroller::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 80px;
  background: #000;
  animation: scroller 2s ease-in-out infinite;
  opacity: 0;
}
@keyframes scroller {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  40% {
    height: 100px;
    opacity: 1;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    height: 0;
    top: 100px;
    opacity: 0;
  }
}
#tofu_resin header .inner {
  width: auto;
}
#tofu_resin header .ph {
  width: calc(3000 / 2 / 1500 * 100%);
}
#tofu_resin #block01,#tofu_resin #block02,#tofu_resin #block03,#tofu_resin #block04,#tofu_resin #block05 {
  padding: 100px 0 0;
}
#tofu_resin #block01::after,#tofu_resin #block02::after,#tofu_resin #block03::after,#tofu_resin #block04::after,#tofu_resin #block05::after {
  content: "";
    display: block;
    clear: both;
}
#tofu_resin #block02 .ph{
  width: calc(950px / 2);
  margin-left: 50px;
}
#tofu_resin #block03 .ph{
	width: calc(950px / 2.67);
	margin-left: 50px;
	margin-bottom: 40px;
	float: right;
}
#tofu_resin #block04 .ph{
	width: calc(950px / 2);
	margin-left: 50px;
	margin-bottom: 40px;
	float: right;
}
#tofu_resin #block05 .inner{
	background: #ffffff;
	border-radius: 10px;
	padding: 70px 40px 50px 40px;
    width: 840px;
    min-width: 840px;
    position: relative;
}
#tofu_resin #block05 h3{
	background: linear-gradient(101.66deg, #2596B6 1.55%, #68CA2D 100%);
	border-radius: 10px;
	display: table;
	padding: 20px 30px;
	color: #ffffff;
	font-size: 40px;
	font-weight: 100;
	margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: -45px;
}
#tofu_resin #block05 .ph{
	width: 100%;
}

#tofu_resin footer {
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
#tofu_resin footer .logo_sagamiya img {
  width: calc(228px / 2);
  display: block;
}
#tofu_resin footer .copyright {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1;
  color: #000;
}
@media screen and (min-width: 770px) and (max-width: 1000px) {
  #tofu_resin h1 {
    width: calc(204 / 3 / 1500 * 1000px);
    height: calc(1251 / 3 / 1500 * 1000px);
    left: calc(100 / 1500 * 1000px);
    top: calc(390 / 1500 * 1000px);
  }
  #tofu_resin h2 {
    font-size: calc(40 / 1500 * 1200px);
  }
  #tofu_resin header .ph {
    width: 100%;
  }
}
@media screen and (min-width: 770px) {
  #tofu_resin {
    min-width: 1000px;
  }
  #tofu_resin .sp {
    display: none;
  }
}
@media screen and (max-width: 769px) {
  #tofu_resin .pc {
    display: none;
  }
  #tofu_resin .scroller {
    display: none !important;
  }
	#tofu_resin header .logo {
    width: 60px;
}
  #tofu_resin h1 {
    width: calc(30 / 375 * 100vw);
    height: calc(1251 / 204 * 30 / 375 * 100vw);
    left: calc(17 / 375 * 100vw);
    top: calc(165 / 375 * 100vw);
  }
  #tofu_resin h2 {
    font-size: calc(28 / 375 * 100vw);
	  padding-bottom: 20px;
	  margin-bottom: 30px;
  }
  #tofu_resin h3{
    font-size: calc(20 / 375 * 100vw);
  }
  #tofu_resin p {
    font-size: calc(14 / 375 * 100vw);
    line-height: calc(30 / 14);
    letter-spacing: 0;
  }
  #tofu_resin .inner {
    width: auto;
    min-width: 0;
    padding: 0 calc(20 / 375 * 100vw);
  }
	#tofu_resin .innerBox {
	flex-direction: column; /* 要素を縦に並べる */
		gap: 20px;
}
	#tofu_resin #block01,#tofu_resin #block02,#tofu_resin #block03,#tofu_resin #block04,#tofu_resin #block05 {
  padding: 50px 0 0;
}
#tofu_resin #block02 .ph,#tofu_resin #block04 .ph{
  width: 100%;
  margin-left: inherit;
}
#tofu_resin #block03 .ph{
	width: 60%;
	margin: 0 auto 20px;
	float: none;
	display: block; 
}
#tofu_resin #block05 .inner{
	margin: 0 calc(20 / 375 * 100vw);
	padding: calc(20 / 375 * 100vw);
	padding-top: calc(40 / 375 * 100vw);
	padding-bottom: calc(30 / 375 * 100vw);
	width: inherit;
	min-width: inherit;
}
#tofu_resin #block05 h3{
	padding: 10px 15px;
	font-size: 20px;
	margin: 0 auto ;
	top:-22px;
}
  #tofu_resin header .inner {
    width: auto;
    padding: 0;
  }
  
  #tofu_resin footer {
    height: calc(160 / 375 * 100vw);
    padding: 0;
    flex-direction: column;
    justify-content: center;
    gap: calc(10 / 375 * 100vw);
  }
  #tofu_resin footer .logo_sagamiya img {
    width: calc(86 / 375 * 100vw);
  }
  #tofu_resin footer .copyright {
    font-size: calc(10 / 375 * 100vw);
  }
}
#tofu_resin .loading {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/logo_sanwatousuian.png");
  background-repeat: no-repeat;
  background-size: 80px auto;
  background-color: #fff;
  background-position: center;
  pointer-events: none;
  animation: loading 1.25s ease 0.75s 1 forwards;
}
@keyframes loading {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
#tofu_resin .icon_scroll {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  width: 120px;
  height: 120px;
  background: url("../images/icon_scroll.svg") center center no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 9999;
  display: block;
  pointer-events: none;
}
#tofu_resin .icon_scroll.fixed {
  animation: scroll_icon 3s;
}
@keyframes scroll_icon {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}



@media screen and (max-width: 769px) {
  
}
