/* @import 'normalize.css' layer(normalize); */
@import url('normalize.css') layer(normalize);

@layer normalize, base, demo, grid, setup, scroll, novelty, line-button;



/* Contact Buttons Layer */
@layer line-button {
  .contact-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
  }

  .line-contact {
    background: #00B900;
    color: white;

  }

  .line-contact:hover {
    transform: translateY(-3px);

    background: #00A000;
  }

  .hoshos-contact {
    background: #ff84b5;
    color: white;

  }

  .hoshos-contact:hover {
    transform: translateY(-3px);

    background: #ff84b5;
  }

  .contact-button svg {
    width: 24px;
    height: 24px;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }

  @media (max-width: 600px) {
    .contact-buttons {
      bottom: 15px;
      gap: 10px;
      flex-direction: row;
    }

    .contact-button {
      padding: 12px 16px;
      font-size: 14px;
    }
    
    .contact-button svg {
      width: 20px;
      height: 20px;
    }

    .contact-button span {
      display: none;
    }

    .line-contact::after {
      content: "LINE";
      font-size: 14px;
    }

    .hoshos-contact::after {
      content: "ホスホス";
      font-size: 14px;
    }
  }
}

@layer novelty {
  @property --flip {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }
  @-webkit-keyframes flip {
    to {
      --flip: 1;
    }
  }
  @keyframes flip {
    to {
      --flip: 1;
    }
  }
  [data-enhanced='true'] {
    @media (prefers-reduced-motion: no-preference) {
      @supports (animation-timeline: scroll()) and (animation-range: 0 100%) {
        footer > span {
          -webkit-animation: flip both steps(1, end);
                  animation: flip both steps(1, end);
          animation-timeline: scroll(root);
        }

        

        .spring {
          outline: 1px dashed red;
          -webkit-clip-path: inset(0 0 0 0);
                  clip-path: inset(0 0 0 0);
        }

        .spring span {
          rotate: calc(-180deg + (var(--flip) * 180deg));
          display: inline-block;
          transform-origin: 50% 150%;
          transition: rotate 0.24s;
        }
      }
    }
  }
}

