@charset "utf-8";

/* Reset CSS （normalize.css v3.0.2） */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
/* 追加 */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}address{font-style:normal}*{margin:0;padding:0}*,:after,:before{background-repeat:no-repeat;box-sizing:border-box}img{vertical-align:bottom;-webkit-backface-visibility:hidden}

/*----------------------------------------------------------------------------------------------------

  Base
  
----------------------------------------------------------------------------------------------------*/
:root {
  --base-width: 1366px;
  --cubic-bezier: cubic-bezier(.23,1,.32,1);
}
@media print, screen and (min-width:1001px) {
  :root {
    --line-height: 1.8;
    --line-height-l: 2.0;
    --line-height-m: 1.6;
    --line-height-s: 1.4;
    --side-space: 40px;
    --block-space-unit: 40px;
    --box-space-unit: 10px;
  }
}
@media print, screen and (min-width:641px) and (max-width:1000px) {
  :root {
    --line-height: 1.6;
    --line-height-l: 2.8;
    --line-height-m: 1.4;
    --line-height-s: 1.2;
    --side-space: 30px;
    --block-space-unit: 30px;
    --box-space-unit: 8px;
  }
}
@media screen and (max-width:640px) {
  :root {
    --line-height: 1.6;
    --line-height-l: 2.8;
    --line-height-m: 1.4;
    --line-height-s: 1.2;
    --side-space: 6%;
    --block-space-unit: max(calc(30 / 640 * 100vw), 15px);
    --box-space-unit: 6px;
  }
}
:root {
  --block-space-max: calc(var(--block-space-unit) * 4);/*160*/
  --block-space-3l: calc(var(--block-space-unit) * 3.5);/*140*/
  --block-space-2l: calc(var(--block-space-unit) * 3);/*120*/
  --block-space-l: calc(var(--block-space-unit) * 2.5);/*100*/
  --block-space-m: calc(var(--block-space-unit) * 2);/*80*/
  --block-space-s: calc(var(--block-space-unit) * 1.75);/*70*/
  --block-space-2s: calc(var(--block-space-unit) * 1.5);/*60*/
  --block-space-3s: calc(var(--block-space-unit) * 1.25);/*50*/
  --block-space-min: calc(var(--block-space-unit) * 1);/*40*/
  
  --box-space-max: calc(var(--box-space-unit) * 5);/*50*/
  --box-space-l: calc(var(--box-space-unit) * 4.5);/*45*/
  --box-space-m: calc(var(--box-space-unit) * 4);/*40*/
  --box-space-s: calc(var(--box-space-unit) * 3.5);/*35*/
  --box-space-2s: calc(var(--box-space-unit) * 3);/*30*/
  --box-space-min: calc(var(--box-space-unit) * 2.5);/*25*/
}
  
html,
body {
  height: 100%;
}
body {
  min-width: 320px;
  background-color: #fff;
  color: #333;
  font-family: 'Noto Sans JP','Helvetica Neue','Arial','Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  font-weight: 400;
  line-height: var(--line-height);
  word-wrap: break-word;
  text-align: center;
}
.js_rpsTable,
.js_rpsBlock {
  overflow: hidden;
}
.js_linkBox {
  cursor: pointer;
}
.js_iframe iframe {
  pointer-events: none;
  cursor: pointer;
}
.clear:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.t-nowrap { display: inline-block; }
.lineh-l { line-height: var(--line-height-l); }
.lineh-m { line-height: var(--line-height-m); }
.lineh-s { line-height: var(--line-height-s); }

/*--------------------------------------------------------------------------------
  font
--------------------------------------------------------------------------------*/
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
}
:root {
  --fs-max: 3.75em;/*60*/
  --fs-6l: 2.6em;/*41.6*/
  --fs-5l: 2.3em;/*36.8*/
  --fs-4l: 2em;/*32*/
  --fs-3l: 1.7em;/*27.2*/
  --fs-2l: 1.5em;/*24*/
  --fs-l: 1.3em;/*20.8*/
  --fs-m: 1.1em;/*17.6*/
  --fs-s: 0.9em;/*14.4*/
 --fs-2s: 0.8em;
  --fs-3s: 0.7em;
  --fs-min: 0.6em; 
  
  --ff-en:  "Josefin Sans", sans-serif;
  --ff-num:  "Inter", sans-serif;
  --ff-min: 'Shippori Mincho', serif;;
}
@media print, screen and (max-width:1200px) {
  :root {
    --fs-max:3em;
    --fs-5l: 2.1em;
    --fs-4l: 1.9em;
    --fs-3l: 1.6em;
  }
}
@media print, screen and (max-width:800px) {
  :root {
    --fs-max: 2.1em;
    --fs-5l: 2em;
    --fs-4l: 1.8em;
    --fs-3l: 1.5em;
    --fs-2l: 1.4em;
    --fs-l: 1.2em;
  }
}
@media print, screen and (max-width:1200px) {
  html {
    font-size: clamp(58%, 0.2em + 0.6vw, 62.5%);
  }
}
@media screen and (max-width:640px) {
  html {
    font-size: clamp(50%, 0.3em + 0.8vw, 58%);
  }
}
.fs-max { font-size: var(--fs-max); }
.fs-5l { font-size: var(--fs-5l); }
.fs-4l { font-size: var(--fs-4l); }
.fs-3l { font-size: var(--fs-3l); }
.fs-2l { font-size: var(--fs-2l); }
.fs-l { font-size: var(--fs-l); }
.fs-m { font-size: var(--fs-m); }
.fs-ms { font-size: var(--fs-ms); }
.fs-s { font-size: var(--fs-s); }
.fs-2s { font-size: var(--fs-2s); }
.fs-3s { font-size: var(--fs-3s); }
.fs-min { font-size: var(--fs-min); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }

:root {
  /* Neutral / Greyscale */
  --color-white: #FFFFFF;
  --color-off-white: #F7F5F2;
  --color-cream: #FFFBF5;
  --color-light-gray: #E5E5E5;
  --color-mid-gray: #666666;
  --color-dark-gray: #333333;

  /* Accents / Earth Tones */
  --color-orange: #F2A65A;
  --color-coral: #E96A6A;
  --color-beige: #C9B8A6;
  --color-sand: #E8DED2;

  /* Blues */
  --color-blue-dark: #6F97A6;
  --color-blue-mid: #9FBECB;
  --color-blue-light: #CFDFE6;
}


/* 背景色クラス */
.bg-white      { background-color: var(--color-white); }
.bg-off-white  { background-color: var(--color-off-white); }
.bg-cream      { background-color: var(--color-cream); }
.bg-light-gray { background-color: var(--color-light-gray); }
.bg-mid-gray   { background-color: var(--color-mid-gray); }
.bg-dark-gray  { background-color: var(--color-dark-gray); }
.bg-orange     { background-color: var(--color-orange); }
.bg-coral      { background-color: var(--color-coral); }
.bg-beige      { background-color: var(--color-beige); }
.bg-sand       { background-color: var(--color-sand); }
.bg-blue-dark  { background-color: var(--color-blue-dark); }
.bg-blue-mid   { background-color: var(--color-blue-mid); }
.bg-blue-light { background-color: var(--color-blue-light); }

/* 文字色クラス */
.text-white      { color: var(--color-white); }
.text-mid-gray   { color: var(--color-mid-gray); }
.text-dark-gray  { color: var(--color-dark-gray); }
.text-coral      { color: var(--color-coral); }
.text-blue-dark  { color: var(--color-blue-dark); }


