@charset "utf-8";
/*
Theme Name: cjc
Description: Original template for China-Japan Corporation
Author: design maf
Author URI: https://designmaf.com/
Version: 1.1
*/

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;font-weight: 400}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
img,abbr,acronym,fieldset{border:0;}
*,*:before,*:after{box-sizing:border-box}

html{
	scroll-behavior: smooth;
}

body{
	font-family: 'Noto Serif JP', serif;
	font-size: 16px;
	font-weight: 400;
	overflow-x: hidden;
	line-height: 2;
	letter-spacing: .01em;
	color: #222;
	word-break: break-all;
}
body#en{
	font-family: 'Noto Serif', serif;
	word-break: initial;
}

img{
	max-width: 100%;
	height: auto;
}

iframe{
	max-width: 100%;
}

input:not([type=checkbox],[type=radio]){
	-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
	width:100%;
}

input[type=text],
input[type=email],
textarea{
	font-size: 1em;
}


/* LINK
------------------------------------------------------------*/
a{
	color: #222;
	text-decoration: none;
	transition: .3s;
}

a:active,
a:focus,
input:active,
input:focus{
	outline: none;
}

main a:not(.btn){
	color: #BC1B35;
	border-bottom: 1px solid #BC1B35;
}

main a:not(.btn, .wp-block-button__link):hover{
	border-color: transparent;
}

#bread a{
	border: 0 !important;
}


/* HEADER
------------------------------------------------------------*/
#header{
	position: fixed;
	top: 0;
	left: 0;
	padding-left: 1em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	z-index: 100;
}
#header.navFix{
	background: rgba(255, 255, 255, .9);
}
#header #logo{
	line-height: 0;
}
#header .contactBtns{
	display: flex;
}
#header .contactBtns a{
	margin-left: 1rem;
}

#panel ul a{
	position: relative;
  display: block;
  padding: .5em 0;
  line-height: 1.2;
  overflow: hidden;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

#lang{
	margin-left: 1rem;
	padding-bottom: 1rem;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100%;
	width: 90px;
	color: #fff;
	background: url(images/iconGlobe.svg) no-repeat 50% 1rem / 24px 24px; 
}
#header.navFix #lang{
	background-color: #8C1629;
}
#lang > *{
	padding: 0 2px;
}
#lang span,
#lang a:hover{
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}
#lang i{
	font-style: normal;
}
#lang a{
	color: #fff;
}
@media screen and (min-width: 960px){
	#menu{
		display: none;
	}
	#header{
		height: 90px;
	}
	#header > div{
		display: flex;
		align-items: center;
		height: 100%;
	}
	#header #logo{
		flex: 1;
	}
	#header:not(.navFix) .btn.btnTel:before{
		background-image: url(images/iconTelWhite.svg);
	}
	#header:not(.navFix) a.btnContact:before{
		background-image: url(images/iconMailWhite.svg);
	}
	#header:not(.navFix) .contactBtns a{
		color: #fff;
		border-color: #fff;
		background: transparent;
	}
	#header .contactBtns a:hover,
	#footer .btn:hover{
		background-color: rgba(255, 255, 255, .2);
	}
	#panel,
	#panel ul{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#panel li{
		padding: 0 1rem;
		text-align: center;
		@media screen and (max-width: 1470px) {
      padding: 0 0.5rem;
    }
	}
	#panel li span{
		display: block;
	}
	#panel li.current-menu-item a,
	#panel a:not(.btn):hover{
  	border-color: #fff;
	}
	#panel ul a {
    color: #fff;
    @media screen and (max-width: 1470px) {
      font-size: 0.9em;
    }
  }
  #en #panel ul a {
    font-size: 1.2em;
    @media screen and (max-width: 1470px) {
      font-size: 1em;
    }
  }
	#header.navFix #panel ul a{
		color: #222;
	}
	#header.navFix #panel li.current-menu-item a,
	#header.navFix #panel ul a:hover{
		color: #8c1629;
  	border-color: #8c1629;
	}
	.footerUpper > div:last-of-type{
		display: flex;
		width: 490px;
	}
	.footerUpper > div:last-of-type > div:first-of-type{
		width: 220px;
	}
	.footerUpper > div:last-of-type > div:last-of-type{
		width: 260px;
	}
}
@media screen and (max-width: 1400px){
	#header{
		font-size: .9em;
	}
	#panel li{
		padding: 0 .5rem;
	}
	.footerUpper > div:last-of-type > div{
		display: block;
	}
}

