@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  color: #3A3533;
  background-color: #F3EEE9;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
p {
    line-height: 2.2em;
    text-align: justify;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
a {
  color: #222;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* 共通設定 ------------------------------- */
.pc{
    display: block;
}
.tb{
    display: none;
}
.sp{
    display: none;
}

/* 画面遷移アニメーション */
/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #F3EEE9;
	z-index: 9999999;
	text-align:center;
	color:#3A3533;
}

#splash-logo {
    width: 100px;
    height: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#splash-logo img{
    width: 100%;
    height: auto;
    object-fit: contain;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: #EADED1;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	/* animation-duration:1.2s; */
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}
body.home.appear .splashbg{
    animation-duration:1.5s;
}
body.page.appear .splashbg{
    animation-duration:0.5s;
}
body.post-type-archive-works.appear .splashbg{
    animation-duration:0.5s;
}
body.single-works.appear .splashbg{
    animation-duration:0.5s;
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

/* テキスト用アニメーション */
.slide-in {
    display: block;
    overflow: hidden;
}

.slide-in_inner {
	display: inline-block;
}

/* 上下のアニメーション*/
.downAnime{
    opacity: 0;
}
.slideAnimeDownUp {
    animation-name:slideTextY100;
    animation-duration:0.8s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextY100 {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slideAnimeUpDown {
    animation-name:slideTextY-100;
    animation-duration:0.8s;
    animation-fill-mode:forwards;
    opacity: 0;
}

.slideAnimeDownUp.delay1,
.slideAnimeUpDown.delay1 {
    animation-delay: 0s;
}

.slideAnimeDownUp.delay2,
.slideAnimeUpDown.delay2 {
    animation-delay: 0.3s;
}

.slideAnimeDownUp.delay3,
.slideAnimeUpDown.delay3 {
    animation-delay: 0.6s;
}

.slideAnimeDownUp.delay4,
.slideAnimeUpDown.delay4 {
    animation-delay: 0.9s;
}

.slideAnimeDownUp.delay5,
.slideAnimeUpDown.delay5 {
    animation-delay: 1.2s;
}

@keyframes slideTextY-100 {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ボタン */
.btn{
    display: block;
    width: 300px;
    height: 65px;
    background-color: #fff;
    border-radius: 40px;
    border: 1px solid #E17738;
    color: #E17738;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}
.btn::after{
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid #E17738;
    border-right: 1px solid #E17738;
    position: absolute;
    top: 28px;
    right: 30px;
    transform: rotate(45deg);
}
.btn:hover{
    background-color: #E17738;
    color: #fff;
}
.btn:hover::after{
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    right: 25px;
}

/* ページタイトル */
.page-title{
    position: relative;
    padding: 105px 0 60px;
    margin-left: 5%;
}
.page-title::before{
    content: "";
    width: 130px;
    height: 244px;
    border-radius: 0 0 70px 70px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.page-title .en{
    display: block;
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 48px;
    line-height: 1em;
    margin-left: 30px;
    margin-bottom: 10px;
}
.page-title .ja{
    display: block;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 1em;
    margin-left: 30px;
}

/* 背景サークル */
.back-image{
    width: 500px;
    aspect-ratio: 1 / 1;
    position: fixed;
    top: -100px;
    right: 5%;
    z-index: -1;
}
.back-image img{
    width: 100%;
    height: 100%;
    animation: rotateCircle 40s linear infinite;
}
@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 各ページイントロダクション */
.page-introduction{
    max-width: 786px;
    width: 65%;
    line-height: 1.5em;
    margin: -30px auto 60px auto;
}

/* ドット装飾 */
.dot-area{
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}
.dot-area .dot{
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.dot-area .dot:nth-of-type(1){
    background-color: #70B5B0;
}
.dot-area .dot:nth-of-type(2){
    background-color: #B3C384;
}
.dot-area .dot:nth-of-type(3){
    background-color: #7688B5;
}


/* header -------------------------------- */
#header{
    width: 100%;
}

#header .logo{
    width: 150px;
    position: fixed;
    left: 3%;
    bottom: 20px;
    z-index: 100;
}
#header .logo a{
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}
#header .logo a .logo-circle,
#header .logo a .logo-75{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#header .logo a .logo-circle{
    width: 100%;
    animation: rotateLogo 40s linear infinite;
}
#header .logo a .logo-75{
    width: 45%;
    z-index: 2;
}

@keyframes rotateLogo {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ハンバーガーメニュー */
#header .hamburger{
    width: 130px;
    height: 50px;
    background-color: #231815;
    border-radius: 35px 0 0 35px;
    cursor: pointer;
    position: fixed;
    top: 40px;
    right: 0;
    z-index: 100;
}
#header .hamburger span{
    width: 24px;
    height: 1px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    left: 20px;
    transition: all 0.4s;
}
#header .hamburger span:nth-of-type(1){
    top: 18px;
}
#header .hamburger span:nth-of-type(2){
    top: 25px;
}
#header .hamburger span:nth-of-type(3){
    top: 32px;
}
/* active */
#header .hamburger.active span:nth-of-type(1){
    top: 25px;
    transform: rotate(45deg);
}
#header .hamburger.active span:nth-of-type(2){
    opacity: 0;
}
#header .hamburger.active span:nth-of-type(3){
    top: 25px;
    transform: rotate(-45deg);
}

