@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{
  display:flex;
  height:100vh;
  padding:40px 20px;
  box-sizing:border-box;
  gap:40px;
}

/* =========================
   左バー
========================= */
.left-bar{
  width:80px;
  display:flex;
  align-items:flex-end;
}

.left-inner{
  display:flex;
  flex-direction:column;
  gap:30px;
}

/* SNS */
.sns-wrap{
  display:flex;
  align-items: center;
  flex-direction:column;
  gap:15px;
}


.contact-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;

  width:110px;
  height:110px;

  text-decoration:none;
  color:#333;
  font-size:12px;
  font-weight:bold;

  position:relative;
  border-radius:20px;
}

/* 背景（menu.webp を着色） */
.contact-btn::before{
  content:"";
  position:absolute;
  inset:0;

  background: var(--color-accent);

  -webkit-mask-image: url('../img/menu.webp');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  rotate: 180deg;
  mask-image: url('../img/menu.webp');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;

  transform: scale(1); /* ← 初期状態 */
  transition: transform 1.5s cubic-bezier(.34,1.56,.64,1); /* ← これが“ぼよん” */

  z-index:0;
}
.contact-btn:hover::before{
  transform: scale(1.1); /* ← 少し大きく */
}

/* 中身を前面に */
.contact-btn span{
  position:relative;
  z-index:1;
}

/* アイコン */
.contact-btn .icon{
  width:28px;
  height:28px;

  background: var(--color-text-white);

  -webkit-mask-image: url('../img/mail.webp');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  mask-image: url('../img/mail.webp');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* テキスト */
.contact-btn .text{
  writing-mode: horizontal-tb;
  color: var(--color-text-white);
  letter-spacing:1px;
}

/* ホバー */
.contact-btn:hover{
  transform: translateY(-3px);
}

/* =========================
   中央スライダー
========================= */
.center-visual{
  flex:1;
  display:flex;
  align-items:flex-end;     /* ← 縦中央 */
  justify-content:center; /* ← 横中央 */
  padding-bottom: 30px;
}

.slider{
  width:100%;
  height:90%;
  position:relative;
  overflow:hidden;
  border-radius:100px;
}

/* 画像 */
.slide{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1s ease;
}

.slide.active{
  opacity:1;
}

.right-menu{
  width:60px;

  display:flex;
  justify-content:center;  /* ← 横中央 */
  align-items:center;      /* ← 縦中央（これが重要） */

  height:100%;             /* ← 親の高さを使う */
}

.right-menu ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:30px;
}

/* 1メニュー */
.right-menu a{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color: var(--color-neutral-light);
  font-weight: bold;
  font-size:14px;
  position:relative;
}

/* 1文字 */
.right-menu a span{
  display:block;
  margin-top: -2px;
  transition:.3s;
}

/* ホバー演出（上に浮く） */
.right-menu a:hover {
  color: var(--color-primary);
}

/* 縦ライン */
.right-menu a::after{
  content:"";
  position:absolute;
  right:-8px;
  top:0;
  width:2px;
  height:0;
  background-color: var(--color-primary);
  transition:.3s;
}

.right-menu a:hover::after{
  height:100%;

}