.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.shippori-mincho-medium {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
}

.shippori-mincho-semibold {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

.shippori-mincho-bold {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
}

.shippori-mincho-extrabold {
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  font-style: normal;
}

.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: ;
  font-style: normal;
}

.josefin-sans{
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight:;
  font-style: normal;
}

.inter{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight:;
  font-style: normal;
}


.ff-en { font-family: var(--ff-en); }
.ff-num { font-family: var(--ff-num); }
.ff-min { font-family: var(--ff-min); }

/*-----------------------------------------------------------------------------------
  img
-----------------------------------------------------------------------------------*/
img {
  max-width: 100%;
  height: auto;
}
img[src$=".svg"] {
  width: 100%;
  height: auto;
}
@media (hover: hover) {
  img.img-hv,
  a.img-hv img {
    transition: opacity 0.3s ease-out;
  }
  img.img-hv:hover,
  a.img-hv:hover img,
  .js_linkBox:hover img.img-hv {
    opacity: 0.6;
  }
}

/*-----------------------------------------------------------------------------------
  link
-----------------------------------------------------------------------------------*/
a {
  outline: none;
}
a,
a:visited,
a:hover {
  color: #59b6d0;
  text-decoration: underline;
}
@media (hover: hover) {
  a,
  .js_linkBox {
    transition: color 0.15s ease-out, opacity 0.15s ease-out, background 0.3s ease-out, border 0.15s ease-out;
  }
  a:hover,
  .js_linkBox:hover a {
    color: #003F91;
    text-decoration: none;
  }
}
@media (hover: hover) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    color: inherit;
  }
}
a[href^="tel:"],
a[href^="tel:"]:visited,
a[href^="tel:"]:hover {
  color: inherit;
  text-decoration: none;
}



/*----------------------------------------------------------------------------------------------------

  
----------------------------------------------------------------------------------------------------*/

.pc {
}
.sp {
	display: none;
}

@media screen and (max-width: 750px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}

.flex{
    display: flex;
}

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

.j-center{
    justify-content: center;
}

.align-center{
    align-items: center;
}

/*----------------
line-ttl
----------------*/

