@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;
  justify-content:center;
  align-items:center;
  height:100vh;
  position:relative;
  overflow: hidden;
}

.visual{
  width:1000vmin;      /* 丸を大きく */
  height:1000vmin;
  border-radius:50%;
  overflow:hidden;
  position:absolute;   /* 絶対配置 */
  left:50%;            /* 水平方向中央 */
  bottom:0;            /* 下端を画面下に */
  transform: translateX(-50%); /* 横方向だけ中央 */
  display:flex;
  justify-content:center;
  align-items:center;
}

.slider{
  width:100%;
  height:100%;
  position:relative;
}

.slide{
  position: absolute;
  bottom: 0;          /* 下に寄せる */
  left: 50%;          /* 横中央 */
  transform: translateX(-50%); /* 横方向中央に調整 */
  
  width: 100vw;        /* 横幅は自動 */
  height: 100vh;      /* 高さは画面高さ */
  
  object-fit: cover;       /* 画像全体を表示 */
  object-position: bottom;   /* 下寄せ */
  
  opacity: 0;
  transition: opacity 1s ease;
  filter: brightness(0.6); /* 少し暗く */
}
.slide.active{
  opacity:1;
}

/* --- トップテキスト --- */
.top-text{
  position: absolute;
  top: 55%;
  left: 10%;
  text-align: left;
  color: white;
  z-index: 10;
  width: 600px;
  font-size: 2em;
  padding: 30px;
}
.top-text p{
  text-align: right;
}

.top-text h1,
.top-text p{
  position: relative;
  z-index: 2; /* ← これが重要 */
}
/* =========================
   □（枠線アニメーション）
========================= */

.accent{
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 9;
}

/* 左上（実際は起点になる） */
.top-left{
  top: -10%;
  left: -5%;
}

/* 右下 */
.bottom-right{
  bottom: -10%;
  right: -5%;
}

/* 線を疑似要素で描く */
.accent::before,
.accent::after{
  content:"";
  position:absolute;
  background:white;
}

/* 横線 */
.accent::before{
  height:2px;
  width:0;
}

/* 縦線 */
.accent::after{
  width:2px;
  height:0;
}

/* --- 左の□（最初に描画）--- */
.top-left::before{
  top:0;
  left:0;
  animation: drawX 0.6s ease forwards;
}

.top-left::after{
  top:0;
  left:0;
  animation: drawY 0.6s ease 0.6s forwards;
}

/* --- 右の□（少し遅れて描画）--- */
.bottom-right::before{
  bottom:0;
  right:0;
  animation: drawX 0.6s ease 1.2s forwards;
}

.bottom-right::after{
  bottom:0;
  right:0;
  animation: drawY 0.6s ease 1.8s forwards;
}

/* 横線 */
@keyframes drawX{
  from{ width:0; }
  to{ width:50px; }
}

/* 縦線 */
@keyframes drawY{
  from{ height:0; }
  to{ height:50px; }
}

/* =========================
   背景が伸びる演出
========================= */

.bg-extend{
  position:absolute;
  top:0;
  left:0;
  width:0;
  height:100%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  z-index: 1; /* ← 下げる */
  animation: bgExpand 1s ease 2.5s forwards;
}

@keyframes bgExpand{
  from{
    width:0;
  }
  to{
    width:100%;
  }
}




/* スクロール文字（トップビュー内に固定） */
.scroll-text {
  position: absolute;   /* ← fixed → absolute に変更 */
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  z-index: 10;
  text-align: center;
}

/* 縦線 */
.scroll-line {
  position: absolute;   /* ← fixed → absolute に変更 */
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: white;
  z-index: 10;
  animation: lineGrow 2.5s ease-in-out infinite;
}

@keyframes lineGrow {
  0% { height: 0; opacity: 0; }
  50% { height: 30px; opacity: 1; }
  100% { height: 0; opacity: 0; }
}


/* デフォルト：PC表示 */
.sp{
  display: none;
}

/* =========================
   タブレット
========================= */
@media (max-width: 1024px){

  .top-text{
    left: 10%;
    top: 60%;
    width: 80%;
    font-size: 1.6em;
  }

  .top-left{
    top: -15%;
    left: -5%;
  }

  .bottom-right{
    bottom: -15%;
    right: -5%;
  }
}
/* =========================
   スマホ
========================= */
@media (max-width: 768px){

  .top-text{
    top: 60%;
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    width: 85%;
    text-align: center;
    font-size: 1em;
    padding: 20px;
  }

  .top-text p{
    text-align: center;
    margin-top: 10px;
  }

  /* アクセント縮小 */
  .accent{
    width: 30px;
    height: 30px;
  }

  .top-left{
    top: -10%;
    left: -5%;
  }

  .bottom-right{
    bottom: -10%;
    right: -5%;
  }

  /* スクロール位置少し上げる */
  .scroll-text{
    bottom: 40px;
    font-size: 0.9rem;
  }

  .scroll-line{
    height: 40px;
  }

    .pc{
    display: none;
  }
  .sp{
    display: block;
  }
}