/* =========================
   SNS ICON
========================= */
.sns-icon{
  width:35px;
  height:35px;
  display:block;
  background: var(--color-primary);

  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;

  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.instagram{
  -webkit-mask-image: url('../img/icon-instagram-white.webp');
  mask-image: url('../img/icon-instagram-white.webp');
}
.x{
  -webkit-mask-image: url('../img/icon-x-white.webp');
  mask-image: url('../img/icon-x-white.webp');
}
.line{
  -webkit-mask-image: url('../img/icon-line-white.webp');
  mask-image: url('../img/icon-line-white.webp');
}
.tiktok{
  -webkit-mask-image: url('../img/icon-tiktok-white.webp');
  mask-image: url('../img/icon-tiktok-white.webp');
}
.facebook{
  -webkit-mask-image: url('../img/icon-facebook-white.webp');
  mask-image: url('../img/icon-facebook-white.webp');
}

/* =========================
   SP対応
========================= */
@media (max-width:768px){

/* =========================
   全体
========================= */
.top-view{
  flex-direction:column;
  height:auto;
  padding:0;
  gap:30px;
}

/* =========================
   スライダー（上）
========================= */
.center-visual{
  order:1;
  width:100%;
  height:560px;
  padding:0px;
  box-sizing:border-box;
}

.slider{
  height:560px;
  border-radius:0 0 60px 60px;
}

/* =========================
   下エリア（SNS + CONTACT）
========================= */
.left-bar{
  order:2;
  width:100%;
  padding:0 20px 30px;
}

.left-inner{
  width: 100%;
  flex-direction:row;
  justify-content: space-between;
  align-items:center;
  gap:20px;
}

/* SNS 横並び中央 */
.sns-wrap{
  flex-direction:row;
  justify-content:center;
  gap:15px;
}

/* CONTACT */
.contact-wrap{
  display:flex;
  justify-content:center;
}



/* アイコン少し小さく */
.contact-btn .icon{
  width:22px;
  height:22px;
}

/* =========================
   右メニュー削除
========================= */
.right-menu{
  display:none;
}

}

/* =========================
   FEATURE
========================= */
.feature{
    padding:100px 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;
    border-radius: 30px;
    overflow: hidden;
}

/* 画像本体 */
.feature-image img{
    width:100%;
    display:block;

    /* ★ここを変更（clip-path削除） */
    -webkit-mask-image: url("../img/shape1.webp");
    mask-image: url("../img/shape1.webp");

    -webkit-mask-size: cover;
    mask-size: cover;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    position:relative;
    z-index:1;
}

/* =========================
   text
========================= */
.feature-text{
    flex:1;
    position:relative;
    padding-top:40px;
}

.feature-text::before{
    content: attr(data-num);
    position:absolute;
    top:0;
    left:-20px;

    font-size:120px;
    font-weight:700;

    color: var(--color-primary);
    opacity:0.05;

    z-index:0;
}

/* =========================
   上のラベル＋番号
========================= */
.feature-head{
    display:flex;
    align-items:flex-end;
    gap:15px;
    margin-bottom:20px;
}

/* 番号（でかくして主役） */
.feature-num{
    font-size:72px;
    font-weight:700;
    line-height:1;
    color: transparent;

    /* ★アウトライン風 */
    -webkit-text-stroke: 1px var(--color-primary);

    /* うっすら表示 */
    opacity:0.4;
}

/* FEATUREラベル */
.feature-label{
    font-size:22px;
    letter-spacing:0.2em;
    color: var(--color-secondary);
    transform: translateY(-8px);
}

/* =========================
   タイトル
========================= */
.feature-text h3{
    font-size:28px;
    margin-bottom:20px;
    line-height:1.6;
    color: var(--color-primary);
}

/* =========================
   説明文
========================= */
.feature-text p{
    font-size:15px;
    line-height:1.9;
    color:var(--color-neutral-surface);
    max-width:420px;
}



/* =========================
   mobile
========================= */
@media (max-width:768px){

    .feature{
        padding:40px 20px;
    }

    .feature-header{
        margin:40px auto 80px;
    }

    .feature-header h2{
        font-size:38px;
    }

    .feature-item{
        flex-direction:column;
        gap:10px;
        margin-bottom:70px;
    }

    .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{
    padding:120px 20px;
  overflow: hidden;
  }
  .service-header{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 50px;
}
.service-header h2{
    font-size:60px;
    letter-spacing:0.1em;
    color: var(--color-accent);
}

.service-header p{
    font-size:18px;
    font-weight:600;
}

/* =========================
   コンテナ
========================= */
.service-inner{
    width:80%;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:160px;
  }
  
  /* =========================
  各ブロック
  ========================= */
  .service-block{
    display:flex;
    flex-direction:column;
    gap:40px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* イラスト本体 */
.service-illust{
    position: absolute;
    top: 80px;
    right: 0px;
    width: 160px;
    pointer-events: none;
    z-index: 0;
}

/* 画像 */
.service-illust img{
    width: 100%;
    height: auto;
}

/* 偶数だけ位置変える */
.service-block:nth-child(2) .service-illust{
    right: 0;
    top: auto;
    bottom: -50px;
    z-index: 2;
}

.service-block:nth-child(3) .service-illust{
    right: -40px;
    top: 80px;
}

/* =========================
   少しだけ動かす（上品に）
========================= */
.service-block:hover .service-illust{
  rotate: -10deg;
}



/* =========================
   ヘッド
========================= */
.service-head{
    display:flex;
    align-items:flex-end;
    gap:40px;
}

/* 番号 */
.service-num{
    font-size:140px;
    font-weight:700;
    color:transparent;
    -webkit-text-stroke:1px var(--color-accent);
    line-height:1;
}

/* タイトル */
.service-head h3{
    font-size:28px;
    margin-bottom:20px;
    color: var(--color-neutral-light);
    font-weight: bold;
}

/* =========================
   本文エリア
========================= */
.service-body{
    display:grid;
    grid-template-columns: 1fr 260px;
    gap:60px;
    align-items:center;
}

/* 逆配置 */
.service-body.reverse{
    grid-template-columns: 260px 1fr;
}

/* =========================
   テキスト
========================= */
.service-text{
    max-width:520px;
}

.service-text p{
    font-size:15px;
    line-height:1.9;
    color: var(--color-neutral-surface);
}

/* =========================
   画像（アクセント）
========================= */
.service-image{
    transform: translateY(40px); /* ズラす */
}

.service-body.reverse .service-image{
    transform: translateY(-40px);
}

.service-image img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius: 30px;
}

/* =========================
   スマホ
========================= */
@media (max-width:768px){

.service{
    padding:100px 0;
}

.service-inner{
    width:90%;
    gap:100px;
}

.service-head{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.service-num{
    font-size:70px;
}

.service-body,
.service-body.reverse{
    grid-template-columns:1fr;
    gap: 20px;
}

.service-image{
    transform:none;
}
  .service-header{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 100px 20px;
}
.service-header h2{
    font-size:40px;
    letter-spacing:0.1em;
    color: var(--color-accent);
}

.service-header p{
    font-size:18px;
    font-weight:600;
}
  .service-block{
    display:flex;
    flex-direction:column;
    gap:0px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.service-illust{
    position: absolute;
    top: -30px;
    right: 0px;
    width: 160px;
    pointer-events: none;
    z-index: 0;
}

/* 画像 */
.service-illust img{
    width: 100%;
    height: auto;
}

/* 偶数だけ位置変える */
.service-block:nth-child(2) .service-illust{
    right: 0;
    top: auto;
    bottom: -50px;
    z-index: 2;
}

.service-block:nth-child(3) .service-illust{
    right: -0px;
    top: -30px;
}

/* =========================
   少しだけ動かす（上品に）
========================= */
.service-block:hover .service-illust{
  rotate: -10deg;
}
}


.about-ceo{
  max-width:1200px;
  margin:100px auto;
  padding:0 40px;
  position:relative;
}

/* ===== 横並び ===== */
.about-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

/* =======================
   テキスト側
======================= */
.about-content{
  position:relative;
  flex:1;
  max-width:520px;
  z-index:2;
}

.about-name{
  font-size:42px;
  margin-bottom:15px;
  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.9;
}

/* テキスト背面の図形 */
.shape-text{
  position:absolute;
  top:-150px;
  left:-160px;
  width:420px;
  height:420px;
  background:var(--color-accent-light-50);
  -webkit-mask: url('../img/shape3.webp') no-repeat center / contain;
  mask: url('../img/shape3.webp') no-repeat center / contain;
  z-index:-1;
}


/* =======================
   画像側
======================= */
.about-image-wrap{
  position:relative;
  flex:1;
  display:flex;
  justify-content:flex-end;
}

/* 背面図形（右上） */
.shape-image{
  position:absolute;
  top:-60px;
  right:-40px;
  width:260px;
  height:260px;
  background:var(--color-secondary-light-70);
  -webkit-mask: url('../img/shape2.webp') no-repeat center / contain;
  mask: url('../img/shape2.webp') no-repeat center / contain;
  z-index:1;
}

/* マスク画像 */
/* マスクコンテナにする */
.about-image{
  width:100%;
  max-width:520px;
  position:relative;
  z-index:2;
  aspect-ratio: 4 / 5; /* ←これ重要（形安定させる） */
  
  -webkit-mask: url('../img/menu.webp') no-repeat center / contain;
  mask: url('../img/menu.webp') no-repeat center / contain;

  overflow:hidden;
}

/* 中の画像をフィットさせる */
.about-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* =======================
   SP対応
======================= */
@media(max-width:768px){
.about-ceo{
  max-width:1200px;
  margin:50px auto 100px;
  padding:0 40px;
  position:relative;
}
  .about-inner{
    flex-direction:column;
    gap:20px;
  }
.about-image{
  width:100%;
  max-width:320px;
  position:relative;
  z-index:2;
  aspect-ratio: 4 / 5; /* ←これ重要（形安定させる） */
  
  -webkit-mask: url('../img/menu.webp') no-repeat center / contain;
  mask: url('../img/menu.webp') no-repeat center / contain;

  overflow:hidden;
}

  .about-image-wrap{
    order:-1;
    justify-content:center;
  }

  .about-content{
    max-width:100%;
    text-align:left;
  }

  .about-name{
    font-size:30px;
  }

  .shape-text{
    left:-130px;
    top: -80px;
    width:260px;
    height:260px;
  }

  .shape-image{
    top: -30px;
    right:-20px;
    width:220px;
    height:220px;
  }

}

.column{
  margin:120px 100px 120px 0;
  padding:100px 40px 100px 0;
  text-align:center;
  background-color: var(--color-text-white);
  border-radius: 0 100px 100px 0;
}
.column-inner2{
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== タイトル ===== */
.column-header{
  text-align: left;
  margin-top: -130px;
  margin-bottom:100px;
  margin-left: 40px;
}

.column-sub{
  font-size:64px;
  letter-spacing:2px;
  color: var(--color-neutral-light);
  margin-bottom:10px;
}

.column-title{
  font-size:34px;
  font-weight:600;
  margin-bottom:15px;
}

.column-desc{
  font-size:14px;
  color:var(--color-neutral-surface);
  line-height:1.8;
}

/* ===== カラム ===== */
.column-inner{
  display:flex;
  justify-content:center;
  gap:50px;
}

.column-item{
  width:30%;
}

/* ===== 丸画像エリア ===== */
.column-circle{
  position:relative;
  width:220px;
  height:220px;
  margin:0 auto 50px;
}

/* 背景の丸（ちょい大きい） */
.circle-bg{
  position:absolute;
  width:100%;
  height:100%;
  background:var(--color-secondary-light-10);
  border-radius:50%;

  /* ★これ追加 */
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) scale(1.3);
}

/* 画像（手前） */
.column-circle img{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  z-index:2;
  transition:0.4s;

  /* ★これ追加 */
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}


/* ===== テキスト ===== */
.column-name{
  font-size:28px;
  margin-bottom:10px;
  color:var(--color-primary);
}

.column-text{
  font-size:14px;
  line-height:1.8;
  color:var(--color-neutral-surface);
}

/* ===== レスポンシブ ===== */
@media(max-width:768px){

  .column{
    margin:260px auto 100px;
    padding:0 25px 80px;
  }
.column-header{
  text-align: left;
  margin-top: -130px;
  padding-top: 40px;
  margin-bottom:100px;
  margin-left: 40px;
}

  .column-inner{
    flex-direction:column;
    gap:50px;
  }

  .column-item{
    width:100%;
  }

  .column-circle{
    width:150px;
    height:150px;
  }

  .column-title{
    font-size:26px;
  }
}
@media(max-width:500px){
.column{
  text-align:center;
  background-color: var(--color-text-white);
  border-radius: 0 50px 50px 0;
}
  .column-header{
    margin-left: 20px;
  }
.column-sub{
  font-size:34px;
  letter-spacing:2px;
  color: var(--color-neutral-light);
  margin-bottom:10px;
}

.column-title{
  font-size:25px;
  font-weight:600;
  margin-bottom:15px;
}
  .column-inner{
    flex-direction:column;
    gap:80px;
  }

}

/* ===== News ===== */
.news-section{
  padding:120px 20px;

  background: var(--color-text-white); /* 中身の背景 */

  border:5px solid var(--color-accent); /* ←枠線 */
  border-radius:50px; /* ←ちょい丸 */

  max-width:1100px;
  margin:80px auto;

  position:relative;
}

.news-inner{
  max-width:900px;
  margin:0 auto;
  position: relative;
  z-index: 5;
}

/* ===== タイトル ===== */
.news-header{
  margin-bottom:80px;
}

.news-title{
  font-size:56px;
  font-weight:900;
  letter-spacing:4px;
  color:var(--color-primary);
}

.news-sub{
  font-size:12px;
  margin-top:8px;
  color: var(--color-neutral-surface);
}

/* ===== リスト ===== */
.news-list{
  list-style:none;
  padding:0;
}

/* ===== 行 ===== */
.news-item{
  border-bottom:1px solid  var(--color-text-gray);
}

.news-item a{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* 横ライン */
.news-line{
  display:grid;
  grid-template-columns:120px 1fr 100px;
  align-items:center;
  padding:26px 0;
  gap:20px;
  transition:0.3s;
}

/* hover（ここが肝） */
.news-item:hover .news-line{
  transform:translateX(8px);
}

/* 日付 */
.news-date{
  font-size:12px;
  color: var(--color-neutral-surface);
  letter-spacing:1px;
}

/* テキスト */
.news-text{
  font-size:16px;
  font-weight:500;
  line-height:1.6;
}

/* カテゴリ */
.news-category{
  font-size:11px;
  text-align:right;
  letter-spacing:2px;
  color:var(--color-primary);
  font-weight:700;
}

/* ===== ボタン ===== */
.news-footer{
  margin-top:60px;
}

.news-more{
  display:inline-block;
  font-size:13px;
  letter-spacing:2px;
  color:var(--color-primary);
  text-decoration:none;
  position:relative;
}

/* 下線アニメ */
.news-more::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0%;
  height:2px;
  background:var(--color-accent);
  transition:0.3s;
}

.news-more:hover::after{
  width:100%;
}

/* ===== SP ===== */
@media(max-width:768px){
.news-section{
  padding:60px 20px;

  background: var(--color-text-white); /* 中身の背景 */

  border:5px solid var(--color-accent); /* ←枠線 */
  border-radius:30px; /* ←ちょい丸 */

  max-width:1100px;
  margin:80px 20px;

  position:relative;
}
  .news-title{
    font-size:36px;
  }

  .news-line{
    grid-template-columns:1fr;
    gap:6px;
  }

  .news-category{
    text-align:left;
  }

}



/* ===== 全体 ===== */
.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:48px;
  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:320px;
  transition:0.4s;
}

/* hover浮遊 */
.blog-card:hover{
  transform:translateY(-8px);
}

/* ===== 画像 ===== */
.blog-image{
  position:relative;
  overflow:hidden;
  border-radius:16px;
}

/* 画像 */
.blog-image img{
  width:100%;
  height:240px;
  object-fit:cover;
  transition:0.6s;
}

/* hoverズーム */
.blog-card:hover img{
  transform:scale(1.08);
}

/* 斜めアクセント */
.blog-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent 60%,
    rgba(0,0,0,0.15)
  );
  opacity:0;
  transition:0.4s;
}

.blog-card:hover .blog-image::after{
  opacity:1;
}

/* ===== コンテンツ ===== */
.blog-content{
  margin-top:-40px; /* ←画像に少しかぶせる */
  background:var(--color-text-white);
  padding:30px 20px 38px;
  border-radius:14px;
  position:relative;
  z-index:2;

  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  transition:0.3s;
}

/* hoverで浮く */
.blog-card:hover .blog-content{
  transform:translateY(-4px);
  box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

/* ===== 上部メタ情報 ===== */
.blog-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}

/* タグ（バッジ化） */
.blog-tag{
  font-size:10px;
  letter-spacing:1px;
  padding:4px 10px;
  border-radius:999px;
  background:var(--color-primary-light-30);
  color:var(--color-primary);
  font-weight:600;
}

/* 日付（弱く） */
.blog-date{
  font-size:11px;
  color:var(--color-text-muted);
  letter-spacing:0.5px;
}

/* ===== タイトル ===== */
.blog-content h3{
  font-size:17px;
  line-height:1.7;
  font-weight:600;
  color:#222;
  position:relative;
  padding-bottom:6px;
}

/* 下線アクセント */
.blog-content h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:30px;
  height:2px;
  background:var(--color-primary);
  transition:0.3s;
}

