/* =========================================================
   Fidii – Shared Styles (TOP & Payment)
   ---------------------------------------------------------
   - ベース／テーマ変数
   - 共通レイアウト・ユーティリティ
   - TOPページ（Hero / News / About / Products / Footer）
   - Paymentページ（Hero / Pain / Value / Features / CTA / Footer）
   ========================================================= */
/* -----------------------------
   Theme variables
----------------------------- */
:root {
  /* brand */
  --brand-1: #6a5cff;      /* violet */
  --brand-2: #00c7ff;      /* cyan  */
  --brand-3: #ff5ab3;      /* pink (accents) */

  /* ink & surfaces */
  --ink-900: #0f172a;
  --ink-800: #1f2937;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --bg-50:  #f8fafc;
  --bg-100: #f1f5f9;

  /* color（product） */
  --white: #fff;  
  --blue-100: #F7F9FC;
  --blue-500: #3B82F6;
  --purple-900: #2B3F6F;

  --text-black: #1E2A4A;
  --text-gray: #5a6276;

  --main-grad: linear-gradient(90deg, #00AFC1 0%, #3B82F6 100%);    

  /* shadow */
  --shadow-blue: 0 10px 30px rgba(201, 215, 231, 0.5); 

  /* layout */
  --container-wide: 1120px;
  --side-space: 24px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius: 16px;
  --radius-xl: 22px;
  --shadow-1: 0 10px 30px rgba(2, 6, 23, .10);
  --shadow-2: 0 18px 40px rgba(2, 6, 23, .14);

  /* transition */
  --transition-normal: all 0.4s;
}

:root {
  --font-thin: 100;
  --font-extra-light: 200;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;
  --font-black: 900;
  --font-gothic: "Noto Sans JP", sans-serif;
  --font-en: "Lato", sans-serif;
  --leading-base: 1;
}

/* -----------------------------
   ブレイクポイントメモ
----------------------------- */
/* @media screen and (min-width: 768px)  */
/* @media screen and (min-width: 961px)  */
/* @media screen and (max-width: 1024px)  */
/* @media screen and (min-width: 1025px)  */

@media screen and (min-width: 768px) {
  .block_sp {
    display: none;
  }
}

.mt-5 {
  margin-top: 32px;

  @media screen and (min-width: 768px) {
    margin-top: 50px;
  }
}

.text-left {
  text-align: left;
}


/* -----------------------------
   Base reset
----------------------------- */
html {
  cursor: auto;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-gothic);
  line-height: var(--leading-base);
  letter-spacing: 0;
  color: var(--text-black);
  font-size: 1rem;
  font-weight: var(--font-normal);
  margin: 0;
  background-color: #F8FAFC;

  &.js-menu-open {
    overflow: hidden;
  }  
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

p {
  margin: 0;
  text-align: justify;
}

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

a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

a {
  color: inherit;
  transition: all 0.2s;
}

a:hover {
  opacity: 0.7;
}

dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

em {
  font-style: normal;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  appearance: none;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

small {
  font-size: 100%;
}
   


/* -----------------------------
   共通
----------------------------- */
.bg-grad {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  background: 
    /* 左上のぼかし円（パープル） */
    radial-gradient(
      circle 400px at -10% -20%, 
      rgba(191, 219, 254, 0.3) 0%, 
      rgba(191, 219, 254, 0.15) 40%, 
      transparent 70%
    ),
    /* 中央のぼかし円（シアン） */
    radial-gradient(
      ellipse 500px 500px at 40% 20%, 
      rgba(165, 243, 252, 0.25) 0%, 
      rgba(165, 243, 252, 0.12) 40%, 
      transparent 70%
    ),
    /* 右下のぼかし円（ブルー） */
    radial-gradient(
      circle 450px at 110% 120%, 
      rgba(96, 165, 250, 0.2) 0%, 
      rgba(96, 165, 250, 0.1) 40%, 
      transparent 70%
    ),
    /* ベースのグラデーション */
    linear-gradient(to right, #EEF2FF, #FFFFFF, #ECFEFF);  
}

.bg-black {
  background-color: var(--purple-900)
}

.bg-white {
  background-color: var(--white);
}

.container__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 60px var(--side-space) 70px; 

  @media screen and (min-width: 768px) {
    padding: 120px var(--side-space); 
  }    
}

h2 {
  font-size: 28px;
  font-weight: var(--font-bold);
  text-align: center;
  line-height: 1.6; 

  .about & {
    @media screen and (max-width: 767px) {
      text-align: left;
    }      
  }

  @media screen and (min-width: 768px) {
    font-size: 36px;
  }  

  &._small_ {
    font-size: 22px;
    margin-bottom: 24px;

    @media screen and (min-width: 768px) {
      font-size: 28px;
      margin-bottom: 32px;
    }      
  }

  .bg-black & {
    color: var(--white);
  }    
}

.section__text {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 24px;

  @media screen and (min-width: 768px) {
    font-size: 16px;
    margin-top: 36px;
  }   

  .about & {
    @media screen and (max-width: 767px) {
      text-align: left;
    }      
  }  

  .bg-black & {
    color: var(--white);
  }

  &._white_ {
    color: var(--white);
  }
}

/* -----------------------------
   header（ヘッダー）
----------------------------- */

.header {
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 99;
  transition: var(--transition-normal);

  &.is-scroll {
    box-shadow: 0 0 20px #0000001a;    
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 4px 24px;
  transition: var(--transition-normal);  

  @media screen and (min-width: 961px) {
    padding: 24px 24px;
  }    
  
  .is-scroll & {
    @media screen and (min-width: 961px) {
      padding: 12px 24px; 
    }     
  }  
}

.header__logo {
  max-width: 120px;
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
  
  @media screen and (min-width: 961px) {
    max-width: 170px;
  }     

  .is-scroll & {
    @media screen and (min-width: 961px) {
      max-width: 150px;
    }       
  }

}

.header__content {

  .is-scroll & {
    gap: 24px;
  }   

  @media screen and (max-width: 960px) {
    width: 100%;
    height: 100lvh;
    position: fixed;
    top: 0;
    right: -100%;
    margin: auto;
    transition: right 0.3s ease;
    background-color: var(--white);
    box-sizing: border-box;
    padding-top: 60px;

    .js-menu-open & {
      right: 0;
    }
  }   
  @media screen and (min-width: 961px) {
    display: flex;
    align-items: center;
    gap: 32px;    
  }  
  
  nav {
    @media screen and (max-width: 960px) {
      border-top: 1px solid #efefef;
    }   

    ul {
      display: grid;

      @media screen and (min-width: 961px) {
        display: flex;
        gap: 24px;
      }        

      li {
        font-size: 14px;
        font-weight: var(--font-bold);    

        @media screen and (max-width: 960px) {
          border-bottom: 1px solid #efefef;
        }          
        
        a {
          @media screen and (max-width: 960px) {
            padding: 24px;
            display: block;
            position: relative;
          }        
            
          &::after {
            @media screen and (max-width: 960px) {
              font-family: 'Material Symbols Outlined';
              content: '\e315'; 
              font-size: 20px;
              color: var(--blue-500);
              position: absolute;
              top: 50%;
              right: 16px;
              transform: translate(0, -50%);    
            }          
          }          
        }
      }
    }
  }
}

.header__button {
  display: grid;
  gap: 12px;

  @media screen and (max-width: 960px) {
    max-width: 500px;
    margin: 0 auto;
    margin-top: 32px;
    padding: 0 24px;
  }    

  @media screen and (min-width: 961px) {
    display: flex;
    gap: 8px;
  }     

  a {
    width: 100%;
    font-size: 16px;
    font-weight: var(--font-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0 20px;
    border-radius: 50px;
    color: var(--white);

    @media screen and (min-width: 961px) {
      width: 130px;
      font-size: 14px;
      padding: 12px 0 15px;
    }      

    .is-scroll & {
      @media screen and (min-width: 961px) {
        width: 110px;
        font-size: 13px;
        padding: 10px 0 12px;
      }        
    }    
  }
}

.header__button-dl {
  background: var(--main-grad);
}

.header__button-contact {
  background-color: var(--text-black);
}

.header__menuButton {
  position: relative;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;

  @media screen and (min-width: 961px) {
    display: none;
  }

  span {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 2px;
    background-color: var(--text-black);
    transition: transform 0.3s ease, top 0.3s ease;

    &:nth-of-type(1) {
      top: 20px;    
      
      .js-menu-open & {
        top: 24px;
        transform: rotate(30deg);        
      }
    }

    &:nth-of-type(2) {
      top: 28px;

      .js-menu-open & {
        top: 24px;
        transform: rotate(-30deg);        
      }      
    }
  }
}

/* -----------------------------
   FV（ファーストビュー）
----------------------------- */
/* 背景セクション */
.fv {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
  background-color: #f8fcff;
  overflow: hidden;

  .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
  }

  /* 円1: シアン（右上） */
  .circle-cyan {
    width: 1209px;
    height: 1209px;
    top: -692px;
    background: radial-gradient(
      circle,
      rgba(0, 175, 193, 0.35) 0%,
      rgba(0, 175, 193, 0.15) 50%,
      rgba(0, 88, 97, 0.075) 65%,
      transparent 80%
    );
    @media screen and (max-width: 960px) {  
      width: 100vw;
      height: 100vw;
      left: -30vw;
      top: -50vw;
    }   
    @media screen and (min-width: 961px) {  
      right: -20%;
    }        
  }

  /* 円2: インディゴ（左中） */
  .circle-indigo {
    width: 800px;
    height: 800px;
    left: -161px;
    background: radial-gradient(
      circle,
      rgba(99, 102, 241, 0.28) 0%,
      rgba(99, 102, 241, 0.12) 50%,
      transparent 80%
    );
    @media screen and (max-width: 960px) {  
      width: 100vw;
      height: 100vw;
      left: -40vw;
      bottom: -30vw;   
    }   
    @media screen and (min-width: 961px) {  
      top: 421px;
    }           
  }

  /* 円3: ブライトブルー（右中） */
  .circle-blue {
    width: 967px;
    height: 849px;
    right: -10%;
    background: radial-gradient(
      circle,
      rgba(59, 130, 246, 0.3) 0%,
      rgba(59, 130, 246, 0.15) 50%,
      rgba(30, 65, 123, 0.075) 65%,
      transparent 80%
    );
    @media screen and (max-width: 960px) {  
      width: 110vw;
      height: 110vw; /* 元の 967:849 の比率を維持 */
      right: -30vw;
      bottom: 10vw;
    }    
    @media screen and (min-width: 961px) {  
      top: 134px;
    }        
  }  
}

.fv__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  align-items: center;
  gap: 40px;

  @media screen and (max-width: 767px) {  
    padding: 60px 0 40px;    
  }
  @media screen and (min-width: 961px) {
    display: grid;
    grid-template-columns: 1fr 58%;
    padding: 120px 5% 120px 6%;
  }  
}

.fv__content {
  @media screen and (max-width: 767px) {  
      padding: 0 30px;    
  }
}

.fv__img {
  @media screen and (max-width: 960px) {
    width: 100%;
    display: block;
    max-width: 720px;
    margin: 40px auto 0;
  }   
  @media screen and (max-width: 767px) {  
    margin: 24px auto 0;
    padding: 0 2%;
    box-sizing: border-box;
  }     
}

.fv__title {
  font-size: clamp(2.625rem, 5.1vw + 1.4rem, 4.5rem);
  font-weight: var(--font-bold);
  line-height: 1.36;
  margin-bottom: 40px;
  letter-spacing: 0.03em;

  @media screen and (max-width: 767px) {
    margin-bottom: 24px;
  }   
  @media screen and (max-width: 960px) {
    text-align: center;
  }    
  @media screen and (min-width: 961px) {
    font-size: clamp(1.75rem, 3.4vw + 1.05rem, 4.5rem);
    white-space: nowrap;
  }    
}

.fv__text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 60px;
  font-weight: var(--font-medium);

  @media screen and (max-width: 767px) {
    margin-bottom: 40px;
  }     

  @media screen and (max-width: 960px) {
    text-align: center;
    font-size: 15px;
  }  
  
  span {
    display: inline-block;
  }
}

.fv__button {
  width: 100%;
  background: var(--main-grad);
  border-radius: 50px;
  display: block;
  position: relative;
  text-align: center;
  padding: 22px 0 14px;
  box-shadow: 0px 10px 20px 0px rgba(137, 202, 238, 0.6);
  font-weight: var(--font-medium);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;

  @media screen and (max-width: 767px) {
    max-width: 260px;
    width: 100%;
    padding: 18px 0 10px;
    grid-template-columns: 94px 1fr;
    gap: 12px;
  }   

  @media screen and (min-width: 768px) {
    width: 360px;
  }   

  @media screen and (max-width: 960px) {
    margin: 0 auto;
    box-shadow: 0px 8px 20px 0px rgba(137, 202, 238, 0.6);
  }   

  img {
    width: 60px;
    margin-left: auto;

    @media screen and (min-width: 768px) {
      width: 90px;
    }     
  }

  p {
    font-size: 14px;
    color: var(--white);
    margin-top: 9px;
    
    @media screen and (min-width: 768px) {
      font-size: 20px;
      margin-top: 14px;
    }     
  }

  span {
    width: fit-content;
    background-color: #FAE104;
    font-size: 11px;
    color: #0e67a2;
    padding: 6px 8px;
    border-radius: 2px;
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    margin: auto;
    font-weight: var(--font-bold);

    @media screen and (min-width: 768px) {
      font-size: 14px;
      padding: 10px 20px;
      border-radius: 4px;
      top: -20px;
    }     

    &::after {
      content: '';
      position: absolute;
      bottom: -6px; /* 吹き出しの下 */
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      
      /* 三角形を作る */
      border-left: 3px solid transparent;
      border-right: 3px solid transparent;
      border-top: 6px solid #FAE104; /* 吹き出しと同じ色 */   

      @media screen and (min-width: 768px) {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid #FAE104; /* 吹き出しと同じ色 */  
        bottom: -8px; /* 吹き出しの下 */ 
      }         
    }
  }
}



/* -----------------------------
   About（概要）
----------------------------- */
.about {
  background-color: #fff;
}


/* -----------------------------
   Worries（お悩み）
----------------------------- */
.worries {
  background: linear-gradient(to right, #c9dff9 0%, #EBF3FE 50%, #c9dff9 100%);
}

.worries__list {
  display: grid;
  gap: 16px;

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }

  li {
    background-color: var(--white);
    border-radius: var(--radius-s);
    padding: 24px;
    text-align: center;
    font-size: 16px;
    box-shadow: var(--shadow-blue);

    @media screen and (min-width: 768px) {
      padding: 32px 24px;
    }    
  }

  h3 {
    font-size: 18px;
    font-weight: var(--font-bold);
    text-align: center;
    margin-bottom: 16px;
  }

  p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
  }
}