/* =========================
   FEATURE
========================= */
.feature{
  position:relative;
  padding:120px 20px 0;

  max-width:1200px;
  margin:0 auto;
}

/* ===== タイトル ===== */
.feature-header{
  display:flex;
  align-items:center;
  margin-bottom:80px;
}

.feature-header h2{
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}

/* ===== 共通タイトル装飾 ===== */
.js-line-animate{
  position:relative;
  padding-left:20px;
}

/* 線（初期：0） */
.js-line-animate::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:6px;
  height:0;
  background:var(--color-primary);
  border-radius:10px;

  transition:height 0.6s ease;
}

/* 発火 */
.js-line-animate.is-active::before{
  height:100%;
}

/* 表示されたら伸びる */
.feature-header h2.is-active::before{
  height:100%;
}


.feature-header p{
    font-size:18px;
    font-weight:600;
}

.feature-bg-circle{
  position:absolute;
  width:600px;
  height:600px;
  border:100px solid var(--color-secondary);
  border-radius:50%;

  left:-30%;
  top:45%;
  transform:translateY(-50%);

  z-index:0;
}

/* =========================
   layout
========================= */
.feature-item{
    display:flex;
    flex-direction: column;
    gap:60px;

    width:100%;
    max-width:550px;

    margin-bottom:160px;
    position:relative;
    z-index:1;
}

.feature-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:0px 80px;
}


/* 1 → 右上 */
.feature-item:nth-child(1){
  grid-column:2;
  grid-row:1;
}

/* 2 → 左（食い込ませる） */
.feature-item:nth-child(2){
  grid-column:1;
  grid-row:2;

  margin-top:-70%; /* ←ここがキモ */
}

/* 3 → 右下 */
.feature-item:nth-child(3){
    grid-column:2;
    grid-row:3;
    margin-top:-70%; /* ←ここがキモ */
}
/* =========================
   image
========================= */
.feature-image{
    flex:1;
    max-width:550px;
    border-radius: 15px;
    overflow: hidden;
}

/* 画像本体 */
.feature-image img{
    width:100%;
    display:block;
    position:relative;
}


/* =========================
   text
========================= */
.feature-text{
    position: relative;
    z-index: 2;
    max-width: 400px;
    background-color: var( --color-body);
    padding: 40px 10px 20px 0;
    border-radius: 0 20px 0 0;
    margin-top: -100px;
}
.feature-number{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 10px;
}

/* 数字 */
.feature-number .num{
  font-size:20px;
  font-weight:700;
  color:var(--color-primary);
  line-height:1;

  /* アクセント背景 */
  background:var( --color-text-almost-white);
  padding:8px 14px;
  border-radius:8px;
}

/* FEATURE文字 */
.feature-number .label{
  font-size:12px;
  letter-spacing:0.2em;
  color: var(--color-primary);
  font-weight:600;
}


.feature-text h3{
    font-size:28px;
    margin-bottom:20px;
    line-height:1.6;

    /* ★指定 */
    color: var(--color-neutral-light);
}

.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:60px 20px;
  }

  /* タイトル */
  .feature-header{
    margin-bottom:50px;
  }

  .feature-header h2{
    font-size:32px;
  }

  /* ===== Grid解除 ===== */
  .feature-inner{
    display:block;
  }

  /* ===== 各カード ===== */
  .feature-item{
    max-width:100%;
    margin:0 auto 80px;
    gap:25px;
  }

  /* ★ 全てリセット（超重要） */
  .feature-item:nth-child(1),
  .feature-item:nth-child(2),
  .feature-item:nth-child(3){
    grid-column:auto;
    grid-row:auto;
    margin-top:0;
  }

  /* ===== 画像 ===== */
  .feature-image{
    max-width:100%;
  }

  /* ===== テキスト ===== */
  .feature-text{
    max-width:100%;
    margin-top:-50px; /* ちょい被せるだけ */
    padding:25px 15px;
    border-radius:15px;
  }

  .feature-text h3{
    font-size:20px;
  }

  .feature-text p{
    font-size:14px;
  }

  /* ===== 背景の円 ===== */
  .feature-bg-circle{
    width:300px;
    height:300px;
    border-width:50px;

    left:-120px;
    top:30%;
    transform:none;

  }

}

/* =========================
   SERVICE
========================= */
.service {
  padding: 100px 0;
  position: relative;
}

/* タイトル中央 */
.service-header {
  text-align: center;
  margin-bottom: 80px;
}