@layer scroll {
  :root {
    --power-1-out: linear(
      0 0%,
      0.0027 3.64%,
      0.0106 7.29%,
      0.0425 14.58%,
      0.0957 21.87%,
      0.1701 29.16%,
      0.2477 35.19%,
      0.3401 41.23%,
      0.5982 55.18%,
      0.7044 61.56%,
      0.7987 68.28%,
      0.875 75%,
      0.9297 81.25%,
      0.9687 87.5%,
      0.9922 93.75%,
      1 100%
    );
    --power-2-out: linear(
      0 0%,
      0.0036 9.62%,
      0.0185 16.66%,
      0.0489 23.03%,
      0.0962 28.86%,
      0.1705 34.93%,
      0.269 40.66%,
      0.3867 45.89%,
      0.5833 52.95%,
      0.683 57.05%,
      0.7829 62.14%,
      0.8621 67.46%,
      0.8991 70.68%,
      0.9299 74.03%,
      0.9545 77.52%,
      0.9735 81.21%,
      0.9865 85%,
      0.9949 89.15%,
      1 100%
    );
    --power-3-out: linear(
      0 0%,
      0.0029 13.8%,
      0.0184 21.9%,
      0.0339 25.51%,
      0.0551 28.81%,
      0.0827 31.88%,
      0.1168 34.76%,
      0.1962 39.57%,
      0.3005 44.02%,
      0.4084 47.53%,
      0.6242 53.45%,
      0.7493 57.93%,
      0.8495 62.97%,
      0.8888 65.67%,
      0.9213 68.51%,
      0.9629 73.9%,
      0.9876 80.16%,
      0.998 87.5%,
      1 100%
    );
    --power-4-out: linear(
      0 0%,
      0.0012 14.95%,
      0.0089 22.36%,
      0.0297 28.43%,
      0.0668 33.43%,
      0.0979 36.08%,
      0.1363 38.55%,
      0.2373 43.07%,
      0.3675 47.01%,
      0.5984 52.15%,
      0.7121 55.23%,
      0.8192 59.21%,
      0.898 63.62%,
      0.9297 66.23%,
      0.9546 69.06%,
      0.9733 72.17%,
      0.9864 75.67%,
      0.9982 83.73%,
      1 100%
    );
    --sine: linear(
      0 0%,
      0.2861 18.47%,
      0.4829 32.08%,
      0.6437 44.52%,
      0.7712 56.07%,
      0.8722 67.47%,
      0.9115 73.02%,
      0.9434 78.49%,
      0.9682 83.91%,
      0.9859 89.3%,
      0.9965 94.66%,
      1 100%
    );
  }
  @-webkit-keyframes fade {
    0%,
    55% {
      opacity: 0;
    }
  }
  @keyframes fade {
    0%,
    55% {
      opacity: 0;
    }
  }
  @-webkit-keyframes reveal {
    0%,
    30% {
      scale: 0;
    }
  }
  @keyframes reveal {
    0%,
    30% {
      scale: 0;
    }
  }
  @-webkit-keyframes scale-x {
    0%,
    10% {
      width: calc(100vw - (2 * var(--gutter)));
    }
  }
  @keyframes scale-x {
    0%,
    10% {
      width: calc(100vw - (2 * var(--gutter)));
    }
  }
  @-webkit-keyframes scale-y {
    0%,
    10% {
      height: calc(100vh - (2 * var(--gutter)));
    }
  }
  @keyframes scale-y {
    0%,
    10% {
      height: calc(100vh - (2 * var(--gutter)));
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    [data-enhanced='true'] {
      main section:first-of-type {
        min-height: 240vh;
      }

      @supports (animation-timeline: scroll()) and (animation-range: 0 100%) {
        main section:first-of-type {
          view-timeline: --runner;
        }

        &[data-center='true'] {
          .scaler img {
            -webkit-animation-name: scale-x, scale-y;
                    animation-name: scale-x, scale-y;
            -webkit-animation-fill-mode: both;
                    animation-fill-mode: both;
            -webkit-animation-timing-function: var(--power-2-out), var(--power-1-out);
                    animation-timing-function: var(--power-2-out), var(--power-1-out);
            animation-timeline: --runner, --runner;
            animation-range: entry 100% exit -20%;
          }
        }

        &[data-layers='true'] {
          .grid .layer {
            -webkit-animation-name: fade, reveal;
                    animation-name: fade, reveal;
            -webkit-animation-fill-mode: both;
                    animation-fill-mode: both;
            animation-timeline: --runner, --runner;
            -webkit-animation-timing-function: var(--sine), var(--power-1-out);
                    animation-timing-function: var(--sine), var(--power-1-out);
            animation-range: entry 100% exit 0%;
          }
          &[data-stagger='timing'] .grid .layer {
            &:nth-of-type(1) {
              -webkit-animation-timing-function: var(--sine), var(--power-1-out);
                      animation-timing-function: var(--sine), var(--power-1-out);
            }
            &:nth-of-type(2) {
              -webkit-animation-timing-function: var(--sine), var(--power-3-out);
                      animation-timing-function: var(--sine), var(--power-3-out);
            }
            &:nth-of-type(3) {
              -webkit-animation-timing-function: var(--sine), var(--power-4-out);
                      animation-timing-function: var(--sine), var(--power-4-out);
            }
          }
          &[data-stagger='range'] .grid .layer {
            &:nth-of-type(1) {
              animation-range: entry 100% exit 0%;
            }
            &:nth-of-type(2) {
              animation-range: entry 100% exit -10%;
            }
            &:nth-of-type(3) {
              animation-range: entry 100% exit -20%;
            }
          }
        }
      }
    }
  }
}

@layer setup {
  /* gross calculations here to appease Safari and Firefox */
  :root {
    --container-width: 1600px;
    --gap: clamp(10px, 4vw, 80px);
    --gutter: 2rem;
  }
  @media (max-width: 600px) {
    :root {
      --gutter: 1rem;
    }
  }

  .content {
    min-height: 100vh;
    display: flex;
    place-items: center;
    align-content: center;
    position: sticky;
    top: 0;
  }

  .scaler {
    z-index: 2;
    width: 100%;
    height: 100%;
    position: relative;
  }

  .scaler img {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
  }
}

@layer grid {
  /* it's a 5x3 grid using subgrid, always centered */
  .grid {
    --offset: 0;
    width: 1600px;
    max-width: calc(100% - (2 * var(--gutter)));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: var(--gap);
    margin: 0 auto;
    align-content: center;
    /* hmm */
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }

  @media (max-width: 600px) {
    .grid {
      grid-template-columns: repeat(3, 1fr);
      --offset: -1;
    }

    .grid > div:nth-of-type(1) {
      display: none;
    }
  }

  .grid > .layer {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
  }

  .grid > div:nth-of-type(1) div:nth-of-type(odd) {
    grid-column: 1;
  }
  .grid > div:nth-of-type(1) div:nth-of-type(even) {
    grid-column: -2;
  }

  .grid > div:nth-of-type(2) div:nth-of-type(odd) {
    grid-column: calc(2 + var(--offset));
  }
  .grid > div:nth-of-type(2) div:nth-of-type(even) {
    grid-column: calc(-3 - var(--offset));
  }

  .grid > div:nth-of-type(3) div {
    grid-column: calc(3 + var(--offset));
  }

  .grid > div:nth-of-type(3) div:last-of-type {
    grid-row: -1;
  }

  .grid .scaler {
    position: relative;
    grid-area: 2 / calc(3 + var(--offset));
  }

  .grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 1rem;
  }


}