@media screen and (max-width: 1200px){
	#header .contactBtns{
		display: none;
	}
}

@media screen and (max-width: 959px){
	#header{
		height: 60px;
	}
	#header.navFix{
		background: #fff;
		box-shadow: 0 0 10px rgba(0, 0, 0, .7);
	}
	#header #logo{
		width: 200px;
	}
	#header .contactBtns{
		display: block;
		margin-top: 2rem;
	}
	#header .contactBtns a{
		margin: 1rem;
	}
	#lang{
		position: relative;
		width: 60px;
		height: 60px;
		padding-bottom: .2rem;
		margin: 0;
		font-size: .75em;
		background-position: 50% .5rem; 
	}
	#lang a{
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	display: flex;
  	align-items: flex-end;
  	justify-content: center;
  	padding-bottom: .3em;
  	z-index: 1;
	}
	#lang span,
	#lang i{
		display: none;
	}
	#title h1{
		writing-mode: initial;
	}
	#menu{
		position: fixed;
		top: 0;
		right: 60px;
		width: 60px;
		height: 60px;
		text-align: center;
		cursor: pointer;
		z-index: 900;
		color: #fff;
	}
	#menu.navFix{
		color: #8c1629;
	}
	#menu:before,
	#menu:after{
		display: block;
		position: absolute;
		top: 18px;
		left: 15px;
		width: 30px;
		height: 1px;
		content: '';
		background: #fff;
		transition: .5s ease-in-out;
	}
	#menu.navFix:before,
	#menu.navFix:after{
		background: #8c1629;
	}
	#menu:after{
		top: 28px;
	}
	#menu.isOpen:before{
		top: 24px;
  	transform: translateY(0) rotate(45deg);
	}
	#menu.isOpen:after{
		top: 34px;
  	transform: translateY(-10px) rotate(-45deg);
	}
	#menu > div{
		position: absolute;
		left: 0;
		bottom: .1rem;
		width: 100%;
		text-align: center;
		font-weight: 700;
		font-size: .75em;
	}

	#panel{
		position: fixed;
		top: 60px;
		right: -100%;
		opacity: 0;
		width: 100%;
		height: calc(100% - 60px);
		padding: 1em 0 0;
		transform: translateX(250px);
		transition: .3s;
		overflow: scroll;
		z-index: 800;
		background: #fff;
	}
	#panel.isOpen{
		right: 0;
		opacity: 1;
		transform: translateX(0);
	}
	#panel li{
		position: relative;
		border-bottom: 1px solid #ccc;
	}
	#panel ul a{
		padding: 1.5em 1em;
	}
	#panel ul a span{
		display: none;
	}
	#panel ul a:after{
  	content: '';
  	position: absolute;
  	top: 50%;
  	right: 1em;
  	width: 8px;
  	height: 8px;
  	border-top: solid 1px #222;
  	border-right: solid 1px #222;
  	transform: rotate(45deg);
	}
	#panel li.current-menu-item a{
		border: 0;
		color: #8C1629;
	}
	.footerUpper h3{
		text-align: center;
	}
	.footerUpper > div:last-of-type img{
		display: block;
		margin: 0 auto .5em;
	}
	.footerLower .inner{
		flex-wrap: wrap;
		flex-direction: column;
		font-size: .85em;
	}
	.footerLower .inner div{
		padding-bottom: 1em;
		order: 2;
		text-align: center;
	}
	.footerLower .inner ul{
		order: 1;
		justify-content: center;
	}
	.footerLower li{
		margin: 1em .5em;
	}

	#top{
		bottom: 60px;
		right: 10px;
	}
	#top a{
  	width: 40px;
  	height: 40px;
  	border-radius: 50%;
	}
}
@media only screen and (max-width: 374px){
	 #header #logo{
	 	width: 180px;
	 }
}