.service-header h2{
    display: inline-block;
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}


/* 横並び */
.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}

/* 逆配置 */
.service-item.reverse {
  flex-direction: row-reverse;
}

/* 画像 */
.service-image {
  width: 50%;
}

.service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* 左にくっつく（右だけ角丸） */
.service-image.left img {
  border-radius: 0 20px 20px 0;
}

/* 右にくっつく（左だけ角丸） */
.service-image.right img {
  border-radius: 20px 0 0 20px;
}

.service-text h3 {
  font-size: 30px;
  margin-bottom: 15px;
  line-height: 1.5;
  color: var(--color-neutral-light);
}


/* ===== SERVICE TEXT（進化版） ===== */
.service-text {
  position: relative;
  z-index: 2;
  max-width: 480px;
      display: flex;
  flex-direction: column;
  background: var(--color-body);
  padding: 40px 30px 30px;

  /* 角のニュアンス強化 */
  border-radius: 0 30px 0 0;


  /* 影で浮かせる */
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* 逆側のとき（右配置） */
.service-item.reverse .service-text {
  border-radius: 30px 0 0 0;
}
.service-number {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.service-number .num {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);

  background: var(--color-text-almost-white);
  padding: 10px 16px;
  border-radius: 10px;
}

.service-number .label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  font-weight: 600;
}
/* リード文（追加） */
.service-lead {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #444;
}

/* 本文 */
.service-text p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-neutral-surface);
}
/* 左上にラインアクセント */
.service-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
}

/* reverse時は右に */
.service-item.reverse .service-text::before {
  left: auto;
  right: 0;
}
.service-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: var(--color-primary);
  transition: 0.3s;
  border-radius: 25px;
    align-self: flex-end;
    font-weight: bold;
}

.service-btn:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
}


/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 768px) {

  .service {
    padding: 70px 0;
  }

  /* タイトル */
  .service-header {
    margin-bottom: 50px;
  }

  .service-header h2 {
    font-size: 28px;
    padding-left: 15px;
  }

  .service-header h2::before {
    width: 4px;
  }

  /* 縦並び */
  .service-item {
    flex-direction: column;
    margin-bottom: 80px;
  }

  /* reverse無効（全部同じ流れにする） */
  .service-item.reverse {
    flex-direction: column;
  }

/* 画像 */
.service-image {
  width: 90%;
}

/* 左寄せ */
.service-image.left {
  margin-right: auto;
}

/* 右寄せ */
.service-image.right {
  margin-left: auto;
}

  .service-image img {
    height: 250px;
    border-radius: 0; /* ←SPは角丸消すと綺麗 */
  }

  /* 左にくっつく（右だけ角丸） */
.service-image.left img {
  border-radius: 0 20px 0px 0;
}

/* 右にくっつく（左だけ角丸） */
.service-image.right img {
  border-radius: 20px 0 0 0px;
}


  .service-header h2{
    font-size:32px;
  }

  /* テキスト */
  .service-text {
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 0px;
  }

  /* アクセントライン中央寄せ風 */
  .service-text::before {
    width: 40px;
  }

  /* タイトル */
  .service-text h3 {
    font-size: 22px;
  }

  /* 本文 */
  .service-text p {
    font-size: 13px;
  }

  /* ボタン中央 */
  .service-btn {
    align-self: center;
    margin-top: 20px;
  }

}


.about-ceo{
  margin:80px auto 120px;
  position:relative;
    padding-bottom: 40px;

}

/* ===== 画像 ===== */
.about-visual{
  position:relative;
  z-index: 2;
}

.about-visual img{
  width:100%;
  max-height: 500px;
  height:auto;
  display:block;
  position: relative;
  z-index: 1;
  object-fit: cover;
}

/* =========================
   右上アクセント（角丸四角）
========================= */
.about-accent{
  position:absolute;

  width:500px;
  height:500px;

  background:var(--color-accent);
  border-radius:40px;

  /* 右上配置 */
  right:80px;
  top:-300px;
  rotate: -10deg;

  /* 下にはみ出させる */
  transform:translateY(40%);

  z-index:0;
}

/* ===== 左下の白ボックス ===== */
.about-box{
  position:absolute;
  bottom:-60px;
  left:0;
  width:85%;
  height:180px;
  background: var(--color-body);

  /* 右上だけ角丸 */
  border-top-right-radius:40px;

  z-index:1;
}

.about-content{
  position:relative;
  max-width: 85%;
  width: 100%;
  padding: 0 20px 30px 40px;
  z-index:2;
  margin-left:0;
  border-bottom-right-radius:40px;
}

