@charset "UTF-8";
/* CSS Variables for consistency */
:root {
	--primary-color: #950006;
	--primary-dark: #8c0d14;
	--white: #fff;
	--black: #000;
	--gray-light: #f4f3f1;
	--gray-medium: #d9d9d9;
	--gray-dark: #919191;
	--font-size-12: 12px;
	--font-size-14: 14px;
	--font-size-16: 16px;
	--font-size-18: 18px;
	--font-size-20: 20px;
	--font-size-24: 24px;
	--font-size-32: 32px;
	--gutter-1x: 8px;
	--gutter-2x: 16px;
	--gutter-3x: 24px;
	--gutter-4x: 32px;
	--gutter-6x: 48px;
	--gutter-8x: 64px;
	--border-radius-small: 4px;
	--border-radius-medium: 8px;
	--transition-fast: 0.3s ease;
}

/*  ========================
    *********  Reset and base styles  *********
=============================================  */
* { box-sizing: border-box; }

body {
	font-family: "Zen Kaku Gothic New", sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}

/*  ========================
    *********  Page head  *********
=============================================  */
.page__sub {
	position: relative;
	padding-bottom: 128px;
	overflow-x: hidden;
}

.page__ttl {
	position: relative;
}

.page__ttl h1 {
	margin: 0;
	padding: 0;
}

.page__ttl .sub_ttl {
	margin: 0;
}

.page__ttl picture img {
	width: 100%;
	height: auto;
	display: block;
}

.breadcrumb {
	padding: var(--gutter-3x, 24px) var(--gutter-2x, 16px);
    border-bottom: 1px solid var(--Mono-LightGray, #D9D9D9);
    line-height: 1.2;
    font-size: 0;
}

.breadcrumb li:not(:last-child)::after {
	content: ">";
	margin-left: var(--gutter-1x);
}

.breadcrumb a {
	text-decoration: none;
	color: inherit;
}

.breadcrumb .current {
	font-weight: bold;
}

.page__intro {
	letter-spacing: 0.16px;
	line-height: 1.6;
	margin: var(--gutter-16x) 0;
}

.wrap__w800 {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 var(--gutter-2x);
}
@media screen and (max-width:768px) {
	padding: 0 2rem;/* 上書きしちゃってた */
}

/*  ========================
    *********  Button styles  *********
=============================================  */
.btn_jisseki {
	position: absolute;/* sticky */
    top: 18rem;/* 35% */
    left: 80%;
	background: url(../../service/img/common/btn_follow.webp) no-repeat center center;
	background-size: contain;
	width: 191px;
	height: 212px;
	display: block;
	transition: all 0.5s ease;
}

.btn_jisseki:hover {
	background-image: url(../../service/img/common/btn_follow_hov.webp);
/* 	transform: scale(1.1); */
}

.btn_jisseki.passing {
	position: fixed;
	top: auto;
	bottom: 2%;
	right: 5%;
	z-index: 99;
	animation: fadeIn 0.5s ease-in-out;
}
@media screen and (min-width: 769px) {
    .btn_jisseki {
        margin-top: 0;/* -212px */
    }
}

/*  ========================
    *********  Sub section  *********
=============================================  */
.sub_sec {
	width: 100%;
	background: var(--primary-color);
	color: var(--white);
	margin-bottom: 128px;
}

.sub_sec .inner {
	max-width: calc(716px + 2rem);
	margin: 0 auto;
	padding: 80px var(--gutter-2x);
}

.sub_sec h2 {
	margin: 0 0 var(--gutter-6x);
	text-align: center;
	line-height: 1;
	letter-spacing: 6.4px;
	font-size: var(--font-size-32);
}

.sub_sec .flex {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gutter-2x);
}

.i_check {
	display: flex;
	align-items: center;
	background: var(--white);
	color: var(--primary-color);
	line-height: 1.2;
	border-radius: 0 50px 50px 0;
	padding: var(--gutter-2x) var(--gutter-4x);
	font-weight: 500;
	letter-spacing: 2px;
	font-size: var(--font-size-20);
	flex: 0 0 calc((100% - var(--gutter-2x)) / 2);
}

.i_check.wide {
	flex: 0 0 100%;
}

.i_check span {
	width: 26px;
	height: 26px;
	background: url(../../service/img/common/icon_check.svg) no-repeat center center;
	background-size: contain;
	margin-right: var(--gutter-2x);
	flex-shrink: 0;
}

/*  ========================
    *********  Box area  *********
=============================================  */
.box_area {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 80px var(--gutter-6x);
	max-width: calc(1100px + 4rem);
	margin: 0 auto;
	padding: 0 var(--gutter-2x);
}

.box01__item {
	display: flex;
	flex-direction: column;
	gap: var(--gutter-4x);
}

