:root {
  /* colors */
  --c-main: #DC5519;
  --c-main-weak: #FCF5E6;
  --c-blue:#0227AC;
  --c-blue-weak: #E7EAF8;
  --c-line: #06C755;
  --c-black: #373737;
  --c-text: #787878;
  --c-border: #e8e8e8;

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 3.5vw, 40px);

  /* typography */
  --fz-base: 18px;
  --lh: 1.85;
}

/* ===============
   base
   =============== */

html {
  font-size: var(--fz-base);
  scroll-behavior: smooth;
}

body {
  color: var(--c-text);
  line-height: var(--lh);
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

img {height: auto;}
.bg__main-weak{
    background: var(--c-main-weak);
    padding: 2.5rem 0;
}
.fade {
  opacity: 0;
  transition: 3s ease;
}
.fade--up {transform: translateY(20px);}
.fade--up.is-show {
  transform: translateY(0);
  opacity: 1;
}
.fade--in.is-show {
  opacity: 1;
}

.to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--c-main);
  color: #fff;
  font-size: 20px;
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transition: .3s;
}
.to-top.is-show{
  opacity: 1;
  pointer-events: auto;
  z-index: 1000;
}

.l-flex {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
}
section {
  scroll-margin-top: 100px;
}
/* ===============
   header
   =============== */
h1 {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-muted);
}

.zen-old-mincho {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
}
/*
.container {
    max-width: var(--container);
    margin: auto;
}*/

.container{
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}

header{
    border-bottom: 2px solid var(--c-main);
    color: var(--c-black);
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;

  background-color: rgba(255,255,255,0); /* 初期 */
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background-color .25s ease, -webkit-backdrop-filter .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;

  min-height: 72px;
  display: flex;
  align-items: center;

  /* iOS対策：レイヤーを固定して崩れにくくする */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: background-color, backdrop-filter;
}
header .logo,
footer .logo {max-width: 200px;}

header.is-scrolled{
  background-color: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.header__container{
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    width: min(1200px, 100% - 32px);
    margin: 0 auto;
      min-height: 72px;
      display: flex;
      align-items: center;
}
.to-top.is-show{ z-index: 2500; }
.header__cta {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__tel a{transition: .3s ease;}
.header__tel a {
    font-size: 28px;
}
.header__tel a::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../img/common/icon_tel.svg) no-repeat center / contain;
    margin-right: 6px;
}
.header__tel a:hover{
    color: var(--c-text);
}
.header__tel p {
    font-size: 14px;
    position: relative;
    bottom: 10px;
    color: var(--c-text);
}

.btn{
    color: white;
    padding: 1rem 0.5rem;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
    transition: transform .3s ease;
}
.btn.btn--mail,.btn.btn--main{background: var(--c-main);}
.btn.btn--mail::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../img/common/icon_mail.svg) no-repeat center / contain;
    margin-right: 6px;
}
.btn.btn--line{background: var(--c-line);}
.btn.btn--line::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../img/common/icon_line.svg) no-repeat center / contain;
    margin-right: 6px;
}
header .btn.btn--mail,
header .btn.btn--line{
    width: 100px;
    padding: 0.25rem 0.5rem;
    /*transition: transform .15s ease, filter .15s ease;*/
}
.btn.btn--main {
    background: var(--c-main);
    width: 250px;
    margin: 1rem auto;
}

.btn.btn--mail:hover,
.btn.btn--line:hover {
  transform: translateY(-3px);
  filter: brightness(1.02);
}



/* ===============
   front
   =============== */

.fv__bg{
    background: url(../img/front/bg.jpg);
    background-size: cover;
    padding-top: 90px;
}

.hero__container{
    position: relative;
    margin: 3rem auto;
}
.hero__copy{
    position: absolute;
    /*inset: auto auto 18px 18px; */
    bottom: 3rem;
    left: 5rem;
}

.hero__copy span{
    display: inline-block;
    font-size: 32px;
    color: var(--c-black);
    padding: 0.25rem 1rem;
    margin: 0.25rem;
    background: rgba(255, 255, 255, .6);
    backdrop-filter:blur(6px);
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .1);
}


.hero__img img {
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .1);
}
.hero__img {
    background: rgba(255, 255, 255, 0.4);
    padding: 20px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .1);
    width: fit-content;
    margin: 0 auto;
}

.hero__cta{
    position: absolute;
    right: 5rem;
    bottom: 3rem;
}