.worries__img {
  text-align: center;
  position: relative;
  margin-bottom: 18px;

  @media screen and (min-width: 768px) {
    margin-bottom: 24px;
  }    

  img {
    width: auto;
    max-height: 120px;
    position: relative;
    z-index: 1;

    @media screen and (min-width: 768px) {
      max-height: 140px;
    }      
  }

  &::after {
    content: '';
    width: 120px;
    aspect-ratio: 1;
    background-color: var(--blue-100);
    display: block;
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;

    @media screen and (min-width: 768px) {
      width: 140px;
    }      
  }
}

/* -----------------------------
   Feature（選ばれる理由）
----------------------------- */
.feature {

}

.feature__main {
  display: grid;
  align-items: center;
  gap: 24px;

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }  
}

.feature__list li:first-of-type {
  .feature__img {
    @media screen and (max-width: 768px) {
      padding: 0 30px;
    }      
  }
}

.feature__list li:nth-child(odd) .feature__img {
  @media screen and (min-width: 768px) {
    grid-column: 1;
    grid-row: 1;
  }   
}

.feature__title {
  font-size: 24px;
  font-weight: var(--font-medium);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;

  @media screen and (max-width: 767px) {
    text-align: center;
  }     

  @media screen and (min-width: 768px) {
    font-size: 32px;
    margin-bottom: 32px;
  }     

  span {
    background: linear-gradient(to right, #00AFC1 0%, #6366F1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.feature__text {
  font-size: 14px;
  line-height: 1.7;

  @media screen and (min-width: 768px) {
    font-size: 16px;
  }  
}

.feature__list {
  display: grid;
  gap: 56px;

  @media screen and (min-width: 768px) {
    gap: 88px;
    padding-top: 32px;
  }    
}

.feature__img {
  display: flex;
  align-items: center;
  justify-content: center;

  @media screen and (max-width: 767px) {
    padding: 0 20px;
  }   

  @media screen and (min-width: 768px) {
    min-height: 320px;
  }    

  img {
    width: 100%;
  }
}

/* -----------------------------
   Fucntion（機能）
----------------------------- */

.function__list {
  display: grid;
  gap: 16px;

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }    

  li {
    background-color: var(--white);
    border-radius: var(--radius-s);
    box-shadow: 0 10px 30px rgba(19, 19, 19, 0.5);
    padding: 24px;

    @media screen and (min-width: 768px) {
      padding: 32px 24px;
    }      
  }
}

.function__img {
  text-align: center;
  position: relative;
  margin-bottom: 18px;

  @media screen and (min-width: 768px) {
    margin-bottom: 24px;
  }    

  img {
    width: 100%;
    max-width: 170px;
    position: relative;
    z-index: 1;

    @media screen and (min-width: 768px) {
      max-width: 200px;
    }      
  }

  &::after {
    content: '';
    width: 120px;
    aspect-ratio: 1;
    background-color: var(--blue-100);
    display: block;
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;  

    @media screen and (min-width: 768px) {
      width: 140px;
    }     
  }
}

.function__title {
  font-size: 16px;
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: 16px;

  @media screen and (min-width: 768px) {
    font-size: 18px;
  }   
}

.function__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* -----------------------------
   Point（安心）
----------------------------- */
.point {
}

.point__list {
  display: grid;
  gap: 16px;
  counter-reset: point-number;

  li {
    background-color: #fff;
    box-shadow: var(--shadow-blue);
    border-radius: var(--radius-s);
    padding: 24px;
    display: grid;
    gap: 16px;
    align-items: center;

    @media screen and (min-width: 768px) {
      padding: 40px;
      gap: 48px;
    }       

    @media (min-width: 768px) and (max-width: 960px) {
      grid-template-columns: 1fr 220px;
    }      

    @media screen and (min-width: 961px) {
      grid-template-columns: 1fr 320px;
      gap: 64px;
    }    

    &:nth-of-type(2) {
      img{
        @media screen and (max-width: 767px) {
          max-height: 130px;
        }          
      }
    }

    &:last-of-type {
      .point__img {
        margin-top: 8px;
      }
      img{
        @media screen and (max-width: 767px) {
          max-height: 160px;
        }          
      }
    }      
  }
}

.point__content {
  position: relative;
  margin-left: auto;

  @media screen and (max-width: 767px) {
    padding-top: 32px;
  }      

  @media screen and (min-width: 768px) {
    max-width: 560px;
    padding-left: 70px;
  }    

  &::before {
    counter-increment: point-number;
    content: counter(point-number);
    color: #F0F4FF;
    font-size: 30px;
    position: absolute;
    font-family: var(--font-en);
    font-weight: var(--font-bold);   
    top: 0; 
    left: 50%;
        
    @media screen and (max-width: 767px) {
      transform: translate(-50%, 0);  
    }          

    @media screen and (min-width: 768px) {
      font-size: 80px;
      left: 0;
      top: -8px;
    }       
  }
}

.point__img {
  text-align: center;
  img {
    width: auto;
    max-height: 140px;
    @media screen and (min-width: 768px) {
      max-height: 200px;
    }      
  }
}

.point__title {
  font-size: 20px;
  font-weight: var(--font-medium);
  margin-bottom: 12px;
  line-height: 1.6;

  @media screen and (max-width: 767px) {
    text-align: center;
  }      

  @media screen and (min-width: 768px) {
    margin-bottom: 32px;
    font-size: 24px;
  }    
}

.point__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);

  @media screen and (min-width: 768px) {
    font-size: 16px;
  }  
  
  a {
    text-decoration: underline;
    color: var(--blue-500);
  }
}


