/* -------------------------
共通
------------------------- */
:root {
    --primary-white: #FFFFFF;
    --primary-black: #1C1C1C;
    --primary-gray900: #212121;
    --primary-gray800: #424242;
    --primary-gray700: #616161;
    --primary-gray600: #757575;
    --primary-gray500: #9E9E9E;
    --primary-gray400: #BDBDBD;
    --primary-gray300: #E0E0E0;
    --primary-gray200: #EEEEEE;
    --primary-gray100: #F5F5F5;
    --primary-gray050: #FAFAFA;

    --primary-green900: #39922c;
    --primary-green800: #44af35;
    --primary-green700: #61bb55;
    --primary-green600: #7fc874;
    --primary-green500: #9cd493;
    --primary-green400: #b8e0b2;
    --primary-green300: #b9e1b3;
    --primary-green200: #d0ebcd;
    --primary-green100: #e8f5e6;
    --primary-green050: #f3faf3;

    --primary-txtlink: #38CA69;
    --primary-txtlinkhover: #23B553;

    --primary-yellow: #F5AA00;
    --primary-orange: #E57D1B;

}



/* -------------------------
header
------------------------- */
.offken_header{
	background-color: var(--primary-white);
	border-bottom: 2px solid var(--primary-green800);
	position: sticky;
	top: 0px;
	z-index: 10;
	height: 60px;
}
.offken_header .inner{
	padding: 0 10px;
}
.offken_header nav{
	height: 60px;
     font-family: "Noto Sans JP", sans-serif;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
}
.offken_header nav a img {
    width: 100%;
}
.logo{
	width: 101px;
	height: 30px;
	margin-right: auto;
}
.header_cta_btn_sp{
	font-size: 14px;
	font-weight: bold;
	color: var(--primary-white)!important;;
	background-color: var(--primary-green800);
	width: 140px;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
}
.burger{
	width: 44px;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	border: 1px solid var(--primary-green800);
	background-color: var(--primary-white);
	margin-left: 16px;
	position: relative;
	cursor: pointer;
}
.burger::before,
.burger::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	opacity: 1;
	transition: opacity 0.3s ease;
	transform: translate(-50%, -50%);
}
.burger::before {
	background-image: url('https://offken.com/images/burger.svg');
	opacity: 1;
}
.burger.active::before {
	opacity: 0;
}
.burger::after {
	background-image: url('https://offken.com/images/close.svg');
	opacity: 0;
}
.burger.active::after {
	opacity: 1;
}
.menu {
	display: none;
	list-style: none;
	padding: 0px 12px 0px;
	margin: 0;
	background: #fff;
	position: absolute;
	top: 60px; /* 適宜調整 */
	right: 0px;
	z-index: 999;
	width: 100%;
	height: 0;
	transition: 200ms ease;
}
.burger.active + .menu {
	height: calc(100vh - 60px);
    padding: 16px 12px 80px;
  	overflow-y: auto;
  	-webkit-overflow-scrolling: touch; /* iOSスムーススクロール */
}
.menu > li{
	padding: 14px 4px 16px;
	border-bottom: 1px solid var(--primary-green200);
}
.menu > li > span,
.menu > li > a{
	font-size: 14px;
	font-weight: bold;
	color: var(--primary-black);
	position: relative;
	display: block;
}
.menu > li > a::after{
	content:'';
	position: absolute;
	width: 6px;
	height: 11px;
	background: url(../images/right.svg) 50% 50% no-repeat;
	background-size: contain;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.menu > li.bottom{
	padding: 8px 24px;
	border-bottom: none;
}
.menu > li.bottom > a::after{
	content:none;
}
.menu .tel_num{
	margin-top: 40px;
}
.menu > li.tel_num a{
	color: var(--primary-green800);
	display: block;
}
.tel_num a span{
	font-size: 29px;
	display: table;
}
.menu > li.btn_box a{
	color: var(--primary-white);
	font-size: 20px;
	width: 300px;
	height: 62px;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background-color 200ms ease;
}
.menu_cta_btn_dl{
	background-color: var(--primary-yellow);
}
.menu_cta_btn_ct{
	background-color: var(--primary-green800);
}

.services {
	padding-top: 16px;
}
.services li{
	padding: 8px 0px 8px 24px;
}
.services li a{
	font-size: 14px;
	color: var(--primary-black);
	position: relative;
	display: block;
}
.services li a::after{
	content:'';
	position: absolute;
	width: 6px;
	height: 11px;
	background: url(../images/right.svg) 50% 50% no-repeat;
	background-size: contain;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.services li a .sp_none{
	display: none;
}
@media (min-width:1220px){
	.offken_header,
	.offken_header nav{
		height: 64px;
	}
	.offken_header .inner{
		max-width: 1280px;
		margin: 0 auto;
	}
	.logo{
		width: 120px;
		height: 43px;
	}
	.header_cta_btn_sp,
	.burger{
		display: none;
	}
	.menu,.burger.active + .menu{
		display: flex!important;
		justify-content: flex-end;
		align-items: center;
		padding: 0px;
		margin: 0;
		position: static;
		top: auto; /* 適宜調整 */
		right: auto;
		z-index: 1;
		width: fit-content;
		height: 60px;
		transition: none;
		background-color: transparent;
		gap: 10px;
		width: 960px;
		min-height: auto;
	}
	.menu > li{
		padding: 0;
		border-bottom: none;
		margin: 0 auto;
	}
	.menu > li:first-child > span,
	.services li:not(:first-child){
		display: none;
	}
	.menu li a::after{
		content: none;
	}
	.services{
		padding: 0;
	}
	.services li:first-child{
		padding: 0;
	}
	.services li:first-child a{
		font-weight: bold;
	}
	.services li a .sp_none{
		display: inline;
	}
	.services li a .pc_none{
		display: none;
	}
	.menu > li.bottom,.menu .tel_num{
		padding: 0;
		margin: 0;
	}
	.menu > .tel_num a{
		font-size: 11px;
		line-height: 1;
	}
	.tel_num a span{
		font-size: 24px;
		line-height: 1;
	}
	.menu > li.btn_box a{
		font-size: 14px;
		width: 200px;
		height: 44px;
	}
	.menu_cta_btn_dl:hover{
		background-color: var(--primary-orange);
	}
	.menu_cta_btn_ct:hover{
		background-color: var(--primary-green900);
	}
}

/*--1280pxにするとビチビチに詰まってしまうので少し余裕を持たせてから最大固定--*/
@media (min-width:1320px){
	.offken_header .inner{
		width: 1280px;
		padding: 0;
	}
}


/*---------------------------
 オフけん  サービス一覧
 ----------------------------*/

#reason h2 span {
    padding-bottom:3px;
    background:linear-gradient(0deg, #ECA515 3px, rgba(255, 255, 255, 0) 3px)
}
#reason .heading {
    font-size:clamp(.9375rem,.8642rem + .3128vw,1.125rem);
    margin-top:2em;
    line-height:1.618
}
#reason .heading p {
    text-align:left
}
#reason h4 {
  padding: 0 8px;
  /* margin-bottom: 12px; */
  font-size: 13px;
  line-height: 1.3em;
  color: #006600;
  max-inline-size: -moz-max-content;
  max-inline-size: max-content;
  margin-inline: auto;
  display: flex;
  align-items: center;
}
#reason .service_list p span {
  text-align: right;
  display: block;
  color: #45B035;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 20px;
}