.hero__btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 180px;
    height: 180px;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(102,195,199,.9),
        rgba(47,143,148,.95)
    );
    backdrop-filter: blur(6px);
    color: #fff;
    text-align: center;
    text-decoration: none;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;

    box-shadow: 2px 2px 8px rgba(0,0,0,.15);
    transition: .3s;
}
.hero__btn small:after {
    content: "";
    display: inline-block;
    background: url(../img/common/icon_btn.svg);
    width: 15px;
    height: 15px;
    position: relative;
    top: 2px;
    margin-left: 2px;
}
.hero__btn small{
    font-size: 14px;
    margin-top: .5rem;
}

.hero__btn:hover{
    transform: scale(1.05);
}

.accept{
    background: var(--c-main-weak);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    color: var(--c-black);
}

.accept__title{
    color: var(--c-main);
    font-size: 16px;
}

.accept__toggle{
  width: 100%;
  text-align: left;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.accept__list{margin: 0;}

.accept__item{
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dotted #ddd;
}

.accept__status{
  width: 10px;
  height: 10px;
  justify-self: end;
}

.accept__status.is-ok{
  border-radius: 999px;
  background: #0b5bd3;
}
.accept__status.is-warn{
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #f0a000;
}
.accept-note {
    width: 90%;
    margin: 0 auto 0.25rem;
    font-size: 14px;
}
.accept-note__item .accept__status{
    justify-self: start;
}
.accept-note__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 1rem;
    color: var(--c-black);
}
.front-title {
    display: block;
    width: fit-content;
    margin: auto;
    border-bottom: 2px solid var(--c-main);
    text-align: center;
    font-size: 25px;
    color: var(--c-main);
    margin-bottom: 1rem;
}
.front-title img{
    max-width: 180px;
}
.about .l-flex {
    margin: 2rem auto 0;
    padding-bottom: 5rem;
}
.about{
  text-align: center;
}
.about__concept span {
    font-size: 80%;
    display: block;
    color: var(--c-text);
    position: relative;
    top: 5px;
}
.about__concept{color: var(--c-main);}
.about__residence{
  background: var(--c-main-weak);
  padding: 2rem;
  margin: 3rem auto;
  border-radius: 10px;
  position: relative;
}
.about__residence img{margin: auto;}
.about__figure {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
}
.about__features {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--c-main);
    margin: 3rem auto;
}
.about__features img {margin: 0 auto 1rem;}
.about__features li {
    width: 300px;
    border: 2px solid var(--c-main);
    padding: 2rem 1rem;
    border-radius: 10px;
}

.support-life {
    background: var(--c-main-weak);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem auto;
}
.support-life__nav{text-align: center;}
.support-life__btn {
    background: var(--c-main);
    color: white;
    padding: .5rem 1rem;
    border-radius: 10px;
    margin-right: 1rem;
}
.support-life__btn.support-life__btn--night{background: var(--c-blue);}
.support-life__btn::after{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/common/icon_arrow.svg);
  transform: scaleY(-1);
  position: relative;
  top: 3px;
  margin-left: .5rem;
}

.support-life__title{
  color: var(--c-main);
  border-bottom: 1px solid var(--c-text);
  margin-bottom: 1rem;
  font-size: 24px;
  font-weight: 500;
}
.support-life__title span{
  color: var(--c-text);
  font-size: 70%;
  display: block;
  position: relative;
  bottom: 8px;
  right: 5px;
}
.support-life__subtitle {
    font-weight: inherit;
    color: var(--c-main);
    font-size: 18px;
    margin: .5rem 0;
}

.support-life__list {
    display: flex;
    gap: 15px;
    font-size: 80%;
}
.support-life__list li{
  background: white;
  padding: .25rem 1.5rem;
  margin: .5rem 0;
  border-radius: 20px;
}

.support-life__message {
    font-weight: bold;
    text-align: center;
    margin: 2rem auto 0;
}
.support-life__message span{  color: var(--c-main);}
.support-life--night{
  background: var(--c-blue-weak);
}
.support-life--night .support-life__title{color: var(--c-blue);}
.support-life--night .support-life__subtitle{
  background: var(--c-blue);
  color: white;
  padding: .5rem;
}

.careList{
  margin: 0;
  padding: 0;
}

.careList__row{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-text);
  align-items: center;
}

.careList__term{
  margin: 0;
  font-weight: 700;
}

.careList__note{
  display: block;
  font-weight: 500;
  font-size: .8rem;
  opacity: .75;
}

