@charset "UTF-8";

body{
    overflow-x: hidden;
    background-color: var(--color-body);
}
/* ===== Scroll Animation ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   Top View
========================= */
.top-view{
  position:relative;
  height:100vh;
  overflow:hidden;
}

/* ===== タイトル ===== */
.top-text{
  position:absolute;
  left:60px;
  bottom:20%;
  z-index:10;

  opacity:0;
  transform: translateY(30px);
  transition: all 1.2s ease;
}

/* 表示状態 */
.top-text.is-show{
  opacity:1;
  transform: translateY(0);
}

/* ちょい遅らせる（気持ちよさUP） */
.top-text h1{
    font-size:42px;
  font-weight:700;
  line-height:1.2;
  color:var(--color-primary);
  transition: all 1.2s ease;
  transition-delay: 0.2s;
}

.top-text p{
  transition: all 1.2s ease;
  transition-delay: 0.4s;
  margin-top: 10px;
    font-size:24px;
  color:var(--color-primary-50);
}

/* ===== ビジュアル全体 ===== */
.top-visual{
  position:relative;
  width:100%;
  height:100%;
}

/* =========================
   図形共通
========================= */
.shape{
  position:absolute;
  overflow:hidden;

  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;

  transition: transform 0.6s ease;
}

.shape:hover{
  transform: scale(1.05);
}

/* =========================
   スライド（CSSのみで切替）
========================= */
.slide{
  position:relative;
  width:100%;
  height:100%;
}

/* 2枚重ね */
.slide::before,
.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transition: opacity 2.5s ease; /* ←ここが“優しさ” */
}

/* 1枚目 */
.slide::before{
  background-image: var(--img1);
  opacity:1;
  animation: fade1 10s infinite;
}

/* 2枚目 */
.slide::after{
  background-image: var(--img2);
  opacity:0;
  animation: fade2 10s infinite;
}

/* フェード制御 */
@keyframes fade1{
  0%,40%  { opacity:1; }
  50%,90% { opacity:0; }
  100%    { opacity:1; }
}

@keyframes fade2{
  0%,40%  { opacity:0; }
  50%,90% { opacity:1; }
  100%    { opacity:0; }
}
/* 1枚だけのとき（shape-3用） */
.shape-3 .slide{
  animation:none;
  background-image: var(--img1);
}
.shape-1 .slide::before,
.shape-1 .slide::after{
  animation-duration: 12s;
}

.shape-2 .slide::before,
.shape-2 .slide::after{
  animation-duration: 9s;
}

.shape-3 .slide::before{
  background-image: var(--img1);
  opacity:1;
  animation:none;
}

.shape-3 .slide::after{
  display:none;
}
/* =========================
   各図形レイアウト
========================= */

/* ===== 図形① ===== */
.shape-1{
  width:34%;
  height:50%;
  top:10%;
  left:8%;
  z-index:3;
}

/* ===== 図形② ===== */
.shape-2{
  width:35%;
  height:42%;
  top:55%;
  left:42%;
  z-index:2;
}

/* ===== 図形③ ===== */
.shape-3{
  width:30%;
  height:34%;
  top:18%;
  right:10%;
  z-index:1;
}

/* =========================
   アクセント
========================= */
.accent{
  position:absolute;
  pointer-events:none;

  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
}

/* 4 */
.accent-4{
  width:110px;
  height:110px;
  top:10%;
  left:45%;
  transform:rotate(20deg);
  background-color:var(--color-secondary);
}

/* 5 */
.accent-5{
  width:90px;
  height:250px;
  bottom:12%;
  right:6%;
  transform:rotate(-12deg);
  background-color:var(--color-accent);
}



