/*! destyle.css v1.0.15 | MIT License | nicolas-cusan/destyle.css */
*,::before,::after{box-sizing:border-box}html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0}main{display:block}p,table,blockquote,address,pre,iframe,form,figure,dl{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;line-height:inherit;font-weight:inherit;margin:0}ul,ol{margin:0;padding:0;list-style:none}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid;margin:0;clear:both;color:inherit}pre{font-family:monospace,monospace;font-size:inherit}address{font-style:inherit}a{background-color:transparent;text-decoration:none;color:inherit}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:inherit}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;vertical-align:bottom}embed,object,iframe{border:0;vertical-align:bottom}button,input,optgroup,select,textarea{-webkit-appearance:none;appearance:none;vertical-align:middle;color:inherit;font:inherit;border:0;background:transparent;padding:0;margin:0;outline:0;border-radius:0;text-align:inherit}[type=checkbox]{-webkit-appearance:checkbox;appearance:checkbox}[type=radio]{-webkit-appearance:radio;appearance:radio}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{cursor:pointer;-webkit-appearance:none;appearance:none}button[disabled],[type=button][disabled],[type=reset][disabled],[type=submit][disabled]{cursor:default}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}select::-ms-expand{display:none}option{padding:0}fieldset{margin:0;padding:0;border:0;min-width:0}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}label[for]{cursor:pointer}details{display:block}summary{display:list-item}[contenteditable]{outline:none}table{border-collapse:collapse;border-spacing:0}caption{text-align:left}td,th{vertical-align:top;padding:0}th{text-align:left;font-weight:700}template,[hidden]{display:none}
/* ===============================================
基本 & 共通スタイル
=============================================== */
body{color:#333;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",HelveticaNeue,游ゴシック体,YuGothic,游ゴシック Medium,"Yu Gothic Medium","Hiragino Sans",ヒラギノ角ゴシック,"Hiragino Kaku Gothic ProN",sans-serif;min-width:320px}
a{color:#555}
img{max-width:100%;height:auto;vertical-align:middle}
p{color:#555;font-size:14px;line-height:1.8em;margin:0 auto 32px;width:90%;max-width:900px}
h1{font-size:24px;text-align:center}
h2{font-size:18px;line-height:1.8;padding-top:80px;margin:0 auto 32px;width:90%;max-width:900px;letter-spacing:.2em}
h3{font-size:16px;line-height:1.5;margin:0 auto 24px;width:90%;max-width:900px;letter-spacing:.2em}
.mincho{font-family:'游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif}
.new-line{display:inline-block}
.link-button a{align-items:center;border:1px solid #999;border-radius:3px;display:flex;font-weight:500;justify-content:space-around;margin:60px auto 0;max-width:300px;padding:10px 25px;position:relative;transition:.3s ease-in-out}
.link-button a:after{content:"";position:absolute;right:2rem;top:50%;width:6px;height:6px;border-top:solid 2px currentColor;border-right:solid 2px currentColor;transform:translateY(-50%) rotate(45deg);transition:right .3s}
.link-button a:hover{background:#d9c69b;color:#fff}
.link-button a:hover:after{right:1.4rem}
.scroll-fade{opacity:0;transition:.8s ease-in-out}
.scroll-fade.on{opacity:1}

/* ===============================================
共通セクションスタイル (デザイン統一用)
=============================================== */
.maini-content {padding-top: 50px}
.section-title{text-align:center;margin-bottom:1.5em;font-size:22px;line-height:1.5;color:#333;width:100%;max-width:100%;padding-top:0}
.sub-title{display:block;font-size:16px;font-family:'游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;font-weight:500;color:#75653b;letter-spacing:.12em;margin-bottom:.5em}
.section-description{text-align:center;max-width:800px;margin:-1em auto 3em;font-size:15px;line-height:1.8;width:90%}
.br.pc-only{display:none}

/* ===============================================
ヘッダー & ナビゲーション
=============================================== */
.header-inner { display: flex; align-items: center; justify-content: space-between; background: #FFF; height: 50px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1001; padding: 0 5%; }
.header-logo img { height: 16px; width: auto; }
.nav-toggle { display: block; position: relative; width: 30px; height: 24px; z-index: 1002; }
.nav-toggle span { display: block; position: absolute; left: 0; width: 100%; height: 2px; background-color: #333; transition: all 0.3s ease-in-out; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.show span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.show span:nth-child(2) { opacity: 0; }
.nav-toggle.show span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }
.nav { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); position: fixed; top: 0; left: 0; width: 100%; height: 100%; padding: 80px 5%; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; z-index: 1000; text-align: center; }
.nav.show { opacity: 1; visibility: visible; }
.nav-inq { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 15px; padding: 12px 60px; background-color: #fff; border: 1px solid #e0e0e0; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-decoration: none; transition: all 0.3s ease; }
.nav-inq:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: #d3c6a6; }
.nav-inq-icon { flex-shrink: 0; width: 36px; height: 36px; background-color: #fdfbf7; border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3c6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 30px; background-position: center; background-repeat: no-repeat; }
.nav-inq-text { display: block; text-align: left; }
.nav-inq-none { display: block; font-size: 14px; color: #888; margin-bottom: 2px; }
.nav-inq-p { display: block; font-weight: 700; font-size: 20px; color: #333; word-break: keep-all; }
.nav-img-p { font-weight: bold; font-size: 15px; margin: 20px auto 10px; }
.nav-img { margin: 10px 0; }
.nav-img img { width: 70%; max-width: 220px; margin: 0 auto; }
.nav-tel { margin: 20px 0; }
.nav-tel-p { font-size: 14px; margin-bottom: 4px; }
.nav-tel-no a { font-size: 28px; font-weight: 700; color: #333; }
.nav-list { border-top: 1px solid #eee; padding-top: 25px; margin-top: 25px; }
.nav-list li { padding: 0; margin-bottom: 18px; }
.nav-list a { font-weight: 700; font-size: 16px; color: #333; }
.font-very-small { font-size: 0.75em; font-weight: 400; opacity: 0.8; }
.banner-nav { border-top: 1px solid #eee; padding-top: 25px; margin-top: 25px; }
.banner-sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.banner-sns a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; width: 100%; max-width: 300px; }
.banner-sns a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.banner-sns img { width: 100%; display: block; }

/* ===============================================
フッター追従ボタン (真の最終完成・安定版)
=============================================== */
.realtime-users-popup,.inquiry-button-wrapper,.pagetop-button-wrapper{position:fixed;z-index:998;transition:opacity .5s ease-in-out,visibility .5s ease-in-out;opacity:0;visibility:hidden;pointer-events:none}
.realtime-users-popup{bottom:80px;right:0}
.inquiry-button-wrapper{bottom:20px;left:0;width:100%;display:flex;justify-content:center}
body.sticky-buttons-active .realtime-users-popup,body.sticky-buttons-active .inquiry-button-wrapper,body.sticky-buttons-active .pagetop-button-wrapper{opacity:.85;visibility:visible;pointer-events:auto}
.pagetop-button-wrapper{bottom:19px;right:20px;z-index:999}
.realtime-users-popup{background-color:#e9e3d3;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:8px 12px;border-top-left-radius:5px;border-bottom-left-radius:5px;box-shadow:0 4px 20px rgba(0,0,0,.1);font-size:11px;color:#333;line-height:1.4;text-align:center}
.inquiry-button{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#fdb813;color:#fff;font-weight:700;font-size:14px;height:44px;padding:0 25px;border-radius:22px;box-shadow:0 4px 15px rgba(0,0,0,.15);text-decoration:none;transition:transform .3s ease-in-out,box-shadow .3s ease-in-out}
.pagetop-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background-color:#fff;border:1px solid #ddd;border-radius:50%;box-shadow:0 4px 15px rgba(0,0,0,.1);cursor:pointer;transition:transform .3s ease-in-out,box-shadow .3s ease-in-out}
.user-n{color:#c94a4a;font-size:13px;font-weight:900}
.inquiry-button::after{content:'';position:absolute;top:-50%;left:-100%;width:20%;height:200%;background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.4) 50%,rgba(255,255,255,0) 100%);transform:rotate(25deg);animation:shine 5s infinite ease-out;animation-delay:1s}
@keyframes shine{0%{left:-100%}15%{left:150%}100%{left:150%}}
.pagetop-button-arrow{width:10px;height:10px;border-top:2px solid #333;border-right:2px solid #333;transform:translateX(0) translateY(20%) rotate(-45deg)}
.inquiry-button-wrapper:hover,.pagetop-button-wrapper:hover{opacity:1}
.inquiry-button:hover,.pagetop-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}
body.footer-visible .realtime-users-popup,body.footer-visible .inquiry-button-wrapper,body.footer-visible .pagetop-button-wrapper{opacity:0;visibility:hidden;pointer-events:none}

/* ===============================================
フッター
=============================================== */
footer{background-color:#333;color:#999}
.story{padding:80px 0 20px;overflow-x:hidden}
.story-content-wrapper{display:flex;flex-direction:column;align-items:center;gap:1rem;width:90%;max-width:1100px;margin:0 auto}
.story-text-group{width:100%}
.story-text-group:first-child{display:flex;flex-direction:row-reverse;justify-content:center;gap:1.5rem}
.story-paragraphs,.story-text-group:nth-child(2){display:flex;flex-direction:row-reverse;justify-content:center;gap:.5rem;height:45vh;min-height:337px}
.story h2,.story p{writing-mode:vertical-rl;text-orientation:mixed;color:#ccc;margin:0;padding:0;width:auto!important;height:100%}
.story h2{letter-spacing:.3em;height:auto}
.story p{font-size:12px;margin-bottom:16px;letter-spacing:.1em}
.footer-wrap{display:block;margin:60px auto 40px;width:90%;max-width:900px}
.footer-logo{display:flex;justify-content:center;margin:0 auto 40px}
.footer-logo img{padding:0 20px;width:150px}
.footer-logo img:first-child{border-right:.5px solid #999}
.footer-sns{display:flex;align-items:center;justify-content:center;margin:32px auto 40px}
.footer-sns img{height:auto;padding:0 20px;width:76px}
.footer-sns img:hover{opacity:.3;transition:.3s}
.footer-menu{margin:0 auto 16px;width:90%;max-width:900px;text-align:center}
.footer-menu ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 15px;font-size:12px}
.footer-menu li{padding:0;margin:4px}
.footer-menu a{color:#bbb;padding:4px 12px;border-radius:3px;transition:background-color .2s;display:inline-flex;align-items:center;min-height:44px}
.footer-menu a:hover{background-color:#444;color:#fff}
.copyright{color:#a5a5a5;font-size:10px;padding-bottom:10px;text-align:center;width:100%;margin-bottom:0}
@media screen and (min-width:768px){.story-content-wrapper{flex-direction:row-reverse;justify-content:center;align-items:flex-start;gap:12px}.story-text-group{width:auto;max-width:48%}.story-paragraphs,.story-text-group:nth-child(2){height:45vh;min-height:337px}}

/* ===============================================
最終行動喚起 (Final CTA) セクション
=============================================== */
.final-cta-section{padding:80px 0;background-color:#fdfbf7}
.final-cta-section .container{width:90%;max-width:800px;margin:0 auto}
.cta-buttons{display:grid;grid-template-columns:1fr;gap:20px;margin-top:40px}
.cta-button{display:flex;align-items:center;padding:20px;border-radius:8px;text-decoration:none;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 15px rgba(0,0,0,.05)}
.cta-button:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.1)}
.cta-button.phone{background-color:#fff;border:2px solid #d3c6a6;color:#333}
.cta-button.mail{background-color:#827268;color:#fff}
.button-icon{flex-shrink:0;width:40px;height:40px;margin-right:20px;background-size:24px;background-repeat:no-repeat;background-position:center;border-radius:50%;display:flex;align-items:center;justify-content:center}
.phone-icon{background-color:#fdfbf7;border:1px solid #e0e0e0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3c6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E")}
.mail-icon{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3c6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E")}
.button-text{text-align:left;flex-grow:1}
.button-label{font-size:13px;display:block;margin-bottom:2px}
.button-main{font-size:22px;font-weight:bold;display:block;line-height:1.2}
.cta-button.mail .button-main{font-size:18px}
.button-sub{font-size:12px;display:block;margin-top:2px}
@media screen and (min-width:768px){.cta-buttons{grid-template-columns:1fr 1fr}}

/* --- [SECTION 1] Page Header --- */
.page-header { padding: 80px 0; background-color: #fdfbf7; text-align: center; min-height: 100dvh; display: flex; align-items: center;}
.page-header .container { max-width: 1100px; margin: 0 auto;}
.page-header .page-title { font-size: clamp(2rem, 6vw, 2.5rem); margin-bottom: 0.8em; }
.page-header .section-description { font-size: 1rem; text-wrap: balance;}
.page-title .sub-title { font-size: 16px; letter-spacing: 0.2em; }

/* --- [SECTION 2] Flow Steps --- */

.flow-steps-section { padding: 100px 0; }
.flow-list { max-width: 500px; margin: 0 auto; list-style: none; padding: 0; }
.flow-step { margin-bottom: 40px; }

.flow-step-content {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.05);
  padding: 200px 40px 40px;
  position: relative;
  overflow: hidden;
}

.flow-step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background-image: var(--bg-image-sp); /* HTMLから、魂を、受け取る */
  background-size: cover; /* containから変更し、空間を埋める */
  background-repeat: no-repeat;
  background-position: center;
  /* 画像の下部を、白に、溶け込ませる、魔法 */
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.flow-step-number { font-family: sans-serif; font-weight: bold; color: #75653b; font-size: 14px; margin-bottom: 1.5em; }
.flow-step-title { font-size: clamp(1.4rem, 5vw, 2rem); margin: 0 0 0.8em; padding-top: 0; color: #333; }
.flow-step-text, .flow-step-summary { font-size: 1rem; line-height: 1.9; color: #555; margin: 0; width: 100%; max-width: 100%; }
.flow-step-details { margin-top: 2em; padding-top: 1.5em; border-top: 1px solid #e0e0e0; }
.details-content {padding: 1em 0; line-height: 1.5em;}
.details-title { font-size: 1rem; font-weight: bold; margin: 0 0 1em; color: #333; }
.details-list { list-style: none; padding: 1em 0 0; }
.details-list li { font-size: 0.9rem; margin-bottom: 0.5em; }


/* --- [SECTION 3] Responsive --- */
@media screen and (min-width: 768px) {
  .flow-list { max-width: 980px; }
  .flow-step { margin-bottom: 120px; }
  .flow-step-content {
    padding: 60px;
    padding-left: 60%;
  }
  .flow-step-content::before {
    width: 55%; /* 少し、重なりを、深く */
    height: 100%;
    background-image: var(--bg-image-pc); /* PC用の、魂 */
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  
  /* 偶数番目は、反転させます */
  .flow-step:nth-child(even) .flow-step-content {
    padding-left: 60px;
    padding-right: 60%;
  }
  .flow-step:nth-child(even) .flow-step-content::before {
    left: auto;
    right: 0;
    mask-image: linear-gradient(to left, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 80%, transparent 100%);
  }
}