@charset "UTF-8";
/* common */

:root {
    --color-main: #136EDC;
    --color-main-100: #e0f0f5;
    --color-main-200: #c6e7ff;
    --color-main-500: #13AADC;
    --color-text-primary: #333333;
    --color-text-inverse: #ffffff;
    --color-primary: #000000;
    --color-inverse:#ffffff;
    --color-gray-100: #eee;
    --color-gray-300: #ddd;
    --color-gray-400: #aaa;
    --color-gray-600: #666;
    --color-accent: #fceea6;
    --color-attention: #ff5274;
    --color-bg: #ffffff;
    --color-bg-sub: #f7f7f7;
    --color-bg-section: #f7f4e9; /*yellow,recipe*/
    --gradient-main: linear-gradient(to right, #304DF4, #1976E4, #00A4D3);
    --gradient-sub: linear-gradient(to right, #A8C2F454, #7EBAEB54, #15A7D754, #00A4D354);
    --font-xs: 1.0rem;
    --font-s: 1.2rem;
    --font-m: 1.4rem;
    --font-base: 1.6rem;
    --font-l: 1.8rem;
    --font-xl: 2.0rem;
    --font-xxl: 2.4rem;
    --font-menu: 2.4rem;
    --font-head: 2.4rem;
    --scale: 1;
    --step-gap: clamp(2rem, 3vw, 5rem);
    --overlay-bg-opacity: 0;
}
@media screen and (min-width: 640px) {
  :root {
    --scale: 1.2;
  }
}
@media screen and (min-width: 1024px) {
  :root {
    --scale: 1.4;
  }
}

/* reset */
*,
*::before,
*::after {
   box-sizing: border-box;
}

html {
    font-size:62.5%;
    height: 100%;
    scroll-behavior: smooth;
}
@media screen and (max-width:375px) {
  html {
    font-size: 56.25%;
  }
}
@media screen and (min-width:640px) {
  html {
    font-size: 100%;
  }
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
    letter-spacing: 0.1rem;
    color: var(--color-text-primary);
    background-color: var(--color-bg-sub);
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* elements */
img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-main);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    transition: all 0.2s;
}

/*a:hover {
    transform: translate(1px, 1px);
}*/

button,input,select,textarea {
    font: inherit;
    color: inherit;
    border: none;
}

.material-symbols-outlined {
    font-size: inherit;
}

/* --------------- text -------------- */
.c-text--attn{
    color: var(--color-attention);
}
.c-text--bold{
    font-weight:bold;
}
.c-text--xs{
    font-size: var(--font-xs);
}
.c-text--s{
    font-size: var(--font-s);
}
.c-text--m{
    font-size: var(--font-m);
}
.c-text--l{
    font-size: var(--font-l);
}
.c-text--xl{
    font-size: var(--font-xl);
}
.c-text--gray{
    color: var(--color-gray-600);
}

/* --------------- wrap -------------- */
.c-wrap{
    padding-top:70px;
}
@media screen and (max-width:430px) {
    .c-wrap { padding-top:60px; }
}

/* --------------- section -------------- */
.c-section{
    margin: 0 auto;
    padding: 2rem;
    font-size:var(--font-base);
}

/* --------------- head -------------- */
.c-head{
    font-size: var(--font-head);
    font-weight:bold;
    color: var(--color-main);
    margin-bottom:2%;
}

/* --------------- c-footer-back -------------- */
.c-back{
    display:block;
    width:100%;
    margin:2rem auto;
    background: var(--color-main-100);
    padding: 1rem 1.8rem;
    line-height:100%;
    & a{
      text-decoration: none;
      font-weight:normal;
      font-size: var(--font-s);
      color: var(--color-text-primary);
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
      padding:0.5rem 0.2rem;
    }
    & a::before{
      font-family: 'Material Symbols Outlined';
      content: '\f46b';
      font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
      font-size: var(--font-base);
      color: var(--color-main-500);
    }
}

/* --------------- header -------------- */
.c-header{
    width:100%;
    height:70px;
    max-width: 840px;
    min-width: 320px;
    position:fixed;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color:rgba(255,255,255,0.9);
}
@media screen and (max-width:430px) {
    .c-header { height:60px; }
}

/* -- login前login後共通 -- */
.c-header__logo {
  & h1{
    position:relative;
    z-index:10;
    line-height:100%;
  }
  & a{
    display:block;
    &:hover {
        transform: translate(1px, 1px);
    }
  }
  & img{
    position:relative;
    z-index:10;
    width:auto;
    height:40px;
  }
  @media screen and (min-width:640px) {
     & img { height:50px; }
  }
  @media screen and (max-width:430px) {
     & img { height:30px; }
  }
}
/* -- login前 menu -- */
.c-header__login a{
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-primary);
    text-decoration: none;
    display:inline-block;
    line-height:100%;
    font-size: var(--font-s);
    &:first-child {
        color: var(--color-text-inverse);
        margin-right:0.3rem;
        background: var(--color-primary);
    }
    &:last-child {
        color: var(--color-text-primary);
        background: var(--color-inverse);
    }
}