/* FOOTER
------------------------------------------------------------*/
#footer{
	color: #fff;
	background: #222;
}
#footer a{
	color: #fff;
}
#footer .logo-contact{
	padding-bottom: 1em;
	display: flex;
	align-items: flex-end;
	gap: 20px;
	line-height: 0;
}
#footer a.btnContact{
	height: 2.75rem;
	background: transparent;
	border-color: #fff;
}
#footer a.btnContact:before{
	background-image: url(images/iconMailWhite.svg);
}
.footerUpper{
	padding: 2.5rem 0;
	font-size: .9375em;
}
.footerLower{
	padding: .5rem;
	font-size: .85em;
	background: #000;
}
.footerLower ul{
	display: flex;
}
.footer-banner{
	display: flex;
	gap: 20px;
}
.footer-banner > div{
	display: flex;
	align-items: flex-end;
	gap: 10px;
}
.footer-banner p{
	font-size: .93em;
	line-height: 1.4;
}
.footer-banner img{
	display: block;
	margin: 1em auto 0
}
.footerUpper > div:last-of-type p{
	font-size: .9375em;
	line-height: 1.65;
}
.footerUpper h3{
	margin: 0 0 1rem;
	font-size: 1.33em;
	font-weight: 600;
	line-height: 1.2;
}
.footerLower li{
	margin-left: 1rem;
}
@media screen and (min-width: 960px){
	.footerUpper,
	.footerLower .inner{
		display: flex;
		justify-content: space-between;
	}
}
@media screen and (max-width: 961px){
	.footerUpper{
		padding-bottom: 0;
	}
	.logo-contact img{
		width: 190px;
	}
	#footer a.btnContact{
		padding: 0 10px 0 40px;
		font-size: .9375em;
	}
	#footer a.btnContact:before{
		left: 10px;
		width: 18px;
		height: 18px;
	}
	.footerUpper > div{
		padding-bottom: 2rem;
	}
	.footerUpper h3 br{
		display: none;
	}
}
@media screen and (max-width: 374px){
	body{
		font-size: 14px;
	}
}

#top{
	position: fixed;
	bottom: 40px;
	right: 40px;
	text-align: right;
	z-index: 110;
}
#top a{
	position: relative;
	display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #ccc;
	background: rgba(255, 255, 255, .5);
}
#top a:before{
	position: absolute;
	top: 50%;
	left: 50%;
	content: '';
	width: 10px;
	height: 10px;
	margin: -4px 0 0 -4px;
	border-top: solid 2px #222;
	border-right: solid 2px #222;
	transform: rotate(-45deg);
	transition: .3s ease-in-out;
}
#top a:hover{
	box-shadow: none;
}
#top a:hover:before{
	margin: -10px 0 0 -4px;
}
@media screen and (max-width: 961px){
	#top{
		right: 10px;
		bottom: 10px;
	}
	#top a{
		width: 40px;
		height: 40px;
	}
}



/* CONTENT
------------------------------------------------------------*/
#title{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: cover;
	background-color: #000;
	aspect-ratio: 1 / .4;
}
#title.noThumb{
	aspect-ratio: initial;
	padding: 120px 0 50px;
}
#title:after{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .1);
}
#title h1{
	position: relative;
	font-size: 2.6vw;
	line-height: 1.2;
	color: #fff;
	z-index: 1;
	writing-mode: vertical-rl;
  letter-spacing: 0.2em;
}
#title.noThumb h1,
#en #title h1{
	writing-mode: initial;
}
#bread{
	max-width: 1380px;
	margin: 2rem 0 3rem;
	display: flex;
	flex-wrap: wrap;
}

#bread li{
	position: relative;
	padding: 0 1.5rem 0 0;
}

#bread li:after{
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 .5rem;
  border-top: solid 1px #222;
  border-right: solid 1px #222;
  transform: rotate(45deg);
}

#bread li:last-child:after{
	content: none;
}

@media screen and (max-width: 959px){
	#bread{
		margin: 1rem 0 2rem;
	}
}



/* COMMON
------------------------------------------------------------*/
.inner{
	width: 100%;
	max-width: 1440px;
	margin: auto;
	padding: 0 1em;
}

.content > section{
	position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 7.5em 0;
  background: #F9FAFA;
}
.content > section:first-of-type{
	padding-top: 0;
}
.content > section:nth-of-type(odd){
	background: #fff;
}

.content > section:not(#fv,.fullWidth) > div{
	margin: auto;
	padding: 0 2em;
	max-width: 1440px;
	overflow: hidden;
}
.content > section.compact > div{
	max-width: 1240px;
}

main p{
	margin-bottom: 1rem;
	overflow-wrap: break-word;
	font-weight: 500;
}

main p:last-of-type{
	margin-bottom: 0;
}

main p:empty,
main ul:empty{
	display: none;
}

h1.wp-block-heading{
	margin: 0 0 1rem;
	position: relative;
	font-size: 3em;
	line-height: 1.4;
}

h2.wp-block-heading{
	margin: 5rem 0 2rem;
	font-size: 2.5em;
	line-height: 1.4;
}