.careList__desc{
  margin: 0;
  line-height: 1.8;
}

.night-list {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: bold;
}
.night-list p span{
  display: block;
  color: var(--c-blue);
}
.support-life--night .support-life__message{color: var(--c-blue);}

.features img, .medical img {border-radius: 8px;}
.features .l-flex{
    justify-content: center;
    gap: 50px;
}
.features__content{
    /*width: 500px;*/
    width: 100%;
    margin: auto;
}
.features__copy{
  color: var(--c-main);
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}
.features__content h3{
    color: var(--c-main);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.support{
    margin: 5rem auto 1rem;
}
.support__bg{
    background: url(../img/front/support_01.jpg);
    background-repeat: no-repeat;
}
.support__bg img {
    position: relative;
    bottom: 2rem;
    right: 1rem;
}
.support__copy {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
.support__copy span{
    background: var(--c-main);
    color: white;
    padding: 0.25rem 1rem;
    margin: 0.5rem 0.25rem 0.5rem 0;
    display: inline-block;
}
.support .l-flex {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 20px;
    margin-bottom: 6rem;
}
.support .l-flex div {
    writing-mode: vertical-rl;
    font-size: 35px;
    font-weight: bold;
    position: relative;
    top: 4.5rem;
}

.medical {
    border: 2px solid var(--c-main);
    border-radius: 8px;
    padding: 3.5rem;
    width: 90%;
    margin: auto;
}
.medical h3 {
    text-align: center;
    color: var(--c-main);
}
.medical .l-flex {
    justify-content: center;
    gap: 30px;
}
 .medical a {
    display: inline-block;
    margin-top: 0.5rem;
    text-align: center;
}
.medical ul{
    max-width: 740px;
    margin: auto;
}
.medical ul li {
    border-bottom: 2px dotted var(--c-main);
    padding:.25rem;
    margin: .5rem;
}
.medical ul li::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/common/icon_check.svg) no-repeat center / contain;
    margin-right: 6px;
}


.target {
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    background: #F8F8F8;
    border-radius: 8px;
    text-align: center;
}
.target h3{
    text-align: center;
    color: var(--c-main);
    margin-bottom: 0.75rem;
}
.target span{
    font-weight: bold;
    color: var(--c-main);
}

.front-cta h2{
    text-align: center;
    color: var(--c-main);
    margin-bottom: 0.75rem;
}
.front-cta{
    text-align: center;
    
}
.front-cta__btn{
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.front-cta__btn .btn{
    width: 250px;
    padding: 0.5rem 1rem;
}
.message {margin: 3rem auto;}
.message__content{
  text-align: center;
}
.company__list{
    max-width: 750px;
    margin: 2rem auto;
}
.company__row{
  display:flex;
  border-bottom:1px solid #ddd;
  padding:16px 0;
}
.company__term{
  width:200px;
  font-weight:600;
}
.company__desc{flex:1;}


/* ===============
   form
   =============== */
.c-form {
	max-width: 800px;
    margin: 3rem auto;
}
.c-form__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin-bottom: 20px;
}
.c-form__label,
.c-form__input {
	padding: 10px;
}
.c-form__label {
	width: 90%;
}
.c-form__input {
	width: 90%;
	font-size: 16px;
	border: solid 1px var(--c-border);
	border-radius: 4px;
}
.c-form__input::placeholder {
  color: #aaa;  
  opacity: 1;
  font-size: 16px;
}
.c-form__input.c-form__radio{
  border: none;
  padding: 10px; 
  background: transparent;
}
.c-form__input.c-form__radio label { margin-right: 0.5rem;}
.c-form__input:focus-visible {outline: var(--c-main) auto 1px;}
.c-form__required {
	color: #FB137F;
	margin: 0 0 0 5px;
}
textarea.c-form__input {
	height: 160px;
}
.c-form__submit {
	text-align: center;
}
.c-form__submit button {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: var(--c-main);
	border: solid 1px var(--c-main);
	border-radius: 4px;
	padding: 5px 32px;
	transition: 0.4s;
	cursor: pointer;
}
.c-form__submit button:hover {
	color: var(--c-main);
	background-color: transparent;
}

.thanks__content {
    text-align: center;
    margin: 0 auto;
}