#reason .service_list {
    gap:40px 24px
}
#reason .service_list li {
    background:#fff;
    border-radius:8px;
    box-shadow:0px 1px 6px -3px rgba(0,0,0,.5);
    overflow:hidden
}
#reason .service_list li img {
    aspect-ratio:1.66/1;
    -o-object-fit:cover;
    object-fit:cover;
    width:100%
}
#reason .service_list li  div {
    padding:8px 24px 32px;
    text-align:center
}
#reason .service_list li  div img {
    width:75%;
    margin-inline:auto
}
#reason .service_list li  div h4 {
    text-align:left;
    display:inline-flex;
    align-items:center;
    height:3.2em;
    line-height:1.414;
    font-size:clamp(1rem,.8534rem + .6257vw,1.375rem)
}
#reason .service_list li  div p {
    text-align:left;
    color:#2b2b2b;
    font-size:clamp(.875rem,.8261rem + .2086vw,1rem)
}
@media screen and (min-width: 580px) {
    #reason .service_list {
        gap:32px 24px
    }
    #reason .service_list li {
        width:calc(50% - 12px)
    }
}
@media screen and (min-width: 768px) {
  #reason .service_list li div h4 {
    font-size: 18px;
    padding: 0 16px;
  }
}

@media screen and (min-width: 920px) {
  #reason .heading p {
        text-align:center;
    }
    #reason .service_list {
        gap:32px 32px;
    }
    #reason .service_list li {
        width:calc(33% - 20px);
        transition:.24s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow:0px 0px 6px -3px rgba(0,0,0,.5)
    }
    #reason .service_list li.one_fourth {
        width:calc(25% - 25px);
    }
    #reason .service_list li.one_fourth  div img {
        width:64%;
    }
    #reason .service_list li.one_fourth  div h3 {
        font-size:18px;
    }
    #reason .service_list li.one_fourth  div p {
        font-size:16px;
        line-height: 1.7em;
    }
    #reason .service_list li:hover {
        box-shadow:0px 0px 6px -5px rgba(0,0,0,.8);
    }
    #reason .service_list li div h4 {
    font-size: 20px;
    padding: 0 24px;
  }
}



/* -------------------------
footer
------------------------- */
.offken_footer{
	background-color: var(--primary-green100);
	text-align: center;
	padding: 20px 0;
}
.offken_footer p {
	font-size: 12px;
}