/* -----------------------------
  Price（料金）
----------------------------- */
.price {
}

.price__content {
  background-color: var(--blue-100);
  border-radius: 16px;
  padding: 32px 24px;

  @media screen and (min-width: 768px) {
    border-radius: 32px;
    padding: 48px 24px;
  }  
}

.price-title {
  font-size: 18px;
  font-weight: var(--font-medium);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;

  @media screen and (min-width: 768px) {
    font-size: 20px;
    margin-bottom: 32px;
  }    
}


.price__list {
  max-width: 900px;
  display: grid;
  justify-content: center;
  margin-inline: auto;
  padding: 24px;
  align-items: center;
  border-top: 1px solid #e8eef7;
  border-bottom: 1px solid #e8eef7;
  background-color: var(--white);

  @media screen and (max-width: 767px) {
   gap: 12px;
  }    

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    padding: 40px 0;
  }    
}


.price__item {
  font-size: 16px;
  text-align: center;
  font-weight: var(--font-medium);
  color: var(--purple-900);

  @media screen and (min-width: 768px) {
    font-size: 24px;
    padding: 0 24px;
  }    

  p {
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    color: #8d94a4;
    margin-inline: auto;
    margin-top: 12px;
    font-weight: var(--font-normal);

    @media screen and (min-width: 768px) {
      max-width: 300px;
      font-size: 14px;
      margin-top: 24px;
    }     
  }
}

