/*
Theme Name: underscore
Theme URI: 
Text Domain: underscore
*/
/* CSS Document */
/* RESET_START */
/* reset css */

@charset "UTF-8";




/*

◼︎CSS INDEX

カスタムプロパティ
reset css
基本設定
ヘッダー
フッター
パーツ：アニメーション
パーツ：基本（inner,pc/spでの表示非表示など）
パーツ：見出しタイトル
パーツ：ボタン

アニメーションについて
.anime-◯◯などanimeで始まるクラス名を付与すると
JSでanimeという文字列を探してis-visibleクラスを付与します

*/

/*######################################################
カスタムプロパティ
######################################################*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap");

/* =====================
フォント
===================== */
:root {
	--font-family-base: "Noto Sans JP", sans-serif;
}

/* =====================
インナー幅の設定
===================== */
:root {
	--width-inner: 900px;
	--width-inner-sub: 700px;
}

/* =====================
カラー設定
===================== */
:root {
	--color-main: #c40d23;
	--color-black: #000000;
	--color-gray: #cacacb;
	--color-white: #ffffff;
	--color-red: #c40d23;
	--color-body-bg: #d7d8cf;
	--color-body-txt: #000000;
	--color-btn-bg: #113961;
	--color-btn-txt: #ffffff;
}

/* =====================
その他の設定
===================== */
:root {
	--border-radius: 10px;
}

/* =====================
--scrollbarのサイズ取得
===================== */
:root {
	--scrollbar: 0;
}

/*######################################################
reset css
######################################################*/
html {
	background-color: var(--color-body-bg);
	color: var(--color-body-txt);
	overflow-x: hidden;
}

body * {
	font-family: var(--font-family-base);
	font-size: clamp(14px, 1.2vw, 16px);
	font-feature-settings: "palt" 1;
	box-sizing: border-box;
	line-height: 1.75;
	position: relative;
	word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
	color: var(--color-link-txt);
}

html,
body,
div,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
iframe,
blockquote,
pre,
a,
address,
em,
img,
small,
strike,
strong,
sub,
sup,
b,
u,
i,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
form,
label,
article,
aside,
canvas,
details,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: 400;
	vertical-align: baseline;
	position: relative;
	z-index: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th,
td {
	text-align: left;
}

ol,
ul {
	padding-left: 2em;
}

img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/*######################################################
共通設定
######################################################*/
/* telリンク無効 */
@media (any-hover: hover) {
	a[href^="tel:"],
	a[href^="tel:"]::after {
		pointer-events: none !important;
		content: none !important;
	}
}

/*######################################################
ヘッダー
######################################################*/
.header {
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: absolute;
	z-index: 10;
}

.header02 {
	display: flex;
	justify-content: space-between;
	width: 100%;
	z-index: 10;
}

.header__title {
	margin-left: 20px;
	margin-top: 20px;
	width: clamp(100px, 7.98vw, 115px);
}

.header-menu__list {
	list-style: none;
	padding: 0;
}

.header-menu__item a {
	display: block;
	padding: 0.5em 2em;
	background-color: var(--color-white);
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	transition: padding-top 0.3s ease;
}

@media (min-width: 768px) {
	.header-menu__list {
		margin-top: 0;
	}

	.header-menu__item a {
		padding: 0.5em 2em;
	}

	.header-menu__item a:hover {
		padding-top: 1em;
	}
}

/*######################################################
フッター
######################################################*/
/* ==============================
ページ上部へ戻る
============================== */
.page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 100;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.page-top.is-show {
	opacity: 1;
}

.page-top__link {
	display: block;
	width: 44px;
	height: 44px;
	transition: transform 0.3s ease;
}

.page-top__link img {
	display: block;
	width: 100%;
	height: 100%;
}

html.is-modalOpen .page-top {
	opacity: 0;
	right: calc(var(--scrollbar) + 20px);
}

/* ホバー時のアニメーション */
@media (hover: hover) {
	.page-top__link:hover {
		transform: translateY(-5px);
	}
}

/* ==============================
フッター
============================== */
.footer {
	background-color: var(--color-white);
}

.footer__contact {
	text-align: center;
	padding-top: 80px;
}

.footer__contact a {
	text-decoration: none;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	line-height: 1;
}

.footer__contact a img {
	display: block;
	width: 2em;
	height: 2em;
	object-fit: contain;
	object-position: bottom;
}

.footer__info {
	margin-top: 40px;
	display: grid;
	gap: 0.5em;
}

.footer__info div {
	text-align: center;
}

.footer__info div dt {
	font-size: clamp(12px, 0.97vw, 14px);
	white-space: nowrap;
}

.footer__info div dt::before {
	content: "[";
}

.footer__info div dt::after {
	content: "]";
}

.footer__info div dd {
	font-size: clamp(14px, 1.25vw, 19px);
}

.footer__info div._item01 dd {
	font-size: 30px;
}

.footer__copyright {
	text-align: center;
	padding-block: 60px 20px;
}

@media (min-width: 768px) {
	.footer__info div {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
}

@media (max-width: 768px) {
.footer__copyright {
	text-align: center;
	padding: 50px 0px 80px 0;
}	
	
}

/*######################################################
アニメーション
######################################################*/
/**************************************************
アニメーション
.anime-◯◯などanimeで始まるクラス名を付与すると
JSでanimeという文字列を探してis-visibleクラスを付与します
**************************************************/
/* フェードイン */
.anime-fadeIn {
	opacity: 0;
}

.anime-fadeIn.is-visible {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* フェードインアップ */
.anime-fadeInUp {
	opacity: 0;
}

.anime-fadeInUp.is-visible {
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}

@-webkit-keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, 80px, 0);
		transform: translate3d(0, 80px, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, 80px, 0);
		transform: translate3d(0, 80px, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}
}

