@charset "utf-8";

/*====================================================================================================
  HTML・BODY
====================================================================================================*/
* { margin: 0; padding: 0;}
html { scroll-behavior: smooth;	font-size: 16px;}
:root {
	--base-color: #FBF6F0; 
	--main-fontcolor: #1e1e1e;
    --primary-color: #28A47E;
	--accent-color: #655148;
	--header-height: 90px;
}
body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	line-height: 1.5;
	font-weight: 500; /* medium */
    overflow-x: clip;
	color: var(--main-fontcolor); 
}

/*====================================================================================================
  BASE（WHOLE）
====================================================================================================*/
#base {
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--base-color);
	overflow: hidden;
}
h1, h2, h3, h4, h5, h6, th, strong { font-weight: 700;}
a { text-decoration: none;}
.nav a { text-decoration: none;}
ul { list-style: none;}
div, p, ul, ul li, h1, h2, h3, h4, h5, dl, dt, dd {	margin: 0; padding: 0;}

img { width: 100%; height: auto; vertical-align: bottom; border: none;}
#nav { list-style: none;}

.pc { display:block;}
.tb { display: none;}
.sm { display:none;}

[id] { scroll-margin-top: var(--header-height);}

/*====================================================================================================
  HEADER
====================================================================================================*/
#header {
    position: fixed !important;
    top: 0; 
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.95); 
    z-index: 9999;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: 
        opacity 0.6s ease-out,
        transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        visibility 0.6s;
}
#header.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    top: 0 !important;
}
.header_wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header_logo_wrap {
	display: flex;
	gap: 16px;
	align-items: center;
}
.header_logomark img {
    width: 100%;
	max-width: 60px;
    min-width: 40px;
    height: auto;
	aspect-ratio: 1 / 1;
}
.header_logotype img {
    width: 100%;
    max-width: 180px;
    min-width: 12px;
	height: auto;
	aspect-ratio: 219 / 56;
}
#header .openbtn {
    display: none;
}
ul.header_nav_list {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}
ul.header_nav_list li a {
	color: var(--primary-color);
	display: inline-block;
	transition: color 0.3s ease;
    font-size: 1.125rem;
    font-weight: 700;
}
ul.header_nav_list a:hover {
    color: var(--accent-color);
	opacity: 1;
}
ul.header_nav_list li:last-child {
    width: 250px;;
}
ul.header_nav_list li:last-child a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    background-color: var(--primary-color);
    padding-block: 12px;
    border-radius: 10px;
    font-size: 24px;
    line-height: 1;
    color: #fff;
}
ul.header_nav_list li:last-child a::before {
    content: "";
    display: block;
    width: 28px;
    height: 21px;
    background-image: url("../../images/basic/icon-tel.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
ul.header_nav_list li:last-child span {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/*====================================================================================================
  MAIN
====================================================================================================*/
#main {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer {
	position: relative;
	background: #fff;
	z-index: 10;
	background-image: 
        url("../../images/basic/footer-deco-l.png"), 
        url("../../images/basic/footer-deco-r.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right 75%;
    background-size: auto auto;
}
/* #footer::before {
  content: "";
  position: absolute;
  height: 5vw; 
  top: auto;
  bottom: 100%;
  transform: translateY(5px);
  left: 0;
  width: 100%;
  background-image: url("../../images/footer-roof.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  filter: drop-shadow(0px -20px 20px rgba(0, 0, 0, 0.05));
  clip-path: inset(-100px -100px 0px -100px);
  z-index: 11;
  pointer-events: none;
} */
#footer::before {
  content: "";
  position: absolute;
  /* 高さをvw（画面幅に対する比率）で指定 */
  height: 5vw; 
  top: -4.9vw; /* フッターに重ねて隙間を消す */
  left: 0;
  width: 100%;
  background-image: url("../../images/footer-roof.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  filter: drop-shadow(0px -20px 20px rgba(0, 0, 0, 0.05));
  clip-path: inset(-100px -100px 0px -100px);
  z-index: 11;
  pointer-events: none;
}
.footer_message {
	font-size: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem); /* 20:375 30:1920 */
	font-weight: 400;
	color: var(--primary-color);
	grid-column: 1 / 3;
    text-align: left;
}
.footer_inner {
	padding-inline: 5rem;
	max-width: 1200px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	row-gap: 2rem;
	margin-bottom: 5rem;
}
.footer_left {
	grid-column: 1 / 2;
	width: fit-content;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-self: left;
}
.footer_right {
	justify-self: right;
	align-self: center;
}
.footer_logo_wrap {
	width: fit-content;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.footer_logomark {
	width: 100px;
	aspect-ratio: 1 / 1;
	margin-inline: auto;
}
.footer_logotype {
	width: 219px;
	aspect-ratio: 219 / 56;
	margin-inline: auto;
}
.footer_address {
	color: var(--primary-color);
	font-size: clamp(0.938rem, 0.907rem + 0.13vw, 1.063rem);
	line-height: 2;
}
.footer_address a {
	color: var(--primary-color);
	display: inline-block;
	transition: color 0.3s ease;
    font-size: clamp(0.938rem, 0.907rem + 0.13vw, 1.063rem);
    font-weight: 600;
}
.footer_address a:hover {
    color: var(--accent-color);
	opacity: 1;
}
.footer_nav_list {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}
.footer_nav_list li a {
	color: var(--primary-color);
    display: inline-block;
	transition: color 0.3s ease;
}
.footer_nav_list a:hover {
    color: var(--accent-color);
	opacity: 1;
}
.copyright {
	height: 65px;
	background: var(--primary-color);
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	font-weight: 400;
	line-height: 65px;
	color: #fff;
}

/*====================================================================================================
  PRIVACY
====================================================================================================*/
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
}
.modal_overlay {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.modal_content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 80vh; /* 画面の8割までに抑える */
    border-radius: 15px;
    padding: 40px 20px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden; /* 子要素のスクロールを制御 */
    display: flex;
    flex-direction: column;
}
.modal_close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 32px;
    cursor: pointer;
    color: var(--primary-color);
    line-height: 1;
}
.modal_inner {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOSの滑らかなスクロール */
}
.modal_inner h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.privacy_body {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #444;
}
.modal_bottom_close {
    margin-top: 20px;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
}
/* モーダル表示中の背面スクロール固定用クラス */
body.noscroll {
    overflow: hidden;
}
/* モーダル内テキストの装飾 */
.privacy_body section {
    margin-bottom: 2rem;
}
.privacy_body h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3rem;
}
.privacy_body p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: justify; 
}
/* 箇条書きのスタイル */
.privacy_body ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}
.privacy_body li {
    list-style-type: disc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.address_box {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.address_box strong {
    font-size: 1.2rem;
	line-height: 1.2;
    display: block;
}
.modal_bottom_close {
    /* 既存のスタイルに追記・変更 */
    transition: opacity 0.3s ease;
}

.modal_bottom_close:hover {
    opacity: 0.8;
}