.price__plus {
  width: 16px; 
  height: 16px;
  position: relative;
  display: inline-block;
  margin-inline: auto;

  @media screen and (min-width: 768px) {
    width: 30px; 
    height: 30px;
  }    

  &::before,
  &::after {
    content: "";
    position: absolute;
    background-color: var(--blue-500);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
  }

  &::before {
    width: 100%;
    height: 2px;

    @media screen and (min-width: 768px) {
      height: 3px;
    }        
  }

  &::after {
    width: 2px;
    height: 100%;

    @media screen and (min-width: 768px) {
      width: 3px;
    }      
  }
}

.price__button {
  display: grid;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  grid-template-columns: 1fr;
  margin-inline: auto;

  @media screen and (max-width: 767px) {
    max-width: 360px;
  }    

  @media screen and (min-width: 768px) {
    grid-template-columns: 280px 280px;
    gap: 16px;
  }    

  a {
    width: 100%;
    font-size: 16px;
    font-weight: var(--font-medium);
    text-align: center;
    border-radius: 50px;
    padding: 20px 0 26px;
    box-shadow: var(--shadow-blue);
    background-color: var(--text-black);
    position: relative;
    color: var(--white);  

    span {
      font-size: 16px;
      position: absolute;
      right: 16px;
      top: 22px;

      @media screen and (min-width: 768px) {
        font-size: 18px;
        top: 20px;
      }       
    }

    &.dl {
      background: var(--main-grad);
    }
  }
}