/* hoverで伸びる */
.blog-card:hover h3::after{
  width:30%;
}

/* 日付 */
.blog-date{
  font-size:12px;
  color:var(--color-neutral-surface);
}

/* dots全体 */
.blog-dots{
  display: flex;
  justify-content: center; /* ← 横中央 */
  align-items: center;
  gap: 10px;

  margin-top: 20px; /* スライダーとの余白 */
}

/* 1つ1つのdot */
.blog-dots span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-light-30);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* アクティブ */
.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;
  border:2px solid var(--color-primary);
}

.blog-more:hover{
  background: var(--color-text-white);
  color:var(--color-primary);
  border:2px 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-slider{
  max-width:1100px;
  margin:0 auto;
  overflow:hidden;
  padding: 20px 0 20px;
}
  .blog-track{
    gap:20px;
  }

  .blog-card{
    min-width:80%;
  }

  .blog-image img{
    height:220px;
  }
}



.svc-slider{
  padding:140px 40px;
  background: var(--color-text-white);
}

.svc-inner{
  max-width:1200px;
  margin:0 auto;
}

.svc-wrapper{
  position:relative;
}

.svc-item{
  display:flex;
  align-items:center;
  gap:80px;

  position:absolute;
  inset:0;

  opacity:0;
  visibility:hidden;
  transform:translateY(30px);
  transition:0.6s;
}