/* -- login後 menu -- */
.c-header__menu button {
    position:relative;
    z-index: 10;
    border: none;
    background:none;
    cursor: pointer;
    & .c-header__menu-toggle {
      display: block;
      width: 24px;
      height: 2px;
      margin: 5px 0;
      transition: transform 0.3s, opacity 0.3s;
      background-color:var(--color-primary);
    }
    &[aria-expanded="true"] .c-header__menu-toggle:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    &[aria-expanded="true"] .c-header__menu-toggle:nth-child(2) {
      opacity: 0;
    }
    &[aria-expanded="true"] .c-header__menu-toggle:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
}

.c-header__nav{
    position:fixed;
    z-index:-1;
    width:100%;
    height: calc(var(--vh, 1vh) * 100);
    min-height:100vh;
    background-color:rgba(255,255,255,0.95);
    inset: 0;
    padding: 60px 0 20px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    &.is-open{
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      z-index:9;
    }
    & .c-header__nav-main{
      width:90%;
      margin:2.3rem auto 2.8rem auto;
      & li{
          padding:0.8rem 0;
          font-size:var(--font-menu);
      }
      & li a span {
        font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 36;
        margin-right:1rem;
        font-size: calc(var(--font-menu) * 1.2);
        color: var(--color-main);
      }
      & a{
        text-decoration: none;
        display: flex;
        align-items: center;
        color: var(--color-text-primary);
        font-weight: normal;
      }
      & li.is-active a,
      & a:hover{
        font-weight:bold;
        color: var(--color-main);
      }
    }
    & .c-header__nav-info{
      width:90%;
      margin: 10px auto;
      display: flex;
      flex-wrap: wrap;
      & li{
        line-height:100%;
        min-width:50%;
      }
      & li a {
        display: block;
        padding:1rem 0;
        font-weight: normal;
        text-decoration: none;
        line-height:100%;
        color: var(--color-gray-600);
        font-size: var(--font-s);
        display: flex;
        align-items: center;
        gap: 0 5px;
        letter-spacing: 0;
      }
      & li a::before {
        transform: rotate(-45deg);
        width: 5px;
        height: 5px;
        border-bottom: 1px solid var(--color-gray-600);
        border-right: 1px solid var(--color-gray-600);
        content: '';
      }
    }
    & h3{
      background-color: var(--color-main);
      padding:0.8rem 5%;
      font-weight:bold;
      font-size: var(--font-s);
      color: var(--color-text-inverse);
    }
}

/* --------------- step -------------- */
.c-step{
    display: flex;
    flex-wrap: wrap;
    gap: var(--step-gap);
    justify-content: center;
    & li{
      flex: 0 1 calc((100% - 2 * var(--step-gap)) / 3);
      background-color: var(--color-main-100);
      border-radius: 8px;
      text-align:center;
      aspect-ratio: 1 / 1;
      display: grid;
      grid-template-rows: auto auto auto;
      align-content: center;
      width: 100%;
      min-width: 0;
      position:relative;
    }
    & li::after,
    & li:nth-child(4n)::before {
      font-size: clamp( 3rem, 3.5vw, 6rem);
      content: "";
      vertical-align: middle;
      color: var(--color-main-200);
      position:absolute;
      right: calc(var(--step-gap) / -1.4);
      top:50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: calc(var(--step-gap) * 0.4) solid transparent;
      border-bottom: calc(var(--step-gap) * 0.4) solid transparent;
      border-left: calc(var(--step-gap) * 0.4) solid var(--color-main-100);
    }
    & li:nth-child(4n)::before{
      left: calc(var(--step-gap) / -1.4);
    }
    & li:nth-child(3n)::after{
      content: none;
    }
    & li:last-child::after{
      content:none;
    }
    & .c-step__icon {
      font-variation-settings:'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
      font-size: 3.5rem;
      font-size:clamp( 3.5rem, 8vw, 6rem);
      color: var(--color-main-500);
    }
    & .c-step__count {
      font-weight:bold;
      color: var(--color-gray-600);
      font-size: 1.4rem;
      font-size:clamp( 1.4rem, 3vw, 1.8rem);
    }
    & .c-step__desc {
      font-weight:bold;
      color: var(--color-text-primary);
      font-size: 1.2rem;
      font-size:clamp( 1.2rem, 3vw, 1.6rem);
    }
}