/* -----------------------------
  CV（料金エリア）
----------------------------- */




/* -----------------------------
  Flow（ご利用までの流れ）
----------------------------- */
.flow {
}

.flow__inner {
  padding-top: 0;
}

.flow__list {
  display: grid;
  gap: 16px;
  counter-reset: point-number;

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }

  li {
    background-color: var(--white);
    background-color: var(--blue-100);
    padding: 24px 24px 32px;
    position: relative;
    border-radius: var(--radius-s);

    &::before {
      counter-increment: point-number;
      content: counter(point-number);
      color: #ebeef3;
      font-size: 60px;
      position: absolute;
      top: 12px;
      left: 20px;
      font-family: var(--font-en);
      font-weight: var(--font-bold);
    }    
  }
}

.flow__img {
  width: 100px;
  aspect-ratio: 1;
  background-color: var(--white);
  border-radius: 100%;
  margin: 0 auto 16px;
}

.flow__title {
  font-size: 16px;
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: 16px;

  @media screen and (min-width: 768px) {
    font-size: 18px;
  }  
}

.flow__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);

  a {
    width: fit-content;
    color: var(--blue-500);
    font-weight: var(--font-bold);
    text-decoration: underline;
    display: block;
    margin-top: 10px;
    position: relative;
    padding-right: 20px;
    font-size: 14px;

    @media screen and (min-width: 768px) {
      font-size: 16px;
    }      

    span {
      font-size: 14px;
      font-weight: var(--font-bold);
      position: absolute;
      right: 0;
      top: 6px;

      @media screen and (min-width: 768px) {
        font-size: 16px;
        top: 7px;
      }       
    }
  }
}