/* =========================
   SP対応
========================= */
@media (max-width:768px){



  .top-view{
    height:auto;
    padding:60px 20px;
  }

  /* タイトル */
  .top-text{
    position:relative;
    left:auto;
    bottom:auto;
    margin:70px 0 20px;
  }

  .top-text h1{
    font-size:28px;
  }
.top-text p{
  transition: all 1.2s ease;
  transition-delay: 0.4s;
  margin-top: 10px;
    font-size:18px;
  color:var(--color-primary-50);
}
  /* ビジュアル */
  .top-visual{
    height:400px;
  }

  /* 図形 */
  .shape-1{
    width:80%;
    height:45%;
    top:10%;
    right:auto;
    left:-15%;
  }

  .shape-2{
    width:65%;
    height:40%;
    top:70%;
    left:-15%;
  }

  .shape-3{
    width:55%;
    height:35%;
    top:30%;
    right:-15%;
  }

  /* アクセント */
  .accent-4{
    width:50px;
    height:50px;
    top:55%;
    left:5%;
  }

  .accent-5{
    width:50px;
    height:140px;
    bottom:-15%;
    rotate: 30deg;
    right:0;
  }
}
/* =========================
   FEATURE
========================= */
.feature{
    padding:20px;
}

/* header */
.feature-header{
    text-align:center;
    margin:80px auto 120px;
}

.feature-header h2{
    font-size:60px;
    letter-spacing:0.1em;
    color: var(--color-primary);
}

.feature-header p{
    font-size:18px;
    font-weight:600;

}

/* =========================
   layout
========================= */
.feature-item{
    max-width:1000px;
    margin:0 auto 160px;
    display:flex;
    align-items:center;
    gap:60px;
}

.feature-item:last-of-type{
    margin-bottom:0;
}

/* 交互レイアウト */
.feature-item:nth-child(odd){
    flex-direction:row-reverse;
}

/* =========================
   image
========================= */
.feature-image{
    flex:1;
    position:relative;
    max-width:450px;
}

/* ★ここが今回の本命 */
.feature-image img{
    width:100%;
    display:block;

    /* 画像マスク */
    -webkit-mask-image: url("../img/top_7.webp");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

    mask-image: url("../img/top_7.webp");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;

}


/* =========================
   text
========================= */
.feature-text{
    flex:1;
    position:relative; /* ★これ必須 */
}

/* ★番号デザイン */
.feature-num{
    position:absolute;
    top:-50px;
    right:0;

    font-size:92px;
    font-weight:700;
    line-height:1;

    color:var(--color-primary);
    opacity:0.15;

    letter-spacing:0.05em;
}

.feature-text h3{
    font-size:28px;
    margin-bottom:20px;
    line-height:1.6;
    font-weight: bold;
    /* ★指定 */
    color: var(--color-primary);
}

.feature-text p{
    font-size:15px;
    line-height:1.9;
    color:var(--color-neutral-surface);
}

/* =========================
   hover（ちょいリッチ）
========================= */
.feature-image img{
    transition:0.5s;
}

.feature-item:hover .feature-image img{
    filter: brightness(0.9);
    transform: scale(1.03);
}

/* =========================
   mobile
========================= */
@media (max-width:768px){

    .feature{
        padding:40px 20px;
    }
    .feature-num{
        font-size:58px;
        top:-25px;
    }
    .feature-header{
        margin:40px auto 80px;
    }

    .feature-header h2{
        font-size:38px;
        line-height: 1;
    }

    .feature-item{
        flex-direction:column;
        gap:40px;
        margin-bottom:100px;
    }

    .feature-item:nth-child(odd){
        flex-direction:column;
    }

    .feature-image{
        max-width:100%;
    }

    .feature-number.overlay{
        top:25px;
        left:0px;
        padding:10px 12px;
    }

    .feature-number.overlay .num{
        font-size:32px;
    }

    .feature-text h3{
        font-size:20px;
    }
}

/* =========================
   SERVICE 全体
========================= */
.service{
    position: relative;
    height: 240vh; /* ★横長になったので少し増やす */
}

/* =========================
   背景（固定）
========================= */
.service-bg{
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;

    background: url("../img/service.webp") center/cover no-repeat;

    z-index: 0;
    margin: 50px 0;
}

/* =========================
   コンテンツ
========================= */
.service-inner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 150px;

    margin: 200px 0;
}

