/*
sass内の各フォルダを管理するscss
*/

/*
foundation内の各ファイルを管理するscss
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
	border: 0;
	font: inherit;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

html {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

li,
dd {
	list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
	display: block;
}

img {
	border: none;
	vertical-align: bottom;
}

a {
	color: #000;
	cursor: pointer;
	text-decoration: none;
}

/*
global内の各ファイルを管理するscss
*/

/*
変数を定義するファイル
*/

/*
関数を定義するファイル
*/

/*
global内の各ファイルを管理するscss
*/

/*
mixinを定義するファイル
*/

body {
	background-color: #FFF3E7;
	color: #43311F;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
}

/*
layout内の各ファイルを管理するscss
*/

/* headerの枠 */

.l-header {
	background: url(../img/modal-bg.png) no-repeat center/cover;
	background-color: #FFF;
	height: 60px;
	left: 0;
	position: fixed;
	top: 0;
	transition: background-color 0.3s;
	width: 100%;
	z-index: 50;
}

.l-header.is-open {
	background: #FFF3E7;
}

.l-header__inner {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: space-between;
	padding-inline: 20px;
	width: 100%;
}

/* headerのロゴ */

.l-header__logo {
	aspect-ratio: 2/1;
	height: auto;
	width: 80px;
}

.l-header__logo-link {
	display: block;
	height: 100%;
	width: 100%;
}

.l-header__logo-img {
	display: block;
	height: 100%;
	width: 100%;
}

/* headerのナビゲーション */

.l-header__nav {
	translate: 0 1px;
}

.l-header__nav-list {
	align-items: center;
	display: flex;
	height: 100%;
}

.l-header__nav-link {
	align-items: center;
	color: #365C3B;
	display: inline-flex;
	gap: 5px;
	justify-content: center;
	padding-block-start: 30px;
	padding-inline: 20px;
	position: relative;
	transition: color 0.3s;
}

.l-header__nav-link::before,
.l-header__nav-link::after {
	aspect-ratio: 1;
	content: "";
	height: auto;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	transition: opacity 0.3s;
	width: 32px;
}

.l-header__nav-link::after {
	opacity: 0;
}

.l-header__nav-link:hover {
	color: #43311F;
}

.l-header__nav-link:hover::before {
	opacity: 0;
}

.l-header__nav-link:hover::after {
	opacity: 1;
}

/* モディファイヤー */

.l-header__nav-link--works::before,
.l-header__nav-link--works::after {
	left: calc(50% - 1px);
}

.l-header__nav-link--works::before {
	background: url(../img/svg/menu-works__accent.svg) no-repeat center/contain;
}