#header .nav{
    width: 100%;
    height: 100vh;
    background-color: #EADED1;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#header .nav.active{
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s ease;
}

#header .nav .nav-wrap{
    width: 80%;
    height: 80%;
    background-color: #F3EEE9;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
#header .nav .nav-wrap .menu li{
    text-align: center;
    margin-bottom: 6vh;
}
#header .nav .nav-wrap .menu li:last-child{
    margin-bottom: 0;
}
#header .nav .nav-wrap .menu li a:hover{
    opacity: 1;
}
#header .nav .nav-wrap .menu li a .en{
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #E17738;
    font-size: 24px;
    display: block;
}
#header .nav .nav-wrap .menu li a:hover .en{
    color: #231815;
}
#header .nav .nav-wrap .menu li a .ja{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    display: block;
}


/* contact&follow  ----------------------- */
#contact-follow{
    width: 100%;
    padding: 100px 0;
    margin: 0;
}

#contact-follow > a{
    display: block;
    width: 45%;
    border-radius: 130px;
    padding: 50px 0;
}

#contact-follow .contact{
    background-color: #B3C384;
    margin: 0 auto 0 10%;
    position: relative;
}
#contact-follow .contact::before{
    content: "";
    width: 120px;
    height: 150px;
    background-image: url(../img/contact.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -110px;
    left: 50px;
    z-index: -1;
}

#contact-follow .follow{
    background-color: #70B5B0;
    margin: 0 10% 0 auto;
    position: relative;
}
#contact-follow .follow::before{
    content: "";
    width: 120px;
    height: 150px;
    background-image: url(../img/follow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -110px;
    right: 50px;
    z-index: -1;
}

#contact-follow > a > p{
    line-height: 1.3em;
    text-align: center;
    transition: all 0.5s ease;
}
#contact-follow > a .title{
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 64px;
    font-weight: 700;
}
#contact-follow > a:hover .title{
    color: #fff;
}


/* footer  ------------------------------- */
#footer{
    width: 100%;
    padding: 100px 0 300px;
    margin: 0;
}

#footer .footer-logo{
    width: 130px;
    height: 130px;
    margin: 0 auto 100px;
}
#footer .footer-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#footer .footer-nav{
    width: 90%;
    margin: 0 auto;
}
#footer .footer-nav .footer-nav-list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
#footer .footer-nav .footer-nav-list li{
    margin: 20px 2%;
}

#footer .footer-nav .footer-nav-list li > a{
    display: block;
    position: relative;
}
#footer .footer-nav .footer-nav-list li > a:hover{
    color: #E17738;
}
#footer .footer-nav .footer-nav-list li > a::after{
    content: "";
    width: 100%;
    height: 2px;
    background-color: #E17738;
    position: absolute;
    bottom: -10px;
    left: 0;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}
