@charset "utf-8";
/* CSS Document */

/* 汎用 */
.btnType1,
.wp-block-button__link{
    display: block;
    background-color: var(--color1);
    color: #FFF !important;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    padding: 1.2rem 1.1rem 1.1rem 1.1rem;
}

.btnType1:hover,
.wp-block-button__link:hover{
    background-color: var(--color2);
    opacity: 1;
}

.btnType1.isEn{
    font-family: var(--font-en);
    font-weight: 600;
}

.btnType2{
    display: block;
    border: solid 0.1rem var(--color1);
    text-align: center;
    color: var(--color1) !important;
    font-size: 1.9rem;
    text-decoration: none;
    line-height: 1.2;
    padding: 1.6rem 1.1rem 1.6rem 1.1rem;
    width: fit-content;
    min-width: 22rem;
    margin-inline: auto;
    box-sizing: border-box;
}

.btnType2:hover{
    background-color: var(--color2);
    color: #FFF !important;
    border-color: var(--color2);
    opacity: 1;
}

.btnType2.isEn{
    font-family: var(--font-en);
    font-weight: 600;
}


.linkType1{
    text-decoration: none;
    display: inline-block;
    border-bottom: solid 1px var(--color1);
}

.linkType1:hover{
    color: var(--color2);
    opacity: 1;
    border-color: var(--color2);
}

/* テンプレート */

.lowHead{
    text-align: center;
    padding: 2.4rem 0 4.3rem;
}

.lowHead__txt{
    width: fit-content;
    margin:0 auto;
    border-bottom: solid 0.1rem var(--color1);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1;
    padding-bottom: 0.1em;
    font-family: var(--font-en);
}

.lowMv img,
.lowMv picture{
    width: 100%;
}



.panNav{
    padding: 1rem;
}

.panNav__list{
    display: flex;
    flex-wrap: wrap;
    line-height: 1.4;
}

ul.panNav__list>li{
    padding-bottom: 0.1em;
}

.panNav__list>li:not(:last-child){
    padding-right: 2em;
    background: url(../img/common/arrow1_right_b.svg) no-repeat right 0.5em center;
    background-size: 1em auto;

}

ul.panNav__list>li a{
    text-decoration: none;
    &:hover{ color: var(--color2); }
}


/* ヘッダ */
#container{
    padding-top: 8.5rem;
}

.header{
    height:8.5rem;
    position: fixed;
    display: flex;
    align-items: center;
    padding-inline:2rem;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 90;
    background-color: #FFF;
}

.header__logo{
    position: relative;
    margin: 0;
    padding: 0;
    width: 9.3rem;
    height: auto;
    line-height: 0;
}

.header__logo:after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color2);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.3s linear;
}

.header__logo:hover:after {
  opacity: 1;
}

a:has(.header__logo):hover{
    opacity: 1;
}
/* ナビ
---------------------------------- */
.mainNav{
    width: 24.5rem;
    height: 120%;
    position: fixed;
    background-color: var(--color2);
    color: #FFF;
    right: 0;
    top: 0;
    box-sizing: border-box;
    padding: 15rem 2rem 2rem 2rem;
    z-index: 105;
    transform: translateX(100%);
    transition: transform 200ms ease-out;
    overflow-y: auto;
    overscroll-behavior:none;
}

ul.mainNav__list>li{
    margin-bottom: 4.5rem;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1;
    font-family: var(--font-en);
}

.mainNav__list>li>a{
    color: #FFF;
    text-decoration: none;
    display: block;
    width: fit-content;
    padding-bottom: 0.5rem;
}

ul.mainNav__list>li.active>a{
    border-bottom: solid 1px #FFF;
}

body.navActive .mainNav{
    transform: translateX(0);
}


.navBg{
    position: fixed;
    width: 100%;
    height: 120%;
    z-index: 2;
    /* background-color: rgba(255,255,255,0.3); */
    left: 0;
    top: 0;
    display: none;
}

body.navActive .navBg{
    display: block;
    overscroll-behavior:none;
}



/* ハンバーガー 
---------------------------------- */
.header__btn{
    position: fixed;
    right: 0;
    top: 0;
    z-index: 110;
    width: auto;
    padding: 0 2.5rem;
    height: 8.5rem;
    display: grid;
    place-content: center;
}

.header__btn__opner{
	position: relative;
	cursor: pointer;
    width: 2.5rem;
    height: 1.5rem;
	z-index: 120;
}

.header__btn__opner span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 0;
    height: 2px;
	background: var(--color1);
  	width: 2.5rem
  }

.header__btn__opner span:nth-of-type(1) {
	top:0;	
}

.header__btn__opner span:nth-of-type(2) {
	top:calc(50% - 1px);
}

.header__btn__opner span:nth-of-type(3) {
	bottom:0;
}

/*activeクラスが付与されると線が回転して×に*/

body.navActive .header__btn__opner span:nth-of-type(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
    background-color: #FFF;
}

body.navActive .header__btn__opner span:nth-of-type(2) {
	opacity: 0;
    background-color: #FFF;
}

body.navActive .header__btn__opner span:nth-of-type(3){
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
    background-color: #FFF;
}


/* フッター */
.footer{
    background-color: var(--color2);
    color: #FFF !important;
    padding: 3.7rem 2rem;
}

.footer__logo{
    width: 18.3rem;
    margin: 0 auto 2.5rem auto;
}

.footer__contact{
    margin-bottom: 2rem;
}

.footer__contact a{
    width: fit-content;
    display: block;
    margin: 0 auto;
    border: solid 0.1rem #FFF;
    color: #FFF;
    padding: 1rem;
    line-height: 1;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: var(--font-en);
}

.footer__contact a:hover{
    background-color: #FFF;
    color: var(--color2);
    opacity: 1;
}

.footer__copy{
    text-align: center;
    font-size: 0.917rem;
}


.fadein {
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
  backface-visibility: hidden;
}

.fadein.inView {
  opacity: 1;
}