.line-ttl{
  padding: 3em 20px;
  background: linear-gradient(90deg,#ffdeec, #fff5e1, #c0def4, #b7f2c5)fixed;
  background-size: 200% 200%;
  animation: GradietionAnimation 9s ease infinite;
  line-height: 2;
}

.line-ttl span{
  display: inline-block;
  position: relative;
  padding: 1em 2em;
  text-align: center;
}

.line-ttl span:before,
.line-ttl span:after {
  position: absolute;
  content: '';
}

.line-ttl span:after {
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-top: 1px solid #919191;
  border-left: 1px solid #919191;
}

.line-ttl span:before {
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-right: 1px solid #919191;
  border-bottom: 1px solid #919191;
}





/*----------------
enttl
----------------*/

.en{
  font-family: var(--ff-en);
  font-weight: 200;
  font-style: normal;
  text-transform: uppercase;
}

.enttl{
  line-height: 1;
  text-align: center;
}

.enttl[enposi="left"]{
  text-align: left;
}

.enttl[enposi="left"]{
  text-align: left;
}

/* .enttl[jp="reverse"] .en{
  padding-top: 20px;
  letter-spacing: 1px;
  font-weight: 300;
  margin-bottom: 16px;
  font-size:var(--fs-s);
} */
.enttl[color="beige"] span{
  color: var(--color-beige);
}

.enttl span{
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #333;
  font-size: var(--fs-max);
  font-family: var(--ff-en);
  margin-bottom: 5px;
  font-weight: 200;
}

.enttl small{
  /* font-size: var(--fs-s); */
  font-family: var(--ff-min);
  font-weight: 400;
}

/* .enttl[jp="reverse"]::after{
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color:#2E3A46 ;
  
} */

/* .enttl[jp="correct"]{
  font-weight: 400;
}
.enttl[jp="correct"] span.en{
  display: block;
  font-size:var(--fs-4l);
  padding-bottom: 10px;
  letter-spacing: 1px;
} */

@media screen and (max-width: 750px) {
  .enttl[enposi="left"]{
    text-align: center;
  }
  .enttl[jp="reverse"]::after{
    margin: auto;
  }
}


/*----------------
btn-slash
----------------*/

.btn-slash {
  display: inline-block;
  position: relative; /* 斜線の基準点 */
  padding: 16px 80px; /* 上下左右の余白（画像に合わせて調整） */
  background-color: rgba(255,255,255,0.8);/* ほんのりピンクがかった白 */
  text-decoration: none;
  font-size: var(--fs-m);
  letter-spacing: 0.1em;
  border-radius: 12px; /* 角丸 */
    transition: all 0.3s ease; /* 変化を滑らかに */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  color: var(--color-dark-gray)!important;

}

.btn-slash:hover {
  transform: translateY(-2px); /* 上に浮かせる */
  box-shadow: 0 6px 15px rgba(0,0,0,0.1); /* 影を強調 */
  background-color: #fff; /* 背景を純白に */
}

/* 左上の斜線 */
.btn-slash::before {
  content: "";
  position: absolute;
top: 25px;
    left: -6px;
    width: 42px;
  height: 1px; /* 線の太さ */
  background-color: var(--color-dark-gray);
  transform: rotate(-45deg); /* 斜めにする */
  transform-origin: left top;
}

/* 右下の斜線 */
.btn-slash::after {
  content: "";
  position: absolute;
    bottom: 25px;
    right: -6px;
    width: 42px;
  height: 1px;
  background-color: var(--color-dark-gray);
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

/*----------------
link-button
----------------*/

.link-button{
  background-color: #6F6D5A;
  box-sizing: border-box;
  width: 180px;
  height: 60px;
  margin: auto;
}

.link-button a{
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  height: 100%;
  border-radius: 4px;
}

.link-button a:hover{
  background-color: #484637;
}

.link-button a > span{
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.link-button a::after{
  content: url(../image/common/arrow-white-button.svg);
  position: absolute;
  padding-top: 2px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.link-button a:hover::after{
  right: 10px;
  transition: .3s;
}

.link-button.tel-button,
.link-button.web-button{
  max-width: 400px;
  width: 100%;
  height: 120px;
  /* border-radius: 0px 20px 0px 20px;  */
}


/* .link-button.tel-button a,
.link-button.web-button a{
  border-radius: 0px 20px 0px 20px;
} */

.link-button.tel-button a > span,
.link-button.web-button a > span{
  left: 50%;
  transform: translate(-50%,-50%);
  padding-left: 56px;
  white-space: nowrap;
}

.link-button.tel-button a > span::before,
.link-button.web-button a > span::before{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  content: "";
  display: inline-block;
  width: 36px;
  height: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: #fff; */
}

.link-button.tel-button a > span::before{
  background-image: url(../image/common/phone.svg);
}

.link-button.web-button a > span::before{
  background-image: url(../image/common/cal.svg);
  width: 45px;
  background-size: contain;
}

/* .link-button.tel-button:hover,
.link-button.web-button:hover{
  animation: yureru-j 1s infinite;
}

@keyframes yureru-j {
  0% {
      transform: translate(0px, 2px);
  }
  5% {
      transform: translate(0px, -2px);
  }
  10% {
      transform: translate(0px, 2px);
  }
  15% {
      transform: translate(0px, -2px);
  }
  20% {
      transform: translate(0px, 2px);
  }
  25% {
      transform: translate(0px, -2px);
  }
  30% {
      transform: translate(0px, 0px);
  }
} */


.link-button.tel-button a::after,
.link-button.web-button a::after{
  content: none;
}

.link-button.tel-button{
  background-color: #AE9373
}

.link-button.tel-button a > span{
  display: flex;
  flex-direction: column;
}

.link-button.tel-button a > span >span{
  white-space: nowrap;
}

.link-button.tel-button a > span >span:nth-child(2){
  background-color: #fff;
  color:#AE9373;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
}

.link-button.tel-button a:hover{
  background-color: #927450;
}

.link-button.tel-button a:hover > span >span:nth-child(2){
  color: #927450;
  transition: .3s;
}

.link-button.web-button{
  background-color:#ff9e9e;
}

.link-button.web-button span{
  font-size: var(--fs-m);
}

.link-button.web-button a:hover{
  background-color: #FF8686;
}

/*----------------
btn_30
----------------*/
a.btn_30 {
	display: flex;
  justify-content: center;
	vertical-align: middle;
	text-decoration: none;
	margin: auto;
	width: 20em;
	height: 4em;
	color: #ccc;
	cursor: pointer;
	transition: all 0.85s cubic-bezier(.17,.67,.14,.93);
	transform-style: preserve-3d;
	transform-origin: 100% 50%;
}
a.btn_30:hover {
	transform: rotateX(-90deg);
}
a.btn_30 .side {
	box-sizing: border-box;
	position: absolute;
	display: inline-block;
	width: 20em;
	text-align: center;
	padding: 1.2rem 4rem;
	font-weight: 500;
	letter-spacing: 3px;
}
a.btn_30 .top {
	background: #b4e12b;
	color: #fff;
	transform: rotateX(90deg) translate3d(0, 0, 2em);
}
a.btn_30 .front {
	background: #27acd9;
	color: #fff;
	transform: translate3d(0, 0, 2em);
}

/*----------------
btn
----------------*/

.btn{
  color: white!important;
  padding: 15px 30px;
  font-size: var(--fs-m);
  text-decoration: none;
  border-radius: 4px;
}

.btn[b-clr="orange"]{
  background-color:#D97A40 ;
}
.btn[b-clr="d-blue"]{
  background-color:#2E3A46 ;
}
/*----------------
header
----------------*/
header{
 position: fixed;
 z-index: 1;
 top: 0;
 left: 0;
 width: 100%;;
}

.header-primary{
  /* padding:22px 40px; */
  position: relative;
}
@media print, screen and (max-width:800px) {
.header-primary .btn{
font-size: var(--fs-s);
padding: 10px 15px;
}}


.header-wrap{
  width: 100%;
  padding:10px 40px;
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media print, screen and (max-width:800px) {
  .header-wrap{
    padding:32px;
  }
}

@media print, screen and (max-width:640px) {
  .header-wrap{
    padding:16px 0 0 10px;
  }
}

.header-box .box-inner{
  /* display: flex;
  align-items: center; */
}

.header-menu{
  margin-right: 50px;
}

.header-menu a{
  color: #fff;
}

.header-menu ul{
  display: flex;
  flex-direction: column;
}

.header-menu ul li{
  list-style: none;
}

.header-menu ul li:nth-last-child(n+3){
  margin-right: 20px;
}

.header-menu ul li:nth-last-child(2){
  margin-right: 40px;
}

.header-menu ul li a:not(.insta){
  text-decoration: none;
  padding:10px;
}

@media print, screen and (max-width:1200px) {
  /* .header-primary{
    padding:22px 30px;
  } */

  .header-menu{
    margin-right: 25px;
  }

  .header-menu ul li:nth-last-child(n+3){
    margin-right: 10px;
  }
  
  .header-menu ul li:nth-last-child(2){
    margin-right: 15px;
  }
  .header-menu ul li a:not(.insta){
    padding:0px;
  }
}
.header-tel.fix{
  margin-left: auto;
}

@media print, screen and (max-width:640px) {
  .header-tel.fix{
    position: fixed;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.header-tel{
  width: 220px;
  height: 58px;
  background-color: rgba(255,255,255,0); 
}

.header-tel a{
  position: relative;
  border-radius: 4px;
  height: 100%;
  /* color: #fff; */
  display: block;
  font-size: var(--fs-2l);
  /* font-family: "Raleway", sans-serif; */
  font-weight: 500;
}

.header-tel.change-color a{
  color: #2E3A46;
}

.header-tel a span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  /* padding-left: 24px; */
  white-space: nowrap;
}

.header-tel a span::before{
  content: "TEL ";
  font-size: 15px;
  font-weight: 100;
  /* 
  position: absolute;
  display: block;
  top: 2px;
  left: 0%;
  width: 15px;
  height: 24px;
  background-image: url(../image/common/phone.svg);
  background-size: cover; */
}

.logo{
    transition: all 0.3s;
    text-align: left;
}
@media print, screen and (max-width:800px) {
.logo img{
   width: 150px;
   transition: all 0.3s;
  }
}

/* @media print, screen and (max-width:640px) {
  .logo img{
    width: 120px;
    transition: all 0.3s;
   }
} */
/* @media print, screen and (min-width:961px) {
  .menu-trigger-button{
    display: none;
  }
} */

/* @media print, screen and (max-width:960px) { */

/*========= ナビゲーションのためのCSS ===============*/
.header-box{
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position:fixed;
z-index: -1;
opacity: 0;/*はじめは透過0*/
  /*ナビの位置と形状*/
top:0;
left: 0;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:#5c5c5c;
  /*動き*/
transition: all 0.3s;
visibility: hidden;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
.header-box.panelactive{
opacity: 1;
z-index:999;
visibility: visible;
}

.header-box.panelactive .header-tel {
  border: rgba(255,255,255,0.5) 1px solid;
  width: 260px;
  height: 72px;
}

.logo.active{
  position: fixed;
  top:34px;
  left:40px;
  z-index:1000;
}

@media print, screen and (max-width:800px) {
  .logo.active{
    top:32px;
    left:32px;
    }
  }
  
  @media print, screen and (max-width:640px) {
    .logo.active{
      top:22px;
      left:20px;
      }
  }

/*ナビゲーションの縦スクロール*/.header-box.panelactive.header-box-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/.box-inner {
  flex-direction: column;
  /* display: none; */
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
.header-box.panelactive ul {
  display: block;
}

/*リストのレイアウト設定*/
.header-box li{
list-style: none;
  text-align: center; 
}
.header-box li a{
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
}

.header-menu ul li a{
  font-size: var(--fs-m);
}

/*========= ボタンのためのCSS ===============*/
.menu-trigger{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top:36px;
  right: 40px;
  cursor: pointer;
  width: 36px;
  height:50px;
  background-color: rgba(255,255,255,0);
  border: none;
  /* クリックした際に枠線をnone消す */
  outline: none;
  /* 影を消す */
  box-shadow: none;
}

@media print, screen and (max-width:800px) {
  .menu-trigger{
    top:36px;
    right: 24px;
  }
}

@media print, screen and (max-width:640px) {
  .menu-trigger{
    width: 30px;
    top:10px;
    right: 20px;
  }
}
	
/*×に変化*/	
.menu-trigger span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 0;
    height: 2px;
    border-radius: 3px;
    background-color: #fff;
    width: 100%;
  }

  /* @media print, screen and (max-width:800px) {

  } */

  .menu-trigger.change-color span{
    background-color: #AE9373;
    transition: 0.3s;
  }

.menu-trigger span:nth-of-type(1) {
	top:10px;	
}

.menu-trigger span:nth-of-type(2) {
	top:24px;
}

.menu-trigger span:nth-of-type(3) {
	bottom:10px;
}

.menu-trigger.active span:nth-of-type(1) {
    /* top: 18px;
    left: 18px; */
    top: 18px;
    left: 0px;
    transform: translateY(6px) rotate(-45deg);
    /* width: 30%; */
    width: 100%;
}

.menu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}

.menu-trigger.active span:nth-of-type(3){
    /* top: 30px;
    left: 18px; */
    top: 30px;
    left: 0px;
    transform: translateY(-6px) rotate(45deg);
    /* width: 30%; */
    width: 100%;
}



  .header-menu ul li a.insta img{
    width: 40px;
  }

  .header-menu {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  
  .header-menu ul li:nth-last-child(n+3) {
    margin-right: 0px;
    margin-bottom: 10px;
  }
  
  .header-menu ul li:nth-last-child(2) {
    margin-right: 0;
    margin-bottom: 15px;
  }

/* } */

/*----------------
mainvisual
----------------*/

.mainvisual{
  background-image: url(../image/mainback.png);
  width: 100%;
  height: 100vh;
/* padding: 0 0 30px; */
}

.mainvisual .inner{
  max-width: 1100px;
  margin: auto;
}

.mainvisual .box{
  display: flex;
  justify-content: space-between;
    width: 100%;
  height: 100vh;
}

.mainvisual .img-box{
  max-width: 520px;
  display: flex;
  align-items: flex-end;
}

.mainvisual .txt-box{
  max-width: 546px;
  margin-top: 82px;
}
.mainvisual .txt-box a.logo{
  max-width: 226px;
  display: block;
  margin: 0 auto 30px;
}

.mainvisual .txt-box a.logo img{
  width: 100%;
}

.mainvisual h1{
  font-weight: 300;
  text-align: left;
  margin-bottom: 40px;
}
  .mainvisual h1 small{
    letter-spacing: -5px;
  }

.mainvisual h1 span:nth-of-type(1){
  /* font-size: var(--fs-6l); */
  font-size: 42px;
  font-size: clamp(24px, 5vw, 42px); 
}

.mainvisual h1 span:nth-of-type(2){
  font-size: 22px;
  letter-spacing: .2px;
  font-size: clamp(14px, 2.5vw, 22px);
}
.mainvisual .txt-box ul{
  list-style: none;
  display: flex;
  justify-content: space-between;
  max-width: 320px;
  margin:0 auto 30px ;

}

.mainvisual .txt-box ul li{
  list-style: none;
  border:1px solid var(--color-dark-gray);
  border-radius: 100%;
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  line-height: 1.4;

}
/* --- アニメーションの定義 --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 各ボックスへの適用 --- */

/* 画像ボックス：右からふわっと */
.mainvisual .img-box {
  opacity: 0; /* 最初は消しておく */
  animation: fadeInRight 1.2s ease-out forwards;
  animation-delay: 0.2s; /* 少し遅れて開始 */
}

/* テキストボックス：下からふわっと */
.mainvisual .txt-box {
  opacity: 0; /* 最初は消しておく */
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.5s; /* 画像よりさらに少し遅らせる */
}

@media screen and (max-width: 1100px) {
    .mainvisual .img-box{
width: 55%;
}

  .mainvisual .box{
justify-content: space-around;
}
.mainvisual h1{
text-align: center;
}
  
.mainvisual h1 span:nth-of-type(1){
  font-size: clamp(24px, 5vw, 30px); 
}

.mainvisual h1 span:nth-of-type(2){
  font-size: clamp(14px, 2.5vw, 17px);
}
}

@media screen and (max-width: 768px) {
  .mainvisual {
    height: 100svh; /* 親はdvhで固定 */
    position: relative;
    overflow: hidden; /* 絶対にはみ出させない */
    touch-action: pan-y; 
  }

  .mainvisual .inner {
    padding: 0 10px;
    height: 100%;
  }

  .mainvisual .box {
    flex-direction: column; /* 縦並びに変更 */
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding-top: 60px; /* 上に少し余裕を持たせる */
     margin: 0; /* 余計なマージンをリセット */
  }

  /* テキストエリア：中央寄せにして読みやすく */
  .mainvisual .txt-box {
    max-width: 100%;
    margin-top: 0;
    text-align: center;
    z-index: 2; /* 画像より上に配置 */
  }

  .mainvisual .txt-box a.logo {
    max-width: 220px; /* ロゴを少し小さく */
    margin-bottom: 25px;
    display: none;
  }

  .mainvisual h1 {
    text-align: center;
    margin-bottom: 20px;
  }

  /* 3つの円形リスト：横に並べてコンパクトに */
  .mainvisual .txt-box ul {
    max-width: 280px;
    margin: 0 auto 30px;
    gap: 10px;
  }

  .mainvisual .txt-box ul li {
    width: 75px;
    height: 75px;
    font-size: 12px;
  }

  /* 画像：画面の最下部に「中央寄せ」で固定 */
  .mainvisual .img-box {
    width: 90%;
    max-width: 300px;
    margin: 30px auto 30px; /* 上下の余白を自動調整して最下部に配置 */
    flex-shrink: 0; /* 潰れないように固定 */
  }

  .mainvisual .img-box img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* スマホ用アニメーション：横からより下からの方が自然 */
  .mainvisual .img-box {
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.2s;
  }
}
/*----------------
top
----------------*/
/*.  message---------------------------------------------------------*/

.message{
  position: relative;
  overflow: hidden; 
  padding-top: 120px;
  padding-bottom: 160px;
}

.vision-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* overflow-x: hidden; */
   pointer-events: none;
   padding-bottom:60px ;
}

.blob {
  position: absolute;
  /* opacity: 0.8;
  filter: blur(1px); */
  will-change: transform;
  aspect-ratio: 142/105;
  display: block; /* spanなのでblockに */
}

.vision-bg img{
  border-radius: 8px;
    width: 100%;
  height: auto;
}

/* グラデーション4系統を2回ずつ */
.b1 { top: 12%; left: 5%; width: 20%; max-width: 224px; }
.b2 { top: 17%; right: 5%; width: 15%; max-width: 142px; }
.b3 { top: 45%; left: 2%; width: 15%; max-width: 142px; }
.b4 { top: 40%; right: 2%; width: 18%; max-width: 182px; }
.b5 { bottom: 26%; right: 3%; width: 20%; max-width: 224px; }
.b6 { bottom: 34%; left: 6%; width: 18%; max-width: 182px; }


.message > .inner h2{
  margin-bottom: var(--box-space-l);
}

.message > .inner h3{
  margin-bottom: var(--box-space-l);
  font-family: var(--ff-min);
  font-weight: 400;
  font-size: var(--fs-2l);
}

.message > .inner{
  max-width: 750px;
  margin: auto;
  padding: 60px 20px;
  position: relative;
  position: relative;
  z-index: 0; /* 画像(z-index: 0)よりも上に */
  background-color: rgba(255, 255, 255, 0.2); /* 背景を少し透かすと画像が透けて綺麗です */
  backdrop-filter: blur(1px); /* 背景ぼかしを入れるとおしゃれ */
  border: 1px solid var(--color-beige);
}

.message > .inner h3 + p{
  max-width: 430px;
  margin: auto;
}

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

}


@media screen and (max-width:750px) {
.message{
  padding: 80px var(--box-space-min);
}

  .message > .inner{
  background-color: rgba(255, 255, 255, 0.8); /* 背景を少し透かすと画像が透けて綺麗です */
  backdrop-filter: blur(2px); /* 背景ぼかしを入れるとおしゃれ */
}
.b1 { top:18%; width: 46%; left: -3%;}
.b2 { top:22%; width: 34%; }
.b3 { width: 38%; }
.b4 { top: 45%; width: 54%; right: -2%;}
.b5 { bottom:28%; width: 34%; right: -1%;}
.b6 { width: 50%; left: -5%;}}

/*choose  ---------------------------------------------------------*/

.choose {
  position: relative;
  margin-bottom: 140px;
}

.choose .inner{
  max-width: 900px;
  margin: auto;
}

.choose h2{
  margin-bottom: 50px;
}

.choose ul li{
  display: flex;
  align-items: center;
  text-align: left;
}

.choose ul li:nth-child(even){
  flex-direction: row-reverse;
}

.choose ul li:not(:last-child){
  margin-bottom: var(--block-space-m);
}

.choose ul li h3 .en{
  border-bottom: 2px solid var(--color-beige);
  display: inline-block;
  color: var(--color-beige);
  font-size: 100px;
  font-weight: 100;
  line-height: 1;
  margin-bottom: 30px;
}

.choose ul li h3{
  font-family: var(--ff-min);
  font-size: var(--fs-2l);
  font-weight: 400;
  margin-bottom: 30px;
}

.choose ul li .txt-box{
  width: 50%;
  padding: var(--box-space-s);
}
.choose ul li .img-box{
  width: 50%;
}

.choose ul li .img-box img{
  border-radius: 8px;
}


/* 最初は隠しておく */
.choose li {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

/* 画面に入った時に付与されるクラス */
.choose li.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 2番目、3番目を少しずつ遅らせて出す（時間差の演出） */
.choose li:nth-child(2).is-show {
  transition-delay: 0.2s;
}
.choose li:nth-child(3).is-show {
  transition-delay: 0.4s;
}


@media print, screen and (max-width:1260px) {

}
@media print, screen and (max-width:900px) {

}

@media print, screen and (max-width:768px) {
.choose {
  margin-bottom: 40px;
}

.choose h2{
  margin-bottom: 20px;
}

  .choose ul li h3 .en{
  font-size: 60px;
}
}
@media print, screen and (max-width:768px) {
  .choose ul li h3 .en{
  font-size: 60px;
}
}

@media print, screen and (max-width:700px) {
  .choose ul li{
    flex-direction: column;
  }

  .choose ul li:nth-child(even){
  flex-direction: column;
}

.choose ul li .txt-box{
  width: 100%;
}
.choose ul li .img-box{
  padding: var(--box-space-s);
  width: 100%;
}


}

/*comparison-container  ---------------------------------------------------------*/

.comparison-container {
  background-color: var(--color-cream);
  padding: var(--block-space-m) 20px;
}

.comparison-container .inner{
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-card {
  flex: 1;
}

.card-header {
  margin-bottom: 25px;
  text-align: left;
}


.jp-title {
  font-size: 20px;
  font-weight: normal;
  color: var(--color-dark-gray);
  font-family: var(--ff-min);
}

/* テーブルスタイル */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: center;
}

.comparison-table th {
  max-width: 136px;
  /* width: 100%; */
  padding: 15px 5px;
  background-color: var(--color-beige);
  color: var(--color-white);
  font-weight: normal;
  border: 1px solid var(--color-white);
}

.comparison-table th:first-child {
  background-color: transparent;
  border: none;
}

.comparison-table th.highlight {
  background-color: var(--color-blue-dark);
}

.comparison-table td {
    max-width: 136px;
    /* width: 100%; */
  padding: 15px 10px;
  background-color: var(--color-white);
  border: 1px solid var(--color-off-white);
}

.comparison-table td:first-child {
  background-color: var(--color-off-white);
  color: var(--color-mid-gray);
  /* text-align: left; */
  padding-left: 20px;
  width: 25%;
}

.comparison-table .cell-blue {
  color: var(--color-blue-dark);
  font-weight: bold;
}

/* フッターテキスト */
.card-footer {
  margin-top: 25px;
  line-height: 1.8;
  text-align: left;
  font-family: var(--ff-min);
  font-weight: 400;
}

.brand-text {
  margin-top: 10px;
  font-weight: 700;
  color: var(--color-dark-gray);
}

/* レスポンシブ対応 */
@media (max-width: 860px) {
.comparison-container .inner{
flex-direction: column;
gap: var(--block-space-2l);
}

.comparison-table td:first-child {
  padding-left: 10px;
}
}

@media print, screen and (max-width:1260px) {

}

@media print, screen and (max-width:750px) {
.comparison-container {
  padding: var(--block-space-2l) 20px;
}
}

/*recommended  ---------------------------------------------------------*/

.recommended {
  max-width: 900px;
  margin: 120px auto;
  padding: 60px 20px;
  border: 1px solid var(--color-beige);
}

.recommended .inner{
  margin: auto;
  max-width: 624px;
}

.recommended h2{
  margin-bottom: 60px;
}

.recommended ul{
  font-family: var(--ff-min);
  list-style: none;
  text-align: left;
  margin-bottom: var(--box-space-m);
}

.recommended ul li:not(:last-child){
  margin-bottom: 1em;
}

.recommended ul li{
  font-size: var(--fs-m);
  position: relative;
  padding-left: 45px;
}

/* --- 初期状態（隠れている） --- */
.recommended ul li {
  opacity: 0;
  transform: translateY(20px); /* 少し下から */
  transition: opacity 0.8s ease, transform 0.8s ease;
  list-style: none; /* デフォルトのポッチを消す（デザインに合わせて） */
}

/* --- 親のULにクラスがついた時の動き --- */
.recommended ul.is-animated li {
  opacity: 1;
  transform: translateY(0);
}

/* --- 上から順番に出す（時間差の設定） --- */
.recommended ul.is-animated li:nth-child(1) { transition-delay: 0.1s; }
.recommended ul.is-animated li:nth-child(2) { transition-delay: 0.3s; }
.recommended ul.is-animated li:nth-child(3) { transition-delay: 0.5s; }
.recommended ul.is-animated li:nth-child(4) { transition-delay: 0.7s; }
.recommended ul.is-animated li:nth-child(5) { transition-delay: 0.9s; }

.recommended ul li::before{
  position: absolute;
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  top: 51%;
  transform: translateY(-50%);
  left: 0;
  background-color: var(--color-beige);
}

.recommended ul + p{
  text-align: left;
}

@media print, screen and (max-width:1000px) {
.recommended {
width: 95%;
}
}

@media print, screen and (max-width:750px) {
.recommended h2{
  margin-bottom: 30px;
}

.recommended {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 20px;
  border: 1px solid var(--color-beige);
}
}

/*safety ---------------------------------------------------------*/
.safety {
 background-color: var(--color-off-white);
 padding: var(--block-space-l) 0;
}


.safety .inner{
  max-width: 900px;
  margin: auto;
  padding: 60px 75px;
  background-color: #fff;
}

.safety h2{
  margin-bottom: 60px;
  margin-right: var(--box-space-s);
}

.safety .box{
  display: flex;
  text-align: left;
  margin-bottom: 40px;
}

.safety .box p{
  line-height: var(--line-height-m);
}

.safety .img-box{
  position: relative;
  height: 314px;
  width: 100%;
}

.safety .img-box img{
  position: absolute;
  transition: .3s;
}

.safety .img-box img:nth-of-type(1){
  max-width: 348px;
  top: 0;
  left: 18%;
  /* transform: translateX(-50%); */
}
.safety .img-box img:nth-of-type(2){
  max-width: 318px;
  left: 0;
  bottom: 0;
}
.safety .img-box img:nth-of-type(3){
  max-width: 352px;
  right: 0;
  bottom: 0;
}


/* --- 初期状態（少し下に下げて透明に） --- */
.safety .img-box img {
  opacity: 0;
  transform: translateY(20px);
  /* 0.8秒かけてゆっくり、滑らかに動かす */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* --- 表示状態（クラスがついた時） --- */
.safety .img-box.is-visible img {
  opacity: 1;
  transform: translateY(0);
}

/* --- 上品に順番（時間差）をつける --- */
.safety .img-box.is-visible img:nth-child(1) { transition-delay: 0.1s; }
.safety .img-box.is-visible img:nth-child(2) { transition-delay: 0.4s; }
.safety .img-box.is-visible img:nth-child(3) { transition-delay: 0.7s; }

@media print, screen and (max-width:1260px) {

}

@media print, screen and (max-width:860px) {
.safety .inner{
  max-width: 900px;
  margin: auto;
  padding: 60px var(--box-space-s);
  background-color: #fff;
}

.safety .img-box{
  position: relative;
  height: 584px;
  max-width: 300px;
  margin: auto;
}

.safety .img-box img{
  object-fit: contain;
}

.safety .img-box img:nth-of-type(1){
  max-width:300px;
  top: 30px;
  left: 0px;
  /* transform: translateX(-50%); */
}

.safety .img-box img:nth-of-type(2){
  max-width: 280px;
  left: 0;
  bottom: 190px;
}

.safety .img-box img:nth-of-type(3){
  max-width: 300px;
  left:0 ;
  bottom: 0;
}

}

@media print, screen and (max-width:700px){
.safety .box{
flex-direction: column;
margin-bottom: 10px;
}

.safety h2{
  margin-bottom: 40px;
  margin-right:0;
}
}


/*cost  ---------------------------------------------------------*/
.cost-section{
  background-image: url(../image/cost-back.jpg);
  background-size: cover;
  padding: var(--block-space-2l) 0;
}

.cost-section h2{
  margin-bottom: 60px;
}
.cost-section h3{
  margin-bottom: 10px;
}

.cost-section h3 + p{
  margin: 0 auto 40px;
  max-width: 700px;
  text-align: left;
}


/* --- グリッド（レスポンシブの肝） --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px; /* カード同士の隙間 */
}

/* --- 価格カード --- */
.price-card {
    background: #fff;
    width: 340px;
    border-radius:8px; /* 角を少し丸くすると画像に馴染みます */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    margin-top: 90px; /* はみ出し分を考慮した余白 */
    overflow: visible; /* 重要：はみ出しを許可する */
}

.card-image-wrapper {
    width: 88%;
    margin: -80px auto 0; /* 【重要】マイナスマージンで上に突き抜けさせる */
    aspect-ratio: 3 / 2;
    border-radius: 8px; /* 画像自体の角丸 */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 画像単体にも影をつけるとより立体的 */
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.card-content {
    padding: 30px 20px;
    text-align: center;
}

.sub-label {
  font-family: var(--ff-min);
    margin-bottom: 8px;
}

.plan-name {
    font-size:var(--fs-3l);
    font-weight: normal;
    margin-bottom: 15px;
    font-family: var(--ff-min);
}

hr {
    border: none;
    border-top: 1px solid var(--color-beige);
    margin: 0 auto 15px;
}

.detail {
   font-size: var(--fs-2s);
     color: var(--color-mid-gray);
}

.price {
    font-size: 48px;
    color: var(--color-coral); /* 赤系の金額色 */
    font-weight: 300;
    font-family: var(--ff-num);
}

.price span {
    margin-right: 2px;
}

.tax-info {
    font-size: var(--fs-2s);
    color: var(--color-mid-gray);
    margin-bottom: 15px;
}

.description {
 
}

/* --- レスポンシブ対応 (タブレット・スマホ) --- */
@media screen and (max-width: 768px) {

  .cost-section {
    background-image: url(../image/cost-back.jpg);
    background-size: cover;
    padding: 40px 0;
}
    .container {
        padding: 20px 15px;
    }

    .pricing-grid {
        flex-direction: column; /* 縦並びにする */
        align-items: center;
        gap: 80px;
    }

    .price-card {
        margin-top: 60px; /* スマホでは少し広めに余白を */
        width: 90%;
    }

}



/*step  ---------------------------------------------------------*/
.step-section {
  padding: 80px 20px;
}

.step-container {
  max-width: 560px;
  margin: 0 auto;
}

.step-container h2 {
  margin-bottom: 50px;
}

/* ステップリストの親要素 */
.step-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px; /* ステップ間の間隔 */
}

/* 各ステップのアイテム */
.step-item {
  --circle-size: 210px; /* 基本サイズ */
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s ease, transform 1.0s ease;
  margin-bottom: 40px; /* gapの代わりにmarginを使用すると安定します */
}

/* 親にクラスがついたら表示 */
.step-list.is-active .step-item {
  opacity: 1;
  transform: translateY(0);
}

/* クラス付与時の動き */
.step-list.is-active .step-item { opacity: 1; transform: translateY(0); }
.step-list.is-active::before { transform: scaleY(1); }
/* 順番にふわっと出す */
.step-list.is-active .step-item:nth-child(2) { transition-delay: 0.3s; }
.step-list.is-active .step-item:nth-child(3) { transition-delay: 0.6s; }
.step-list.is-active .step-item:nth-child(4) { transition-delay: 0.9s; }

/* --- 2. 縦のつなぎ線（スーッと） --- */
/* 縦のつなぎ線 */
.step-list::before {
  content: "";
  position: absolute;
  /* 円の中心を計算 */
  left: calc(210px / 2); 
  top: calc(210px / 2);
  bottom: calc(210px / 2);
  width: 1px;
  background-color: var(--color-beige);
  z-index: 1;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 1.2s;
}

/* 親にクラスがついたら線を伸ばす */
.step-list.is-active::before {
  transform: scaleY(1);
}

/* 円形アイコン部分 */
.step-icon {
  width: var(--circle-size);
  height: var(--circle-size);
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.number {
  font-size: var(--fs-max);
  font-family: var(--ff-en);
  color: var(--color-beige);
  font-weight: 200;
  line-height: 1;
}

.step-icon img {
 max-width: 58px;
}

/* テキスト部分 */
.step-text {
  text-align: left;
}

.step-text h3 {
  font-family: var(--ff-min);
  font-size: var(--fs-2l);
  font-weight: normal;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.step-text p {
  opacity: 0.8;
}



@media screen and (max-width: 768px) {
  .step-section {
  padding: 60px 20px 30px;
}

.cost-section h2{
  margin-bottom: 50px;
}
}
@media screen and (max-width: 600px) {
.step-container {
    max-width: 400px; /* 全体を絞る */
  }
  
  .step-list {
    align-items: flex-start; /* 中央寄せをやめて左寄せに固定 */
    gap: 10px;
  }

  .step-item {
    --circle-size: 120px; /* スマホサイズに変更 */
    width: 100%;
  }

  .step-icon {
    width: 120px;
    height: 120px;
    margin-right: 20px;
  }

  /* スマホ用の線の位置を上書き */
  .step-list::before {
    left: calc(120px / 2); /* 60pxの位置に固定 */
    top: calc(120px / 2);
    bottom: calc(120px / 2);
  }
  .step-icon img {
    max-width: 28px;
  }
}

/*howtouse  ---------------------------------------------------------*/

.howtouse {
  max-width: 900px;
  margin: 30px  auto 120px;
  padding: 60px 20px;
  border: 1px solid var(--color-beige);
}

.howtouse .inner{
  margin: auto;
  max-width: 640px;
}

.howtouse h2{
  margin-bottom: 60px;
}

.howtouse ol{
  font-family: var(--ff-min);
  list-style: none;
  text-align: left;
  margin-bottom: var(--box-space-m);
}

.howtouse ol li:not(:last-child){
  margin-bottom: 1em;
}

.howtouse ol li{
  font-size: var(--fs-m);
  /* position: relative;
  padding-left: 45px; */
}

.howtouse ol li .en{
  display: inline-block;
  position: relative;
}

.howtouse ol li .en::after{
  position: absolute;
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  top: 51%;
  transform: translateY(-50%);
  right: -40px;
  background-color: var(--color-blue-dark);
}

/* --- 初期状態（隠れている） --- */
.howtouse  ol li {
  opacity: 0;
  transform: translateY(20px); /* 少し下から */
  transition: opacity 0.8s ease, transform 0.8s ease;
  list-style: none; /* デフォルトのポッチを消す（デザインに合わせて） */
}

/* --- 親のULにクラスがついた時の動き --- */
.howtouse  ol.is-animated li {
  opacity: 1;
  transform: translateY(0);
}

/* --- 上から順番に出す（時間差の設定） --- */
.howtouse  ol.is-animated li:nth-child(1) { transition-delay: 0.1s; }
.howtouse  ol.is-animated li:nth-child(2) { transition-delay: 0.3s; }
.howtouse  ol.is-animated li:nth-child(3) { transition-delay: 0.5s; }
.howtouse  ol.is-animated li:nth-child(4) { transition-delay: 0.7s; }

@media print, screen and (max-width:1000px) {
.howtouse {
width: 95%;
}
}

@media print, screen and (max-width:750px) {
.howtouse h2{
  margin-bottom: 30px;
}

.howtouse {
  max-width: 900px;
  margin: 0px auto 60px;
  padding: 40px 20px;
  border: 1px solid var(--color-beige);
}
}

/*qa  ---------------------------------------------------------*/

.qa{
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  /* margin-bottom: 120px; */
  background-image: url(../image/faq-back.jpg);
}

.qa .inner{
  display: flex;
  justify-content: center;
  max-width: 930px;
  margin: auto;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

.qa h2{
  margin-right: 70px;
  filter: drop-shadow(2px 2px 2px rgba(255,255,255,0.2)) drop-shadow(2px 2px 2px rgba(255,255,255,0.2));
}

.qa-6 {
    width: 750px;
    /* width: 100%; */
    text-align: left;
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
    font-size: var(--fs-m);
}

.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    cursor: pointer;
    line-height: 1.6;
}

.qa-6 summary::before,
.qa-6 p::before {
    position: absolute;
    left: 1em;
}

.qa-6 summary::before {
    color: var(--color-blue-dark);
    content: "Q";
    font-family: var(--ff-en);
    font-size: var(--fs-m);
}

.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-bottom: 2px solid var(--color-mid-gray);
    border-right: 2px solid #506D84;
    content: '';
    transition: transform .5s;
}

.qa-6[open] summary::after {
    transform: rotate(225deg);
}

.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
    transform: none;
    opacity: 1;
    line-height: 1.6;
}

.qa-6 p::before {
   color: var(--color-coral);
    content: "A";
    font-family: var(--ff-en);
    font-size: var(--fs-m);
}

@media print, screen and (max-width:970px) {
  .qa{
    background-size: 100% 100%;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .qa h2{
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .qa .inner{
    flex-direction: column;
  }
  .qa-6 {
    max-width: 970px;
    margin-bottom: 20px;
    width: 100%;
  }
}

/*banner-section  ---------------------------------------------------------*/

.banner-section{
margin-bottom: 80px;
}

/* --- レイアウト --- */
.banner-container {
    display: flex;
    width: 100%;
    min-height: 400px; /* バナーの高さ */
}

.banner-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px;
    background-size: cover;
    background-position: center;
}

/* 画像を少し明るく/薄く見せるオーバーレイ */
.banner-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.2); /* 白い膜を張る */
    z-index: 1;
}

/* 背景画像の指定（実際の画像パスに書き換えてください） */
.bg-ceramic { background-image: url('../image/ceramic.jpg'); }
.bg-dentist { background-image: url('../image/consulation.jpg'); }

.banner-content {
    position: relative;
    z-index: 2; /* オーバーレイより上に表示 */
}

.banner-text {
    font-size: var(--fs-2l);
    line-height: 1.8;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    color: #4a4a4a;
    font-family: var(--ff-min);
}


/* --- スマホ対応：縦に並べる --- */
@media screen and (max-width: 768px) {
    .banner-container {
        flex-direction: column;
    }
    .banner-item {
        min-height: 300px;
    }
}

/*case  ---------------------------------------------------------*/
#case {
  margin-bottom: 100px;
}

#case h2{
  margin-bottom: var(--box-space-l);
}
#case .inner{
  padding-left: 20px;
  padding-right: 20px;
}

#case .inner ul{
  max-width: 990px;
  margin: auto;

}

#case .inner ul li h3{
margin-bottom: 50px;
}