/* -----------------------------
  Other（いろんな業種）
----------------------------- */
.other {
  border-radius: 64px;
}
.other__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;

  li {
    background-color: #35436c;
    border-radius: var(--radius-s);
  }
}




/* -----------------------------
   ［セクション］ faq
----------------------------- */
.faq {
}

.faq__inner {
  max-width: 900px;
}

.faq__list {
  display: grid;
  gap: 8px;
}

.faq__item {
  background-color: var(--white);
  border-radius: var(--radius-s);
  padding: 16px 24px;
  box-shadow: 0 10px 30px rgba(201, 215, 231, 0.2);
  cursor: pointer;

  @media screen and (min-width: 768px) {
    padding: 24px 32px;
  }    

  &:hover {
    opacity: 0.7;
  }
}

.faq__head,
.faq__body {
  p {
    &::before {
      font-size: 18px;
      font-weight: var(--font-bold);
      font-family: var(--font-en);
      position: absolute;
      left: 0;
      top: -3px;

      @media screen and (min-width: 768px) {
        font-size: 22px;
        top: -2px;
      }        
    }    
  }
}


.faq__head {
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: var(--font-medium);
  position: relative;
  padding-left: 30px;
  gap: 16px;

  @media screen and (min-width: 768px) {
    font-size: 16px;
    padding-left: 40px;
    gap: 24px;
  }   

  p {
    &::before {
      content: 'Q';
      color: var(--blue-500);      
    }
  }

  span {
    font-size: 26px;
    color: var(--blue-500);
    transition: transform 0.3s;  

    @media screen and (min-width: 768px) {
      font-size: 32px;
    }       

    .is-open & {
      transform: rotate(180deg);    
    }
  }
}