#footer .footer-nav .footer-nav-list li > a:hover::after{
    transform: scale(1, 1);/*X方向にスケール拡大*/
}

/* top-scroll-btn  ----------------------- */
#page-top a{
	display: block;
	background:#231815;
	width: 50px;
	height: 50px;
    border-radius: 50%;
	transition:all 0.3s;
    position: relative;
}
#page-top a::before{
    content: "";
    width: 10px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 25px;
    left: 17px;
    transform: rotate(-45deg);
}
#page-top a::after{
    content: "";
    width: 10px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 25px;
    right: 17px;
    transform: rotate(45deg);
}

#page-top a:hover{
    background: #3A3533;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 5%;
	bottom:50px;
	z-index: 100;
	opacity: 0;
	transform: translateX(300px);
}

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(300px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(300px);
  }
}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* 共通設定 ------------------------------- */
    .pc{
        display: none;
    }
    .tb{
        display: block;
    }

    /* 背景サークル */
    .back-image{
        width: 350px;
    }

    /* 各ページイントロダクション */
    .page-introduction{
        width: 80%;
        margin: 10px auto 60px auto;
    }

    /* contact&follow  ----------------------- */
    #contact-follow > a{
        width: 55%;
    }

    #contact-follow .contact{
        margin: 0 auto 40px 10%;
    }

    #contact-follow > a .title{
        font-size: 64px;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ------------------------------- */
    .sp{
        display: block;
    }

    /* ページ遷移アニメーション */
    body.single-works.appear #container,
    body.post-type-archive-works.appear #container,    
    body.page.appear #container{    
        animation-delay:0.2s;
    }

    /* ページタイトル */
    .page-title::before{
        width: 100px;
    }

    /* 背景サークル */
    .back-image{
        width: 270px;
        right: -100px;
    }

    /* 各ページイントロダクション */
    .page-introduction{
        font-size: 14px;
        width: 80%;
        margin: 20px auto 60px auto;
    }


    /* header -------------------------------- */
    #header .logo{
        width: 100px;
    }

    /* ハンバーガーメニュー */
    #header .hamburger{
        width: 80px;
        height: 45px;
        top: 20px;
    }
    #header .hamburger span:nth-of-type(1){
        top: 15.5px;
    }
    #header .hamburger span:nth-of-type(2){
        top: 22.5px;
    }
    #header .hamburger span:nth-of-type(3){
        top: 29.5px;
    }
    /* active */
    #header .hamburger.active span:nth-of-type(1){
        top: 22.5px;
    }
    #header .hamburger.active span:nth-of-type(3){
        top: 22.5px;
    }

    #header .nav .nav-wrap .menu li a:hover .en{
        color: #E17738;
    }

    /* contact&follow  ----------------------- */
    #contact-follow > a{
        width: 90%;
        padding: 30px 0 35px 0;
    }

    #contact-follow .contact{
        margin: 0 auto 120px 5%;
    }
    #contact-follow .contact::before{
        width: 100px;
        height: 126px;
        top: -80px;
    }

    #contact-follow .follow{
        margin: 0 5% 0 auto;
    }
    #contact-follow .follow::before{
        width: 100px;
        height: 126px;
        top: -80px;
    }

    #contact-follow > a .title{
        font-size: 56px;
    }
    #contact-follow > a .notice{
        font-size: 13px;
    }

    /* footer  ------------------------------- */
    #footer{
        padding: 100px 0 180px;
    }

    #footer .footer-logo{
        width: 100px;
        height: 100px;
        margin: 0 auto 60px;
    }

    #footer .footer-nav .footer-nav-list{
        flex-direction: column;
    }
    #footer .footer-nav .footer-nav-list li{
        margin: 12px 2%;
    }


    /* top-scroll-btn  ----------------------- */
    #page-top a{
        width: 40px;
        height: 40px;
    }
    #page-top a::before{
        top: 20px;
        left: 12px;
    }
    #page-top a::after{
        top: 20px;
        right: 12px;
    }


}