/* Feature Cards - 修正版 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  margin: 2rem auto 0; /* 中央配置を確実にする */
  width: min(90vw, 1200px); /* 画面幅に応じた制限 */
  max-width: 1200px;
  padding: 2rem;
  border-radius: 12px;
  /* 追加：確実に中央配置するための設定 */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr; /* モバイルでは1列 */
    gap: 1.5rem;
    padding: 1.5rem;
    width: calc(100vw - 2rem); /* モバイルでの幅調整 */
    margin: 1.5rem auto 0; /* マージンを調整 */
  }
}

/* systemsセクション全体の調整も追加 */
.systems {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.systems > div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.h2system {
  --font-level: 4;
  margin-bottom: 1rem;
  color: #c89614;
}

.systems h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

/* feature-headerの横並びレイアウト */
.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: left;
}

.systemno {

  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;

  min-width: 40px;
  text-align: left;
}

.feature-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #000000;
}

  /* Work Section Styling */
  .work {
    background: linear-gradient(135deg, rgba(200,150,20,0.03) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
  }

  .work::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(200,150,20,0.1) 0%, transparent 50%);
    animation: workGlow 15s ease-in-out infinite;
  }

  @keyframes workGlow {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(-10%, -10%) scale(1.1);
    }
  }

  
  @keyframes shimmer {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 200% 50%;
    }
  }

  .work h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #666;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
  }

  .work-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .work-feature {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #333;
    padding: 1.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
  }

  .work-feature::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0%;
    transition: height 0.3s ease;
  }

  .work-feature:hover::before {
    height: 100%;
  }

  .work-feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .work-feature:hover::after {
    transform: scaleX(1);
  }

  .work-feature:hover {
    color: #c89614;
    transform: translateX(10px);
  }

  @media (max-width: 768px) {
    .work-features {
      gap: 1.5rem;
      padding: 0 1rem;
    }

    .work-feature {
      padding: 1rem 0;
      font-size: 1.1rem;
    }

    .work-feature::before {
      left: -1rem;
      width: 3px;
    }

    .work h3 {
      margin-bottom: 3rem;
    }
    

@layer demo {
  html {
    scrollbar-color: #c89614 #0000;
  }
  body {
    background: canvasText;
  }
  h1 {
    --font-level: 8;
    line-height: 0.75;
  }
  h2 {
    --font-level: 6;
    font-size: 4rem;
    background: linear-gradient(45deg, #91d1ff 50%, #e3d24f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 800;
    font-family: 'Montserrat', 'SF Pro Text', 'SF Pro Icons', 'AOS Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif, system-ui;
  }
  h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
  }
  header {
    min-height: 100vh;
    display: grid;
    margin: 0 auto;
    align-content: center;
    max-width: calc(100% - (2 * var(--gutter)));
    text-align: center;
  }
  body {
    display: block;
  }

  main,
  section {
    max-width: 100%;
  }

  section {
    
    text-align: center;
  }

  .content {
    overflow: hidden;
  }

  main section:last-of-type {
    display: grid;
    place-items: start center;
  }


  .content-wrap {
    overflow: clip;
    background: light-dark(#fff, #000);
    z-index: 2;
  }

  .logo {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
  }

  .nikkyu {
    padding-top: 50px;
    font-size: 100px;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(200, 150, 20, 0.5);
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.05em;
    }
   

   
    p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin: 1.2em 0;
    letter-spacing: 0.02em;
    text-align: justify;
    }
    font-weight: 900;
  }

  
}