h2.wp-block-heading em{
	display: block;
	color: #BC1B35;
	font-size: .6em;
	font-weight: 200;
}

section h2:first-child{
	margin-top: 0;
}

h3.wp-block-heading{
	position: relative;
	margin: 3rem 0 1rem;
	padding-bottom: .2em;
	font-size: 1.5em;
	line-height: 1.4;
	border-bottom: 1px solid #222;
}
h3.noBorder{
	border: 0;
}

h3.wp-block-heading em{
	padding: 0 .2em 0 .1em;
	font-size: 2em;
}


h4.wp-block-heading{
	margin: 2rem 0 .5rem;
	font-size: 1.25em;
}

h5{
	font-size: 1em;
	font-weight: 400;
}

#post h2,
#post h3,
#post h4{
	margin-top: 3em;
}

.wp-block-column h2.wp-block-heading,
.wp-block-column h3.wp-block-heading{
	margin-top: 0;
}

.wp-block-column :where(figure){
	margin: 0;
}

.wp-block-columns{
	padding: 3rem 0;
}

#post .wp-block-columns,
#post .wp-block-image{
	margin: 1rem 0;
}

ul.wp-block-list{
  margin: 0 0 1em;
  list-style: disc;
}

.wp-block-list li{
	margin: 0 0 .5em 1em;
	line-height: 1.6;
}
ol.wp-block-list li{
	margin-left: 2em;
}
ol{
  margin: 0 0 1rem;
}
ol li{
	padding-left: .2em;
}
ol li::marker{
	font-size: 1.4em;
	font-style: italic;
}

.check li{
	padding-left: 2rem;
	background: url(images/iconCheck.svg) no-repeat 0 50%;
}

.borderBox{
	padding: 1em 0;
  border-top: 1px solid #bc1b35;
  border-bottom: 1px solid #bc1b35;
}

.fadeup{
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s
}
.fadeup.in-view{
  opacity: 1;
  transform: translateY(0);
}


small{
	font-size: .75em;
}

.wp-element-caption{
	text-align: center;
}

#post .wp-element-caption{
	font-size: .875em;
}

blockquote{
	position: relative;
	margin: 1em 2em;
	padding-bottom: 2em;
}

blockquote:before,
blockquote:after{
  position: absolute;
  content: '';
  width: 20px;
  height: 15px;
  background: url(images/quote.svg) no-repeat 0 0 / cover;
}
blockquote:after{
	right: 0;
	bottom: 0;
}

blockquote p{
	margin-bottom: 0;
  padding-left:30px;
  color: #4B4B4B;
}
blockquote cite{
  font-size: .8em;
  color: #4B4B4B;
  text-align:right;
}

pre{
	line-height: 1.2;
}

.mt0{margin-top:0 !important}
.mt1{margin-top:1rem !important}
.mt2{margin-top:2rem !important}
.mt3{margin-top:3rem !important}
.mt5{margin-top:5rem !important}
.mb0{margin-bottom:0 !important}
.mb1{margin-bottom:1rem !important}
.mb2{margin-bottom:2rem !important}
.mb3{margin-bottom:3rem !important}
.pt0{padding-top: 0 !important}
.pt3{padding-top:3rem !important}
.pt5{padding-top:5rem !important}
.pb3{padding-bottom:3rem !important}
.pb0{padding-bottom: 0 !important}
.fontL{font-size: 1.25em !important}

