*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}
html {
  font-size: 16px;
}
/* 甚三紅 */
.top-page {
  background: linear-gradient(to bottom,#ffffff,#ffe,#eb7a77);
  font-family:Georgia, 'Times New Roman', Times, serif;
  width: 100%;
  height: 100%;
}
/*瑠璃と白の中間色 */
.product {
  background: linear-gradient(to bottom,#ffffff, #80aedd);
  font-family:Georgia, 'Times New Roman', Times, serif;
  width: 100%;
  height: 100%;
}
/* 菜の花と白の中間色 */
.caution {
  background: linear-gradient(to bottom,#ffffff,#fbeca6,#fbeca6);
  font-family:Georgia, 'Times New Roman', Times, serif;
  width: 100%;
  height: 100%;
}

::-webkit-scrollbar {
  width: 10px; /* スクロールバーの幅 */
  border-radius: 5px; /* スクロールバーの角の丸み */
}
::-webkit-scrollbar-thumb {
  background-color: #ccc; /* スクロールバーの色 */
  border-radius: 5px; /* スクロールバーの角の丸み */
}
::-webkit-scrollbar-thumb:hover {
  background-color: #aaa; /* ホバー時のスクロールバーの色 */
}

/* スクロールバーの非表示 */
body.menu-open {
    overflow: hidden;
}

/* ハンバーガーメニューのスタイル */
.menu {
    display: none;
    /* その他のスタイル設定 */
}

/* メニューボタンの中央の線を非表示に */
.menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

/* チェックボックスがONの時のスタイル */
.menu-btn:checked ~ .menu {
    display: flex;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color:rgba(255,255,255,0.5);
  height: 100px;
  z-index: 2;
  transition: transform 0.3s ease-in-out; /* トランジション効果を追加 */
}
.hidden {
  transform: translateY(-100%); /* ヘッダーを上に隠す */
}
header h1 {
  position: relative;
  z-index: 2;
}
header h2 {
  position: relative;
   z-index: 1;
}
header h2 {
  text-align: center;  
  margin: -59px 0px 0px 0;  
  font-size: 2.5rem;
  font-weight: bold;
  color: #333336;
}

.logo {
  height: 80px;
  width: auto;
  margin: 1% 0 0 3%;
  transition: opacity 0.3s ease, transform 0.3s ease
}
.to-home:hover .logo {
  opacity: 0.3;
}

.gMenu {
  position: fixed;
  right: 0;
  top: 0vh;
  width: 100%;
  z-index: 99;
}
/* メニューアイコンを画面右上に固定しています */
.gMenu .menu-icon {
  cursor: pointer;
  position: fixed;
  right: 3vw;
  top: 44px;
  padding-top: 5px;
  height: 12px;
  z-index: 100;
}
/* メニューアイコン（三本線）の真ん中の線です */
.gMenu .menu-icon .navicon {
  background: #ffc107; /* 色は自由に変更可能です */
  display: block;
  height: 5px; /* 太さ */
  width: 50px; /* 長さ */
  position: relative;
  transition: background .3s ease-out; /* 形が変わる時のアニメーション */
}
/* メニューアイコン（三本線）の上と下の線を疑似要素で追加 */
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
  background: #ffc107; /* 色は自由に変更可能です */
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .4s ease-out; /* 形が変わる時のアニメーション */
  width: 100%;
}
.gMenu .menu-icon .navicon::before {top: 10px;} /* 位置を上にずらしています */
.gMenu .menu-icon .navicon::after {top: -10px;} /* 位置を下にずらしています */
/* 表示されるメニューです */
.gMenu .menu {
  background:linear-gradient(to bottom, rgba(0, 255, 255, 0.9), rgba(0, 255, 0, 0.9), rgba(255, 255, 0, 0.9));
  overflow: hidden;
  max-height: 0; /* ★最初は高さを0にして非表示状態に */
  transition: max-height .5s; /* 表示されるときのアニメーション */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Yu Gothic', sans-serif;
  font-size: 1.5em;
  color: #FFF;
  font-weight: bolder;
  text-shadow: 1px 1px 1px #333;
  height: 100vh; /* 画面の縦幅に合わせる */
  list-style: none; /* リストのマーカーを非表示にする */
}
.gMenu .menu .nav-list {
  margin: 2.5vh 0; /* 上下に2vhずつ感覚を空ける */
  width: 20%;
  text-align: center;
}
.snsbtniti {
  display: flex;
  justify-content: center;
  gap: 20%;
  margin-bottom: 2.5vh;
}
.gMenu .nav-list a {
  display: block;
  margin-bottom: 0%;
  text-decoration: none;
  transition: background 0.2s ease;
}
.gMenu .menu li a:hover {
  /* color: rgba(255, 255, 255, 0); */
  background: rgba(255, 255, 255, 0.3);
}


/* SNSを全表示できたらこっち */
/* .snsbtniti {
  display: flex;
  position: absolute;
  flex-direction: column;
  top: 35%;
  left: 3%;
}
.snsbtniti > * {
  margin-bottom: 80%;
}
.all_nav-list {
  margin-top: 12%;
} */

/* チェックボックスは常に非表示です */
.gMenu .menu-btn {
  display: none;
}
/* ▼▼▼以下はチェックボックスがONの時の状態です▼▼▼ */
.gMenu .menu-btn:checked ~ .menu {
  max-height: 100vh; /* ★チェックボックスがオンの時高さを338pxにして表示させます */
  transition: max-height 0.5s;
}
/* メニューボタンの中央の線を非表示に */
.gMenu .menu-btn:checked ~ .menu-icon .navicon {background: transparent;}
/* メニューボタンの上下の線を45度傾けて✕印を作ります */
.gMenu .menu-btn:checked ~ .menu-icon .navicon::before {transform: rotate(-45deg);top: 0;}
.gMenu .menu-btn:checked ~ .menu-icon .navicon::after {transform: rotate(45deg);top: 0;}
/* サイトに合わせてオリジナルカスタマイズ */
.gMenu .menu-icon .navicon,
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
  background: #777;
}

.top-page main {
 height: 100%;
 width: 100%;
 padding-top: 100px;
}
.first-view {
  width: 95%;
  height: 510px;
  display: block;
  margin: 0px auto;
  object-fit: cover;
  animation: fadeAnimation 1.5s ease-in-out forwards; /* 0.5秒かけてふわっと表示するアニメーションを適用 */
  opacity: 0; /* 初期状態では透明にする */
  border-radius: 3px;
  position: relative;
  filter: saturate(150%) brightness(88%) contrast(150%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.sp-first-view {
  display: none;
}
@keyframes fadeAnimation {
  from { opacity: 0; } /* 初期状態（透明度0） */
  to { opacity: 1; } /* 最終状態（透明度1） */
}
.top-page h2 {
  position: absolute;
  color:#fff;
  font-weight: bolder;
  font-size: 2.2em;
  width: 75%;
  top: 150px;
  left: 13%;
  line-height: 2;
  text-shadow:2px 2px 4px #00ff00,
               -2px -2px 4px #0000ff,
               0px 0px 10px #ff00ff,
               0px 0px 20px #ffff00;
}
h2 div {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

h2 div:nth-child(1) {
  animation-delay: 1s; /* 最初の遅延 */
}

h2 div:nth-child(2) {
  animation-delay: 1.2s;
}

h2 div:nth-child(3) {
  animation-delay: 1.4s;
}

h2 div:nth-child(4) {
  animation-delay: 1.6s;
}

h2 div:nth-child(5) {
  animation-delay: 1.8s;
}

h2 div:nth-child(6) {
  animation-delay: 2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.sp-br {
	display: none;
}
.tb-br {
  display: none;
}

.top-page .infour {
	position: absolute;
	font-size: 3.5em;
	font-weight: bold;
  color:#fff;
  top: 508px;
  left: 61%;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 2.4s; /* .infourを他の行の後に遅延させる */

  text-shadow:2px 2px 4px #00ff00,
               -2px -2px 4px #0000ff,
               0px 0px 10px #ff00ff,
               0px 0px 20px #ffff00;
}


.link-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	list-style: none;
	padding: 0px;
  animation: fadeAnimation 2s ease-in-out forwards;
}
.link-list li {
  display: flex;
  align-items: center;
  position: relative;
  width: 44.5%;
  box-sizing: border-box;
}
.link-list li a {
  display: block;
  transition: transform 0.3s ease;
  }
.link-list li a:hover {
  transform: scale(1.05);
  color: #3333333d;
  opacity: 0.8;
  /* font-weight: bold; */
}
.link-list img {
  display: block;
  width: 100%;
  height:auto;
  margin: 7.9% auto 0%;
  border-radius: 3px;
  filter: saturate(100%) brightness(100%) contrast(150%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.link-list span {
  display: flex;
  align-items: center;
  justify-content: center; /* 水平方向に中央揃え */
  text-align: center;
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%); /* 要素を中央に移動 */
  font-size: 2.1em;
  width: 8%;
  font-weight: bold;
  background-color:  rgba(255, 255, 255, 0.3);
}
.link-list .qanda span {
  width: 3em;
}
.link-list .contact span {
  width: 6em;
}
.link-list li:nth-last-child(-n+2) {
  margin-bottom: 3.9%;
}


.caution main {
  color: #333;
  height: 100%;
  width: 95%;
  padding-top: 115px;
  font-size: 1.43rem;
  margin: 0 auto;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}
.caution main p {
	font-weight: bold;
}
strong {
  font-size: 115%;
  font-style: italic;
  color: #222;
}
.area, .area2, .area3, .area4 {
  background-color: #fff;
  height: 100%;
  padding-bottom: 5%;
  margin-bottom: 1%;
  border-radius:2px;
}
/* .area2 {
  height: 100%;
  padding-bottom: 5%;
  background-color:#FFF;
  margin-bottom: 1%;
  border-radius:2px;
}
.area3 {
  height: 85vh;
  background-color: #fff;
  margin-bottom: 1%;
  border-radius:2px;
}
.area4 {
  height: 85vh;
  background-color: #fff;
  margin-bottom: 1%;
  border-radius:2px;
} */
.caution main h3 {
  font-size: 2.4rem;
  font-weight: bolder;
  display: inline-block;
  border-bottom: 1px solid #333;
  margin: 2% 0 0px 1%;
}
.meeting {
  display: flex;
  justify-content: center;
}
.color-sample {
  max-width: 38%;
  height: auto;
  margin-top: 4%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  filter: saturate(100%) brightness(120%) contrast(150%);
  position: relative;
  z-index: 1;
}
.meeting p {
  max-width: 60%;
  margin : 12% 0 0 2%;
  line-height: 2.5;
}
.first-test {
  display: flex;
  justify-content: center;
}
.first-test p { 
  max-width: 60%;
  margin-top : 6%;
  line-height: 2.5;              
}
.color-test {
  height: 250px;
  width: 37vw;
  margin: 2% 0 0 4.5%;
  object-fit: cover;
  filter: saturate(100%) brightness(120%) contrast(150%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
table {
  border-collapse: separate; 
  width: 90%;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  table-layout: fixed; 
  border-spacing: 0;
}
table caption {
  font-weight: bolder;
}

th, td {
  border: 2px solid #414141
}
th:first-child {
  border-radius: 10px 0 0 0;
  border-left-width: 2px;
}
th:last-child {
  border-radius: 0 10px 0 0;
}
td:first-child {
  border-radius: 0 0 0 10px;
  border-left-width: 2px;
}
td:last-child {
  border-radius: 0 0 10px 0;
}
th {
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
  background-color:lightblue;
  border-left-width: 0;
}
th .cellulose {
	margin-top: 1.2%;
}
td {
  font-size: 3rem;
  height: 85px;
  text-align: center;
  vertical-align: middle;
  background-color: lightgreen;
  border-top-width: 0;
  border-left-width: 0;
}
td .circle {
  display: inline-block;
  font-size: 4.2rem;
  margin: -4% auto;
}
td .imposible {
	font-size: 1rem;
  margin-bottom: -1.5%;
}
td .shine-imposible {
	font-size: 1rem;
  margin-bottom: -1.5%;
}
.sample-test {
  display: flex;
  justify-content: center;
}
.prototype {
  height: auto;
  max-width: 41%;
  margin-top: 4%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  filter: saturate(100%) brightness(90%) contrast(150%);
  position: relative;
  z-index: 1;
}
.sample-test p {
  max-width: 60%;
  margin : 12% 0 0 2%;
  line-height: 2.5;
}
.mas-production {
	display: flex;
  justify-content: center;
}
.hanging-product {
  max-width: 41%;
  margin-top: 4%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  filter: saturate(130%) brightness(100%) contrast(100%);
  position: relative;
  z-index: 1;
}
.mas-production p {
  max-width: 60%;
  margin : 15% 0px 0px 2%;
  line-height: 2.5;
}
.op-br {
  display: none;
}
.other-pages {
  height: 100%;
  color: #333;
  /* background-color:#fff; */
  border-radius:10px;
  margin: 3% 0 3%;
}
.other-pages ul {
  display: flex;
  margin-top: 1%;
  justify-content: space-evenly;
}
.other-pages p {
  width: 96vw;
  text-decoration: underline 1px;
  text-align: center;
  font-size: 1.55rem;
  font-weight: bold;
}
.other-pages li {
  font-family: 'Yu Gothic', sans-serif;
  margin-top: 2%; 
  font-weight: bold;
}
.button {
  background-color: #285D2A;
  color: #FFFFFF;
  padding: 2.18vh 2vw;
  border: none;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  font-size: 2.4rem;
}
.button:hover {
  transform: scale(1.2);
}
.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease-in-out;
}
.button:hover::before {
  width: 200%;
}


.product main {
  color: #333;
  height: 100%;
  width: 100%;
  font-size: 1.43rem;
  margin: 0 auto 1.3%;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}
.notice {
  position: absolute;
  right: 4%;
  font-size: 1.3rem;
  color:#595959;
}
.shinzen-section {
  height: 100%;
  width: 95%;
  padding: 2% 1% 5%;
  margin: 115px auto 0;
  border-radius: 5px;
  background-color: #fff;
}
.shinzen h3 {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}
.product-list {
  display: flex;
  list-style: none;
  margin-top: 1%;
}
.product-list h3 {
	font-weight: bold;
}
.product-list li {
  flex: 1;
  margin-right: 3%;
  text-align: center;
}
.product-list li:last-child {
  margin-right: 0; /* 最後の要素の余白をなくす */
}
.product-list img {
  width: 95%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.shinzen p {
  display: block;
  margin-top: 2.5%;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #333;
  line-height: 1.5;
}
.notice_2 {
  position: absolute;
  right: 4%;
  font-size: 1.3rem;
  color: #595959;
}
.nasen-section {
  height: 100%;
  width: 95%;
  padding: 2% 1% 5%;
  margin: 13px auto 0;
  border-radius: 5px;
  background-color: #fff;
}
.nasen h3 {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}
.print-list {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  margin-top: 1%;
}
.print-list h3 {
	font-weight: bold;
}
.print-list li {
  flex: 1;
  text-align: center;
}
.print-list li:last-child {
  margin-right: 0%;
}
.print-list img {
  width: 43%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nasen p {
  display: block;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #333;
  margin-top: 2.5%;
  line-height: 1.5;
}
.product-list li:hover img {
  transform: scale(1.02);
  color: #3333333d;
  opacity: 0.8;
}
.print-list img:hover {
  transform: scale(1.02);
  color: #3333333d;
  opacity: 0.8;
}
/* 甚三紅 */
footer {
  font-family: 'Yu Gothic', sans-serif;
  background-color:#eb7a77;
  border-top: 2px solid #ffe;
  height: 138px;
  width: 100%;
  display: block;
  position: relative;
}
/* 瑠璃と白の中間色 */
.product footer {
  background-color: #80aedd;
  border-top: 2px solid #555;
}
/* 菜の花と白の中間色 */
.caution footer {
  background-color: #fbeca6;
  border-top: 2px solid #555;
}
.address {
  color : #ffe;
  font-size: 1.6rem;
  position: absolute;
  left: 8%;
  top: 10%;
}
#company-name {
  color: #ffe;
  font-size: 4rem;
  position:absolute;
  right: 5%;
  bottom: 25%;
  letter-spacing: -0.1rem;
}
.caution .address {
  color : #333;
}
.caution #company-name {
  color: #333;
}
.product .address {
  color : #333;
}
.product #company-name {
  color: #333;
}


#company-name small {
  font-size: 65%;
}
.instagram-icon {
  position: absolute;
  left: 15%;
  bottom: 15%;
}
.twitter-icon {
  position: absolute;
  left: 20%;
  bottom: 16%;
}
.pinterest-icon {
  position: absolute;
  left: 25%;
  bottom: 14%;
}
.base-icon {
  position: absolute;
  left: 30%;
  bottom: 9%;
}
.copyrights {  
  font-size: 0.8rem;
  background-color: #555;
  color:#fff;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.1% 0;
}
.copyrights p {
  text-align: center;
}
.copyrights .pp {
  position: absolute;
  right: 2%;
  bottom: 7%;
}
.arrow-wrapper {
  display: none;
  position: fixed;
  bottom: 145px;
  right: 1%;
}
.arrow-circle {
  font-size: x-large;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color:rgba(51, 51, 51, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.arrow-circle:hover {
   background-color: #555;
  transform: scale(1.05);
}