@charset "UTF-8";

/*
Theme Name: 有限会社源蔵梅本舗
Author: Your Name
Version: 1.0
Update URI: false
*/

/*----- 以下、CSSの記述 -----*/

body {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	color: #212121;
	line-height: 39px;
	letter-spacing: 3px;
	font-size: 16px;
	/* display: flex; */
	font-size: 1.5rem;
}

.wrap {
	width: 100%;
	overflow: hidden;
}

/* ---------ボタン--------- */

.subpage-link-btn {
	display: inline-block;
	font-size: 30px;
	background: linear-gradient(90deg, rgba(146, 174, 42, 1) 37%, rgba(216, 99, 78, 1) 80%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

p.detail-white-btn .subpage-link-btn {
	display: block;
	padding-top: 4rem;
	font-size: 30px;
	/* color: #fff !important; */
	background: #fff;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ---------ボタン--------- */

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
	display: block;
}

.sp {
	display: none !important;
}

/* ----------------------- */
/* base_sp
/* ----------------------- */
/* デフォルトのbuttonスタイルをリセット */
button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	margin: 0;
	outline: none;
	padding: 0;
	vertical-align: middle;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 1024px) {
	.pc {
		display: none !important;
	}

	.sp {
		display: block !important;
	}
}

a {
	text-decoration: none;
	color: #fff;
}

a:hover {
	cursor: pointer;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

/* clearfix
------------------------------------------------ */
.clearfix:after {
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
	font-size: 0;
	content: ".";
}

.clearfix {
	clear: both;
}

.inner {
	width: 80%;
	max-width: 90%;
	margin: 0 auto;
}

.flex {
	display: flex;
	justify-content: space-between;
}

div#wrap {
	/* position: relative; */
	/* z-index: 1; */
	/* display: flex; */
	/* flex-direction: row; */
}

main {
	/* padding-top: 7rem; */
}

.contents-pd {
	padding: 100px 0;
}

.con_tit01 {
	margin-bottom: 4rem;
}

.con_tit01 .main_tit {
	color: #01588a;
	font-size: 55px;
	border-bottom: 25px solid #ffe92b;
	width: 250px;
	min-width: 35%;
}

.con_tit02 .main_tit {
	background: #fff;
	width: 28%;
	padding: 2rem;
	font-size: 40px;
	text-align: center;
	color: #00659f;
}

.con_tit03 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 3rem;
}

.con_tit03 img {
	width: 90%;
}

.con_tit03 .main_tit {
	width: 50%;
}

.con_tit03 .main_tit p {
	color: #00659f;
	font-size: 25px;
	font-weight: 600;
	border-bottom: 2px solid #ffe92b;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	width: 206px;
}

.con_tit03 .main_tit h3 {
	font-size: 37px;
	color: #00659f;
}

.con_tit03 .main_tit h3 img {
	width: 90%;
}

#section01 {
	background: linear-gradient(272deg, #D8634E 25%, #92AE2A 70%);
	margin-bottom: 10rem;
}

.detail-main-tit {
	letter-spacing: 3px;
	text-align: center;
	font-size: 28px;
	font-weight: bold;
	padding: 6rem 0;
	background: #fff;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.detail-main-tit h2 {
	margin: 0;
	font-size: 6rem;
	font-weight: 300;
	line-height: 90px;
	padding-bottom: 1rem;
}

.detail-main-tit p {
	margin: 0;
	font-size: 2rem;
	font-weight: 300;
}