.svc-item.active{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  position:relative;
}

/* ===== 左 ===== */
.svc-left{
  width:40%;
  position:relative; /* ←これ重要 */
  padding:40px;
}

/* ===== イラスト ===== */
.svc-illust{
  position:absolute;
  width:120px;
  opacity:0;
  transform:scale(0.8) translateY(20px);
  transition:0.6s;
  pointer-events:none;
}

/* 左上 */
.illust-tl{
  top:-40px;
  left:-30px;
}

/* 右下 */
.illust-br{
  bottom:-30px;
  right:-30px;
}

/* 表示時アニメーション */
.svc-item.active .svc-illust{
  opacity:1;
  transform:scale(1) translateY(0);
}

@keyframes illust-wiggle {
  0%   { transform:rotate(0deg); }
  15%  { transform:rotate(-6deg); }
  30%  { transform:rotate(6deg); }
  45%  { transform:rotate(-4deg); }
  60%  { transform:rotate(3deg); }
  75%  { transform:rotate(-2deg); }
  100% { transform:rotate(0deg); }
}

.svc-item.active .svc-illust{
  animation: illust-wiggle 5s ease-in-out infinite;
}
/* テキスト */
.svc-title{
  font-size:48px;
  font-weight:300;
  color:var(--color-primary);
  margin-bottom:10px;
}