/* 外側ボーダー */
.about-content::after{
  content:"";
  position:absolute;

  /* 外に広げる */
  top: 0;
  left:-3px;
  right:-3px;
  bottom:-3px;

  border-right:3px solid var(--color-primary);
  border-bottom:3px solid var(--color-primary);

  border-bottom-right-radius:45px; /* 少し大きく */

  z-index:-1; /* 背面に回す */
}
/* ===== 上のラベル ===== */
.about-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:15px;
}

.about-label{
  font-size:12px;
  letter-spacing:0.2em;
  color:var(--color-primary);
  font-weight:600;

  background:var(--color-text-almost-white);
  padding:6px 12px;
  border-radius:6px;
}

.about-role{
  font-size:13px;
  color:var(--color-primary-light-70);
}

/* ===== タイトル ===== */
.about-name{
  font-size:36px;
  line-height:1.5;
  margin-bottom:20px;
  padding-left:20px;
  position:relative;
  color:var(--color-neutral-surface);
}

/* 左の縦ライン */
.about-name::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:5px;
  height:100%;
  background:var(--color-primary);
  border-radius:10px;
}

/* ===== テキスト ===== */
.about-text{
  font-size:15px;
  line-height:1.9;
  color:var(--color-neutral-surface);
  margin-bottom:15px;
}


@media(max-width:768px){

  .about-ceo{
    margin:40px auto;
  }

  .about-box{
    height:100px;
    bottom:-40px;
  }

  .about-name{
    font-size:28px;
  }

  /* =========================
   右上アクセント（角丸四角）
========================= */
.about-accent{
  position:absolute;

  width:300px;
  height:300px;
  border-radius:40px;

  /* 右上配置 */
  right:60px;
  top:-180px;
  rotate: -5deg;

  /* 下にはみ出させる */
  transform:translateY(40%);

  z-index:0;
}
}

@media(max-width:500px){

  .about-box{
    width:90%;
    height:90px;
    border-top-right-radius:20px;
  }


  .about-name{
    font-size:22px;
  }
  .about-content{
  position:relative;
  max-width: 90%;
  width: 100%;
  padding: 0 20px 30px 40px;
  z-index:2;
  margin-left:0;
  border-bottom-right-radius:20px;
}
/* 外側ボーダー */
.about-content::after{
  content:"";
  position:absolute;

  /* 外に広げる */
  top: 0;
  left:-3px;
  right:-3px;
  bottom:-3px;

  border-right:3px solid var(--color-primary);
  border-bottom:3px solid var(--color-primary);

  border-bottom-right-radius:25px; /* 少し大きく */

  z-index:-1; /* 背面に回す */
}

}


/* =========================
   COLUMN（ミニマル版）
========================= */

.column{
  max-width:1100px;
  margin:140px auto;
  padding:0 40px;
  text-align:center;
}

.column-inner{
  display:flex;
  justify-content:center;
  gap:60px;
}


.column-header{
  display:flex;
  align-items:center;
  margin-bottom:80px;
}

.column-header h2{
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}





/* =========================
   カード（超シンプル）
========================= */
.column-item{
  width:30%;
  padding:0 10px;
  transition:0.3s;
}

/* 段差 */
.column-item:nth-child(2){
  margin-top:40px;
}
.column-item:nth-child(3){
  margin-top:80px;
}

/* hoverは控えめ */
.column-item:hover{
  transform:translateY(-8px);
}

/* =========================
   丸
========================= */
.column-circle{
  position:relative;
  width:200px;
  height:200px;
  margin:0 auto 40px;
}

/* 背景リング（←ここがポイント） */
.circle-bg{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  border:1px solid var(--color-primary);
  top:0;
  left:0;
  transition:0.3s;
}

/* 画像 */
.column-circle img{
  position:absolute;
  width:90%;
  height:90%;
  object-fit:cover;
  border-radius:50%;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}

/* hoverでリングだけ少し広がる */
.column-item:hover .circle-bg{
  transform:scale(1.08);
  opacity:0.6;
}

/* =========================
   テキスト
========================= */
.column-name{
  font-size:24px;
  margin-bottom:12px;
  color:var(--color-primary);
  letter-spacing:0.08em;
}

/* =========================
   タイトル下線（逆配色＋角丸バー）
========================= */
.column-name::after{
  content:"";
  display:block;

  width:40px;
  height:3px;                 /* ←太さアップ */
  margin:12px auto 0;

  background:var(--color-neutral-light); /* ←タイトルと逆色 */
  border-radius:10px;         /* ←角丸 */

  transition:0.3s;
}

/* hoverで少し伸びる（気持ちいい） */
.column-item:hover .column-name::after{
  width:60px;
}

.column-text{
  font-size:14px;
  line-height:1.9;
  color:var(--color-neutral-surface);
  max-width:260px;
  margin:0 auto;
}