#case .inner ul li h3  span{
display: block;
font-size: var(--fs-s);
color:var(--color-beige);
position: relative;
font-family: var(--ff-en);
font-weight: 300;
}

#case .inner ul li h3  span::after{
position: absolute;
content: "";
width: 20px;
height: 1px;
background-color: var(--color-beige);
bottom: -10px;
left: 0;
}

#case .inner ul li{
  list-style: none;
  display: flex;
  align-items: flex-start;
}

#case .inner ul li .img-box{
  max-width: 360px;
  width: 100%;
  margin-right: 60px;

}

#case .inner ul li .txt-box{
  text-align: left;
  max-width: 570px;
}

#case .inner ul li dl{
  display: flex;
  flex-wrap: wrap;
      position: relative;
}

#case .inner ul li .txt-box dl::after{
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% + 40px);
  width: 1px;
  background-color: var(--color-beige);
  left:142px;
}

#case .inner ul li dt{
  width: 142px;
  margin-right: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}

#case .inner ul li dd{
  margin-bottom: 15px;
  width: calc( 100% - 172px);
}

@media print, screen and (max-width:980px) {
#case h2{
  margin-bottom: var(--block-space-l);
}

#case .inner ul li{
  flex-direction: column-reverse;
  align-items: center;
}

#case .inner ul li .txt-box{
  max-width: 700px;
}