.svc-sub{
  font-size:14px;
  margin-bottom:30px;
  color: var(--color-neutral-light);
}

.svc-desc{
  font-size:14px;
  line-height:2;
  margin-bottom:25px;
  color:var(--color-neutral-light);
}

.svc-more{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 20px;
  border-radius:50px;
  text-decoration:none;
  background:var(--color-primary);
  color:var(--color-text-white);
  transition:0.3s;
}

.svc-more:hover{
  transform:translateY(-2px);
  background:var(--color-secondary);
}

/* ===== 右 ===== */
.svc-right{
  flex:1;
}

.svc-right img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:20px;
}

/* ===== ボタン ===== */
.svc-controls{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-top:40px;
}

.svc-prev,
.svc-next{
  width:55px;
  height:55px;
  border-radius:50%;
  border:none;
  background:var(--color-primary);
  cursor:pointer;
  position:relative;
  transition:0.3s;
}

.svc-prev:hover,
.svc-next:hover{
  background:var(--color-secondary);
}

.svc-prev::before,
.svc-next::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:10px;
  height:10px;
  border-top:2px solid  var(--color-text-white);
  border-right:2px solid var(--color-text-white);
}

.svc-prev::before{
  transform:translate(-30%,-50%) rotate(-135deg);
}

.svc-next::before{
  transform:translate(-70%,-50%) rotate(45deg);
}