.main-center-tit {
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.main-center-tit h2 {
	font-size: 4rem;
	font-weight: 400;
	line-height: 80px;
}

.main-center-tit h2 span {
	font-size: 5rem;
	color: #D6000F;
}

.main-tit-white {
	/* text-align: right; */
	color: #fff;
	margin-bottom: 3rem;
}

.main-tit-white h2 {
	font-size: 4rem;
	line-height: 5rem;
	font-weight: 400;
}

.main-tit-white h2 span {
	font-size: 5rem;
}


/* ヘッダー */

/* ===================
   ヘッダー共通
   =================== */
.header {
	position: fixed;
	/* ← これに変更 */
	width: 100%;
	/* ← これを追加 */
	left: 0;
	/* ← これを追加 */
	top: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background-color: transparent;
	transition: background-color 0.3s;
}

.header.scrolled {
	background-color: white;
	/* ← ここで白などの背景色が指定されている */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	/* 影を付けるなど */
}

/* ロゴ */
.header h1 {
	margin: 0;
	z-index: 1100;
}

.header h1 img {
	height: 50px;
	vertical-align: middle;
}

/* =====================================
   スマホ表示のスタイル (768px以下)
   ===================================== */

/* PC用ナビゲーションは非表示 */
.header-nav {
	display: none;
}

/* ハンバーガーメニューボタン */
.hamburger-morph {
	z-index: 1100;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	position: relative;
    left: -30px;
}

.hamburger-morph__icon {
	width: 100%;
	height: 100%;
}

.hamburger-morph__line {
	fill: none;
	stroke: #fff;
	stroke-width: 6;
	transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
		stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1),
		stroke 0.3s ease;
}

.header.scrolled .hamburger-morph__line {
	stroke: #000;
}

.hamburger-morph.active .hamburger-morph__line {
	stroke: #000;
}

.hamburger-morph__line:nth-child(1) {
	stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
	stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
	stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
	stroke-dasharray: 1 60;
	stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
}

/* スマホ用ナビゲーション本体 */
.nav-morph {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255, 255, 255, 0.98);
	clip-path: circle(0% at calc(100% - 44px) 44px);
	transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 900;
}

.nav-morph.active {
	clip-path: circle(150% at calc(100% - 44px) 44px);
}