/* =========================
   各ブロック（横長カード）
========================= */
.service-block{
    display:flex;
    align-items:center; /* ★中央やめる */
    gap:40px; /* ★余白広げる */

    max-width:900px;
    margin:0 auto; /* ★中央寄せに変更 */

    background: var(--color-text-white);
    padding:70px 60px;

    border-radius:12px;
    box-shadow:0 20px 60px rgba(0,0,0,0.1);
}
/* =========================
   左（タイトルエリア）
========================= */
.service-left{
    flex:0 0 300px; /* ★少し広げる */
    position:relative;

    display:flex;
    flex-direction:column;
    justify-content:flex-start; /* ★上寄せ */

    padding:10px 20px 10px 30px;
}

/* 「」装飾 */
.service-left::before,
.service-left::after{
    position:absolute;
    font-size:80px;
    color:var(--color-primary);
    /* opacity:0.2; */
    font-weight:400;
    line-height:1;
}

.service-left::before{
    content:"「";
    top:-10px;
    left:-45px;
    font-size:70px;
}

.service-left::after{
    content:"」";
    bottom:-10px;
    right:-15px;
    font-size:70px;
}
/* =========================
   右（テキスト）
========================= */
.service-right{
    flex:1;
    display:block; /* ★flexやめる */
}

.service-right p{
    line-height:2; /* ★読みやすく */
    font-size:15px;
    color:var(--color-neutral-surface);
}

/* =========================
   テキスト
========================= */
.service-num{
    font-size:11px;
    letter-spacing:0.25em;
    margin-bottom:15px;
    color: var(--color-primary-light-70);
  }
  
  .service-left h3{
  color: var(--color-neutral-light);
    font-size:24px;
    line-height:1.5;
    font-weight:600;
}

/* =========================
   hover（少しリッチ）
========================= */
.service-block{
    transition:0.4s;
}

.service-block:hover{
    transform:translateY(-5px);
    box-shadow:0 30px 80px rgba(0,0,0,0.15);
}

/* =========================
   スマホ
========================= */
@media (max-width:768px){

    .service{
        height: 260vh;
    }

    .service-inner{
        gap:100px;
        margin:150px 0;
        align-items:center;
    }

    .service-block{
        flex-direction:column;
        gap:30px;

        margin:20px auto;
        max-width:90%;

        padding:40px 25px;
    }

    .service-left{
        flex:none;
        padding:20px;
        border-left:none;
    }

    .service-left::before{
        font-size:50px;
        top: 0;
    }

    .service-left::after{
        font-size:50px;
        right: -40px;
        bottom: 0;
    }

}


.about-ceo{
  max-width:1100px;
  margin:80px auto 120px;
  padding:0 40px;
}

/* 横並び */
.about-inner{
  display:flex;
  align-items:center;
  gap:80px;
}

/* ===== 左ビジュアル ===== */
.about-visual{
  position:relative;
  width:50%;
  height:500px;
}

/* 背景 */
.about-bg{
  position:absolute;
  width:100%;
  height:100%;
  background:var(--color-primary-light-10);
  border-radius:20px;
}

/* メイン画像 */
.about-main{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:70%;
  z-index:2;
}

.about-main img{
  width:100%;
  border-radius:16px;
  display:block;
}

/* サブ（右下） */
.about-sub{
  position:absolute;
  right:-30px;
  bottom:-30px;
  width:160px;
  z-index:3;
}

.about-sub img{
  width:100%;
  border-radius:12px;
}

/* アクセント（左下） */
.about-accent{
  position:absolute;
  left:-30px;
  bottom:-30px;
  width:120px;
  height:120px; /* ←これも超重要 */
  z-index:1;

  background: var(--color-secondary);

  -webkit-mask-image: url("../img/top_6.webp");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("../img/top_6.webp");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}


/* ===== テキスト ===== */
.about-content{
  width:50%;
}

.about-name{
  font-size:40px;
  margin-bottom:10px;
  color:var(--color-primary);
}

.about-role{
  font-size:18px;
  color:var(--color-primary-light-70);
  margin-bottom:20px;
}

.about-text{
  font-size:16px;
  line-height:1.8;
}