footer {
    font-size: 80%;
    background: var(--c-main-weak);
    padding-top: 1.5rem;
}
.footer__container {
    display: flex;
    justify-content: space-between;
}
.footer__tel a {
    font-size: 1.5rem;
}
.footer__tel a::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url(../img/common/icon_tel.svg) no-repeat center / contain;
    margin-right: 6px;
}
.footer__tel a:hover{color: var(--c-text);}
.footer__cta{
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    align-items: center;
}
.footer__cta .btn {
    width: 150px;
    padding: 0.5rem 0;
}
footer copy{
    font-size: 12px;
    color: white;
    background: var(--c-main);
    margin-top: 1rem;
    padding: .5rem 0;
    text-align: center;
    display: block;
}
/* ===== PC（デフォ） ===== */
.l-flex{
  flex-direction: row;
  align-items: center;
}

.medical .l-flex{
  flex-direction: row;
}

.hero__copy{
  left: 3.5rem;
  bottom: 4rem;
}

/* ===== Tablet以下（〜1024px） ===== */
@media (max-width: 1024px) {
  .hero__copy{
    left: 2rem;
    bottom: 2.5rem;
  }
}

/* ===== SP（〜767px） ===== */

@media (max-width: 640px) {
  .careList__row{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .careList__note{
    display: inline;
    margin-left: 6px;
  }
}

@media (max-width: 767px) {
    html { font-size: 15px;}
    .features__content{width: 100%;}
    .l-flex{
    flex-direction: column; 
    align-items: stretch; 
    row-gap: 20px !important;
}
  .header__container{justify-content: center;}
  .header__container img {margin: 0.5rem auto;}
  .header__cta{display: none;}
  .hero__copy{
    left: 0;
    right: 0;
    bottom: auto;
    height: 100%;
    pointer-events: none;
  }
  .hero__copy span{
    font-size: 20px;
    writing-mode: vertical-rl;
    display: inline-block;
    position: absolute;
    white-space: nowrap;
  }
  .hero__copy span:first-child{
    right: 12px;
    bottom: 50%;
  }
   .hero__copy span:last-child{
    left: 12px;
    bottom: 10%;
  }
  .hero__cta{
    right: 0;
    bottom: 0;
  }
  .features__content h3{text-align: center;}
  .support .l-flex{
    display: block;
    margin: 0 auto;
    padding-bottom: 6rem;
}
  .support .l-flex div{
    text-align: center;
    writing-mode: initial;
    font-size: 25px;
  }
  .support__bg{background-position: center;}
  .support__bg img{
    margin: auto;
    bottom: 0;
    right: 0;
  }
  .support__copy{font-size: 20px;}
  .medical{padding: 1rem;}
  .medical .l-flex{
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
  }

  .front-cta__btn{flex-direction: column;}
  .company__row{flex-direction: column;}
  .company__term{
    width: 100%;
    background: var(--c-main-weak);
    padding: 0.5rem;
  }
  .company__desc{margin-top: 0.5rem;}
  .footer__container{
    flex-direction: column;
  }

  .about__figure{bottom: 20%;}
  .about__features{
    flex-direction: column;
    align-items: center;
  }
  .support-life{
    padding: 1rem;
  }
  .support-life__title{
    text-align: center;
    font-size: 20px;
  }
  .support-life__list{
    flex-direction: column;
    gap: 0;
  }
  .support-life--night .support-life__subtitle{
    font-size: .95rem;
    text-align: center;
  }
  .night-list{
    padding: 1rem;
    flex-direction: column;
  }
  .support-life__nav{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .support-life__btn{
    margin-right: 0;
  }

}
@media (min-width: 640px) {
	.c-form__item {flex-wrap: nowrap;}
	.c-form__label {width: 40%;}
	.c-form__input {width: 55%;}
}
@media (min-width: 1280px) {
  .hero__copy{
    left: 4.5rem;
    bottom: 5rem;
  }
}

@media (max-width: 1023px){

  .accept__toggle{
    display: flex;
    align-items: center;
    justify-content: space-between; 
    width: 100%;
  }

  .accept__toggle::after{
    content: "▾";
    font-size: 18px;
    line-height: 1;
  }

  .accept__toggle[aria-expanded="true"]::after{
    content: "▴";
  }
}

@media (min-width: 1024px){
.accept {
    display: flex;
    justify-content: space-around;
    font-size: 80%;
    font-weight: bold;
}
  .accept__body{
    display: block !important;
  }
  .accept__body[hidden]{
    display: block !important;
  }

  .accept__toggle{
    cursor: default;
  }

  .accept__item{
    grid-template-columns: 1fr 40px;
  }
}