@charset "utf-8";
/* CSS Document */
/*===共通部分==============
====================================================================*/
html{
	font-size: 100%;
}
body{
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	color: #333;
	font-size: clamp(16px,2vw,18px);
	background: #fff;
	-webkit-font-smoothing: antialiased;/*アンチエイリアスを滑らかに*/
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.7;
}
p{
	letter-spacing: 0.1em;
}
h1,h2,h3,h4,h5,h6{
	font-weight: 600;
	line-height: 1.7;
}
a{
	text-decoration: none;
	color: #333;
	transition: .4s;
}
ul,ol{
	list-style: none;
	padding: 0;
}
main{
	width: 100%;
	height: 100%;
	overflow: hidden;
}

section {
	padding: clamp(60px,8vw,100px) 0 ;
	position: relative;
}
table{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;/*隙間なし*/
}

/*改行　-------*/
@media (min-width: 451px){
	br.only450{
		display: none;
	}
}

@media (max-width: 450px){
	br.not450{
		display: none;
	}
}

span.ib{
	display: inline-block!important;
}

/*PC・SP表示-----------------------*/
.sp{
	display: none;
}
.pc{
	display: block;
}

@media (max-width: 767px) {
	.sp{
		display: block;
	}
	.pc{
		display: none;
	}
}

/*幅・高さ調整-------*/
.inner{
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
}
.inner.wide{
	max-width: 1400px;
}
.inner.max{
	max-width: none;
}
.inner.w960{
	max-width: 960px;
}
/*高さ*/

.mg100{
	margin-bottom: 100px !important;
}
.mg80{
	margin-bottom: 80px !important;
}
.mg60{
	margin-bottom: 60px !important;
}
.mg50{
	margin-bottom: 50px !important;
}
.mg40{
	margin-bottom: 40px !important;
}
.mg30{
	margin-bottom: 30px !important;
}
.mg20{
	margin-bottom: 20px !important;
}
.mg10{
	margin-bottom: 10px !important;
}
.mg0{
	margin-bottom: 0 !important;
}

.pmg5 p{
	margin-bottom: 5px;
}
.pmg p{
	margin-bottom: 10px;
}
.pmg15 p{
	margin-bottom: 15px;
}
.pmg20 p{
	margin-bottom: 20px;
}
.pmg5 p:last-child,
.pmg p:last-child,
.pmg15 p:last-child,
.pmg20 p:last-child{
	margin-bottom: 0;
}

.t_center{
	text-align: center;
}
.t_left{
	text-align: left;
}
/* 画像　-------------------------- */
img{
	width: 100%;
	height: auto;
}
.obj-in{
	width: 100%;
	height: 100%;
	object-fit: contain
}
.obj-cov{
	width: 100%;
	height: 100%;
	object-fit: cover;	
}
.img_4-3{
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.img_16-9{
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/*flexbox------------------------*/
.flexbox{
	display: flex;
	flex-wrap: wrap;
}
.f_jsb{
	justify-content: space-between;
}
.f_cent{
	justify-content: center;
}
.fac{
	align-items: center;
}

.comn2{
	width: 48%;
}
.comn3{
	width: calc( 100% / 3 - 20px);
}
.comn4{
	width: 35%;
}
.comn5{
	width: 62%;
}

.f_center{
	align-items: center;
}
@media (max-width: 767px){
	.flexbox{
		flex-direction: column;
	}
	.flexbox.rever{
		flex-direction: column-reverse;
	}
	.comn2, .comn3, .comn4, .comn5 {
		width: 100%;
		margin-bottom: 30px
	}
}

/*==骨格=============================================*/

.layout{
	display:flex;
	min-height:100vh;
	position: relative;
}

.header-area{
	width:280px;
	flex-shrink:0;
	background:#eef1e4;
	position:fixed;
	top:0;
	left:0;
	height:100vh;
	z-index:100;
	transition: .4s;
}

.header-inner{
	height:100%;
	padding:60px 30px;
	display:flex;
	flex-direction:column;
	justify-content: space-between;
}
body.scrolled .header-area{
	width:220px;
	transition: .8s;
}


.content-area{
	margin-left:220px;
	transition: .8s;
}


/*===btn=============================================*/
:root {
    --main-color: #235429;
}

.c-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 280px;
    height: 72px;
	background: #fff;
    border: 1px solid var(--main-color);

    color: var(--main-color);
    text-decoration: none;
    transition: .4s ease;
    gap: 30px;
	margin: 20px 0;
}

.c-btn span {
    position: relative;
    z-index: 2;

    font-size: 1rem;
    letter-spacing: .15em;
}
.c-btn:hover {
    color: #fff;
}

.c-btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    background: var(--main-color);

    transition: width .4s ease;
}

.c-btn:hover::before {
    width: 100%;
}
.c-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 60px;
  height: 1px;
  background: var(--main-color);
  transition: all 0.3s ease;
}

.c-btn:hover::after {
  animation: OutIn-Line 700ms;
  transition: all 0.3s;
}

@keyframes OutIn-Line {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0
    }

    50% {
        -webkit-transform: scale3d(0,1,1);
        transform: scale3d(0,1,1);
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0
    }

    50.1% {
        -webkit-transform: scale3d(0,1,1);
        transform: scale3d(0,1,1);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0
    }
}


.c-btn i {
    position: relative;
    width: 40px;
    height: 1px;
    background: currentColor;
    z-index: 2;
}

.c-btn i::after {
    content: "";

    position: absolute;
    right: 0;
    top: 50%;

    width: 8px;
    height: 8px;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;

    transform: translateY(-50%) rotate(45deg);
}