/* ===== レスポンシブ ===== */
@media(max-width:768px){
.about-ceo{
  max-width:1100px;
  margin:80px auto 120px;
  padding:0 20px;
}
  .about-inner{
    flex-direction:column;
    gap:40px;
  }

  .about-visual{
    width:100%;
    height:400px;
  }

  .about-content{
    width:100%;
  }

  .about-main{
    width:75%;
  }

  .about-sub{
    width:160px;
    right:-10px;
    bottom:-10px;
  }

  .about-accent{
    width:90px;
    left:-10px;
    bottom:-10px;
  }

  .about-name{
    font-size:30px;
  }
.about-accent{
  position:absolute;
  left:-50px;
  top: -70px;
  rotate: 60deg;
  bottom: auto;
  width:120px;
  height:120px; /* ←これも超重要 */
  z-index:1;
}

}

@media(max-width:500px){

  .about-visual{
    height:320px;
  }

  .about-main{
    width:85%;
  }

  .about-name{
    font-size:24px;
  }

}


.column{
  max-width:1200px;
  margin:180px auto 120px;
  padding:0 40px;
}

/* ===== タイトル ===== */
.column-header{
  margin-bottom:70px;
  text-align:left;
}

.column-sub{
  font-size:12px;
  letter-spacing:3px;
  color: var(--color-primary);
  margin-bottom:12px;
}

.column-title{
  font-size:40px;
  font-weight:700;
  margin-bottom:20px;
}

.column-desc{
  font-size:15px;
  color:var(--color-neutral-surface);
  line-height:1.9;
  max-width:500px;
}

/* ===== カラム ===== */
.column-inner{
  display:flex;
  gap:30px;
}

/* ===== カード ===== */
.column-item{
  width:33.33%;
  background: var(--color-text-white);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:0.4s;
}

/* ホバーで浮く */
.column-item:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

/* ===== 画像 ===== */
.column-circle{
  position:relative;
  width:100%;
  height:240px;
  overflow:hidden;
}

.circle-bg{
  display:none; /* 使わない */
}

.column-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.6s;
}

/* ズーム演出 */
.column-item:hover img{
  transform:scale(1.08);
}

/* ===== テキスト ===== */
.column-name{
  font-size:22px;
  font-weight:600;
  padding:25px 25px 10px;
  color:var(--color-primary);
}

.column-text{
  font-size:14px;
  line-height:1.9;
  padding:0 25px 30px;
  color:var(--color-neutral-surface);
}

/* ===== レスポンシブ ===== */
@media(max-width:768px){

  .column{
    margin:70px auto 50px;
    padding:0 20px;
  }

  .column-inner{
    flex-direction:column;
  }

  .column-item{
    width:100%;
  }

  .column-title{
    font-size:28px;
  }
}

/* ===== News（タイムライン化） ===== */
.news-section{
  padding:100px 20px;
  background: var(--color-primary-light-10);
}

.news-inner{
  max-width:900px;
  margin:0 auto;
}

/* ===== タイトル ===== */
.news-header{
  margin-bottom:80px;
}

.news-title{
  font-size:60px;
  font-weight:800;
  margin-bottom:10px;
  letter-spacing:1px;
  color: var(--color-primary);
}

.news-sub{
  font-size:14px;
  color:var(--color-neutral-surface);
}

/* ===== リスト ===== */
.news-list{
  list-style:none;
  padding:0;
  position:relative;
}

/* 縦ライン */
.news-list::before{
  content:"";
  position:absolute;
  left:20px;
  top:10px;
  width:2px;
  height:100%;
  background:var(--color-primary-light-30);
}

/* ===== アイテム ===== */
.news-item{
  position:relative;
  padding-left:70px;
  margin-bottom:50px;
}

/* ドット */
.news-item::before{
  content:"";
  position:absolute;
  left:12px;
  top:8px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--color-primary);
  box-shadow:0 0 0 6px var(--color-text-white);
}

/* リンク全体 */
.news-item a{
  display:block;
  text-decoration:none;
  color:inherit;
  transition:0.3s;
}

/* カード化 */
.news-row{
  background:var(--color-text-white);
  border-radius:14px;
  padding:20px 25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  transition:0.3s;
}