.mainColor{color:#BC1B35 !important}
.subColor1{color:#308AE5 !important}


.widthNarrow{
	max-width: 960px;
	margin: auto;
}
.fit{
	margin: auto !important;
	width: fit-content;
}

.imgWrap > div{
	display: flex;
}

.imgWrap figure{
	margin: 2rem 0;
	width: 100%;
	overflow: hidden;
}
.imgWrap img{
	width: 100%;
	max-width: initial;
}

.gallery .imgWrap > div{
	flex-wrap: wrap;
	justify-content: center;
	padding: 2rem 0 5rem;
}

.gallery .imgWrap > div > div{
	width: 50%;
	padding-bottom: 2rem;
	> div{
		display: flex;
		flex-direction: column-reverse;
		height: 100%;
	}
	@media screen and (max-width: 480px){
		width: 100%;
	}
	h4{
		margin: 0 0 1em;
		text-align: center;
		line-height: 1.4;
		@media screen and (max-width: 480px){
			font-size: 1rem;
		}
	}
	figure{
		margin-top: auto;
		@media screen and (max-width: 480px){
			margin: 0 auto 1rem;
		}
	}
}

table{
	width: 100%;
}

th,
td{
	padding: .5em .2em .5em .5em;
	line-height: 1.4;
	background: #fff;
	border: 1px solid #98999D;
}

th{
	background: #eee;
}

th.empty{
	border: 0;
	background: transparent;
}
.tbl,
.tbl dl{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  width: fit-content;
  margin: auto;
  line-height: 1.6;
  border-bottom: 1px solid #98999D;
}
.tbl dl{
	width: auto;
	border: 0;
	margin: 0;
}

.tbl dt{
	padding: 1rem 1rem 1rem 0;
  grid-column: 1;
  font-weight: 700;
  border-top: 1px solid #98999D;
}

.tbl dd{
	padding: 1rem 0;
  grid-column: 2;
  border-top: 1px solid #98999D;
}
.tbl dl dt{
	padding: 0 1rem .5rem 0;
	border: 0;
	font-weight: 500;
}
.tbl dl dd{
	padding: 0 0 .5rem;
	border: 0;
}

.wp-block-embed > div{
  width: 100%;
  aspect-ratio: 16 / 9;
}
.wp-block-embed iframe{
  width: 100%;
  height: 100%;
}

.flex :where(figure){
	margin: 0;
}

@media screen and (min-width: 782px){
	.flex > div{
		display: flex;
	}
	.flex.col3 > div > *{
		width: calc(100% / 3);
	}
}




/* BUTTON
------------------------------------------------------------*/
.content .wp-block-button__link,
.btn,
.btnTel,
button{
	display: flex;
	align-items: center;
	position: relative;
	padding: 0 2em 0 1em;
	height: 3.75rem;
	border-radius: 100vh;
	font-size: 1.125em;
	line-height: 1;
	color: #8C1629;
	background: #fff;
	border: 2px solid #8C1629;
	transition: .3s ease-in-out;
}
.content .wp-block-button__link{
	min-width: 290px;
}
.content .wp-block-button__link:before{
	content: '';
  position: absolute;
  right: 17px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #8C1629;
  border-bottom: 2px solid #8C1629;
  transform: rotate(-45deg);
}

.wp-block-button__link:hover,
input[type="button"]:hover{
	cursor: pointer;
	color: #fff;
	background: #8C1629;
}

.content .wp-block-button__link:hover:before{
	border-color: #fff;
}

input[type="button"].wpcf7-previous{
	background: #666;
	border-color: #666;
	justify-content: center;
}

input[type="button"].wpcf7-previous:hover{
	background: #888;
	border-color: #888;
}


input[type="submit"]:hover,
input[type="button"]:hover{
	text-decoration: none;
	background: #1C7DDF;
	opacity: 1;
}

.btnTel{
	border-color: #8C1629;
	color: #222;
	background: #fff;
}

.btn.btnTel:before{
	content: '';
	position: absolute;
	background-image: url(images/iconTel.svg);
}

a[class*="btn btn"]{
	padding-left: 54px;
}
a[class*='btn btn']:before{
	content: '';
	position: absolute;
	left: 20px;
	width: 24px;
	height: 24px;
	background: url(images/iconMail.svg) no-repeat 50% 0 / cover;
}

.btns > div{
	padding-top: 2rem;
	display: flex;
}

.btns p:first-of-type{
	margin-right: 1rem;
}

/* PAGES
------------------------------------------------------------*/
#page .is-layout-flex:not(.wp-block-buttons){
	justify-content: space-between;
}

#page .is-layout-flex:not(.wp-block-buttons) .txt{
	max-width: 710px;
	flex: 1;
}

#page .is-layout-flex:not(.wp-block-buttons) .img{
	max-width: 580px;
}

.imgSquare{
	position: relative;
	width: fit-content;
	display: flex;
	justify-content: center;
	align-items: center;
}

.imgSquare img{
	z-index: 1;
}

.imgSquare:before{
	position: absolute;
	top: 10px;
	left: 10px;
	content: '';
	width: 100%;
	height: 100%;
	/*aspect-ratio: 1 / 1;*/
	background: #8C1629;
	z-index: 0;
}