/* ===== SP ===== */
@media(max-width:768px){

  .svc-slider{
    padding:70px 20px;
  }

  .svc-item{
    flex-direction:column;
    gap:40px;
  }

  .svc-left{
    width:100%;
    padding:20px;
  }

  .svc-illust{
    width:80px;
  }

  .svc-right img{
    height:280px;
  }

  .svc-title{
    font-size:32px;
  }


  /* 左上 */
.illust-tl{
  top:0px;
  left:220px;
}

/* 右下 */
.illust-br{
  bottom:0px;
  right:30px;
}

}



.case{
  padding:120px 20px;
  background-color: var(--color-text-white);
  overflow:hidden;
}

/* header */
.case-header{
  text-align:center;
  margin-bottom:80px;
}

.case-title{
  font-size:48px;
  color:var(--color-primary);
}

.case-sub{
  opacity:.6;
}

/* slider */
.case-slider{
  position:relative;
  max-width:1200px;
  margin:auto;
}

.case-track{
  display:flex;
  transition:0.6s cubic-bezier(.77,0,.18,1);
  gap:0;
}

/* card */
.case-card{
  flex:0 0 100%;
  display:flex;
  align-items:center;
  gap:50px;

  padding:50px;

  border-radius:30px;

  background:rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);

  box-shadow:0 20px 60px rgba(0,0,0,0.08);

  transform:scale(.85);
  opacity:.3;
  filter:blur(2px);
  transition:0.6s;
}