/* 右側からスライドイン */
.anime-slideInRight {
	-webkit-transform: translateX(105%);
	transform: translateX(105%);
}

.anime-slideInRight.is-visible {
	-webkit-animation-name: slideInRight;
	animation-name: slideInRight;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}

@-webkit-keyframes slideInRight {
	0% {
		-webkit-transform: translateX(105%);
		transform: translateX(105%);
		visibility: visible;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	0% {
		-webkit-transform: translateX(105%);
		transform: translateX(105%);
		visibility: visible;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

/* 右側からスライドイン */
.anime-slideInLeft {
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);
}

.anime-slideInLeft.is-visible {
	-webkit-animation-name: slideInLeft;
	animation-name: slideInLeft;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}

@-webkit-keyframes slideInLeft {
	0% {
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);
		visibility: visible;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes slideInLeft {
	0% {
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);
		visibility: visible;
	}

	to {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

/*######################################################
パーツ：基本（inner,pc/spでの表示非表示など）
######################################################*/
/**************************************************
パーツ
**************************************************/
/* =====================
セクション間隔
===================== */
section {
	position: relative;
	margin-top: 110px;
	width: 100%;
}

.main {
	padding-bottom: 110px;
}

/* =====================
inner
===================== */
.inner {
	width: 90%;
	max-width: var(--width-inner);
	margin-left: auto;
	margin-right: auto;
}

.inner-sub {
	width: 90%;
	max-width: var(--width-inner-sub);
	margin-left: auto;
	margin-right: auto;
}

/* =====================
.sp でスマートフォンのみ表示
===================== */
@media (min-width: 768px) {
	.sp {
		display: none;
	}
}

/* =====================
.pc でPCのみ表示
===================== */
@media (max-width: 767px) {
	.pc {
		display: none;
	}
}

/**************************************************
モーダル
**************************************************/
.modal-open {
	/*cursor: pointer;*/
}

/* モーダルの共通スタイル */
.modal-content {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	background: var(--color-white);
	padding: 2em;
	max-width: 800px;
	width: 90%;
	border-radius: var(--border-radius);
}

/* モーダルを開いたときに表示する用 */
html.is-modalOpen {
	overflow: hidden;
}

html.is-modalOpen body {
	width: calc(100vw - var(--scrollbar));
}

/* オーバーレイ */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

html.is-modalOpen .modal-overlay {
	display: block;
}

/* 閉じるボタン */
.modal-close {
	padding: 0.5em 1em;
	background: var(--color-main);
	color: var(--color-white);
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

/**************************************************
アコーディオン
**************************************************/
.accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5em;
	padding: 20px;
	background-color: #727171;
	cursor: pointer;
	position: relative;
}

.accordion__summary::-webkit-details-marker {
	display: none;
}

.accordion__summary h3 {
	display: flex;
	align-items: flex-start;
	font-size: clamp(14px, 1.25vw, 18px);
	font-weight: 700;
	color: var(--color-white);
}

.accordion__summary h3::before {
	content: "Q.";
	font-size: 1.5em;
	font-weight: 700;
	color: var(--color-white);
	margin-right: 10px;
	line-height: 1;
}

/* アコーディオンボタン（＋/－） */
.accordion__summary::after {
	content: "＋";
	font-size: 24px;
	font-weight: 900;
	color: var(--color-white);
	transition: transform 0.3s ease;
}

.accordion[open] .accordion__summary::after {
	content: "－";
	transform: rotate(180deg);
}

/* paddingは.accordion__contentにつけないでinner要素につけてください */
.accordion__content-inner {
	padding: 20px;
	background-color: var(--color-white);
	display: flex;
	align-items: flex-start;
}

.accordion__content-inner::before {
	content: "A.";
	font-size: 1.5em;
	font-weight: 700;
	color: var(--color-main);
	margin-right: 10px;
	line-height: 1;
}

/*######################################################
パーツ：見出しタイトル
######################################################*/
/* ==============================
title-round
============================== */
.title-round {
	background-color: var(--color-main);
	color: var(--color-white);
	font-size: clamp(18px, 1.38vw, 20px);
	font-weight: 700;
	padding: 0.5em 1em;
	text-align: center;
	border-radius: calc(1px * infinity);
}

/* ==============================
title-text
============================== */
.title-text {
	font-size: clamp(18px, 1.66vw, 24px);
	font-weight: 900;
	text-align: center;
}

/*######################################################
パーツ：見出しタイトル
######################################################*/
/* ==============================
button
============================== */
.button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 100%;
	padding: 1em 3em 1em 2em;
	background-color: var(--color-btn-bg);
	color: var(--color-btn-txt);
	text-decoration: none;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 700;
	border-radius: var(--border-radius);
	text-align: center;
	line-height: 1;
}

.button:after {
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	background-image: url(/wp/img/common/icon_buttonarrow.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: right center;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
}


.button:hover {
color:#FFF;
border: 0px solid var(--color-btn-bg);
background-color: #333;
transition: .5s;
}


@media (min-width: 768px) {
	.button {
		min-width: 400px;
	}
}

.inview { 
  opacity: 0;
}