.l-header__nav-link--works::after {
	background: url(../img/svg/menu-works__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.l-header__nav-link--skills::before {
	background: url(../img/svg/menu-skills__accent.svg) no-repeat center/contain;
}

.l-header__nav-link--skills::after {
	background: url(../img/svg/menu-skills__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.l-header__nav-link--about::before {
	background: url(../img/svg/menu-about__accent.svg) no-repeat center/contain;
}

.l-header__nav-link--about::after {
	background: url(../img/svg/menu-about__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.l-header__nav-link--vision::before {
	background: url(../img/svg/menu-vision__accent.svg) no-repeat center/contain;
}

.l-header__nav-link--vision::after {
	background: url(../img/svg/menu-vision__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.l-header__nav-link--contact::before {
	background: url(../img/svg/menu-contact__accent.svg) no-repeat center/contain;
}

.l-header__nav-link--contact::after {
	background: url(../img/svg/menu-contact__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.l-header__nav-text {
	font-size: 14px;
}

.l-inner {
	padding-inline: 20px;
}

/* モディファイヤー */

.l-section {
	padding-block: 60px;
}

/* モディファイヤー */

.l-section--lower {
	margin-block-start: 60px;
}

.l-footer {
	padding-block: 20px;
	text-align: center;
}

.l-footer__copyright {
	font-size: 12px;
}

/*
component内の各ファイルを管理するscss
*/

/* =========================
  セクションの見出し
========================= */

/* 共通の見出し */

.c-section-heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: -moz-fit-content;
	width: fit-content; /* 英語の見出し */ /* 日本語の見出し */
}

.c-section-heading .c-section-heading__en {
	color: #365C3B;
	font-family: "Nunito", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.c-section-heading .c-section-heading__jp {
	color: #43311F;
	font-family: "M PLUS Rounded 1c", sans-serif;
	line-height: 1;
	padding-inline-start: 8px;
}

/* =========================
  ボタンの共通クラス
========================= */

/* ボタンの大枠 */

.c-button {
	background: #FFF3E7;
	box-shadow: 0 0 0 1px #365C3B inset;
	display: block;
	margin-inline: auto;
	padding: 10px 20px;
	position: relative;
	text-align: center;
	width: min(200px, 100%);
}

.c-button:hover::after {
	scale: 1 1;
}

.c-button:hover .c-button__text {
	color: #FFF3E7;
}

.c-button::after {
	background-color: #365C3B;
	content: "";
	inset: 0;
	position: absolute;
	scale: 0 1;
	transform-origin: left center;
	transition: scale 0.5s ease;
	z-index: 1;
}

/* ボタンの文章 */

.c-button__text {
	color: #365C3B;
	display: inline-block;
	font-size: 14px;
	position: relative;
	transition: color 0.3s;
	vertical-align: baseline;
	z-index: 2;
}

button {
	background: none;
}

:where(dialog) {
	background-color: unset;
	border: unset;
	color: unset;
	height: unset;
	max-height: unset;
	max-width: unset;
	overflow: unset;
	padding: unset;
	width: unset;
}

body:has(dialog[open]) {
	overflow: hidden;
}

.wrapper:has(dialog[open]) {
	overflow-y: auto;
	scrollbar-gutter: stable;
}

dialog::backdrop {
	opacity: 0;
	transition: background 0.3s ease-in-out;
}

dialog.js-show.c-modal__content {
	opacity: 1;
}

dialog.js-show::backdrop {
	background: rgba(0, 0, 0, 0.5);
	opacity: 1;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.c-modal__content {
	background: #FFF3E7;
	max-height: 80vh;
	opacity: 0;
	overflow: hidden;
	transition: opacity 0.3s ease-in-out;
	width: min(600px, 95%);
}

.c-modal__inner {
	height: 100%;
	overflow-y: scroll;
	position: relative;
}

.c-modal__body {
	height: -moz-fit-content;
	height: fit-content;
}

.c-modal__close-btn {
	color: #365C3B;
	font-size: 30px;
	outline: none;
	position: absolute;
	right: 20px;
	top: 20px;
	transition: scale 0.3s;
	z-index: 2;
}

.c-modal__close-btn:hover {
	scale: 1.5;
}

/* スマホのイメージ */

.c-modal__contents {
	position: relative;
}

.c-modal__contents::before {
	color: #FFF;
	content: "詳細を見る";
	font-size: 24px;
	left: 50%;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 0.5s;
	width: 100%;
	z-index: 3;
}

.c-modal__contents:hover::before {
	opacity: 1;
}

.c-modal__contents:hover .c-modal__sub-imgWrap::before {
	opacity: 1;
}

/* スマホの外側のイメージ */

.c-modal__main-imgWrap {
	aspect-ratio: 500/300;
	height: auto;
	margin-inline: auto;
	max-width: 500px;
	overflow: hidden;
	width: 100%;
}

.c-modal__main-img img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

/* スマホの内側のイメージ */

.c-modal__sub-imgWrap {
	aspect-ratio: 393/227;
	display: block;
	height: auto;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
}

.c-modal__sub-imgWrap::before {
	background-color: rgba(0, 0, 0, 0.5);
	content: "";
	height: 100%;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	transition: opacity 0.3s;
	width: 100%;
	z-index: 2;
}

.c-modal__sub-img img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

/* モーダル詳細のスタイル */

.c-modal__body {
	padding: 30px 20px;
}

.c-modal__body-imgWrap {
	aspect-ratio: 843/570;
	height: auto;
	margin-inline: auto;
	max-width: 600px;
	width: 100%;
}

.c-modal__body-img {
	height: 100%;
	width: 100%;
}

.c-modal__body-details {
	margin-block-start: 30px;
}

.c-modal__body-title {
	font-size: 18px;
	font-weight: 700;
	margin-block-end: 10px;
}

.c-modal__body-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-block-start: 30px;
}

.c-modal__body-row {
	border-bottom: 1px solid #365C3B;
	display: grid;
	padding-block-end: 10px;
	padding-inline: 5px;
	row-gap: 4px;
}

.c-modal__body-term {
	font-size: 14px;
	font-weight: 700;
}

.c-modal__body-desc {
	font-size: 14px;
}

.c-modal__body-sub-item {
	padding-inline-start: 18px;
	position: relative;
}

.c-modal__body-sub-item::after {
	aspect-ratio: 1;
	background: url(../img/svg/modal-home.svg) no-repeat center/contain;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 14px;
}

.c-tag {
	background-color: #FFF;
	border: 1px solid #365C3B;
	border-radius: 10px;
	color: #365C3B;
	display: inline-block;
	font-size: 12px;
	min-width: 40px;
	padding: 2px 6px;
	text-align: center;
}

.c-vision-card {
	align-items: center;
	/* aspect-ratio: 1; */
	background-color: #FFF3E7;
	display: flex;
	height: auto;
	justify-content: center;
	margin-inline: auto;
	max-width: 320px;
	position: relative;
	width: 95.5223880597%;
}

.c-vision-card:not(:last-of-type)::before {
	aspect-ratio: 2/1;
	background: url(../img/svg/triangle.svg) no-repeat center/contain;
	bottom: -45px;
	content: "";
	height: auto;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 60px;
}

.c-vision-card__contents {
	display: grid;
	gap: 16px;
	padding: 20px;
}

.c-vision-card__head {
	align-items: flex-start;
	display: flex;
	gap: 4px;
}

.c-vision-card__img {
	aspect-ratio: 1;
	height: auto;
	width: 32px;
}

.c-vision-card__number {
	color: #43311F;
	font-size: 12px;
	font-weight: 700;
}

.c-vision-card__number span {
	font-size: 22px;
	font-weight: 700;
	vertical-align: baseline;
}

.c-vision-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c-vision-card__title {
	color: #365C3B;
	font-size: 20px;
	font-weight: 700;
}

.c-vision-card__text {
	color: #43311F;
	display: grid;
	font-weight: 700;
	grid-template-columns: max-content 1fr;
}

.c-vision-card__text-term {
	display: inline-block;
}

.c-vision-card__list {
	width: -moz-fit-content;
	width: fit-content;
}

.c-vision-card__item {
	font-size: 14px;
	line-height: 1.5;
	padding-inline-start: 18px;
	position: relative;
}

.c-vision-card__item::before {
	aspect-ratio: 1;
	background: url(../img/svg/modal-home.svg) no-repeat center/contain;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 2px;
	width: 14px;
}

.c-to-top {
	aspect-ratio: 1;
	bottom: 10px;
	cursor: pointer;
	height: auto;
	opacity: 0;
	position: fixed;
	right: 10px;
	transition: opacity 0.3s;
	transition: scale 0.3s;
	visibility: hidden;
	width: 40px;
}

.c-to-top.js-show {
	opacity: 1;
	visibility: visible;
}

.c-to-top:hover {
	scale: 1.2;
}

.c-to-top-img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.c-loading {
	align-items: center;
	background-color: #FFF3E7;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	transition: translate 0.5s ease;
	width: 100%;
	z-index: 300;
}

.c-loading.js-loading-end {
	translate: 0 -100%;
}

.c-loading__imgWrap {
	margin-inline: auto;
	overflow: hidden;
	width: min(80vw, 600px);
}

.c-loading__imgWrap span {
	align-items: center;
	animation: 0.5s 1s ease forwards slideUp;
	display: flex;
	flex-direction: column;
	translate: 0 100%;
}

.c-loading__img {
	display: block;
	width: 100%;
}

.c-loading__text {
	display: inline-block;
	font-family: "Nunito", sans-serif;
	font-size: clamp(48px, 4vw, 96px);
	vertical-align: baseline;
}

.c-animated__fadeIn {
	opacity: 0;
	transition: opacity 0.3s ease, translate 0.3s ease;
	translate: 0 40px;
}

.c-animated__fadeIn.js-show {
	opacity: 1;
	translate: 0 0;
}

/*
project内の各ファイルを管理するscss
*/

/* ハンバーガーボタン枠 */

.p-drawer-button {
	aspect-ratio: 1;
	background-color: transparent;
	height: auto;
	position: relative;
	width: 24px;
}

.p-drawer-button.is-open .p-drawer-button__bar:nth-of-type(1),
.p-drawer-button.is-open .p-drawer-button__bar:nth-of-type(3) {
	top: 50%;
	translate: -50% -50%;
}

.p-drawer-button.is-open .p-drawer-button__bar:nth-of-type(1) {
	rotate: 45deg;
}

.p-drawer-button.is-open .p-drawer-button__bar:nth-of-type(2) {
	opacity: 0;
	pointer-events: none;
}

.p-drawer-button.is-open .p-drawer-button__bar:nth-of-type(3) {
	rotate: -45deg;
}

/* ハンバーガーボタン戦 */

.p-drawer-button__bar {
	background-color: #365C3B;
	border-radius: 999px;
	height: 2px;
	left: 50%;
	position: absolute;
	transition: top 0.3s, translate 0.3s, rotate 0.3s, opacity 0.3s;
	translate: -50% 0;
	width: 24px;
}

.p-drawer-button__bar:nth-of-type(1) {
	top: 0;
}

.p-drawer-button__bar:nth-of-type(2) {
	top: 50%;
	translate: -50% -50%;
}

.p-drawer-button__bar:nth-of-type(3) {
	top: calc(100% - 2px);
}

.p-drawer-nav {
	background-color: #FFF3E7;
	display: grid;
	height: 100%;
	justify-content: center;
	left: 0;
	margin-block-start: 60px;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	transition: opacity 0.3s;
	width: 100%;
	z-index: 40;
}

.p-drawer-nav.is-open {
	opacity: 1;
	pointer-events: all;
}

.p-drawer-nav__list {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	padding: 60px;
}

.p-drawer-nav__item {
	width: 100%;
}

.p-drawer-nav__link {
	align-items: center;
	color: #365C3B;
	display: flex;
	gap: 8px;
	padding: 10px;
	padding-inline-start: 24px;
	position: relative;
	transition: color 0.3s;
}

.p-drawer-nav__link::before,
.p-drawer-nav__link::after {
	aspect-ratio: 1;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity 0.3s;
	width: 20px;
}

.p-drawer-nav__link:hover {
	color: #43311F;
}

/* モディファイヤー */

.p-drawer-nav__link--works::before {
	background: url(../img/svg/menu-works__accent.svg) no-repeat center/contain;
}

.p-drawer-nav__link--works::after {
	background: url(../img/svg/menu-works__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.p-drawer-nav__link--skills::before {
	background: url(../img/svg/menu-skills__accent.svg) no-repeat center/contain;
}

.p-drawer-nav__link--skills::after {
	background: url(../img/svg/menu-skills__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.p-drawer-nav__link--about::before {
	background: url(../img/svg/menu-about__accent.svg) no-repeat center/contain;
}

.p-drawer-nav__link--about::after {
	background: url(../img/svg/menu-about__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.p-drawer-nav__link--vision::before {
	background: url(../img/svg/menu-vision__accent.svg) no-repeat center/contain;
}

.p-drawer-nav__link--vision::after {
	background: url(../img/svg/menu-vision__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.p-drawer-nav__link--contact::before {
	background: url(../img/svg/menu-contact__accent.svg) no-repeat center/contain;
}

.p-drawer-nav__link--contact::after {
	background: url(../img/svg/menu-contact__brown.svg) no-repeat center/contain;
	opacity: 0;
}

.p-fv {
	margin-block-start: 60px;
	padding-block-start: 10px;
}

.p-fv__contents {
	margin-block-end: -65px;
	position: relative;
}

/* スライダーのスタイル */

.p-fv__swiper-container,
.p-fv__swiper,
.p-fv__swiper-wrapper,
.p-fv__swiper-slide {
	position: relative;
}

.p-fv__swiper-wrapper {
	transition-timing-function: linear;
}

.p-fv__swiper-slide {
	max-width: 500px;
	width: 100%;
}

/* 家のスタイル */

.p-fv__body {
	aspect-ratio: 375/440;
	bottom: 65px;
	height: auto;
	max-height: 440px;
	padding-block: 20px;
	position: relative;
	width: 100%;
}

.p-fv__body::before {
	background: url(../img/modal-bg.jpg) no-repeat center/cover;
	bottom: 0;
	clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0 100%, 0% 15%);
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 5;
}

.p-fv__body-lines {
	height: 100%;
	position: relative;
	width: 100%;
}

.p-fv__body-lines::before,
.p-fv__body-lines::after {
	background: url(../img/modal-bg.png) no-repeat center/cover;
	bottom: -20px;
	content: "";
	height: calc(100% - 80px);
	position: absolute;
	width: 20px;
	z-index: 30;
}

.p-fv__body-lines::before {
	left: 0;
}

.p-fv__body-lines::after {
	right: 0;
}

.p-fv__wrap {
	left: 50%;
	/* margin-block-start: 15px; */
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 6;
}

.p-fv__title {
	color: #365C3B;
	font-size: 24px;
	font-weight: 700;
	line-height: 2;
}

.p-fv__sub-title {
	font-weight: 700;
	margin-block-start: 8px;
}

.p-p-fv__text {
	font-size: 12px;
	line-height: 1.5;
	margin-block-start: 20px;
}

.p-fv__buttonWrap {
	margin-block-start: 20px;
}

/* スクロールのスタイル */

.p-fv__scrolldown {
	display: block;
	height: 40px;
	margin-block-start: 15px;
	margin-inline: auto;
	width: 40px;
}

.p-fv__scrolldown:hover .p-fv__scrolldown-img {
	scale: 1.1;
}

.p-fv__scrolldown-img {
	animation-duration: 2s;
	animation-fill-mode: backwards;
	animation-iteration-count: infinite; /* アニメ設定（順不同でもOKだが分解すると安全） */
	animation-name: scrollDown;
	animation-timing-function: ease-in-out;
	aspect-ratio: 1;
	display: block;
	height: auto;
	margin-inline: auto;
	transition: scale 0.3s;
	width: 20px; /* 大きい画面は距離だけ切り替え */
}

/* キーフレームはトップレベルに置く */

.p-skills {
	background: url(../img/modal-bg.png) no-repeat center/cover;
}

.p-skills__text {
	font-weight: 700;
	line-height: 1.5;
	margin-block-start: 30px;
	text-align: center;
}

.p-skills__text span {
	color: #365C3B;
	line-height: 1.8;
	vertical-align: baseline;
}

.p-skills__cards {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	margin-block-start: 50px;
	row-gap: 30px;
}

.p-skills-card {
	aspect-ratio: 1;
	background-color: #FFF3E7;
	display: grid;
	gap: 2px;
	grid-row: span 4;
	grid-template-rows: subgrid;
	height: auto;
	padding: 10px 20px;
	width: min(100%, 280px);
}

.p-skills-card__number {
	font-size: 12px;
	font-weight: 700;
}

.p-skills-card__imgWrap {
	aspect-ratio: 1;
	height: auto;
	margin-inline: auto;
	width: 25%;
}

.p-skills-card__img {
	display: block;
	height: 100%;
	width: 100%;
}

.p-skills-card__title {
	border-bottom: 1px solid #365C3B;
	font-weight: 700;
	padding-block-end: 9px;
	text-align: center;
}

.p-skills-card__text {
	font-size: 14px;
	padding: 10px;
}

/* 大枠のスタイル */

/* 見出しのスタイル */

/* 中身詳細のスタイル */

.p-top-about__contents {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-block-start: 40px;
	margin-inline: auto;
	width: min(500px, 100%);
}

.p-top-about__imgWrap {
	aspect-ratio: 1;
	height: auto;
	margin-inline: auto;
	width: min(200px, 100%);
}

.p-top-about__img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.p-top-about__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.p-top-about__item {
	font-size: 14px;
	padding-inline-start: 20px;
	position: relative;
}

.p-top-about__item::before {
	aspect-ratio: 1;
	background: url(../img/svg/modal-home.svg) no-repeat center/contain;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 6px;
	width: 14px;
}

.p-top-about__buttonWrap {
	margin-block-start: 40px;
}

.p-top-vision {
	background: url(../img/modal-bg.png) no-repeat center/cover;
}

.p-top-vision__lead {
	color: #365C3B;
	font-weight: 700;
	line-height: 1.5;
	margin-block-start: 30px;
	text-align: center;
}

.p-top-vision__sub-lead {
	color: red;
	display: block;
	font-size: 14px;
	margin-block-start: 20px;
	text-align: center;
}

.p-top-vision__cards {
	display: flex;
	flex-direction: column;
	gap: 60px;
	margin-block-start: 50px;
}

.p-top-vision__buttonWrap {
	margin-block-start: 40px;
}

/* 大枠 */

.p-contact__text {
	font-size: 14px;
	margin-block-start: 20px;
}

/* お問い合わせフォームの枠 */

.p-contact__form-wrapper {
	background: url(../img/modal-bg.png) no-repeat center/cover;
	border-radius: 20px;
	margin-block-start: 30px;
	overflow: hidden;
	padding: 40px 20px;
}

input[type=text],
input[type=email],
textarea {
	background: #FFF3E7;
	border: 1px solid #365C3B;
	border-radius: 10px;
	padding: 14px 19px;
	width: 100%;
}

input[type=text]::-moz-placeholder,
input[type=email]::-moz-placeholder,
textarea::-moz-placeholder {
	color: #757575;
	line-height: 1;
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
	color: #757575;
	line-height: 1;
}

/* テキストエリア */

textarea {
	height: 240px;
	resize: vertical;
}

/* 各セクションの共通スタイル */

.p-contact__fields {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.p-contact__field {
	display: grid;
	row-gap: 16px;
}

.p-contact__field-head {
	align-items: flex-start;
	margin-block-start: 6px;
	display: flex;
	gap: 8px;
}

.p-contact__field-label {
	font-weight: 700;
}

.p-contact__field-mark {
	background-color: #365C3B;
	border-radius: 10px;
	color: #FFF3E7;
	font-size: 14px;
	padding: 1px 9px;
}

/* チェックボタンのスタイル */

input[type=checkbox] {
	height: 1px;
	position: absolute;
	width: 1px;
	clip: rect(0, 0, 0, 0);
}

input[type=checkbox]:checked + .p-contact__check-text::after {
	opacity: 1;
}

.p-contact__check {
	margin-block-start: 30px;
	text-align: center;
}

.p-contact__check-text {
	font-size: 14px;
	padding-inline-start: 20px;
	position: relative;
	transition: color 0.3s;
	vertical-align: baseline;
}

.p-contact__check-text:hover {
	color: #365C3B;
}

.p-contact__check-text::before,
.p-contact__check-text::after {
	aspect-ratio: 1;
	content: "";
	height: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.p-contact__check-text::before {
	background-color: transparent;
	border: 1px solid #365C3B;
	left: 0;
	width: 16px;
}

.p-contact__check-text::after {
	background: url(../img/svg/contact-check.svg) no-repeat center/contain;
	left: 2px;
	opacity: 0;
	transition: opacity 0.3s;
	width: 12px;
}

/* 送信ボタンのスタイル */

.p-contact__submit {
	cursor: pointer;
	margin-block-start: 30px;
}

/* ← このスコープ内だけ隠す */
.p-contact__check-label input[type="checkbox"]{
  position:absolute;
  width:1px; height:1px;
  clip:rect(0,0,0,0);
  clip-path: inset(50%);
  overflow:hidden; white-space:nowrap;
}

/* チェックONでチェックアイコン表示（ラッパーが挟まっても効く） */
.p-contact__check-label:has(input[type="checkbox"]:checked) .p-contact__check-text::after {
  opacity:1;
}

/* キーボードフォーカスの見やすさ（任意） */
.p-contact__check-label:has(input[type="checkbox"]:focus-visible) .p-contact__check-text::before {
  outline:2px solid #365C3B;
  outline-offset:2px;
}

/* 大枠のスタイル */

/* 見出しのスタイル */

/* 中身詳細のスタイル */

.p-about__contents {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-block-start: 40px;
	margin-inline: auto;
	width: min(600px, 100%);
}

.p-about__imgWrap {
	aspect-ratio: 1;
	height: auto;
	margin-inline: auto;
	width: min(200px, 100%);
}

.p-about__img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.p-about__body {
	margin-inline: auto;
	width: min(530px, 100%);
}

.p-about__text {
	font-size: 18px;
	font-weight: 700;
}

.p-about__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-block-start: 20px;
}

.p-about__row {
	border-bottom: 1px solid #365C3B;
	display: grid;
	font-size: 14px;
	line-height: 1.5;
	padding-block-end: 14px;
	row-gap: 8px;
}

.p-about__term {
	font-weight: 700;
	padding-inline-start: 20px;
	position: relative;
}

.p-about__term::before {
	aspect-ratio: 1;
	background: url(../img/svg/modal-home.svg) no-repeat center/contain;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
}

.p-about__desc span {
	color: #365C3B;
	font-weight: 700;
	vertical-align: baseline;
}

.p-about__item {
	padding-inline-start: 20px;
	position: relative;
}

.p-about__item::before {
	aspect-ratio: 1;
	background: url(../img/svg/modal-home.svg) no-repeat center/contain;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 6px;
	width: 14px;
}

.p-about__buttonWrap {
	margin-block-start: 40px;
}

.p-history__current {
	margin-block-start: 30px;
}

.p-history__current-title {
	font-size: 18px;
	font-weight: 700;
}

.p-history__current-list {
	margin-block-start: 8px;
}

.p-history__current-item {
	font-size: 14px;
	padding-inline-start: 20px;
	position: relative;
}

.p-history__current-item::before {
	aspect-ratio: 1;
	background: url(../img/svg/modal-home.svg) no-repeat center/contain;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 5px;
	width: 14px;
}

.p-history-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-block-start: 50px;
	margin-inline: auto;
	width: min(730px, 100%);
}

.p-history-list__item {
	display: grid;
	grid-template-columns: 63px 1fr;
	-moz-column-gap: 10px;
	column-gap: 10px;
	position: relative;
}

.p-history-list__item:not(:last-child)::before {
	background-color: #365C3B;
	content: "";
	height: calc(100% + 10px);
	left: 30px;
	position: absolute;
	top: 30px;
	width: 2px;
}

.p-history-list__date {
	background-color: #365C3B;
	border-radius: 10px;
	color: #FFF3E7;
	display: inline-block;
	font-size: 12px;
	height: 30px;
	padding: 4px 9px;
	text-align: center;
	width: 63px;
}

.p-history-list__contents {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.p-history-list__title {
	font-weight: 700;
}

.p-history-list__desc {
	font-size: 14px;
}

.p-history-list__result {
	font-size: 14px;
	display: flex;
	align-items: center;
}

.p-history-list__result span {
	font-weight: 700;
	vertical-align: baseline;
}

.p-history-list__result a {
	color: #365C3B;
	text-decoration: underline;
	vertical-align: baseline;
	position: relative;
}


.p-history-list__result p {
	position: relative;
	padding-right: 30px;
}
.p-history-list__result p::before {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	content: '→';
	font-size: 14px;
}

.p-vision__lead {
	color: #365C3B;
	font-weight: 700;
	line-height: 1.5;
	margin-block-start: 30px;
	text-align: center;
}

.p-vision__cards {
	display: flex;
	flex-direction: column;
	gap: 60px;
	margin-block-start: 50px;
}

.p-vision__buttonWrap {
	margin-block-start: 40px;
}

.p-contact-thanks__imgWrap {
	aspect-ratio: 280/358;
	height: auto;
	margin-block-start: 30px;
	margin-inline: auto;
	max-width: 250px;
	width: 100%;
}

.p-contact-thanks__img {
	display: block;
	height: 100%;
	width: 100%;
}

.p-contact-thanks__text {
	font-size: 14px;
	margin-block-start: 30px;
	text-align: center;
}

.p-contact-thanks__text span {
	font-weight: 700;
	vertical-align: baseline;
}

.p-contact-thanks__buttonWrap {
	margin-block-start: 40px;
}

/* 大枠のスタイル */

/* 見出しのスタイル */

/* ナビゲーション */

.p-works__nav {
	margin-block-start: 40px;
}

.p-works__list {
	align-items: center;
	display: flex;
	gap: 8px;
}

.p-works__link {
	transition: background-color 0.3s, color 0.3s;
}

.p-works__link.is-active {
	background-color: #365C3B;
	color: #FFF3E7;
}

/* 制作実績一覧の大枠 */

.p-works__articles {
	display: grid;
	gap: 40px;
	grid-template-columns: min(100%, 470px);
	justify-content: center; /* 余白が出たら中央寄せ */
	margin-block-start: 40px;
}

/* 各作品 */

.p-works__modal {
	display: grid;
	gap: 12px;
	grid-row: span 3;
	grid-template-columns: subgrid;
	margin-inline: auto;
	width: 100%;
}

.p-works__modal:hover .p-works__imgWrap::before,
.p-works__modal:hover .p-works__imgWrap::after {
	opacity: 1;
}

.p-works__imgWrap {
	aspect-ratio: 470/309;
	height: auto;
	margin-inline: auto;
	position: relative;
	width: 100%;
}

.p-works__imgWrap::before,
.p-works__imgWrap::after {
	position: absolute;
}

.p-works__imgWrap::before {
	background-color: rgba(0, 0, 0, 0.5);
	content: "";
	height: 100%;
	left: 0;
	opacity: 0;
	pointer-events: none;
	top: 0;
	transition: opacity 0.3s;
	width: 100%;
}

.p-works__imgWrap::after {
	color: #FFF;
	content: "詳細を見る";
	font-size: 36px;
	height: auto;
	left: 50%;
	opacity: 0;
	pointer-events: none;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 0.6s;
	width: 100%;
}

.p-works__img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.p-works__tags {
	align-items: center;
	display: flex;
	gap: 8px;
}

.p-faq__leads {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin-block-start: 30px;
}

.p-faq__main-lead {
	color: #365C3B;
	font-size: 14px;
	font-weight: 700;
}

.p-faq__sub-lead {
	font-size: 12px;
}

.p-faq__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-block-start: 50px;
	margin-inline: auto;
	width: min(550px, 100%);
}

.p-faq__item {
	background-color: #FFF;
	border: 1px solid #365C3B;
	border-radius: 20px;
	font-size: 14px;
	line-height: 1.5;
	overflow: hidden;
}

.js-summary {
	display: block;
}

.js-summary::-webkit-details-marker {
	display: none;
}

.p-faq__question {
	display: inline-block;
	padding: 16px 10px;
	position: relative;
	transition: background-color 0.3s;
	width: 100%;
}

.p-faq__question:hover {
	cursor: pointer;
}

.p-faq__question::before,
.p-faq__question::after {
	background-color: #365C3B;
	content: "";
	position: absolute;
	top: 50%;
	transition: background-color 0.3s;
	translate: 0 -50%;
}

.p-faq__question::before {
	height: 2px;
	right: 10px;
	width: 16px;
}

.p-faq__question::after {
	height: 16px;
	right: 17px;
	transition: rotate 0.3s;
	width: 2px;
}

.p-faq__question-text {
	color: #365C3B;
	display: block;
	font-weight: 700;
	padding-inline: 20px 24px;
	position: relative;
	transition: color 0.3s;
}

.p-faq__question-text::before {
	content: "Q";
	font-size: 16px;
	left: 0;
	position: absolute;
	top: calc(50% - 2px);
	transform: translateY(-50%);
	transition: color 0.3s;
}

.p-faq__answer {
	height: 0;
	opacity: 0;
	overflow: hidden;
	transition: height 0.3s ease, opacity 0.3s ease;
}

.p-faq__answer-text {
	padding: 16px 24px 16px 20px;
}

/* アコーディオン アニメーション */

.p-faq__item.is-opened .p-faq__question {
	background-color: #365C3B;
}

.p-faq__item.is-opened .p-faq__question::before,
.p-faq__item.is-opened .p-faq__question::after {
	background-color: #FFF3E7;
}

.p-faq__item.is-opened .p-faq__question::after {
	rotate: -90deg;
}

.p-faq__item.is-opened .p-faq__question-text {
	color: #FFF3E7;
}

.p-faq__item.is-opened .p-faq__question-text::before {
	color: #FFF3E7;
}

/*
utility内の各ファイルを管理するscss
*/

/* --------------------------
  要素を消すスタイル
-------------------------- */

.u-hidden {
	display: none;
}

/* --------------------------
  要素を表示させるクラス
-------------------------- */

.u-display--sm {
	display: none;
}

.u-display--md {
	display: none;
}

.u-display--lg {
	display: none;
}

.u-display--xl {
	display: none;
}

.u-blank {
	margin-block: 50px;
}

.u-background {
	background: url(../img/modal-bg.png) no-repeat center/cover;
}

.u-animated__fadeIn {
	opacity: 0;
	transition: opacity 0.3s, translate 0.3s;
	translate: 0 40px;
}

.u-animated__fadeIn.js-show {
	opacity: 1;
	translate: 0 0;
}

.u-fade-in-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s, transform 1s;
}

.u-fade-in-up.is-in-view {
	opacity: 1;
	transform: translateY(0);
}

.u-opacity {
	opacity: 0;
	position: relative;
	transition: opacity 1s;
	z-index: 30;
}

.u-opacity.is-in-view {
	opacity: 1;
}

@media screen and (min-width: 600px) {

.u-hidden--sm {
	display: none;
}

.u-display--sm {
	display: block;
}

}

@media screen and (min-width: 768px) {

.c-section-heading .c-section-heading__en {
	font-size: 48px;
}

.c-section-heading .c-section-heading__jp {
	font-size: 24px;
}

.p-drawer-nav__link {
	gap: 12px;
	padding: 15px;
	padding-inline-start: 30px;
}

.p-drawer-nav__text {
	font-size: 20px;
}

.p-fv__wrap {
	margin-block-start: 20px;
}

.p-fv__sub-title {
	margin-block-start: 20px;
}

.p-p-fv__text {
	margin-block-start: 30px;
}

.p-top-about__contents {
	width: min(600px, 100%);
}

.p-top-about__item {
	font-size: 16px;
	padding-inline-start: 24px;
}

.p-top-about__item::before {
	top: 6px;
	width: 16px;
}

.p-about__contents {
	width: min(600px, 100%);
}

.p-about__item {
	font-size: 16px;
	padding-inline-start: 24px;
}

.p-about__item::before {
	top: 6px;
	width: 16px;
}

.p-vision__lead {
	font-size: 20px;
}

.u-hidden--md {
	display: none;
}

.u-display--md {
	display: block;
}

}

@media screen and (min-width: 900px) {

.l-header {
	height: 80px;
}

.l-header__inner {
	padding-inline: 30px;
}

.l-header__logo {
	width: 120px;
}

.l-inner {
	margin-inline: auto;
	padding-inline: 30px;
	width: min(1084px, 100%);
}

.l-inner--small {
	width: min(960px, 100%);
}

.l-section {
	padding-block: 100px;
}

.l-section--lower {
	margin-block-start: 80px;
}

.l-footer {
	padding-block: 30px;
}

.l-footer__copyright {
	font-size: 14px;
	color: #365C3B;
}

.c-section-heading .c-section-heading__en {
	font-size: 60px;
}

.c-section-heading .c-section-heading__jp {
	font-size: 30px;
}

.c-button {
	padding: 15px 40px;
	width: min(300px, 100%);
}

.c-button__text {
	font-size: 18px;
}

.c-modal__content {
	width: min(900px, 95%);
}

.c-modal__close-btn {
	right: 30px;
}

.c-modal__contents::before {
	font-size: 48px;
}

.c-modal__main-imgWrap {
	aspect-ratio: 685/1366; /* ← 比率で高さを決める */
	max-width: 300px;
}

.c-modal__sub-imgWrap {
	aspect-ratio: 585/1046;
}

.c-modal__body {
	padding: 60px 50px;
}

.c-modal__body-details {
	margin-block-start: 50px;
}

.c-modal__body-title {
	font-size: 24px;
	margin-block-end: 20px;
}

.c-modal__body-list {
	gap: 20px;
	margin-block-start: 40px;
}

.c-modal__body-row {
	grid-template-columns: auto 1fr;
	justify-content: space-between;
	padding-block-end: 20px;
	padding-inline: 10px;
}

.c-modal__body-term {
	font-size: 16px;
	width: 150px;
}

.c-modal__body-desc {
	font-size: 16px;
}

.c-tag {
	font-size: 14px;
}

.c-vision-card {
	max-width: 100%;
}

.c-vision-card:not(:last-of-type)::before {
	bottom: -75px;
	width: 90px;
}

.c-vision-card {
	max-height: 350px;
	width: 100%;
}

.c-vision-card__contents {
	align-items: center;
	gap: 30px;
	grid-template-columns: clamp(120px, 14vw, 300px) clamp(400px, 45vw, 630px);
	justify-content: center;
	padding: 30px;
}

.c-vision-card__head {
	align-items: center;
	flex-direction: column-reverse;
}

.c-vision-card__img {
	width: 108px;
}

.c-vision-card__number {
	font-size: 14px;
}

.c-vision-card__number span {
	font-size: 24px;
}

.c-vision-card__title {
	font-size: 28px;
	text-align: left;
}

.c-vision-card__text {
	font-size: 20px;
}

.c-vision-card__item {
	font-size: 16px;
	padding-inline-start: 20px;
}

.c-vision-card__item::before {
	top: 4px;
	width: 16px;
}

.c-to-top {
	bottom: 20px;
	right: 20px;
	width: 50px;
}

.p-fv {
	margin-block-start: 80px;
}

.p-fv__contents {
	margin-block-end: -160px;
}

.p-fv__swiper-slide {
	max-width: 300px;
}

.p-fv__body {
	bottom: 160px;
	max-height: 500px;
}

.p-fv__body::before {
	clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0 100%, 0% 30%);
}

.p-fv__body-lines::before,
.p-fv__body-lines::after {
	height: calc(100% - 150px);
	width: 50px;
}

.p-fv__wrap {
	margin-block-start: 35px;
}

.p-fv__title {
	font-size: 32px;
}

.p-fv__sub-title {
	font-size: 20px;
}

.p-p-fv__text {
	font-size: 14px;
}

.p-fv__buttonWrap {
	margin-block-start: 50px;
}

.p-fv__scrolldown {
	height: 70px;
	width: 70px;
}

.p-fv__scrolldown-img {
	animation-name: scrollDownLg;
}

.p-skills__text {
	font-size: 20px;
	margin-block-start: 50px;
}

.p-skills__cards {
	grid-template-columns: repeat(3, 1fr);
	row-gap: 0;
	-moz-column-gap: 20px;
	column-gap: 20px;
	justify-content: space-between;
	margin-block-start: 80px;
}

.p-skills-card {
	width: min(100%, 320px);
}

.p-skills-card__number {
	font-size: 14px;
}

.p-skills-card__imgWrap {
	width: 31.25%;
}

.p-skills-card__title {
	font-size: 20px;
}

.p-skills-card__text {
	font-size: 16px;
}

.p-top-about__contents {
	align-items: center;
	flex-direction: row;
	gap: 0;
	justify-content: space-between;
	margin-block-start: 80px;
	width: min(900px, 100%);
}

.p-top-about__imgWrap {
	width: 33.3333333333%;
}

.p-top-about__list {
	gap: 12px;
	width: 55.5555555556%;
}

.p-top-about__item {
	font-size: 18px;
	padding-inline-start: 28px;
}

.p-top-about__item::before {
	top: 6px;
	width: 18px;
}

.p-top-about__buttonWrap {
	margin-block-start: 80px;
}

.p-top-vision__lead {
	font-size: 28px;
	margin-block-start: 60px;
	text-align: left;
}

.p-top-vision__sub-lead {
	font-size: 18px;
	text-align: left;
}

.p-top-vision__cards {
	gap: 90px;
	margin-block-start: 80px;
}

.p-top-vision__buttonWrap {
	margin-block-start: 80px;
}

.p-contact__text {
	font-size: 16px;
	margin-block-start: 40px;
	text-align: center;
}

.p-contact__form-wrapper {
	margin-inline: auto;
	padding: 100px 50px;
	width: min(900px, 100%);
}

input[type=text]::-moz-placeholder,
input[type=email]::-moz-placeholder,
textarea::-moz-placeholder {
	font-size: 16px;
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
	font-size: 16px;
}

.p-contact__fields {
	gap: 40px;
}

.p-contact__field {
	grid-template-columns: 250px 1fr;
}

.p-contact__field-head {
	gap: 12px;
}

.p-contact__check-text {
	font-size: 16px;
	padding-inline-start: 28px;
}

.p-contact__check-text::before {
	width: 20px;
}

.p-contact__check-text::after {
	width: 16px;
}

.p-contact__submit {
	margin-block-start: 50px;
}

.p-about__contents {
	align-items: center;
	flex-direction: row;
	gap: 40px;
	justify-content: space-between;
	margin-block-start: 80px;
	width: min(900px, 100%);
}

.p-about__imgWrap {
	max-width: 250px;
	width: 55.5555555556%;
}

.p-about__body {
	width: 100%;
}

.p-about__text {
	font-size: 20px;
}

.p-about__list {
	gap: 12px;
	width: 100%;
}

.p-about__row {
	font-size: 16px;
}

.p-about__item {
	font-size: 18px;
	padding-inline-start: 28px;
}

.p-about__item::before {
	top: 6px;
	width: 18px;
}

.p-about__buttonWrap {
	margin-block-start: 80px;
}

.p-history__current {
	margin-block-start: 50px;
}

.p-history__current-title {
	font-size: 32px;
}

.p-history__current-list {
	margin-block-start: 20px;
}

.p-history__current-item {
	font-size: 18px;
	padding-inline-start: 24px;
}

.p-history__current-item::before {
	top: 8px;
	width: 16px;
}

.p-history-list {
	margin-block-start: 80px;
	width: min(900px, 100%);
}

.p-history-list__item {
	gap: 30px;
	grid-template-columns: 80px 1fr;
}

.p-history-list__item:not(:last-child)::before {
	left: 40px;
}

.p-history-list__date {
	font-size: 16px;
	height: 36px;
	width: 80px;
}

.p-history-list__title {
	font-size: 20px;
}

.p-history-list__desc {
	font-size: 16px;
}

.p-history-list__result {
	font-size: 16px;
}

.p-vision__lead {
	font-size: 28px;
	margin-block-start: 80px;
}

.p-vision__cards {
	gap: 90px;
	margin-block-start: 80px;
}

.p-vision__buttonWrap {
	margin-block-start: 80px;
}

.p-contact-thanks__imgWrap {
	margin-block-start: 50px;
	max-width: 350px;
}

.p-contact-thanks__text {
	font-size: 20px;
	margin-block-start: 50px;
}

.p-contact-thanks__buttonWrap {
	margin-block-start: 50px;
}
.p-works__nav {
	margin-block-start: 60px;
}

.p-works__list {
	gap: 12px;
}

.p-works__articles {
	gap: 60px 40px;
	grid-template-columns: repeat(2, 1fr);
	margin-block-start: 60px;
}

.p-works__modal {
	gap: 20px;
}

.p-works__title {
	font-size: 20px;
}

.p-works__tags {
	gap: 12px;
}

.p-faq__leads {
	margin-block-start: 50px;
}

.p-faq__main-lead {
	font-size: 20px;
}

.p-faq__sub-lead {
	font-size: 16px;
}

.p-faq__list {
	gap: 40px;
	margin-block-start: 80px;
	width: min(700px, 100%);
}

.p-faq__item {
	font-size: 18px;
}

.p-faq__question {
	padding: 20px;
}

.p-faq__question::before {
	right: 20px;
	width: 20px;
}

.p-faq__question::after {
	height: 20px;
	right: 29px;
}

.p-faq__question-text {
	padding-inline: 32px;
}

.p-faq__question-text::before {
	font-size: 24px;
}

.p-faq__answer-text {
	padding: 20px 32px;
}

.u-hidden--lg {
	display: none;
}

.u-display--lg {
	display: block;
}

}

@media screen and (min-width: 1160px) {

.p-fv__body-lines::before,
.p-fv__body-lines::after {
	width: 80px;
}

.p-fv__title {
	font-size: 36px;
}

.p-fv__sub-title {
	font-size: 24px;
}

.p-p-fv__text {
	font-size: 16px;
}

.u-hidden--xl {
	display: none;
}

.u-display--xl {
	display: block;
}

}

@keyframes slideUp {

0% {
	translate: 0 100%;
}

100% {
	translate: 0 0;
}

}

@keyframes scrollDown {

0% {
	transform: translate(0, 0);
}

80% {
	transform: translate(0, 20px);
}

/* SPの移動量 */

100% {
	transform: translate(0, 20px);
}

}

@keyframes scrollDownLg {

0% {
	transform: translate(0, 0);
}

80% {
	transform: translate(0, 50px);
}

/* LGの移動量 */

100% {
	transform: translate(0, 50px);
}

}

.wpcf7 form .wpcf7-response-output  {
	display: none;
}

/* ベース */
.c-button {
  background: #FFF3E7;
  box-shadow: 0 0 0 1px #365C3B inset;
  display: block;
  margin-inline: auto;
  padding: 15px 40px;
  position: relative;
  text-align: center;
  width: min(300px, 100%);
  overflow: hidden; /* 念のため */
}

/* アニメーション背景 */
.c-button::after {
  background-color: #365C3B;
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s ease;
  z-index: 1;
}

/* hover/focus で展開（:has で input 上の hover も拾う） */
.c-button:hover::after,
.c-button:has(.p-contact__submit-native:hover)::after,
.c-button:has(.p-contact__submit-native:focus-visible)::after {
  transform: scaleX(1);
}

.c-button__text {
  color: #365C3B;
  display: inline-block;
  font-size: 14px;
  position: relative;
  transition: color 0.3s;
  vertical-align: baseline;
  z-index: 2;
}

/* テキスト色の反転 */
.c-button:hover .c-button__text,
.c-button:has(.p-contact__submit-native:hover) .c-button__text,
.c-button:has(.p-contact__submit-native:focus-visible) .c-button__text {
  color: #FFF3E7;
}

/* 透明な submit を全面に被せてクリック担当に */
.c-button .p-contact__submit-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  background: none;
  z-index: 3;
}

/* CF7 スピナー位置（任意） */
.c-button .wpcf7-spinner {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

/* 余白（任意） */
.p-contact__submit { margin-block-start: 30px; }