.box01__item img {
	width: 100%;
	/* 	border-radius: var(--border-radius-small); 角丸じゃなかったっぽい */
}

.box01__item .flex {
	display: flex;
	flex-direction: column;
	gap: var(--gutter-4x);
}

.box01__item .flex>p {
	color: var(--black);
	font-size: var(--font-size-20);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 2px;
	margin: 0;
}

.txtbox {
	display: flex;
	gap: 11px;
	align-items: flex-start;
}

.txtbox.noflex {
	display: block;
}

.txtbox img {
	width: 130px;
	height: 130px;
	flex-shrink: 0;
	border-radius: var(--border-radius-small);
	object-fit: cover;
}

.txtbox p {
	color: var(--black);
	font-size: var(--font-size-16);
	line-height: 1.6;
	letter-spacing: 0.16px;
}

.txtbox div {
	flex: 1;
}

/*  ========================
    *********  Footer section  *********
=============================================  */
#footer_contact {
/* 	margin-top: 128px; */
}
.footer_our {
	padding: 80px 0;
	background: var(--gray-light);
}

.footer_our .head {
	text-align: center;
	margin-bottom: var(--gutter-5x);
}

.footer_our h2.jp_title {
	font-size: var(--font-size-32);
	font-weight: 700;
	letter-spacing: 6.4px;
	margin: 0;
}

.en_title {
	font-size: var(--font-size-14);
	color: #999;
	margin-top: 10px;
	letter-spacing: 0.2em;
}

.footer_our__inner {
	max-width: calc(1170px + 5rem);
	margin: 0 auto;
	padding: 0 var(--gutter-5x);
}

.footer_our__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--gutter-2x);
}

.footer_our__list .list {
	background-color: var(--white);
	padding: var(--gutter-8x) var(--gutter-3x);
	border-radius: var(--border-radius-small);
}

.footer_our__list .list h3 {
	font-size: var(--font-size-24);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 4.8px;
	margin: 0 0 var(--gutter-3x);
    min-height: 90px;
}

.footer_our__list .list h3 .en {
	display: block;
	text-transform: uppercase;
	font-size: var(--font-size-12);
	font-weight: 400;
	color: var(--gray-dark);
	letter-spacing: 0.3em;
	margin-top: var(--gutter-1x);
}

.footer_our__list .list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	border-radius: var(--border-radius-small);
    border-top: 1px solid #ddd;
}

.footer_our__list .list ul li {
	border-bottom: 1px solid #ddd;
}

.footer_our__list .list ul li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	color: #333;
	padding: 14px var(--gutter-2x);
    position: relative;
}
.footer_our__list .list ul li a::after {
	content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    background: url(../../common/img/icon_link_insite_hover.png) center center / contain no-repeat;
    transition: all .4s;
}
.footer_our .footer_our__list .list ul li a:hover::after {
    background: url(../../common/img/icon_link_insite.png) no-repeat center center;
    background-size: contain;
}

.footer_our__list .list ul li a:hover::after {
	transform: translateX(3px);
}

/*  ========================
    *********  Animations  *********
=============================================  */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/*  ========================
    *********  SP Responsive  *********
=============================================  */
@media screen and (max-width:1200px) {
	.btn_jisseki {
		position: absolute;
        width: 30%;
        top: 17rem;
        left: inherit;
        right: 1%;
        margin-top: 0;
	}

	.btn_jisseki.passing {
		width: 30%;
        height: 30%;
        right: 1%;
	}
}
@media screen and (max-width: 768px) {
	.page__sub {
		padding-bottom: var(--gutter-8x);
	}
	.page__intro {
		margin: var(--gutter-8x) 0;
	}
	
	.sub_sec {
		margin-bottom: var(--gutter-8x);
	}
	.sub_sec .inner {
		width: 90%;
		padding: var(--gutter-8x) var(--gutter-2x);
	}

	.sub_sec h2 {
		font-size: var(--font-size-24);
	}

	.i_check {
		font-size: var(--font-size-18);
		flex: 0 0 100%;
	}

	.box_area {
		grid-template-columns: 1fr;
		width: 90%;
		gap: var(--gutter-8x);
	}
	.box_area img {
		width: 100%;
		height: 100%;
	}
	.box_area .txtbox img {
		width: 30%;
		height: inherit;
	}

	.box01__item .flex {
		width: 100%;
	}

	.footer_our__inner {
		width: 100%;
		padding: 0;
	}

	.footer_our h2.jp_title {
		font-size: var(--font-size-24);
	}

	.footer_our__list {
		grid-template-columns: 1fr;
		width: 82.93%;
		margin: 0 auto;
	}

	.footer_our__list .list ul li a {
		font-size: 13px;
		padding: 12px var(--gutter-2x);
	}
}
@media screen and (max-width: 1170px) {
	.footer_our__inner {
		width: 100%;
	}
}