/* active */
.case-card.active{
  transform:scale(1);
  opacity:1;
  filter:none;
}

/* image */
.case-image{
  width:50%;
  height:320px;
  overflow:hidden;
  border-radius:20px;
}

.case-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:1s;
}

.case-card.active .case-image img{
  transform:scale(1.1);
}

/* content */
.case-content{
  width:50%;
  position:relative;
}

.case-num{
  position:absolute;
  top:-40px;
  left:0;
  font-size:80px;
  color:rgba(0,0,0,0.05);
  font-weight:bold;
}

/* tag */
.case-tag{
  display:inline-block;
  background:var(--color-accent);
  color: var(--color-text-white);
  padding:5px 12px;
  border-radius:20px;
  font-size:12px;
  margin-bottom:15px;
}

.case-content h3{
  font-size:24px;
  margin-bottom:10px;
}

.case-text{
  font-size:14px;
  opacity:.7;
  margin-bottom:30px;
}

/* button */
.case-link{
  display:inline-block;
  padding:10px 25px;
  border-radius:30px;
  text-decoration:none;
  color: var(--color-text-white);
  background-color: var(--color-accent-50);
  transition:.3s;
}

.case-link:hover{
  transform:translateY(-3px);
}

/* arrows */
.case-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border:none;
  border-radius:50%;
  background:var(--color-text-white);
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  cursor:pointer;
  z-index:10;
  font-size: 20px;
}


.case-arrow.prev{
  left:-20px;
}
.case-arrow.prev::before{
  transform:rotate(-135deg);
}

.case-arrow.next{
  right:-20px;
}
.case-arrow.next::before{
  transform:rotate(45deg);
}

/* dots */
.case-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:40px;
}

.case-dots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background: var(--color-text-gray);
  transition:.3s;
}

.case-dots span.active{
  width:25px;
  border-radius:10px;
  background:var(--color-accent);
}

/* responsive */
@media(max-width:768px){
.case-header{
  text-align:center;
  margin-bottom:40px;
}
  .case-card{
    flex-direction:column;
    padding:25px;
  }

  .case-image{
    width:100%;
    height:200px;
  }

  .case-content{
    width:100%;
  }

  .case-num{
    font-size:50px;
    top:-20px;
  }

  .case-title{
    font-size:28px;
  }
.case{
  padding:60px 20px;
  background-color: var(--color-text-white);
  overflow:hidden;
}

}