.faq__body {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  position: relative;
  height: 0;
  overflow: hidden; 
  transition: height 0.3s ease;

  p {
    padding-top: 16px;
    margin-top: 16px;   
    border-top: 1px solid #F2F5F7; 
    padding-left: 30px;

    @media screen and (min-width: 768px) {
      padding-left: 40px;
      padding-top: 24px;
      margin-top: 24px;   
    }       

    &::before {
      content: 'A';
      color: var(--text-black);
      left: 0;
      top: 30px;

      @media screen and (min-width: 768px) {
        top: 43px;
      }        
    }    
  }

  a {
    text-decoration: underline;
    color: var(--blue-500);
  }
}



/* -----------------------------
   ［セクション］ news
----------------------------- */
.news__inner {
  max-width: 900px;
  padding-top: 0;
}

.news__list {
  display: grid;
  gap: 8px;
}

.news__item {
  font-size: 14px;
  line-height: 1.7;
  background-color: var(--white);
  border-radius: var(--radius-s);
  box-shadow: 0 10px 30px rgba(201, 215, 231, 0.2);
}

.news__link {
  display: grid;
  align-items: center;
  gap: 8px 0;
  grid-template-columns: 80px 1fr;
  padding: 16px 60px 16px 24px;
  position: relative;

  @media screen and (min-width: 768px) {
    padding: 24px 80px 24px 32px;
    gap: 12px 0;
  }    

  &::after {
    font-family: 'Material Symbols Outlined';
    content: '\e315'; 
    font-size: 26px;
    color: var(--blue-500);
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translate(0, -50%);

    @media screen and (min-width: 768px) {
      right: 24px;
      font-size: 32px;
    }      
  }

  &:hover {
    color: var(--blue-500);
  }
}