#case .inner ul li .txt-box dl::after{
  height: calc(100% + 40px);
  left:112px;
}

#case .inner ul li dt{
  width: 112px;
}

#case .inner ul li dd{
  width: calc( 100% - 142px);
}

#case .inner ul li .img-box{
 max-width: 750px;
 margin-top: 30px;
 margin-right: 0px;
}

}



/*-------
診療時間table
-------*/

.open-hours {
  /* font-weight: 700; */
  display: grid;
  grid-template-areas:/*スマホ並び*/
  "th-we th-am th-pm"
  "week1 am1 pm1"
  "week2 am2 pm2"
  "week3 am3 pm3"
  "week4 am4 pm4"
  "week5 am5 pm5"
  "week6 am6 pm6"
  "week7 am7 pm7";
}

.open-hours div span.opn{
  display: block;
  width: var(--fs-m);
  height: var(--fs-m);
  background-color: #414B4B;
  border-radius: 50%;
}

.open-hours div span.cls{
  display: block;
  width: var(--fs-m);
  height: 2px;
  background-color: #222222;
}

/* .th-week,.week1,.week2,.week3,.week4,.week5,.week6,.week7,
.th-am,.am1,.am2,.am3,.am4,.am5,.am6,.am7,.th-pm,.pm1,.pm2,
.pm3,.pm4,.pm5,.pm6,.pm7 含む*/
.open-hours div[class*="week"],
.open-hours div[class*="am"],
.open-hours div[class*="pm"]{
 display: grid;
 place-items: center;
 padding-top: 15px;
 padding-bottom: 15px;
 border-top: 1px solid #EDEDED;
 text-align: center;
 white-space: nowrap;
}
.th-week,.th-am,.th-pm{
  padding-left: var(--box-space-s);
  padding-right: var(--box-space-s);
  min-width: 100px;
}