/* toppage main visual
------------------------------------------------------------*/
#fv{
  position: relative;
  aspect-ratio: 1 / .625;
  max-height: 90vh;
  overflow: hidden;
}
#fv > a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / .625;
  max-height: 90vh;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: flex-end;
}
#fv picture{
  position: absolute;
  top: 0;
  width: 100%;
}
#fv picture img{
	width: 100%;
  max-width: initial;
  transform: scale(1.2);
  transition: transform 8s ease-out;
}
#fv .is-active{
  opacity: 1;
  z-index: 2;
}
#fv .is-active img{
  transform: scale(1);
}
#fv h1,
#fv p{
	margin: 0 0 2rem 2rem;
	font-size: 2em;
	line-height: 2;
	color: #fff;
  z-index: 3;
	text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  opacity: 0;
  transition: all .8s cubic-bezier(0.785, 0.135, 0.150, 0.860);
  clip-path: inset(0% 100% 0% 0%);
  transition-delay: 1s
}
#fv p{
	line-height: 1.4;
}
#fv .is-active h1,
#fv .is-active p{
  opacity: 1;
  clip-path: inset(0% 0% 0% 0%);
}
#fv span em{
	display: inline-block;
	width: 1.8em;
	height: 1.8em;
	font-size: 1.66em;
	line-height: 1.8em;
	border-radius: 50%;
	text-align: center;
	color: #fff;
	background: #8C1629;
}
#fv span em:nth-of-type(even){
	margin: 0 .5rem 0 -.8rem;
	background: #BC1B35;
}
#en #fv h1,
#en #fv p{
	font-size: 1.5em;
}
#en #fv em{
	font-size: 3em;
}
#en #fv span em{
	width: auto;
	height: auto;
	margin-top: .5em;
	padding: .2em;
	line-height: 1.4em;
	font-size: 1.5em;
	border-radius: 0;
}
#fv span em:nth-of-type(even){
	margin: 0;
	background: #8C1629;
}
@media screen and (max-width: 781px){
	.spMiniShow{
		display: none;
	}
	#fv,
	#fv > a{
  	aspect-ratio: 1 / 1;
	}
	#fv h1,
	#fv p{
		margin: 0 0 1rem 1rem;
		font-size: 1.5em;
	}
	#en #fv h1{
		font-size: 2.4vw;
	}
}

@media screen and (max-width: 580px){
	#fv h1,
	#fv p,
	#en #fv h1{
		font-size: 1em;
	}
	body:not(#en) #fv span em:nth-of-type(even){
		margin: 0 .5rem 0 -.5rem;
	}
	#en #fv em{
		font-size: 1.2em;
	}
}

@media screen and (max-width: 375px){
	#en #fv h1{
		line-height: 1.4;
	}
	#en #fv em{
		font-size: .8em;
	}
	#en #fv span em{
		font-size: 1.2em;
	}
}


section[id*="top"] .wp-block-buttons{
	padding-top: 4rem;
}

#topIntro h3{
	margin-bottom: 1em;
	position: relative;
	font-size: 2.25em;
	font-weight: 500;
}
#topIntro h3 em{
	position: relative;
	font-size: 1.66em;
	color: #8C1629;
}
#topIntro h3 em:after{
	position: absolute;
	top: .5em;
  right: -1em;
  content: '*';
  font-size: .5em;
}
#topIntro h3 i{
	position: absolute;
	margin: 4.5em 0 0 -4em;
	font-size: .5em;
	font-style: normal;
}
#en #topIntro h3 br{
	display: block !important;
}
#en #topIntro h3 i{
	margin-top: 3em;
}
.resultArrow{
	padding-bottom: 100px;
	font-size: 1.875em;
	background: url(images/iconArrowsDownLarge.svg) no-repeat 50% 100% / 100px auto;
}
#topIntro .awardBox > div{
	margin: 2rem 0 0;
	justify-content: center;
	gap: 30px;
}
.awardBox > div > div{
	width: 45%;
	max-width: 480px;
	padding: 1.5em;
	text-align: center;
	background: #fff;
	border: 2px solid #8C1629;
	border-radius: 6px;
}
.awardBox h4{
	font-weight: 600;
}
section#topAbout .wp-block-buttons{
	padding-top: 1rem;
}
@media screen and (min-width: 782px){
	.awardBox > div > div > div{
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.awardBox figure + .wp-block-group{
		margin-top: auto;
	}
}
@media screen and (max-width: 781px){
	section[id*="top"] .wp-block-buttons{
		padding-top: 2rem;
	}
	#topIntro h3{
		font-size: 1.7em;
	}
	.resultArrow{
		padding-bottom: 50px;
		background-size: 50px auto;
		font-size: 1.7em;
	}
	.awardBox > div > div,
	#topAbout .wp-block-columns > div{
		width: 100%;
		max-width: initial;
		margin-bottom: 1rem;
	}
}
@media screen and (max-width: 374px){
	#topIntro h3{
		font-size: 1.5em;
	}
}