/* =========================
   レスポンシブ
========================= */
@media(max-width:768px){

  .column{
    margin:80px auto;
    padding:0 25px;
  }

  .column-inner{
    flex-direction:column;
    gap:40px;
  }

  .column-item{
    width:100%;
    margin-top:0 !important;
  }

  .column-circle{
    width:150px;
    height:150px;
  }
  .column-header{
  margin-bottom: 40px;
}
  .column-header h2{
  font-size:32px;
}

}



/* ===== 全体 ===== */
.news-section{
  padding:120px 20px 300px;
}

.news-inner{
  max-width:1000px;
  margin:0 auto;
  position:relative;
}




/* 画像 */
.news-visual{
  width:40%; /* ←そのままでOK */
}

.news-visual img{
  width:100%;
  height:600px;
  object-fit:cover;
  border-radius:20px;
}

/* ニュース */
.news-content{
  position:absolute;
  right:0;
  top:90%;
  transform:translateY(-50%);

  width:700px;
  padding:60px;
  background:var(--color-body);
  border-radius:20px;
}

/* 右下アクセント */
.news-content::after{
  content:"";
  position:absolute;
  right:-15px;
  bottom:-15px;

  width:120px;
  height:120px;

  border-right:4px solid var(--color-secondary);
  border-bottom:4px solid var(--color-secondary);

  border-radius:0 0 20px 0; /* 角丸に合わせる */
}

/* ===== タイトル ===== */
.news-header{
  display:flex;
  align-items:center;
}



.news-header h2{
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}


.news-title{
  font-size:36px;
  color:var(--color-primary);
}

.news-sub{
  font-size:12px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--color-primary);
  margin-left:20px;
  position:relative;
}

.news-list{
  list-style: none;
}

/* 横線つけると一気にそれっぽい */
.news-sub::before{
  content:"";
  position:absolute;
  left:-15px;
  top:50%;
  transform:translateY(-50%);
  width:8px;
  height:1px;
  background:var(--color-primary);
}


.news-more{
  display:inline-block;
  padding:10px 30px;
  border-radius:999px;
  border:2px solid var(--color-primary);
  color:var(--color-primary);
  text-decoration:none;
  font-size:18px;
  letter-spacing:0.15em;
  position:relative;
  overflow:hidden;
  transition:.3s;
}

/* 中の背景アニメ */
.news-more::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:0;
  height:100%;
  background:var(--color-primary);
  transition:.3s;
  z-index:-1;
}

.news-more:hover{
  color:var(--color-text-white);
}

.news-more:hover::before{
  width:100%;
}


/* ===== リスト ===== */
.news-item{
  border-bottom:1px dotted var(--color-text-gray);
}

.news-item a{
  display:block;
  padding:20px 0;
}

/* 上段 */
.news-meta{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:18px;
}

/* 日付 */
.news-date{
  font-size:15px;
  color: var(--color-neutral-surface);
}

/* カテゴリ */
.news-category{
  font-size:12px;
  padding:3px 10px;
  border-radius:999px;
  background:var(--color-primary);
  color: var(--color-text-white);
}

/* 下段テキスト */
.news-text{
  font-size:186x;
  line-height:1.6;
  color: var(--color-text);
  margin-bottom: 15px;
}

/* ===== ボタン ===== */
.news-footer{
  margin-top:30px;
  text-align:right;
}

/* =========================
   SP
========================= */
@media (max-width:768px){

  .news-inner{
    flex-direction:column;
  }

  /* 画像 */
  .news-visual{
    width:100%;
  }

  .news-visual img{
    height:260px;
  }

  /* ← ここ超重要 */
  .news-content{
    position:relative; /* absolute解除 */
    top:auto;
    right:auto;
    transform:none;

    width:100%;
    max-width:none;

    margin-top:-60px; /* 少し重ねる */
    padding:30px 20px;
  border-radius:0 0 20px 20px;

  }

  .news-content::after{
    display:none; /* SPでは消すと綺麗 */
  }

  .news-header h2{
    font-size:28px;
  }
/* ===== 全体 ===== */
.news-section{
  padding:120px 20px 50px;
}
}

.blog{
  margin:120px 0;
  padding:0 0 0 40px;
  position:relative; /* ← 追加 */
  overflow:hidden;   /* ← はみ出し制御 */
}

/* 左の円アクセント */
.blog::before{
  content:"";
  position:absolute;
  left:-280px;
  top:30%;
  transform:translateY(-50%);

  width:380px;
  height:380px;
  border-radius:50%;
  background:var(--color-secondary);
  z-index:0;
}

/* 中身を前に出す */
.blog > *{
  position:relative;
  z-index:1;
}

/* ===== タイトル ===== */
.blog-header{
  max-width:1100px;
    margin: 0 auto 20px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
}