/* hover */
.news-item:hover .news-row{
  transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

/* 上段 */
.news-date{
  font-size:12px;
  color:var(--color-neutral-surface);
  display:block;
  margin-bottom:8px;
}

/* カテゴリ */
.news-category{
  display:inline-block;
  font-size:11px;
  padding:3px 10px;
  border-radius:20px;
  background:var(--color-primary);
  color:var(--color-text-white);
  margin-bottom:10px;
}

/* テキスト */
.news-text{
  font-size:15px;
  line-height:1.8;
}

/* ===== ボタン ===== */
.news-footer{
  margin-top:60px;
  text-align:center;
}

.news-more{
  display:inline-block;
  padding:12px 40px;
  border-radius:40px;
  background:transparent;
  border:1px solid var(--color-primary);
  color:var(--color-primary);
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.news-more:hover{
  background:var(--color-primary);
  color: var(--color-text-white);
}

/* ===== 上段を横並びに ===== */
.news-date,
.news-category{
  margin-bottom:0;
}

/* グループ化（疑似的に） */
.news-row{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* 上段の横並びラップ */
.news-row::before{
  content:"";
  display:block;
}

/* 実質ここが本体 */
.news-row{
  position:relative;
}

/* date + category 横並び */
.news-date{
  display:inline-block;
  margin-right:10px;
}

.news-category{
  display:inline-block;
}

/* 上段をまとめる */
.news-date,
.news-category{
  vertical-align:middle;
}

/* さらにちゃんと揃えるならこれ */
.news-row{
  display:block;
}

.news-row > .news-date,
.news-row > .news-category{
  display:inline-block;
}

/* テキストとの間 */
.news-text{
  margin-top:8px;
}

/* ===== SP ===== */
@media(max-width:768px){

  .news-section{
    padding:80px 20px;
  }
.news-header{
  margin-bottom:40px;
}

  .news-title{
    font-size:32px;
  }

  .news-item{
    padding-left:50px;
  }

  .news-list::before{
    left:15px;
  }

  .news-item::before{
    left:7px;
  }
}




/* ===== 全体 ===== */
.blog{
  margin:120px 0;
  padding:0 0 0 40px;
}

/* ===== タイトル ===== */
.blog-header{
  max-width:1100px;
  margin:0 auto 20px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
}

.blog-title{
  font-size:60px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--color-primary);
}

.blog-sub{
  font-size:14px;
  color:var(--color-neutral-surface);
  margin-top:5px;
}

/* ===== ナビ ===== */
.blog-nav{
  display:flex;
  gap:10px;
  margin-right:30px;
}

.blog-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--color-text-muted);
  background: var(--color-text-white);
  cursor:pointer;
  transition:0.3s;
}

.blog-btn:hover{
  background:var(--color-primary);
  color: var(--color-text-white);
}

/* ===== スライダー ===== */
.blog-slider{
  max-width:1100px;
  margin:0 auto;
  overflow:hidden;
  padding:50px 0 20px;
}

.blog-track{
  display:flex;
  gap:40px;
  transition:0.4s;
}

/* ===== カード ===== */
.blog-card{
  min-width:300px;
  text-align:center;
  transition:0.4s;
}

.blog-card:hover{
  transform:translateY(-6px);
}

/* ===== 画像（型抜き） ===== */
.blog-image{
  width:100%;
  aspect-ratio: 1 / 1; /* ← マスクに合わせる（超重要） */
  margin-bottom:20px;

  -webkit-mask-image: url("../img/top_3.webp");
  -webkit-mask-size: contain;   /* ← cover → contain */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  mask-image: url("../img/top_3.webp");
  mask-size: contain;          /* ← cover → contain */
  mask-repeat: no-repeat;
  mask-position: center;

  background: var(--color-text-white); /* ← 余白見え対策（任意） */
  overflow:hidden;
}

.blog-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.6s;
}

.blog-card:hover img{
  transform:scale(1.08);
}

/* ===== コンテンツ ===== */
.blog-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

/* タグ */
.blog-tag{
  background: var(--color-primary);
  color: var(--color-text-white);
  font-size:14px;
  padding:5px 12px;
  border-radius:999px;
  letter-spacing:1px;
}

/* タイトル */
.blog-content h3{
  font-size:21px;
  color:var(--color-primary);
  line-height:1.6;
}