/* --------------- coupon_common -------------- */
.c-coupon__monthly{
    & ul{
      width:100%;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.2rem;
    }
    /* 基本3列で、4個以下かつ偶数のときだけ2列 */
    & ul:has(li:nth-child(even):last-child):has(li:nth-child(-n+4):last-child) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 2rem;
      & h4{
        font-size: var(--font-m);
      }
      & h5{
        -webkit-line-clamp: 2;
        font-size: var(--font-base);
      }
    }
    & li a {
      display: block;
    }
    & a{
      text-decoration: none;
      color:inherit;
      font-weight:inherit;
    }
    & a:hover {
      transform: translate(1px, 1px);
    }
    & img{
      border-radius: 3px;
      width: 100%;
      height: auto;
      border: 1px solid var(--color-gray-100);
    }
    & h4{ /* brand */
      min-width: 0;
      width:100%;
      color: var(--color-gray-600);
      font-size: var(--font-s);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height:1.2;
      margin-bottom:0.2rem;
    }
    & h5{ /* name */
      color: var(--color-text-primary);
      font-weight:bold;
      font-size: var(--font-m);
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height:1.2;
      letter-spacing: 0.03rem;
    }
    & span{ /* log */
      color: var(--color-main-500);
      font-weight: bold;
      font-size: var(--font-s);
    }
}

