
body{
    background-color: #f8f8f8;
}

h1,h2{
    font-size: 24px;
}

@media screen and (min-width:768px){
    h1,h2{
        font-size: 32px;
    }
}

h3{
    font-size: 16px;
}

h1,h2,h3{
    color: #222222;
    font-family:"Zen Old Mincho", serif;
    letter-spacing: 1.5px;
}
p,span,a,li,dt,dd{
    color: #222222;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 1.5px;
}

@media screen and (min-width:768px){
    p{
        font-size: 16px;
    }
}

dt,dd{
    letter-spacing: 1px;
}
picture,img{
	width: 100%;
	height: 100%;
	display: block;
    object-fit: cover;
}

p{
    text-align: justify;
}


/* パンくずリスト */
.breadcrumbs span a{
	transition: 0.3s;
}

.breadcrumbs span a:hover{
	opacity: 0.5;
}
/* hedaer======================================= */
header{
    position: fixed;
    z-index: 9999;
    top: 20px;
    left: 20px;
    width: 89.34%;
    margin: 0 auto;
}

header a{
    font-family:"Zen Old Mincho", serif;
    width: 100%;
}

#header_sp{
    margin-left: auto;
}
#hamburger_icon{
    width: 60px;
    height: 20px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    position: relative;
    z-index: 100000;
    margin-left: auto;
}

#hamburger_icon span{
    width: 60px;
    height: 1px;
    background: #222;
    display: block;
    transition: 0.3s;
}

#hamburger_icon.close span:nth-child(1) {
  transform: translateY(9px) rotate(30deg);
}
#hamburger_icon.close span:nth-child(2) {
  opacity: 0;
}
#hamburger_icon.close span:nth-child(3) {
  transform: translateY(-9px) rotate(-30deg);
}

#hamburger_nav{
    transform: translateX(100%);
	transition: transform 0.3s ease-in-out;
	position: fixed;
    top: 0;
    right: 0;
    background-color: #EFE9D3;
    height: 100vh;
    width: 80vw;
}

#hamburger_nav li{
    text-align: center;
    margin-top: 50px;
}

#hamburger_nav li a{
    font-size: 20px;
}

#hamburger_nav li:first-child{
    margin-top: 150px;
}
#hamburger_nav.active{
	transform: translateX(0%);
}


/* pc hedaer======================== */
#header_pc{
    display: none;
}
@media screen and (min-width:768px){
    header{
        top: 30px;
        width: 100%;
        left: 0;
        height: 84px;
    }
    #header_pc{
        display: flex;
    }

    #header_sp{
        display: none;
    }

    #header_pc ul{
        display: flex;
        gap: 40px;
        position: absolute;
        right: 100px;
    }
    #header_pc a{
        position: relative;
        display: block;
    }
     #header_pc li a::after {
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background: #5a5a5a;
        bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
        transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
        transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
        transition: transform 0.3s; /*変形の時間*/
    }

    #header_pc li a:hover::after {
        transform: scale(1, 1);
    }
}
/* footer=========================== */
footer{
    background: #EFE9D3;
    text-align: center;
    position: relative;
}

#page_top{
    background: #C8C3A5;
    color: #fff;
    font-size: 14px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    right: 8%;
    top: -30px;
    padding-top: 46px;
    line-height: 100%;
    transition:  all 0.3s ease-in-out;
}

#page_top::before{
    content:"";
    width: 30px;
    height: 30px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    position: absolute;
    top:25px;
    left: 25px;
    transform: rotate(45deg);
}

#page_top:hover{
    opacity: 0.7;
}

.footer ul{
    padding: 100px 0 90px 0;
}

@media screen and (min-width:768px){
    .footer ul{
        padding: 0;
        display: flex;
        gap: 40px;
        justify-content: flex-end;
        padding-right: 100px;
    }
}

.footer ul li:nth-child(n+2){
    margin-top: 40px;
}

@media screen and (min-width:768px){
    .footer ul li:nth-child(n+2){
        margin-top: 0;
    }
}

.footer a{
    color: #222222;
    font-family:"Zen Old Mincho", serif;
    font-size: 16px;
    line-height: 170%;
}

@media screen and (min-width:768px){
  .footer li a{
        font-size: 14px;
        position: relative;
        display: block;
    }

     .footer li a::after {
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background: #5a5a5a;
        bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
        transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
        transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
        transition: transform 0.3s; /*変形の時間*/
    }

    .footer li a:hover::after {
        transform: scale(1, 1);
    }
    .pc_footer{
        width: 95.1875%;
        margin: 0 auto;
        padding: 300px 0 20px 0;
        display: flex;
        flex-flow: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
        
    }
}

small{
    color: #222222;
    font-family:"Zen Old Mincho", serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    display: block;
    text-align: center;
    padding-bottom: 10px;
}
@media screen and (min-width:768px){
    small{
        padding-bottom: 0;
    }
}

/* breadcrumbs=================== */
.breadcrumbs{
	font-family:"Zen Old Mincho", serif;
	display: flex;
	justify-content: center;
    align-items: center;
}

@media screen and (min-width:768px){
	.breadcrumbs{
		gap: 10px;
	}
}

.breadcrumbs span
{
	font-family:"Zen Old Mincho", serif;
	line-height: 150%;
	display: block;
}

/* jquery */
    .fadein_fv {
        opacity: 0;
        transition: opacity 2s ease-out, transform 1s ease-out;
    }
    .fv_visible {
        opacity: 1;
    }
    .fadein{
        opacity: 0;
        transition: opacity 1.5s ease-out, transform 0.8s ease-out;
    }
    .visible{
        transition-delay: 0.2s;
        opacity: 1;
    }

    .message_text.visible2{
        transition-delay: 0.2s;
        opacity: 1;
    }

    .work_fadein{
        opacity: 0;
        transition: opacity 1.5s ease-out, transform 0.8s ease-out;
    }

    .work_fadein.is-visible{
        transition-delay: 0.2s;
        opacity: 1;
    }
