@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%;
  overflow-x: hidden;
}

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 {}

@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*/

  --base-width: 1366px;
  --cubic-bezier: cubic-bezier(.23, 1, .32, 1);
  --color-main: #4FAE9B;
  --color-main-dark: #2F7F6F;
  --color-sub: #2c7092;
}

html,
body {
  height: 100%;
}

body {
  min-width: 320px;
  background-color: #fff;
  color: #484848;
  font-family: 'M PLUS Rounded 1c', 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-weight: 400;
  line-height: var(--line-height);
  word-wrap: break-word;
}

.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: 7.5em;
  /*120*/
  --fs-9l: 4em;
  /*74*/
  --fs-8l: 3.5em;
  /*56*/
  --fs-7l: 3em;
  /*48*/
  --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: "Poppins", sans-serif;
  --ff-ttl: "Zen Maru Gothic", sans-serif;
}

@media print,
screen and (max-width:1200px) {
  :root {
    --fs-max: 4.6em;
    --fs-9l: 4.1em;
    --fs-8l: 3.6em;
    --fs-7l: 3.1em;
    --fs-6l: 2.6em;
    --fs-5l: 2.1em;
    --fs-4l: 1.9em;
    --fs-3l: 1.6em;
  }
}

@media print,
screen and (max-width:800px) {
  :root {
    --fs-max: 3em;
    --fs-9l: 2.8em;
    --fs-8l: 2.6em;
    --fs-7l: 2.4em;
    --fs-6l: 2.2em;
    --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-9l {
  font-size: var(--fs-9l);
}

.fs-8l {
  font-size: var(--fs-8l);
}

.fs-7l {
  font-size: var(--fs-7l);
}

.fs-6l {
  font-size: var(--fs-6l);
}

.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-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.fw-900 {
  font-weight: 900;
}

/* Warm / Accent */
.fc-peach {
  color: #FFD1A5;
}

.fc-cream {
  color: #FFE19B;
}

.fc-rose {
  color: #F7EAEA;
}

.fc-red {
  color: #C96A6A;
}

/* Light Blue */
.fc-iceblue {
  color: #E9F3F7;
}

.fc-sky {
  color: #AEE3FD;
}

.fc-blue {
  color: var(--color-sub);
}

/* Green */
.fc-mint {
  color: #E8F5F1;
}

.fc-sage {
  color: #B7D7CF;
}

.fc-teal {
  color: #4FAE9B;
}

.fc-dteal {
  color: #2F7F6F;
}

/* Neutral */
.fc-gray {
  color: #8A8A8A;
}

.fc-black {
  color: #333333;
}

/* Warm / Accent */
.bg-peach {
  background-color: #FFD1A5;
}

.bg-cream {
  background-color: #FFE19B;
}

.bg-rose {
  background-color: #F7EAEA;
}

.bg-red {
  background-color: #C96A6A;
}

/* Light Blue */
.bg-iceblue {
  background-color: #E9F3F7;
}

.bg-sky {
  background-color: #AEE3FD;
}

.bg-blue {
  background-color: #4F8FAE;
}

/* Green */
.bg-mint {
  background-color: #E8F5F1;
}

.bg-sage {
  background-color: #B7D7CF;
}

.bg-teal {
  background-color: #4FAE9B;
}

.bg-dteal {
  background-color: #2F7F6F;
}

/* Neutral */
.bg-gray {
  background-color: #8A8A8A;
}

.bg-black {
  background-color: #333333;
}

/* ===== Gradient Backgrounds ===== */

.bg-grad-mint {
  background: linear-gradient(135deg, #E8F5F1, #B7D7CF);
}

.bg-grad-warm {
  background: linear-gradient(135deg, #FFE19B, #FFD1A5);
}

.bg-grad-rose {
  background: linear-gradient(135deg, #F7EAEA, #FFC3C3);
}

.bg-grad-sky {
  background: linear-gradient(135deg, #E9F3F7, #9CD3F0);
}

/* ===== Single Colors ===== */

/* Mint */
.bg-mint-light {
  background-color: #E8F5F1;
}

.bg-mint {
  background-color: #B7D7CF;
}

/* Warm (yellow → peach) */
.bg-warm-light {
  background-color: #FFE19B;
}

.bg-peach {
  background-color: #FFD1A5;
}

/* Rose */
.bg-rose-light {
  background-color: #F7EAEA;
}

.bg-rose {
  background-color: #FFC3C3;
}

/* Sky */
.bg-sky-light {
  background-color: #E9F3F7;
}

.bg-sky {
  background-color: #9CD3F0;
}

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}


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

.ff-ttl {
  font-family: var(--ff-ttl);
}

/* .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;
  transition: all 0.3s ease-out;
}

a,
a:hover {
  color: #59b6d0;
  text-decoration: underline;
}

a[href^="tel:"] {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

@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;
  }
} */
@media (pointer: fine) and (hover: hover) {
  a[href^="tel:"] {
    cursor: pointer;
  }
}

a[href^="tel:"],
a[href^="tel:"]:visited {
  color: inherit;
  text-decoration: none;
}

a[href^="tel:"]:hover {
  color: var(--color-main);
  text-decoration: none;
  transition: color 0.3s;
}



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

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

.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: 700;
  font-style: normal;
}

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

.enttl small {
  display: block;
  font-family: var(--ff-en);
  font-size: var(--fs-2s);
  font-weight: 700;
  color: var(--color-main);
  padding-bottom: 10px;
}

.enttl span {
  display: block;
  font-family: var(--ff-ttl);
  text-transform: uppercase;
  font-weight: 700;
  font-style: normal;
  font-size: var(--fs-5l);
  letter-spacing: 1px;
}

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

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


/*----------------
naname
----------------*/

.naname {
  align-items: center;
  /* 線を上下中央 */
  display: flex;
  /* 文字と線を横並び */
  justify-content: center;
  /* 文字を中央寄せ */
}

.naname::before,
.naname::after {
  background-color: #F4C8CD;
  /* 線の色 */
  border-radius: 5px;
  /* 線の両端を丸く */
  content: "";
  height: 5px;
  /* 線の高さ */
  width: 40px;
  /* 線の長さ */
}

.naname::before {
  margin-right: 10px;
  /* 文字との余白 */
  transform: rotate(60deg);
  /* 傾ける */
}

.naname::after {
  margin-left: 10px;
  /* 文字との余白 */
  transform: rotate(-60deg);
  /* 傾ける */
}


/*----------------
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: var(--ff-en);
  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);
}

/*----------------
header
----------------*/
header {
  /* background-color: #FBFAED;
  height: 90px; */

}

.header-primary {
  /* padding:22px 40px; */
  position: relative;
}


.header-wrap {
  width: 95%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Full HD より広い画面（4K等）ではヘッダー幅を固定して中央寄せ */
@media screen and (min-width: 1921px) {
  .header-wrap {
    width: 1824px;
    /* 1920px × 95% = Full HD と同じ実寸 */
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

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

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

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

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

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

.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;
  position: relative;
  transition: color 0.3s;
}

.header-menu ul li a:not(.insta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-main);
  transition: width 0.3s, left 0.3s;
}

.header-menu ul li a:not(.insta):hover {
  color: var(--color-main);
}

.header-menu ul li a:not(.insta):hover::after {
  width: 100%;
  left: 0;
}

@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;
}

.header-tel {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background-color: rgba(255, 255, 255, 0);

}

.header-tel a {
  height: 100%;
  /* display: block; */
  font-size: var(--fs-2l);
  font-family: var(--ff-en);
  font-weight: 500;
  color: #fff;
  line-height: var(--line-height-s);
  transition: opacity 0.3s ease;
}

.header-tel a:hover {
  opacity: 0.7;
}

.header-tel span {
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.header-tel a span::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

.header-tel.fix .ff-ttl {
  color: #fff;
}

/* トップページのみヘッダー右上を元の色に戻す */

/* ハンバーガーメニュー・矢印アニメーション */

.logo {
  transition: all 0.3s;
  text-align: left;
  width: 345px;
}

.logo img {
  width: 100%;
}

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

@media print,
screen and (max-width:640px) {
  .logo img {
    width: 280px;
    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: #E8F5F1;
  /*動き*/
  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; */
}

/* ハンバーガーメニュー内の header-tel は常にセンター
   （panelactive 依存にすると閉じるアニメーション中に右寄りが一瞬見える） */
.box-inner .header-tel {
  text-align: center;
}

.box-inner .header-tel .btn-web-reserve {
  margin-bottom: 1rem;
}

/* ハンバーガーメニュー内の電話番号はトップ・サブ共通でトップと同じ青色に統一 */
.box-inner .header-tel a,
.box-inner .header-tel span {
  color: var(--color-sub);
}

.box-inner .header-tel a span::before {
  color: var(--color-sub);
}

.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: 26px;
  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: 3px;
  border-radius: 3px;
  background-color: #fff;
  width: 100%;
}

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

.menu-trigger.change-color span {
  background-color: var(--color-sub);
  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
----------------*/

/* フッター */
.footer {
  padding-top: 12rem;
  padding-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  background-image: url(../image/common/footer-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

@media screen and (max-width:750px) {
  .footer {
    background-size: cover;
    background-position: center bottom;
  }
}

/* .footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
} */

.footer-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 100%;
}

.footer-content {
  position: relative;
  z-index: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

@media (min-width: 640px) {
  .footer-content {
    padding: 0 1.5rem 1rem;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    padding: 0 2rem 1rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media screen and (max-width:750px) {
  .footer-grid {
    gap: 0rem;

  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-info {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-info {
    grid-column: 1 / 3;
  }
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
}

.footer-description {
  /* color: var(--gray-700); */
  margin-bottom: 1rem;
  /* font-size: 0.875rem; */
  line-height: 1.8;
  /* max-width: 28rem; */
  text-align: left;
}

.footer-links {
  margin-top: 1rem;
  text-align: left;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #d2d2d2;
  padding-bottom: 0.5rem;
  display: inline-block;
  font-family: var(--ff-en);

}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* font-size: 0.875rem; */
  color: var(--gray-700);
  margin-top: 1rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  text-decoration: none;
  color: #333;

}

.footer-link:hover {
  color: var(--brand-green);
}

.footer-link-icon {
  font-size: var(--fs-s);
  /* font-size: 0.75rem; */
  color: var(--color-main);
}

.footer-badge {
  background-color: var(--color-main-dark);
  color: #fff;
  font-size: var(--fs-3s);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  font-weight: 400;
  font-family: var(--ff-ttl);
}

.footer-copyright {
  border-top: 1px solid #8A8A8A;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  text-align: center;
}

/* ===== 医院について 3パネル ===== */
.about-panels {
  padding: var(--block-space-l) 0;
  background-color: #fff;
}

.about-panels>.inner {
  max-width: 1560px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.about-panels>.inner h2 {
  margin-bottom: var(--block-space-m);
}

.about-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.about-panel-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: #333;
  border-top: 4px solid var(--color-main);
  position: relative;
}

.about-panel-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.about-panel-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #d6f0ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.3s ease;
}

.about-panel-card:hover .about-panel-icon {
  transform: scale(1.1);
}

.about-panel-icon i {
  font-size: 1.7rem;
  color: #2d7a68;
}

.about-panel-card h3 {
  font-size: var(--fs-l);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.about-panel-more {
  border-bottom: 1px solid #8a8a8a;
  padding-bottom: 0.25rem;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: var(--ff-en);
}

.about-panel-card:hover .about-panel-more {
  color: var(--brand-green);
  border-color: var(--brand-green);
  transform: scale(1.1);
}

@media screen and (max-width: 1000px) {
  .about-panels-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .about-panels-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 400px;
  }
}

/* フッター電話ボタン */
.footer-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.2rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  width: fit-content;
}

.footer-tel-btn i {
  font-size: 1.2rem;
}

.footer-tel-btn:hover {}

@media screen and (max-width: 750px) {
  .footer-tel-btn {
    font-size: 1.8rem;
    padding: 0.7rem 1.6rem;
  }
}

/* ============================================================
   Web予約・Instagram ヘッダーアクション
   ============================================================ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-insta-link {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
  flex-shrink: 0;
  width: 3rem;

  border-radius: 50%;
  position: relative;
}

.header-insta-link:hover {
  opacity: 1;
  transform: scale(1.15) rotate(5deg);
}

.btn-web-reserve {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 2rem;
  background: var(--color-main);
  color: #fff !important;
  font-size: 2.25rem !important;
  font-weight: 400 !important;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--ff-jp) !important;
}

.btn-web-reserve:hover {
  background: #3a9280;
  transform: translateY(-1px);
}


/* インスタアイコン切り替え：デフォルトはPC用（白）表示、SP用非表示 */
.insta-sp {
  display: none;
}

/* ============================================================
   SP ボトム固定バー（ヘッダーのアクション要素を再利用）
   ============================================================ */
@media screen and (max-width: 750px) {
  .header-tel.fix {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
    padding: 2rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-tel.fix span {
    color: var(--color-sub);
  }

  .header-tel.fix .btn-web-reserve i {
    color: white;
  }

  .header-tel.fix.pc {
    display: flex !important;
  }

  .header-tel.fix a span::before {
    color: var(--color-sub);
  }

  .header-tel.fix>.fs-s.ff-ttl {
    display: none;
  }

  .header-tel.fix .header-actions {
    gap: 0.8rem;
    justify-content: center;
    width: 100%;
  }

  /* 固定バー分の余白確保 */
  body {
    padding-bottom: 80px;
  }

  /* サブページ：SP固定バー時は通常アイコン表示、白アイコン非表示 */
  body:not(.top) .header-tel.fix .insta-pc {
    display: none !important;
  }

  body:not(.top) .header-tel.fix .insta-sp {
    display: inline !important;
  }
}