.c-coupon__next{
    width:90%;
    margin:5% auto;
    background-color: var(--color-main-100);
    padding: 2rem 2.4rem;
    border-radius: 8px;
    text-align:center;
    & h3{
      font-size: var(--font-l);
      color: var(--color-main);
      font-weight:bold;
      margin-bottom: 1.3rem;
    }
    & ul{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.3rem;
    }
    & ul.is-col-3 {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
}


/* --------------- recipe_common -------------- */
.c-recipe__list{
    & li{
      margin-bottom: 1.5rem;
    }
  	& a{
      width:100%;
      display:flex;
      align-items: center;
      text-decoration: none;
      background: var(--color-inverse);
      color:inherit;
      font-weight:inherit;
      border: 1px solid var(--color-gray-300);
      border-radius: 3px;
      overflow: hidden;
    }
    & .c-recipe__list-img {
      flex: 0 0 12rem;
      height: 12rem;
      overflow: hidden;
      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    & .c-recipe__list-desc{
      min-width: 0;
      flex: 1;
      padding:1rem;
      & h4{ /* name */
        color: var(--color-text-primary);
        font-weight:bold;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height:1.2;
      } 
      & p{ /* desc */
        width:100%;
        color: var(--color-gray-600);
        font-size: var(--font-s);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height:1.2;
        margin-top:1rem;
        letter-spacing: 0.03rem;
      }
    }
}


/* ----------------- information common ------------------- */
.c-information{
    padding:0;
    & time{
      background: var(--color-main);
      color: var(--color-text-inverse);
      padding: 3px 5px;
      border-radius: 3px;
      text-align:center;
      font-variant-numeric: tabular-nums;
      font-weight:600;
    }
}
.c-information__list{
    width:100%;
    background: var(--color-bg-sub);
    padding: 1.2rem 2rem;
    & li{
      margin:0.5rem auto;
    }
    & li a{
      display:block;
      text-decoration: none;
      color: initial;
      position:relative;
      padding:2px var(--font-m) 2px 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: var(--font-s);
    }
    & li a::after{
      font-family: 'Material Symbols Outlined';
      content: '\e5cc';
      font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
      font-size: var(--font-m);
      color: var(--color-main);
      position:absolute;
      right:0;
    }
    & time{
      margin-right: 1rem;
    }
}


/* --------------- bg image common -------------- */
.c-bg-image{
    background:
      linear-gradient(
        rgba(255,255,255,var(--overlay-bg-opacity)),
        rgba(255,255,255,var(--overlay-bg-opacity))
      ),
      url(../image/common_bg.jpg)
      center / cover no-repeat;
}

/* --------------- index home warranty common -------------- */
.c-head-bg{
    & h3{
      background: var(--color-inverse);
      color: var(--color-main);
      padding:0.2rem 1rem;
      font-size: 2rem;
      margin:0 auto 3rem auto;
      display:inline-block;
    }
    & h4{
      font-size: 2rem;
      color: var(--color-text-inverse);
      margin-bottom:1rem;
    }
    & h4 > span{
      border-bottom: 2px solid var(--color-accent);
      padding: 0.2rem 0.4rem 0.5rem 0.4rem;
    }
    & h4 span span{
      color: var(--color-accent);
    }
}

/* --------------- index regist common -------------- */
.c-service-list{
    background: var(--color-main-100);
    border-radius: 2rem;
    padding:2rem;
    & h4{
      font-size: var(--font-xl);
      color: var(--color-main);
      line-height: 1.2;
    }
    & h4 span{
      font-size: var(--font-m);
      color: var(--color-gray-600);
    }
    & ul{
      margin:2rem auto 1rem auto;
    }
    & li{
      text-align:left;
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--color-inverse);
      border-radius: 5px;
      padding:10px;
      line-height:1.4;
      margin-top:2rem;
    }
    & li > span{
      font-size: 3.8rem;
      font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
      color: var(--color-main);
      @media screen and (min-width:430px) {
          font-size: 4rem;
      }
    }
    & li p{
      font-size: 1.3rem;
      @media screen and (min-width:430px) {
          font-size: 1.4rem;
      }
      font-weight:bold;
      letter-spacing: 0.05rem;
    }
    & li h5{
      letter-spacing: 0.03rem;
      font-size: 1.8rem;
      @media screen and (min-width:430px) {
          font-size: 1.9rem;
      }
      & span{
        font-size: 2.9rem;
        @media screen and (min-width:430px) {
            font-size: 3rem;
        }
      }
    }
    & li aside{
      font-size: 1.1rem;
      line-height:1.2;
      letter-spacing: 0;
    }
    &.is-regist{
      width: 90%;
      margin: -1rem auto 2rem auto;
      padding: 2.8rem 2rem;
      & ul {
        margin: 0 auto;
      }
      & li:first-child{
        margin-top:0;
      }
      & li h5{
        font-weight: bold;
      }
      & li p{
        font-weight: normal;
      }
    }
}


/* --------------- warranty common -------------- */
.c-warranty{
    & > div:first-child{
      text-align:center;
      padding:2.5rem 0;
    }
    & h4{
      font-weight:bold;
      font-size: var(--font-xxl);
    }
    & h3{
      font-weight:bold;
      margin-bottom:1.5rem;
    }
}
.c-warranty__detail{
    background: var(--color-main-200);
    padding:2rem;
    & > p{
      margin-top: 2rem;
    }
    & > aside{
      font-size: var(--font-s);
      margin-bottom: 0.5rem;
    }
    & h5{
      font-size: var(--font-l);
      font-weight: bold;
    }
    & h5 span{
      font-size: var(--font-xxl);
    }
    & img{
      display: block;
      margin: 1rem auto;
    }
    & > div{
      margin: 2rem auto 1rem auto;
      text-align: center;
    }
    & > div a{
      display:inline-block;
      background-color: var(--color-main);
      color: var(--color-text-inverse);
      padding:0.8rem 3rem;
      text-decoration: none;
      font-size: var(--font-m);
      border-radius: 6rem;
    }
    & dl{
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }
}

.c-warranty__id{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    background: var(--color-bg-sub);
    padding: 1rem 1.5rem 1rem 2rem;
    & dt{
      font-size: var(--font-m);
    }
    & dd {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }
    & dd > span{
      font-size: var(--font-xl);
    }
    & button{
      position: relative;
      font-size: 1.2rem;
      padding: 0.2rem 0.4rem;
      border: none;
      background: transparent;
      cursor: pointer;
      line-height:1;
    }
    & button > span{
      color: var(--color-main);
      font-size: var(--font-xl);
    }
    & button > p{
      position: absolute;
      bottom: 120%;
      left: 30%;
      transform: translateX(-50%) translateY(4px);
      background: var(--color-primary);
      color: var(--color-text-inverse);
      font-size: var(--font-xs);
      padding: 0.4rem;
      border-radius: 4px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, transform 0.3s;
      white-space: nowrap;
    }
    & button > p.is-show{
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
}

/* --------------- footer note aside -------------- */
.c-footer-note{
    font-size: var(--font-s);
}