@layer base {
  :root {
    --font-size-min: 16;
    --font-size-max: 20;
    --font-ratio-min: 1.2;
    --font-ratio-max: 1.33;
    --font-width-min: 375;
    --font-width-max: 1500;
  }

  html {
    color-scheme: light;
  }

  :where(.fluid) {
    --fluid-min: calc(
      var(--font-size-min) * pow(var(--font-ratio-min), var(--font-level, 0))
    );
    --fluid-max: calc(
      var(--font-size-max) * pow(var(--font-ratio-max), var(--font-level, 0))
    );
    --fluid-preferred: calc(
      (var(--fluid-max) - var(--fluid-min)) /
        (var(--font-width-max) - var(--font-width-min))
    );
    --fluid-type: clamp(
      (var(--fluid-min) / 16) * 1rem,
      ((var(--fluid-min) / 16) * 1rem) -
        (((var(--fluid-preferred) * var(--font-width-min)) / 16) * 1rem) +
        (var(--fluid-preferred) * var(--variable-unit, 100vi)),
      (var(--fluid-max) / 16) * 1rem
    );
    font-size: var(--fluid-type);
  }

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

  body {
    background: #fff;
    display: grid;
    place-items: center;
    min-height: 100vh;
    font-family: 'SF Pro Text', 'SF Pro Icons', 'AOS Icons', 'Helvetica Neue',
      Helvetica, Arial, sans-serif, system-ui;
  }

  .content-wrap::before {
    --size: 45px;
    --line: color-mix(in lch, canvasText, transparent 70%);
    content: '';
    height: 100vh;
    width: 100vw;
    position: fixed;
    background: linear-gradient(
          90deg,
          var(--line) 1px,
          transparent 1px var(--size)
        )
        50% 50% / var(--size) var(--size),
      linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% /
        var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
            mask: linear-gradient(-20deg, transparent 50%, white);
    top: 0;
    transform-style: flat;
    pointer-events: none;
  }

  .bear-link {
    color: canvasText;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 48px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    opacity: 0.8;
  }

  :where(.x-link, .bear-link):is(:hover, :focus-visible) {
    opacity: 1;
  }

  .bear-link svg {
    width: 75%;
  }

  /* Utilities */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}

[data-stick='true'] div.tp-dfwv {
  position: fixed;
}

 @media screen and (max-width: 600px) {
      .nikkyu {
        font-size: 60px;
        padding-top: 30px;
      }
      .feature-card h3 {
        font-size: 1.2rem;
    }
  }

  
  .systems {
    padding: 2rem;
    background: #ffe11f;
  }

  .h2system {
  }

  .systemno {

    top: 1rem;
    left: 1rem;
    font-size: 3rem;
    color: #000000;
    font-weight: 700;
    font-family: 'montserrat', 'SF Pro Text', 'SF Pro Icons', 'AOS Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif, system-ui;
  }

    .feature-card p {
      font-size: 1.2rem;
      color: #000;
      margin-top: 0.5rem;
      font-weight: 900;
    }

  /* システムセクションのh2を白に */
  section.systems h2.h2system {
    color: #ffffff !important;
    background: #ffffff !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;

  }

  /* 平均年齢23歳強調セクション用CSS */
/* 既存のstyle.cssに追加してください */