/* 始まる */
.open-hours div[class^="week"],
.open-hours div[class^="am"],
.open-hours div[class^="pm"]{
padding: 0 5px;
}

.th-week {
grid-area: th-we;
}
.week1 {
grid-area:week1;
}
.week2 {
grid-area:week2;
}
.week3 {
grid-area:week3;
}
.week4 {
grid-area:week4;
}
.week5 {
grid-area:week5;
}
.week6 {
grid-area:week6;
color: #2E5C6A;
}
.week7 {
grid-area:week7;
color: #C56974;
padding-right: var(--box-space-min);
}

.week7 small{
  font-size: var(--fs-s);
  line-height: 2.2;
}

.th-am {
grid-area:th-am;
}
.am1 {
grid-area:am1;
}
.am2 {
grid-area:am2;
}.am3 {
grid-area:am3;
}
.am4 {
grid-area:am4;
}.am5 {
grid-area:am5;
}
.am6 {
grid-area:am6;
}
.am7 {
grid-area:am7;
padding-right: var(--box-space-min);
}
.th-pm {
grid-area:th-pm;
}
.pm1 {
grid-area:pm1;
}
.pm2 {
grid-area:pm2;
}
.pm3 {
grid-area:pm3;
}
.pm4 {
grid-area:pm4;
}
.pm5 {
grid-area:pm5;
}
.pm6 {
grid-area:pm6;
}
.pm7 {
  grid-area:pm7;
  padding-right: var(--box-space-min);
}
@media screen and (max-width: 500px) {
  .th-week, .th-am, .th-pm {
    padding-left: 0;
    padding-right: 0;
    font-size: var(--fs-s);
  }
}
@media screen and (min-width: 500px) {
  .open-hours {
    display: grid;
    grid-template-areas:/*pc並び*/
    "th-we week1 week2 week3 week4 week5 week6 week7"
    "th-am am1 am2 am3 am4 am5 am6 am7"
    "th-pm pm1 pm2 pm3 pm4 pm5 pm6 pm7";
    grid-template-columns:auto repeat(7, 1fr);
  }
 
}