.nav-morph__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.nav-morph__list {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.nav-morph__item {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-morph.active .nav-morph__item {
	opacity: 1;
	transform: translateY(0);
}

.nav-morph.active .nav-morph__item:nth-child(1) {
	transition-delay: 0.3s;
}

.nav-morph.active .nav-morph__item:nth-child(2) {
	transition-delay: 0.35s;
}

.nav-morph.active .nav-morph__item:nth-child(3) {
	transition-delay: 0.4s;
}

.nav-morph.active .nav-morph__item:nth-child(4) {
	transition-delay: 0.45s;
}

.nav-morph.active .nav-morph__item:nth-child(5) {
	transition-delay: 0.5s;
}

.nav-morph.active .nav-morph__item:nth-child(6) {
	transition-delay: 0.55s;
}

.nav-morph__link {
	display: inline-block;
	padding: 15px;
	font-size: 20px;
	color: #333;
	text-decoration: none;
}

/* =====================================
   PC表示のスタイル (769px以上)
   ===================================== */
@media (min-width: 769px) {
	.header {
		padding: 15px 40px;
	}

	/* ハンバーガーメニューとスマホ用ナビは非表示 */
	.hamburger-morph,
	.nav-morph {
		display: none;
	}

	/* PC用ナビゲーションを表示 */
	.header-nav {
		display: block;
		margin-right: 6rem;
	}

	.header-nav ul {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		align-items: center;
		gap: 25px;
		/* メニュー項目の間隔 */
	}

	.header-nav a {
		position: relative;
		padding: 5px;
		color: #fff;
		text-decoration: none;
		font-size: 1rem;
		transition: color 0.3s;
	}

	/* スクロール後は文字色を黒に */
	.header.scrolled .header-nav a {
		color: #000;
	}

	.header-nav a::after {
		content: '';
		position: absolute;
		bottom: -5px;
		left: 50%;
		transform: translateX(-50%) scaleX(0);
		width: 100%;
		height: 2px;
		background-color: #D8634E;
		transition: transform 0.3s ease-out;
		transform-origin: center;
	}

	.header-nav a:hover {
		color: #D8634E;
	}

	.header-nav a:hover::after {
		transform: translateX(-50%) scaleX(1);
	}

	/* お問い合わせボタン */
	.contact-btn a {
		background-color: #D8634E;
		color: white;
		padding: 10px 25px;
		border-radius: 5px;
		transition: background-color 0.3s, color 0.3s, border 0.3s;
		border: 1px solid transparent;
	}

	/* お問い合わせボタンのホバーは文字色も上書き */
	.header.scrolled .contact-btn a,
	.contact-btn a:hover {
		color: #fff;
	}

	.contact-btn a:hover {
		background-color: #fff;
		border: 1px solid #92ae2a;
		background-color: #92ae2a;
	}

	.contact-btn a::after {
		display: none;
		/* 下線アニメーションは不要 */
	}
}



@media only screen and (max-width: 1024px) {

	body {
		font-size: 1rem;
		line-height: 27px;
	}

	header a {
		color: #ffffff;
		font-size: 14px;
		text-align: left;
	}

	.header h1 img {
		height: 30px;
	}

	.header-nav {
		display: block;
		width: 90%;
		position: relative;
		top: 10%;
	}

	.nav-list {
		display: block;
		position: relative;
		top: 0;
		left: 0;
		transform: none;
	}

	.header-nav .accordion {
		display: flex;
		width: 100%;
		position: relative;
		bottom: 0;
		right: 0;
		margin-bottom: 25px;
	}

	.header-nav .accordion-wrap {
		width: 100%;
		border-bottom: 1px solid #fff;
	}

	.header-nav .accordion-item {
		background: #bcd537;
		border-bottom: 1px solid #fff;
		height: 70px;
	}

	.header-nav .accordion-item .accordion-header {
		justify-content: space-between;
		padding: 0 30px;
		height: 70px;
	}

	.header-nav .accordion-item .accordion-header .fa {
		line-height: 35px;
		position: relative;
		float: none;
		left: 0;
	}

	.header-nav .accordion-text {
		width: 100%;
		position: relative;
		top: 0;
		right: 0;
		left: 0;
	}

	.header-nav .accordion-text ul {
		display: block;
		width: 100%;
		position: relative;
		padding-right: 0px;
	}

	.header-nav .accordion-text ul li {
		background: #37488c;
		width: auto;
		cursor: pointer;
		height: 70px;
		align-items: center;
		border-bottom: 1px solid #fff;
		padding: 0px;
		display: grid;
		margin: 0px;
		justify-content: left;
		padding: 0 30px;
	}

	.header-nav .header-contact {
		width: 100%;
	}

	.header-nav .header-contact .contact-btn {
		width: 100%;
		margin-bottom: 15px;
	}

	.header-contact .contact-btn {
		padding: 0;
	}

	.header-nav .header-contact .monitor-btn {
		width: 100%;
		display: grid;
		justify-content: center;
	}

	.header-contact .monitor-btn {
		padding: 0px;
	}

}

.sp-nav {
	display: none;
}

@media screen and (max-width: 1024px) {

	header {
		display: flex;
		height: 60px;
	}

	.pc-nav {
		display: none;
	}

	.sp-nav {
		z-index: 1;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		display: block;
		width: 100%;
		background: rgba(0, 0, 0, .8);
		opacity: 0;
		transform: translateY(-100%);
		transition: all .2s ease-in-out;
	}

	header .sp-nav ul li a {
		color: #fff;
	}

	.main-visual {
		padding: 0 4%;
	}

	h2 {
		line-height: 1.6;
		text-align: center;
	}

	.main-tit-white h2 {
		font-size: 2rem;
		text-align: left;
		line-height: 3rem;
		font-weight: 400;
	}

	.main-tit-white h2 span {
		font-size: 3rem;
	}
}

/* フッター */
footer {
	background-color: #D8634E;
	color: white;
	text-align: center;
	z-index: 9;
	position: relative;
	padding: 3rem 0px;
}

.footer-content {
	position: relative;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.footer-menu h1 {
	width: 18%;
}

.footer-menu h1 img {
	width: 100%;
}

.footer-menu ul {
	display: flex;
}

.footer-menu ul li {
	margin-left: 1.5rem;
}

.footer-menu ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
}

/* Mapセクション */
.map {
	padding: 0 0 5rem 0;
}

.map img {
	width: 100%;
	display: block;
}

/* Contactセクション */
.contact {
	position: relative;
}

.contact-txt {
	text-align: center;
	color: #fff;
	position: relative;
	z-index: 10;
}

.contact-txt h3 {
	font-size: 35px;
	line-height: 3rem;
	padding-bottom: 2rem;
}


.contact img {
	width: 100%;
	position: absolute;
	left: 0;
	right: 0;
	top: -60%;
	z-index: -9;
}

.contact-box {
	padding: 0px 0 5rem 0;
}

.contact-box p img {
	position: absolute;
	top: -67%;
	bottom: 0;
	z-index: 9;
	height: -webkit-fill-available;
}

p.contact-btn-box {
	position: absolute;
	top: 185px;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
}

.contact-button {
	display: inline-block;
	background-color: white;
	color: #d8634e;
	padding: 30px 100px;
	border-radius: 15px;
	text-decoration: none;
	font-weight: bold;
	margin: 30px 0;
	transition: background-color 0.3s;
	z-index: 9999;
}

.contact-button:hover {
	background-color: #f0f0f0;
}

.copyright {
	font-size: 0.8rem;
	margin-top: 0px;
}

h1.logo {
	width: 48%;
	padding-left: 135px;
}

h1.logo img {
	width: 80%;
}

ul.footer-sns {
	display: flex;
	justify-content: space-between;
	width: 18%;
}

ul.footer-sns li img {
	width: 70%;
}

/* ▼ アニメーションの核となるCSS ▼ */
.scroll-fade {
	opacity: 0;
	/* 最初は少し下に配置 */
	transform: translateY(50px);
	/* アニメーションの変化を滑らかに */
	transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-fade.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media only screen and (max-width: 1024px) {

	body {
		font-family: "Noto Serif JP", serif;
		font-optical-sizing: auto;
		font-weight: normal;
		font-style: normal;
		color: #212121;
		line-height: 25px;
		letter-spacing: 2px;
		font-size: 14px !important;
		/* display: flex
; */
	}

	.inner {
		width: 90%;
	}

	.subpage-link-btn {
		font-size: 20px;
	}

	p.detail-white-btn .subpage-link-btn {
		padding-top: 2rem;
		font-size: 20px;
	}

	.detail-header h1 img {
		height: 30px;
	}


	.resize .headerInner .headerLogo {
		left: -52%;
	}

	p.headerLogo img {
		width: 38%;
	}

	.slick-slide img {
		height: auto;
	}

	.footer_txt p img {
		width: 49%;
	}

	footer .footer_txt {
		width: 100%;
		flex-wrap: wrap;
	}

	h1.logo {
		padding-bottom: 15px;
	}

	h1.logo img {
		width: 100%;
	}

	ul.footer-sns li img {
		width: 45%;
	}

	.contact-box {
		padding: 0px 0 0rem 0;
	}

	.contact-box p img {
		top: auto;
		height: 50vh;
	}

	.footer-menu {
		display: block;
	}

	.footer-menu h1 {
		width: 65%;
		margin: 0 auto;
	}

	.footer-menu ul {
		display: block;
	}

	.footer-menu ul li {
		margin: 0.5rem;
	}

	.main-center-tit h2 {
		font-size: 2rem;
	}

	.main-center-tit h2 span {
		font-size: 3rem;
	}

	.map {
		padding: 0px 0 0rem 0;
	}

	.contact-txt h3 {
		font-size: 20px;
		line-height: 2rem;
		padding-bottom: 2rem 32px;
	}

	.contact-button {
    padding: 20px 50px;
    font-weight: 400;
}

	/* 下層ヘッダータイトル
------------------------------------------------ */

	.detail-main-tit {
		padding: 5rem 0;
	}

	.detail-main-tit h2 {
		font-size: 2rem;
		line-height: 50px;
		padding-bottom: 0rem;
	}

	.detail-main-tit p {
		font-size: 1.5rem;
	}

	/* 下層ヘッダータイトル
------------------------------------------------ */

	/* 下層共通
------------------------------------------------ */

	.detail-main-tit h3 {
		font-size: 18px;
		line-height: 30px;
		margin-bottom: 45px;
	}

	.detail-main-tit h3 span {
		display: contents;
		font-size: 14px;
	}

	.detail-sub-tit small {
		font-size: 12px;
	}

	.detail-sub-tit h4 {
		font-size: 25px;
		font-weight: 500;
	}

	.blue_btn {
		width: 100%;
	}

	.blue-text {
		color: #37488C;
		font-size: 20px;
	}

	.btn-box p {
		width: 100%;
		margin-bottom: 15px;
	}
}


/* 下層共通
------------------------------------------------ */
@media screen and (max-width: 1024px) {
	#section01 {
		margin-bottom: 1rem;
	}
}