/* 日付 */
.blog-date{
  font-size:14px;
  color:var(--color-neutral-surface);
  text-decoration:underline;
}

/* ===== dots ===== */
.blog-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:40px;
}

.blog-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--color-primary-light-30);
  cursor:pointer;
  transition:0.3s;
}

.blog-dots span.active{
  background:var(--color-primary);
  transform:scale(1.3);
}

/* ===== ボタン ===== */
.blog-footer{
  margin-top:40px;
  text-align:right;
  margin-right:30px;
}

.blog-more{
  display:inline-block;
  padding:8px 30px;
  border-radius:999px;
  background:var(--color-primary);
  color: var(--color-text-white);
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.blog-more:hover{
  background: var(--color-text-white);
  color:var(--color-primary);
  border:1px solid var(--color-primary);
}

/* ===== SP ===== */
@media(max-width:768px){

  .blog{
    padding:0 0 0 20px;
    margin:80px 0;
  }

  .blog-header{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

  .blog-track{
    gap:20px;
  }

  .blog-card{
    min-width:80%;
  }

  .blog-image{
    height:180px;
  }
}


.svc-slider{
  background:var(--color-primary);
  padding:140px 40px;
  color: var(--color-text-white);
  overflow:hidden;
}

.svc-inner{
  max-width:1100px;
  margin:0 auto;
}

/* ===== 上部 ===== */
.svc-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:100px;
}

.svc-title{
  font-size:60px;
  margin-bottom:10px;
}

.svc-sub{
  font-size:14px;
  opacity:0.8;
}

/* 矢印 */
.svc-next{
  width:50px;
  height:50px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.4);
  background:transparent;
  color: var(--color-text-white);
  font-size:20px;
  cursor:pointer;
  transition:0.3s;
}

.svc-next:hover{
  background:rgba(255,255,255,0.1);
}
.svc-slider-container{
  max-width:1000px;   /* ← 好きな幅に調整OK */
  margin-left:auto;  /* ← 右寄せ（今っぽい） */
  overflow:hidden;
}
/* ===== スライダー ===== */
.svc-slider-container{
  overflow:hidden;
}

.svc-track{
  display:flex;
  transition:transform 0.5s ease;
}

/* ===== カード ===== */
.svc-slide{
  width:calc(100% / 3);
  min-width:calc(100% / 3);
  backdrop-filter:blur(10px);
  overflow:hidden;

  display:flex;
  flex-direction:column;
}


.svc-slide.first img{
  border-top-left-radius:20px;
  border-bottom-left-radius:20px;
}

/* 画像（縦長） */
.svc-slide img{
  width:100%;
  height:320px;
  object-fit:cover;
  display:block;
}

/* テキスト */
.svc-content{
  padding:30px 24px 26px;
  position:relative;
}

/* 小ラベル */
.svc-label{
  font-size:10px;
  letter-spacing:0.2em;
  opacity:0.6;
  display:block;
  margin-bottom:10px;
}

/* タイトル */
.svc-content h3{
  font-size:18px;
  margin-bottom:14px;
  font-weight:600;
}

/* 説明 */
.svc-desc{
  font-size:13px;
  line-height:1.9;
  opacity:0.85;
  margin-bottom:20px;
}

/* 白ライン（アクセント） */
.svc-line{
  width:40px;
  height:1px;
  background:rgba(255,255,255,0.5);
  margin-bottom:14px;
}

/* 下テキスト */
.svc-note{
  font-size:11px;
  letter-spacing:0.15em;
  opacity:0.5;
}

/* 🔥 左にうっすら白ライン入れる（高級感） */
.svc-content::before{
  content:"";
  position:absolute;
  left:0;
  top:20px;
  width:3px;
  height:60%;
  background:rgba(255,255,255,0.15);
}


/* ===== SP ===== */
@media(min-width:1000px){

.svc-slide img{
  min-height: 380px;
}

}

@media(max-width:768px){
  
.svc-slider{
  background:var(--color-primary);
  padding:70px 40px;
  color: var(--color-text-white);
  overflow:hidden;
}
  .svc-header{
  display:flex;
  justify-content:space-between;
  margin-bottom:50px;
}

  .svc-title{
    font-size:32px;
  }

  /* 🔥 これが一番重要 */
  .svc-slide{
    width:100%;
    min-width:100%;
  }

  .svc-slider-container{
    margin-left:0;
  }

  .svc-slide img{
    height:300px;
  }

}