/* =====================
   COMPANY
===================== */
.company-pop{
  max-width:1100px;
  margin:80px auto 120px;
  padding:0 40px;
}

/* ===== HEADER ===== */
.company-pop-header{
  text-align:center;
  margin-bottom:50px;
}

.company-pop-title{
  font-size:40px;
  letter-spacing:2px;
  color:var(--color-primary);
  font-weight:700;
  position:relative;
  display:inline-block;
}

.company-pop-title::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:60px;
  height:4px;
  background:var(--color-accent);
  border-radius:10px;
}

.company-pop-sub{
  margin-top:15px;
  font-size:12px;
  letter-spacing:3px;
  color:var(--color-text);
  opacity:0.6;
}

/* ===== LAYOUT ===== */
.company-pop-inner{
  display:flex;
  gap:50px;
  align-items:flex-start;
}

/* ===== MAP ===== */
.company-pop-map{
  width:50%;
}

.map-frame{
  height:420px;
  border-radius:20px;
  overflow:hidden;

  border:3px solid var(--color-primary);
  box-shadow:6px 6px 0 var(--color-accent);

  transition:0.5s;
}

.map-frame:hover{
  transform:translateY(-4px);
  box-shadow:10px 10px 0 var(--color-accent);
}

.map-frame iframe{
  width:100%;
  height:100%;
  border:0;
}

/* ===== INFO ===== */
.company-pop-info{
  width:50%;
}

/* GRID */
.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

/* CARD */
.info-card{
  background: var(--color-text-white);
  border:2px solid var(--color-primary);
  border-radius:16px;
  padding:16px 16px;

  position:relative;

  transition:0.25s;
}

/* ポップ影（アクセント） */
.info-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  background:var(--color-accent);
  z-index:-1;
  transform:translate(4px,4px);
  transition:0.5s;

}



.info-card:hover::after{
  transform:translate(6px,6px);
}

/* full */
.info-card.full{
  grid-column:span 2;
}

/* label */
.info-label{
  font-size:11px;
  letter-spacing:2px;
  color:var(--color-primary);
  margin-bottom:6px;
  font-weight:700;
}

/* value */
.info-value{
  font-size:14px;
  line-height:1.6;
  color:var(--color-text);
}

/* ===== BUTTON ===== */
.company-pop-btn-wrap{
  margin-top:25px;
  text-align:right;
}

.company-pop-btn{
  display:inline-block;
  padding:12px 22px;

  background:var(--color-primary);
  color: var(--color-text-white);

  border-radius:999px;
  text-decoration:none;
  font-size:14px;

  position:relative;
  transition:0.3s;

  box-shadow:4px 4px 0 var(--color-accent);
}

.company-pop-btn::after{
  content:"→";
  margin-left:8px;
  transition:0.3s;
}

.company-pop-btn:hover{
  transform:translateY(-2px);
  box-shadow:6px 6px 0 var(--color-accent);
}

.company-pop-btn:hover::after{
  transform:translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){

  .company-pop-inner{
    flex-direction:column;
  }

  .company-pop-map,
  .company-pop-info{
    width:100%;
  }

  .map-frame{
    height:260px;
  }

  .info-grid{
    grid-template-columns:1fr;
  }

  .info-card.full{
    grid-column:auto;
  }

  .company-pop-title{
    font-size:30px;
  }
}



/* =========================
   波 共通
========================= */
.wave-line{
  width:100%;
  height:80px;
  line-height:0;
  position: relative;
  z-index: 5;
}

.wave-line svg{
  width:100%;
  height:100%;
  display:block;
}
.wave-top{
  background-color: transparent;

}
.wave-bottom{
  background-color: transparent;

}


@media(max-width:768px){

.wave-line{
  width:100%;
  height:40px;
  line-height:0;
  position: relative;
  z-index: 5;
}
}

/* テーマ色変更 */


.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:#4a81a3; }
button[data-theme="green"]{ background:#b07a8c; }
button[data-theme="dark"]{ background:#b8744a; }

/* 閉じる */
.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);
  }
}