/* CONTACT
------------------------------------------------------------*/
.snow-monkey-form{
	margin-bottom: 3rem;
}
.snow-monkey-form .smf-form{
	margin-bottom: 2rem;
}
.smf-form--business .smf-item{
	border-width: 1px 0;
}
.smf-item__label em{
	margin-left: 5px;
	padding: 0 .5em;
	color: #fff;
	background: #E10000;
	border-radius: 3px;
}
#en .smf-item__label em{
	padding: 0;
	color: #E10000;
	background: transparent;
	font-size: 1.2em;
}
[data-screen="confirm"] .contactTxt,
#autozip{
  display: none !important;
}

.hygieneImg{
	position: relative;
}

.hygieneImg figure:nth-of-type(2){
	position: absolute;
	right: 0;
	top: 80px;
}

.sitemap > div{
	display: flex;
	justify-content: space-between;
}

.sitemap ul{
	width: 48%;
}

.sitemap a{
	border: 0 !important;
}

.sitemap li{
	padding: 1rem 0;
	border-bottom: 1px solid #222;
}

.sitemap span{
	display: none;
}

@media screen and (min-width: 960px){
	main#page .content{
		margin: auto;
		padding: 0 1.875em;
		max-width: 1440px;
	}
}


@media screen and (max-width: 959px){
	.content{
		padding-right: 1em;
		padding-left: 1em;
	}
	.content > section{
		padding: 3em 0;
	}
	.content > section:first-of-type{
		padding-top: 0;
	}
	.content > section:not(#fv):not(#mainImgHistory) > div{
		padding: 0 1em;
	}
	.smf-item__label br{
		display: none;
	}
	.smf-form--business .smf-item__col{
		padding: .5em;
	}
	.smf-form--business .smf-item__col--controls{
		padding-bottom: 2em;
	}
}

@media (min-width: 640px){
	.snow-monkey-form .smf-form--business .smf-item__col--label{
		max-width: 20em;
		flex: 0 0 20em;
		border: 0;
	}
}


@media screen and (min-width: 782px){
	h2.wp-block-heading br,
	h3.wp-block-heading br,
	.spShow{
		display: none;
	}
}

@media screen and (max-width: 781px){
	.pcShow{
		display: none;
	}
	.wp-block-columns{
		padding: 2rem 0;
	}
	#title{
		aspect-ratio: 1 / .7;
	}

	#title h1{
		font-size: 1.25em;
	}
	h2.wp-block-heading{
		margin: 2rem 0;
		font-size: 2em;
	}
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column figure{
		margin: auto;
		width: fit-content;
	}
	.spReverse > div:first-of-type{
		order: 1;
	}
	.spReverse > div:last-of-type{
		order: 0;
	}
	.content > section.mondeSelect,
	.content > section.mondeSelect .wp-block-columns {
		padding-top: 0 !important;
	}
	.mondeSelect img{
		width: 120px;
	}
}