.case{
  padding:100px 40px;
  overflow:hidden;
}

.case-header{
  text-align:center;
  margin-bottom:100px;
}

.case-title{
  font-size:60px;
  color:var(--color-primary);
}

/* ===== スライダー ===== */
.case-slider{
  position:relative;
  max-width:1100px;
  margin:0 auto;
}

/* ステージ */
.case-stage{
  position:relative;
}

/* 各スライド */
.case-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;

  position:absolute;
  inset:0;

  opacity:0;
  pointer-events:none;
  transition:0.5s;
}

/* アクティブ */
.case-item.active{
  opacity:1;
  pointer-events:auto;
  position:relative;
}

/* 左（テキスト） */
.case-content{
  width:50%;
  display:flex;
  flex-direction:column;
}

/* タグ */
.case-tag{
  display:inline-block;
  align-self:flex-start;
  background:var(--color-primary);
  color: var(--color-text-white);
  font-size:12px;
  padding:4px 10px;
  border-radius:20px;
  margin-bottom:10px;
}

/* 上部メタ */
.case-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:15px;
}

.case-date{
  font-size:12px;
  color: var(--color-text-muted);
}

/* タイトル強化 */
.case-title2{
  font-size:26px;
  line-height:1.5;
  margin-bottom:15px;
  letter-spacing:0.02em;
  color: var(--color-primary);
}

/* テキスト */
.case-text{
  font-size:14px;
  line-height:1.8;
  color: var(--color-neutral-surface);
  margin-bottom:25px;
}

/* フッター */
.case-footer{
  margin-top:auto;
}

/* ボタン */
.case-link{
  display:inline-block;
  padding:10px 22px;
  font-size:13px;
  border-radius:30px;
  border:1px solid var(--color-primary);
  color:var(--color-primary);
  text-decoration:none;
  transition:0.3s;
  margin-bottom:15px;
}

.case-link:hover{
  background:var(--color-primary);
  color: var(--color-text-white);
}

/* 補足情報 */
.case-info{
  font-size:12px;
  color: var(--color-neutral-light);
  display:flex;
  gap:15px;
}

/* ボタン */
.case-link{
  margin-top:auto;
  align-self:flex-start;

  display:inline-block;
  padding:8px 18px;
  font-size:13px;

  color:var(--color-primary);
  text-decoration:none;
  border:1px solid var(--color-primary);
  border-radius:30px;

  transition:0.3s;
}

.case-link:hover{
  background:var(--color-primary);
  color: var(--color-text-white);
}

/* 右（画像） */
.case-image{
  width:50%;
  height:320px;
  overflow:hidden;
  border-radius:30px;
}

.case-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===== 矢印 ===== */
.case-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border-radius:50%;
  border:none;
  background:var(--color-primary);
  color: var(--color-text-white);
  font-size:30px;
  cursor:pointer;
  z-index:10;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* 左矢印（画像の左端） */
.case-arrow.prev{
  left:calc(50% + 5px); /* ←ここがポイント */
}

/* 右矢印（画像の右外側） */
.case-arrow.next{
  right:-25px;
}

/* ===== dots ===== */
.case-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:60px;
}

.case-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--color-text-gray);
  cursor:pointer;
}

.case-dots span.active{
  background:var(--color-primary);
}

/* ===== SP ===== */
@media(max-width:768px){

  .case{
    padding:60px 15px;
  }

  .case-title{
    font-size:28px;
  }

  .case-header{
    margin-bottom:40px;
  }
  /* 上部メタ */
.case-meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:5px;
}

/* タイトル強化 */
.case-title2{
  font-size:22px;
  line-height:1.5;
  margin-bottom:15px;
  letter-spacing:0.02em;
  color: var(--color-primary);
}
  .case-item{
    flex-direction:column;
    gap:20px;
  }

  .case-content,
  .case-image{
    width:100%;
  }

  .case-image{
    height:250px;
  }