@layer age-emphasis {
  /* 年齢強調セクション */
  .age-emphasis {
    background: linear-gradient(135deg, #e0fdff, #ffffff);
    color: #333;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* 背景の浮遊エフェクト */
  .age-emphasis::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
  }

  /* メインの数字表示 */
  .counter-display {
    font-size: clamp(8rem, 25vw, 20rem);
    font-weight: 600;
     color: #ACB6E5;//非対応のブラウザでの文字色を設定
  background: -webkit-linear-gradient(45deg, #91d1ff 50%, #e3d24f 100%);//背景色にグラデーションを指定
  -webkit-background-clip: text;//テキストでくり抜く
  -webkit-text-fill-color: transparent;//くり抜いた部分は背景を表示
    
    font-family:  'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    
    position: relative;
    z-index: 2;
    line-height: 0.8;
  }

  @keyframes count-up {
    from { 
      opacity: 0;
      transform: scale(0.3) rotate(-10deg);
      filter: blur(20px);
    }
    50% {
      transform: scale(1.1) rotate(2deg);
    }
    to { 
      opacity: 1;
      transform: scale(1) rotate(0deg);
      filter: blur(0);
    }
  }

  /* ラベルテキスト */
  .counter-label {
    font-size: 2.5rem;
    color: #555;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    z-index: 2;
  }

  /* セクションタイトル */
  .age-emphasis h2 {

    margin-bottom: 20px;
    position: relative;
    z-index: 2;
  }

  .highlight-text {
    font-size: 2rem;
    background: linear-gradient(45deg, #000000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-family: 'montserrat', 'SF Pro Text', 'SF Pro Icons', 'AOS Icons', 'Helvetica Neue', Helvetica, Arial, sans-serif, system-ui;
  }

  /* 説明テキスト */
  .emphasis-description {
    font-size: 4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
  }

  .emphasis-description strong {
    color: #c89614;
    font-weight: 700;
  }

  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    .age-emphasis {
      padding: 80px 20px;
      min-height: 50vh;
    }

    .counter-display {
      font-size: clamp(15rem, 40vw, 50rem);
      margin: 30px 0;

    }

    .counter-label {
      font-size: 2rem;
      margin-bottom: 30px;
    }

    .emphasis-description {
      font-size: 1.2rem;
      padding: 0 10px;
    }
  }

  @media (max-width: 480px) {
    .age-emphasis {
      padding: 60px 15px;
    }

    .counter-display {
      font-size: clamp(10rem, 50vw, 30rem);
      margin: 20px 0;
    }

    .counter-label {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }

    .emphasis-description {
      font-size: 1.1rem;
    }
  }

  /* アニメーション再実行用 */
  .age-emphasis.animate .counter-display {
    animation: count-up 3s ease-out;
  }

  /* カウンターアニメーション中の状態 */
  .counter-display.counting {
    animation: pulse-count 0.1s ease-in-out;
  }

  @keyframes pulse-count {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
}

/* 既存のfluidクラスに追加する場合 */
.age-emphasis .fluid {
  --font-level: 6;
}

.headline {
  max-width:90%;
  justify-content:  center;
  text-align: center;
  margin: 0 auto;
  padding: 5rem 1rem;
}

/************************************
** スライダー
************************************/
.slide-wrap{
   display:-webkit-box;
   display:-ms-flexbox;
   display: flex;
   overflow-x: scroll;
   -webkit-overflow-scrolling: touch;
   overflow-scrolling: touch;
   scroll-snap-type: x mandatory;
   padding:0 0 1em;
   margin:0 0 2em 0;
   scroll-behavior: smooth;
    width: 100vw;
}
.slide-wrap .slide-content{
   flex: 0 0 90%;
   margin: 0 10px;
   height:100%;
   z-index: 10;
}

.slide-content{
  width: 300px;
  height: 300px;
}




.slide-wrap .slide-content img{
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 10px;
   scroll-snap-align:center;
}
@media screen and (max-width: 480px){
.slide-wrap .slide-content {
    flex: 0 0 88%;
    margin: 0px 5px;
    scroll-snap-align:center;
}
}

.manegement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f9f9f9;
  
}
.manegement img {
  width: 90%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  z-index: 5;
}

.managementimg {
  width: 90%;
  max-width: 600px;
  justify-content: center;
  text-align: center;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  z-index: 5;
}