.news__date {
  color: #878787;
  font-size: 12px;
  grid-column: 1
}

.news__label {
  width: 80px;
  border: 1px solid var(--blue-500);
  color: var(--blue-500);
  font-weight: var(--font-medium);
  font-size: 10px;
  border-radius: 3px;
  text-align: center;
  grid-column: 2;

  @media screen and (min-width: 768px) {
    width: 96px;
    font-size: 12px;
  }    
}

.news__text {
  grid-column: 1 / 3;
}


/* -----------------------------
   ［セクション］ CV
----------------------------- */
.cv {
  background: var(--main-grad);
}

.cv__inner {
  max-width: 900px;
  padding: 40px var(--side-space);

  @media screen and (min-width: 768px) {
    padding: 60px var(--side-space);
  }   
}

.cv__title {
  font-size: 24px;
  font-weight: var(--font-bold);
  line-height: 1.6;
  text-align: center;
  color: var(--white);

  @media screen and (min-width: 768px) {
    font-size: 32px;
  }    
}

.cv__list {
  display: grid;
  margin-top: 24px;

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }     
}

.cv__item {
  background-color: var(--white);
  border-radius: var(--radius-s);
  padding: 32px 24px 30px;
  text-align: center;

  @media screen and (min-width: 768px) {
    padding: 40px;
  }   

  a {
    display: block;
    margin-top: 16px;

    @media screen and (min-width: 768px) {
      margin-top: 24px;
    }      
  }
}

.cv__item-img {
  max-width: 240px;
}

.cv__item-title {
  font-size: 18px;
  font-weight: var(--font-bold);
  text-align: center;

  @media screen and (min-width: 768px) {
    font-size: 20px;
  }    
}

.cv__item-text {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;

  @media screen and (min-width: 768px) {
    font-size: 16px;
  }     
}

/* -----------------------------
   ［セクション］ footer
----------------------------- */
.footer {
  background-color: var(--text-black);
  color: var(--white);
}

.footer__inner {
  padding: 48px var(--side-space) 20px;

  @media screen and (min-width: 768px) {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 48px var(--side-space);
  }    

  small {
    font-size: 10px;
    font-family: var(--font-en);   
    margin-top: 40px;  
    display: block;

    @media screen and (min-width: 768px) {
      grid-column: 1;
      grid-row: 2;
      margin-top: auto;
    }     
  }     
}

.footer__logo {
  @media screen and (max-width: 767px) {
    text-align: center;
    margin-bottom: 32px;
    display: grid;
  } 

  @media screen and (min-width: 768px) {
    grid-column: 1;
    grid-row: 1;    
  }  

  img {
    width: 170px;   
  }   
}

.footer__content {
  position: relative;

  @media screen and (min-width: 768px) {
    grid-column: 2;
    grid-row: 1 / 3; 
  }   
}

.footer__list {
  display: grid;
  gap: 40px;
  @media screen and (min-width: 768px) {
    display: flex;
    gap: 64px; 
  }   
}

.footer__item {
  p {
    font-size: 12px;
    color: #c3c3c3;
    margin-bottom: 16px;

    @media screen and (min-width: 768px) {
      margin-bottom: 24px;
    }      
  }

  a {
    font-size: 13px;
  }
}

.footer__nav {
  display: grid;
  gap: 12px;
}