.blog-header h2{
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}

.blog-title{
  font-size:36px;
  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:46px;
  height:46px;
  border-radius:50%;
  border:1px solid var(--color-primary);
  background:var(--color-text-white);
  color:var(--color-primary);

  cursor:pointer;
  transition:0.3s;
}

/* ホバーで反転 */
.blog-btn:hover{
  background:var(--color-primary);
  color:var(--color-text-white);
  transform:translateY(-2px);
}

/* 押した時 */
.blog-btn:active{
  transform:scale(0.95);
}
/* ===== スライダー ===== */
.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-card:hover .blog-image::after{
  opacity:1;
}

.blog-content{
  margin-top:-30px;
  background:var(--color-text-white);
  padding:22px;
  border-radius: 0 0 14px 14px;
  position:relative;
}


/* タグ */
.blog-tag{
  font-size:10px;
  padding:4px 10px;
  border-radius:999px;

  background:var(--color-primary-light-10); /* ← 薄グレー */
  color:var(--color-primary);

  display:inline-block;
  margin-bottom:10px;
  font-weight:600;
}
/* タイトル */
.blog-content h3{
  font-size:16px;
  font-weight:600;
  line-height:1.6;
  margin-bottom:6px;
}

.blog-date{
  font-size:11px;
  color:var(--color-neutral-surface);
  letter-spacing:0.05em;
  text-align: right;
}
/* タイトルラインアニメ */
.blog-content h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:2px;
  background:var(--color-primary);
  transition:0.4s;
}

.blog-card:hover h3::after{
  width:100%;
}

/* 日付 */
.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;
}

.blog-more:hover{
  background:var(--color-text-white);
  color:var(--color-primary);
  border:1px solid var(--color-primary);
}


/* 左アクセント */
.blog-content::before{
  content:"";
  position:absolute;
  left:0;
  top:0;

  width:2px;
  height:100%;
  background:var(--color-primary);
  border-radius:3px;

  /* アニメーション用 */
  transform-origin: bottom; /* ← 下基準 */
  transform: scaleY(1);

  transition:0.4s ease;
}

/* hoverで下から消える */
.blog-card:hover .blog-content::before{
  transform: scaleY(0);
}
/* ===== 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-header h2{
    font-size: 32px;
  }

  .blog-track{
    gap:20px;
  }

  .blog-card{
    min-width:80%;
  }

  .blog-image img{
    height:180px;
  }

  /* 左の円アクセント */
.blog::before{
  content:"";
  position:absolute;
  left:-280px;
  top:50%;
  transform:translateY(-50%);

  width:380px;
  height:380px;
  border-radius:50%;
  background:var(--color-secondary);
  z-index:0;
}
}



.svc-slider{
  background:var(--color-primary);
  padding:150px 40px;
  color:var(--color-text-white);
}

.svc-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:80px;
}

/* ===== 左 ===== */
.svc-left{
  width:40%;
  max-width: 400px;
}

.svc-title{
  font-size:48px;
  font-weight:300;
  margin-bottom:10px;
}

.svc-sub{
  font-size:14px;
  margin-bottom:30px;
}

.svc-desc{
  font-size:14px;
  line-height:2;
  margin-bottom:20px;
  opacity:0.9;
}