/*----------------
  foot-gallery
----------------*/

#foot-gallery-col {
	width: 100%;
	padding-top: 0px;
	padding-bottom:40px;
	margin-bottom:80px ;
  }

  #footSlide {
    overflow: hidden;
  }
  
  #footSlide li{
	margin: 0 20px;
  }
  #footSlide li img{
    height: 400px;
  }
  #footSlide{
	padding: 0;
  } 
  
@media print,screen and (max-width:640px) {
  #footSlide li{
    margin: 0 10px;
  }
}

/*----------------
  calendar
----------------*/

.calendar{
  position: relative;
}

/* .calendar::before,
.calendar::after{
  position: absolute;
  content: "";
  display: block;
  width: 584px;
  height: 292px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url(../image/top/calback.png);
  z-index: 0;
} */

.calendar::before{
  top: 0;
  right: 0;
  transform: rotate(180deg);
}

.calendar::after{
  bottom: 0;
  left: 0;
}

.calendar .inner{
  padding: var(--block-space-s) var(--block-space-unit);
}

.calendar h2{
  position: relative;
  margin-bottom: 30px;
  /* z-index: 2; */
  /* font-size: var(--fs-5l); */
}

.calendar-box{
  position:relative;
  max-width: 1200px;
  width:100%;
  height:484px;
  padding-top:0%;
  margin:auto;
  /* max-width: 800px; */
  /* z-index: 2; */
}