/* ===== 矢印 ===== */
.case-arrow{
  position:absolute;
  top:78%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border-radius:50%;
  border:none;
  background:var(--color-primary);
  color: var(--color-text-white);
  font-size:30px;
  cursor:pointer;
  z-index:10;

  display:flex;
  align-items:center;
  justify-content:center;
}

  .case-arrow.prev{
    left:-10px;
  }

  .case-arrow.next{
    right:-10px;
  }
}


/* =====================
   COMPANY（やさしい版）
===================== */
.company{
  max-width:1100px;
  margin:100px auto;
  padding:0 30px;
}

/* ===== タイトル ===== */
.company-header{
  text-align:center;
  margin-bottom:50px;
}

.company-sub{
  font-size:13px;
  letter-spacing:2px;
  color:var(--color-primary-light-70);
  margin-top:8px;
}

.company-title{
  font-size:32px;
  font-weight:600;
  color:var(--color-neutral-light);
  position:relative;
  display:inline-block;
}

/* 下にやさしいライン */
.company-title::after{
  content:"";
  display:block;
  width:40px;
  height:4px;
  background:var(--color-primary);
  margin:10px auto 0;
  border-radius:10px;
}

/* ===== レイアウト ===== */
.company-wrap{
  display:flex;
  gap:40px;
  align-items:stretch;
}

/* ===== カード ===== */
.company-card{
  width:50%;
  background: var(--color-text-white);
  padding:35px;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

/* ===== 項目 ===== */
.company-item{
  margin-bottom:22px;
}

.company-item h4{
  font-size:12px;
  letter-spacing:1.5px;
  color:var(--color-primary);
  margin-bottom:6px;
}

.company-item p{
  font-size:15px;
  line-height:1.8;
  color:var(--color-text);
}

/* 区切り線（やさしく） */
.company-item:not(:last-child){
  padding-bottom:15px;
  border-bottom:1px dashed var(--color-primary-light-30);
}

/* ===== 地図 ===== */
.company-map{
  width:50%;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:0.3s;
}

.company-map:hover{
  transform:translateY(-5px);
}

.company-map iframe{
  width:100%;
  height:100%;
  min-height:350px;
  border:0;
}

/* ===== ボタン ===== */
.company-btn-wrap{
  margin-top:25px;
}

.company-btn{
  display:inline-block;
  font-size:14px;
  padding:12px 26px;
  background:var(--color-primary-light-10);
  color:var(--color-primary);
  text-decoration:none;
  border-radius:30px;
  transition:0.3s;
}

.company-btn:hover{
  background:var(--color-primary);
  color: var(--color-text-white);
}

/* ===== レスポンシブ ===== */
@media(max-width:768px){

  .company{
    margin:60px auto;
  }

  .company-wrap{
    flex-direction:column;
  }

  .company-card,
  .company-map{
    width:100%;
  }

  .company-map iframe{
    min-height:250px;
  }
}

/* テーマ色変更 */


.theme-demo{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

/* キャラ */
.theme-character{
  cursor: pointer;
  position: absolute;
  bottom: -50px;
  right: -50px;
  z-index: 10;
  rotate: -20deg;
}

.theme-character img{
  width: 110px;
}

/* 吹き出し */
.theme-bubble{
  position: absolute;
  bottom: 0px;
  right: 0;
  background: #fff;
  padding: 15px 22px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  color: #333;
  width: 300px;
  font-size: 16px;
  font-weight: bold;
  animation: fadeInUp 0.3s ease;
}

/* しっぽ（キャラ方向に） */
.theme-bubble::after{
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  border: 8px solid transparent;
  border-top-color: #fff;
}


/* 色ボタン */
.theme-colors{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.theme-colors button{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* 色 */
button[data-theme="default"]{
  background: #fff;
  border: 2px solid #333333;
}
button[data-theme="blue"]{ background:#1AA371; }
button[data-theme="green"]{ background:#ca3f54; }
button[data-theme="dark"]{ background:#ce87cb; }

/* 閉じる */
.theme-close{
  position: absolute;
  top: -10px;
  left: -10px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 16px;
}

/* アニメ */
@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}