.svc-more{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 14px;
  color: var(--color-text-white);
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

/* 矢印 */
.svc-more::after{
  content: "→";
  transition: transform 0.3s ease;
}

/* hover */
.svc-more:hover{
  background: rgba(255,255,255,0.1);
}

.svc-more:hover::after{
  transform: translateX(6px);
}

/* ===== 右 ===== */
.svc-right{
  flex:1;
  display:flex;
  justify-content:center;
}

/* 円全体 */
.svc-circle-wrap{
  position:relative;
  width:500px;
  height:500px;
}

/* 外側の円 */
.svc-circle-bg{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  background: var(--color-primary-light-90);
  transform:scale(1.2);
}

/* スライダー */
.svc-slider-container{
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:50%;
  position:relative;
  z-index:2;
}

.svc-track{
  display:flex;
  height:100%;
  transition: transform 0.5s ease;
}

.svc-slide{
  min-width:100%;
  height:100%;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.svc-slide img{
  width:80%;
  height:80%;
  object-fit:cover;
  border-radius:50%;
}

/* ここが今回のメイン */
.svc-slide p{
  position:absolute;
  bottom:25%;
  left:50%;
  transform:translateX(-50%);
  
  background:var(--color-primary-a70);
  color:var(--color-text-white);
  padding:6px 14px;
  border-radius:20px;
  
  font-size:14px;
  margin:0;
}

/* ===== 矢印 ===== */
.svc-prev,
.svc-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid var(--color-primary-light-30);
  background:transparent;
  color:var(--color-primary-light-30);
  cursor:pointer;
  z-index:3;
}

.svc-prev{
  left:0px;
}

.svc-next{
  right:0px;
}

/* ===== SP ===== */
@media(max-width:768px){
  .svc-slider{
  padding:120px 40px;
}

  .svc-inner{
    flex-direction:column;
    gap:90px;
  }

  .svc-left{
    width:100%;
  }

  .svc-circle-wrap{
    width:300px;
    height:300px;
  }

  .svc-title{
    font-size:36px;
  }
  .svc-prev{
  left:-20px;
}

.svc-next{
  right:-20px;
}
}



.case{
  padding:100px 20px;
  overflow:hidden;
    position:relative;
}

/* 背景テキスト */
.case::before{
  content:"SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT ";

  position:absolute;
  top:200px; /* ← タイトルとスライダーの間 */
  left:0;

  white-space:nowrap;
  font-size:220px;
  font-weight:700;
  letter-spacing:0em;

  color:transparent;
  -webkit-text-stroke:1px rgba(0,0,0,0.08); /* ← 輪郭だけ */

  z-index:0;
  pointer-events:none;

  animation:caseFlow 30s linear infinite;
}

@keyframes caseFlow{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

.case-header{
    display:flex;
  align-items:center;
  margin:60px auto 180px;
  max-width: 1000px;
}

.case-header h2{
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}



/* スライダー */
.case-slider{
  position:relative;
  max-width:1200px;
  margin:0 auto;
    position:relative;
  z-index:1;
}

.case-track{
  display:flex;
    gap:40px;
  transition:0.5s;
  align-items:stretch;
}

/* カードを横並びに */
.case-card{
  display: flex;           /* ← これが本体 */
  align-items: center;
  gap: 25px;

  flex:0 0 900px;          /* 横に広げる */
  margin:0;
  padding: 25px;

  background:var(--color-text-white);
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);

  transform:scale(0.9);
  opacity:0.6;
  transition:0.4s;
}

/* 中央強調 */
.case-card.active{
  transform:scale(1);
  opacity:1;
}

/* 画像 */
.case-image{
  width:55%;
  height:260px;
  overflow:hidden;
  border-radius: 30px;

}

.case-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.case-content{
  width:45%;
  display:flex;
  flex-direction:column;
  gap:12px; /* ← これが超重要 */

  padding-right:10px;
}

.case-tag{
  font-size:13px;
  letter-spacing:0.08em;

  color:var(--color-text);
  background:transparent; /* ← 塗りやめる */

  padding:0;
  margin-bottom:0;

  position:relative;
}

/* 左にちょいアクセント */
.case-tag::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--color-primary);
  border-radius:50%;
  margin-right:6px;
  transform:translateY(-1px);
}

.case-content h3{
  font-size:22px;
  font-weight:600;
  line-height:1.5;

  margin:0;
}

.case-text{
  font-size:13px;
  line-height:1.7;
  color:var(--color-text);

  margin:0;

  /* 2行で切る（重要） */
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.case-link{
  margin-top:auto;
  align-self:flex-end; /* ← 左に変える（重要） */

  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top: 15px;
  font-size:12px;
  font-weight:600;

  color:var(--color-primary);
  text-decoration:none;

  padding:6px 0;

  border:none; /* ← 枠消す */
  border-radius:0;

  position:relative;
}

/* 下線アニメ */
.case-link::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;

  width:0%;
  height:1px;
  background:var(--color-primary);

  transition:0.3s;
}

/* 矢印 */
.case-link::after{
  content:"→";
  transition:0.3s;
}

/* hover */
.case-link:hover::before{
  width:100%;
}

.case-link:hover::after{
  transform:translateX(4px);
}

/* 矢印 */
.case-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:45px;
  height:45px;
  border-radius:50%;
  border:none;
  background: var(--color-primary);
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
  cursor:pointer;
  z-index:10;

  /* 👇 これ追加 */
  display:flex;
  align-items:center;
  justify-content:center;
  padding-bottom: 10px;
  font-size: 30px;
  color: var(--color-text-white);
  line-height:1; /* ← これも重要 */
}

.case-arrow.prev{
  left:0px;
}

.case-arrow.next{
  right:0px;
  left:auto;
}

/* dots */
.case-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:50px;
}

.case-dots span{
  width:15px;
  height:15px;
  border-radius:50%;
  background:var(--color-text-gray);
}

.case-dots span.active{
  background:var(--color-primary);
}