.calendar-box iframe{ 
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

@media print, screen and (max-width:800px) {
  .calendar-box{
    height:0px;
    padding-top:80%;
  }
  .calendar::before,
  .calendar::after{
    width: 100%;
    max-width: 300px;
    height: 100%;
    max-height: 150px;
  }
}

@media print, screen and (max-width:480px) {
  .calendar-box{
    padding-top:100%;
  }
}


/*----------------
  footer
----------------*/
footer{
  background-color:var(--color-off-white);
  padding-top: 40px;
}

.ft-logo{
  max-width: 250px;
  width: 100%;
  height: auto;
  margin: 0 auto 40px;
}

footer nav{
  margin-bottom: 40px;
}

@media print, screen and (max-width:640px) {
  .ft-logo{
    width: 200px;
  }
}

footer nav ul{
  display: flex;
  justify-content: center;
  margin: auto;
}

footer nav ul li{
  list-style: none;
  margin: 10px;
}

footer nav ul li a{
  text-decoration: none;
}

footer nav ul li a:not(.insta){
  padding: 10px;
}


footer nav ul li a.insta img{
  width:32px;
  height:32px;
}

#page_top{
  width: 68px;
  height: 68px;
  position: fixed;
  right: 20px;
  bottom: 0;
  background: var( --color-blue-mid);
  border-radius: 4px;
  z-index: 3;
  transition: .3s;
}

/* #page_top a::before{
  content: "";
  display: block;
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: #FFF;
  top: 0;
  left: 0;
  border-radius: 4px;
  z-index: -1;
} */

#page_top:hover{
  background-color: var(--color-blue-dark);
  transition: .3s;
}
#page_top a{
  position: relative;
  z-index: 1;
  display: block;
  width: 68px;
  height: 68px;
  text-decoration: none;
  background: url(../image/common/n_arrow_white.svg) center no-repeat;  
}

@media print, screen and (max-width:640px) {
  #page_top{
    width: 50px;
    height: 50px;
  }

  #page_top a{
    width: 50px;
    height: 50px;
    background-size: 20px;
  } 
}

footer .copy{
  padding: 5px  var(--box-space-s);
  background-color: var(--color-beige);
  color: #fff;
}