#mainImgHistory{
	padding-top: 120px;
	padding-bottom: 30px !important;
	background: #143376;
}
#mainImgHistory .inner{
	position: relative;
	display: flex;
	max-width: 1240px;
	height: min(49vw, 600px);
}
#mainImgHistory h1{
	position: relative;
	padding-top: 1em;
	font-size: min(2vw, 26px);
	color: #fff;
	z-index: 1;
}
#en #mainImgHistory h1{
	font-size: min(2vw, 24px);
	line-height: 1.8;
}
#mainImgHistory picture{
	position: absolute;
	bottom: 0;
	left: 0;
	line-height: 0;
	z-index: 0;
}
#mainImgHistory:after{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -99px;
	content: '';
	width: 300px;
	height: 100px;
	background: linear-gradient(#143376, #01040b);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 1;
}
#mainImgHistory:before{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -50px;
	content: '誕生秘話';
	color: #fff;
	font-size: 2em;
	letter-spacing: .1em;
	z-index: 2;
}
#en #mainImgHistory:before{
	width: 8em;
	bottom: -55px;
	font-size: 1.2em;
	line-height: 1.3;
	text-align: center;
	content: 'The Story Behind Its Creation';
}
#steps1{
	background: #F9F7F3;
}
#steps1 h2,
#next-gen h2{
	margin: 1em auto 1.5em;
}
#steps1:after{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -100px;
	content: '';
	width: 300px;
	height: 100px;
	background: #F9F7F3;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 1;
}
.history > div > div{
	position: relative;
	padding-bottom: 1em;
	background: #fff;
	border: 1px solid #98999D;
}
.history > div > div:not(:last-child):after{
	position: absolute;
	content: '';
	background: #d6d2cf;
}
.history > div > div h3{
	margin: 0 0 1em;
	padding: .5em;
	background: #e6e6e6;
	text-align: center;
}
.history > div > div h3 em{
	display: block;
	font-size: 1em;
}
.history > div > div p{
	margin-right: 1em;
	margin-left: 1em;
}
.star{
	color: #cf1d3a;
}
.star i{
	color: #a0a0a0;
	font-style: normal;
}
#steps1 ul{
	padding-top: 1em;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1em;
	font-size: 1.4em;
}
#next-gen{
	padding-bottom: 15vw;
	background: transparent !important;
	z-index: 0;
}
#next-gen:after{
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 20vw;
	background: url(images/wave.png) no-repeat 0 100% / 100% auto;
}
#next-gen h2 strong{
	font-size: 1.4em;
	color: #cf1d3a;
}
#next-gen > div{
	padding-bottom: 100px !important;
	background: url(images/octopus.png) no-repeat 100% 100% / 70% auto;
}
#next-gen .txt{
	width: fit-content;
}
#next-gen h3{
	border: 0;
	line-height: 3;
	text-decoration: underline;
	text-underline-offset: .5em;
}
#next-gen h3.wp-block-heading br{
	display: block;
}
#next-gen p{
	font-size: 1.2em;
}

@media screen and (min-width: 782px){
	.history > div{
		justify-content: space-between;
	}
	.history > div > div{
		width: 31%;
	}
	.history > div > div:after{
		top: 50%;
		transform: translateY(-50%);
		right: max(-2.8vw, -40px);
		width: min(1.78vw, 25px);
		height: 50px;
		clip-path: polygon(0 0, 0 100%, 100% 50%);
	}
}
@media screen and (max-width: 1200px){
	#next-gen > div{
		background-size: auto 400px;
	}
	#next-gen .txt{
		padding-bottom: 250px;
		margin: auto;
	}
	#steps1 ul{
		font-size: 1.2em;
	}
	#steps1 .wp-block-list li{
		margin: 0;
		line-height: 1.2;
	}
}
@media screen and (max-width: 959px){
  .page-history .content > section {
    padding: 5em 0 2em;
  }
  #steps1:after{
  	bottom: -49px;
  	width: 150px;
  	height: 50px;
  }
}
@media screen and (max-width: 781px){
	#mainImgHistory{
		padding-top: 3em;
	}
	#mainImgHistory h1{
		width: fit-content;
		margin: auto;
		padding-bottom: 125vw;
		text-align: center;
		font-size: min(5vw, 26px);
	}
	#en #mainImgHistory h1{
		padding-bottom: 130vw;
		font-size: min(4vw, 20px);
		text-align: left;
	}
	#mainImgHistory .inner{
		height: auto;
	}
	#mainImgHistory picture{
		width: 100%;
	}
	#en #mainImgHistory picture{
		padding-bottom: 1em;
	}
	#mainImgHistory img{
		max-width: initial;
		width: 100%;
	}
	#mainImgHistory:after{
		bottom: -49px;
		width: 150px;
		height: 50px;
	}
	#mainImgHistory:before{
		bottom: -20px;
		font-size: 1em;
	}
	#en #mainImgHistory:before{
		bottom: -20px;
		font-size: .8em;
	}
	#en #steps1 ul{
		padding-left: 1em;
		justify-content: flex-start;
	}
	.history > div > div{
		margin-bottom: 40px;
	}
	.history > div > div:after{
		bottom: -30px;
		left: calc(50% - 30px);
		width: 60px;
		height: 20px;
		clip-path: polygon(0 0, 100% 0, 50% 100%);
	}
	.history > div > div h3 em{
		padding: 0;
	}
	#next-gen > div{
		background-position: 50% 100%;
		background-size: auto 200px;
	}
	#next-gen .txt{
		padding-bottom: 80px;
	}
	#next-gen h2.wp-block-heading{
		font-size: 1.4em;
	}
	#next-gen h2 strong{
  	display: block;
  }
  #next-gen h3{
  	margin-top: 1rem;
  	font-size: 1.2em;
  }
}