@media(max-width:768px){

  /* 矢印サイズ変数化（重要） */
  :root{
    --arrow-size: 45px;
    --arrow-gap: 10px;
  }

  .case-card{
    flex-direction:column;
    
    padding:0px;
        flex: 0 0 80%;  /* ← ここが核心（ほぼ全幅） */
    margin: 0 auto; /* ← 中央寄せ */
  }
  
  .case-image{
    border-radius: 10px 10px 0 0;
    width:100%;
    height:180px;
  }
.case-track{
  gap:20px; /* ← 40→20で詰める */
}
  .case-content{
    width:100%;
    padding: 0 15px;
  }
  .case-arrow.prev{
    left:-10px;
  }

  .case-arrow.next{
    right:-10px;
  }
    .case{
    padding:60px 15px;
  }

  .case-title{
    font-size:28px;
  }

  /* 背景テキスト */
.case::before{
  content:"SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT ";

  position:absolute;
  top:120px; /* ← タイトルとスライダーの間 */
  left:0;

  white-space:nowrap;
  font-size:150px;
  font-weight:700;
  letter-spacing:0em;

  color:transparent;
  -webkit-text-stroke:1px rgba(0,0,0,0.08); /* ← 輪郭だけ */

  z-index:0;
  pointer-events:none;

  animation:caseFlow 30s linear infinite;
}

  .case-header{
    display:flex;
  align-items:center;
  margin:60px auto 100px;
  max-width: 1000px;
}

.case-header h2{
  font-size:32px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}
}


/* =====================
   COMPANY
===================== */

.company{
  max-width:1100px;
  margin:100px auto 140px;
  padding:0 40px;
  position:relative;
  overflow: hidden;
}

.company-header{
    display:flex;
  align-items:center;
  margin-bottom:60px;
}

.company-header h2{
  font-size:48px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}

/* =====================
   ビジュアル（今回の主役）
===================== */
.company-visual{
  position:relative;
  margin-bottom:100px;
}

.company-visual img{
  width:80%;
  height:400px;
  object-fit:cover;

  position:relative;
  left:calc(50% - 50vw);
  margin-left:20vw;

  border-radius:30px;

  /* ★ここ追加 */
  filter: brightness(0.4);
  transition: filter 0.8s ease;
}

/* 表示されたら通常に戻る */
.company-visual img.is-active{
  filter: brightness(.9);
}

/* =====================
   下部レイアウト
===================== */
.company-bottom{
  display:flex;
  gap:60px;
  align-items:flex-start;
}


/* =====================
   情報カード
===================== */
/* 情報 */
.company-info{
  width:45%;
  background:var(--color-text-white);
  padding:40px;
  border-radius:20px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);

  transform:translateY(40px); /* ←下にズラす */
  z-index:2;
}
.company-item{
  margin-bottom:20px;
  padding-bottom:15px;
  border-bottom:1px solid var(--color-primary-light-30);
}

.company-item:last-child{
  border-bottom:none;
}

.company-item h4{
  font-size:12px;
  letter-spacing:2px;
  color:var(--color-primary);
  margin-bottom:6px;
}

.company-item p{
  font-size:15px;
  line-height:1.8;
}

/* =====================
   マップ
===================== */

/* マップ */
.company-map{
  width:55%;
  height:400px;

  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,0.1);
}
.company-map iframe{
  width:100%;
  height:100%;
  border:0;
}

/* =====================
   レスポンシブ
===================== */
@media(max-width:1100px){

/* ★ここがキモ */
.company-visual img{
  width:80vw;
  height:400px;
  object-fit:cover;

  position:relative;
  left:calc(50% - 50vw); /* ←これで完全にviewport基準にリセット */

  margin-left:20vw; /* ←80vwなので残り20vw分右寄せ */

  border-radius:30px 0 0 30px;
}
}
@media(max-width:768px){

  .company{
    padding:0 20px;
    margin:60px auto;
  }

  .company-title{
    font-size:26px;
  }

  .company-visual{
  position:relative;
  margin-bottom:40px;
}
/* ★ここがキモ */
.company-visual img{
  width:90vw;
  height:300px;
  object-fit:cover;

  position:relative;
  left:calc(50% - 50vw); /* ←これで完全にviewport基準にリセット */

  margin-left:10vw; /* ←80vwなので残り20vw分右寄せ */

  border-radius:15px 0 0 15px;
}

  .company-bottom{
    flex-direction:column;
    gap:30px;
  }
.company-header h2{
  font-size:32px;
  letter-spacing:0.1em;
  color:var(--color-neutral-light);
  padding-left:20px;
  position:relative;
}
  .company-info,
  .company-map{
    width:100%;
    transform:none;
  }

  .company-map{
  height:250px;

  border-radius:10px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,0.1);
}
}
/* テーマ色変更 */


.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:#FF8C42; }
button[data-theme="green"]{ background:#e970c4; }
button[data-theme="dark"]{ background:#1aa371; }

/* 閉じる */
.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);
  }
}