html, body {
  margin: 0 !important;
  padding: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 10px #b4e6ff0b;
  border-bottom: 1.2px solid #e6f6ff;
  transition: box-shadow 0.22s;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 44px 20px 36px;
}

.header-logo-img {
	width: 150px;
	height: auto;
	display: block;
}

.header-nav ul {
  display: flex;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-link {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  color: #191919;
  text-decoration: none;
  transition: color 0.18s;
  padding: 2px 8px;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.header-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #24a6ff 0%, #267df5 100%);
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(.5,1.6,.7,1), left 0.28s cubic-bezier(.5,1.6,.7,1);
  transform: translateX(-50%);
}

.header-link:hover,
.header-link:focus {
  color: #2296ff;
}

.header-link:hover::after,
.header-link:focus::after {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .header-inner { padding: 13px 3vw 13px 3vw;}
  .header-logo-img { width: 160px;}
  .header-nav ul { gap: 22px;}
  .header-link { font-size: 1.1rem;}
}

/* ハンバーガーメニュー本体 */
.header-hamburger {
  display: none;
  background: none;
  border: none;
  outline: none;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  position: relative;
  z-index: 1001;
}
.header-hamburger span {
  display: block;
  width: 32px;
  height: 4px;
  background: #191919;
  margin: 5px auto;
  border-radius: 2px;
  transition: .22s cubic-bezier(.6,2.1,.6,1);
}
.header-hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.header-hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* モバイル用レスポンシブ */
@media (max-width: 900px) {
  .header-inner {
    padding: 12px 14px 12px 10px;
  }
  .header-logo-img { width: 125px; }
  .header-hamburger { display: flex; }
  .header-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 5px 32px #4cc0ff20;
    padding: 0;
    transform: translateY(-200%);
    opacity: 0;
    transition: transform .34s, opacity .24s;
    pointer-events: none;
    display: block;
  }
  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .header-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    margin: 0;
  }
  .header-link {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    color: #1674e7;
    padding: 18px 0;
    text-align: center;
    border-bottom: 1.2px solid #e6f6ff;
  }
  .header-link:last-child { border-bottom: none;}
}

/* ----------------------------------------------------------------
   ヒーローセクション全体 (.hero-section)
   ========================================================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* ビューポートの高さいっぱい */
  background-image: url(../img/FV_bg.png); 
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

/* 背景の上にかぶせる半透明マスク */
.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 0.5 → 0.3 に薄く */
  pointer-events: none;
  z-index: 1; /* これを追加 */
}

/* ----------------------------------------------------------------
   ヒーローの中央コンテンツ (.hero-content)
   ========================================================================= */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2; /* オーバーレイより手前 */
}

/* メインタイトル (AC Compacta) */
.hero-content .main-title {
  font-family: 'AC Compacta', sans-serif;
  font-weight: 700; /* Bold (もし Regular だけなら 400 に変えてください) */
	font-size: 5rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  /* 少しドロップシャドウを入れて文字を浮かせる */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeIn 1s ease-out forwards; /* ロード時に下→上フェードイン */
}

/* サブタイトル (Noto Sans) */
.hero-content .subtitle {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 1.3rem; /* お好みで調整 */
  color: #ffffff;
  margin-top: 1rem;
  line-height: 2; /* 行間を少し空ける */
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards; /* 1.5秒遅延して表示 */
}

/* ----------------------------------------------------------------
   右側の縦書きマルキー (.vertical-marquee)
   ========================================================================= */
.vertical-marquee {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px; /* 画像の幅に合わせる */
  height: 100vh; /* 表示枠の高さ */
  overflow: hidden;
  z-index: 2;
}

.vertical-marquee img {
  width: 100%;
  position: relative;
  animation: scrollUp 16s linear infinite;
}

.vertical-marquee img:nth-child(2) {
  animation-delay: 8s; /* 16秒の半分 */
}

@keyframes scrollUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* ----------------------------------------------------------------
   レスポンシブ例 (768px 以下)
   ========================================================================= */
@media (max-width: 768px) {
  .hero-content .main-title {
    font-size: 3rem;
    letter-spacing: 0.05em;
  }
  .hero-content .subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.7rem;
  }
   .vertical-marquee {
    display: none;
  }
}

/* ================================
   Recent Works（Swiper対応）
================================ */
.recent-slider-section {
  background: url('../img/works_bg.png') center center/cover no-repeat;
  padding: 100px 20px;
}

.recent-slider-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 台形タイトル */
.section-title-box {
  width: 100%;
  max-width: 600px;
  margin-left: 0;
  margin-bottom: 40px;
  padding-left: 5px;
}

.section-title {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  padding: 0.8em 1.6em;
  background: linear-gradient(to right, #ffa500, #ff7c00);
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

/* Swiperスライダー */
.swiper.recentSwiper {
  padding: 20px 0;
}

.swiper-slide.slide-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30,130,255,0.09);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  aspect-ratio: 1 / 1;      /* ここで比率を指定！（例：3:4、好みで変更OK） */
  height: auto;
  min-width: 0;             /* Swiperとの相性で追加推奨 */
}

/* サムネイル */
.slide-card .thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;     /* 16:9で画像領域確保 */
  overflow: hidden;
  background: #e9f4ff;
  position: relative;
  border-bottom: 1.5px solid #e0ecf5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: unset;
  max-height: unset;
}

.slide-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s;
  display: block;
}

/* テキストエリアの余白UP */
.slide-content {
  padding: 22px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 7px;
  height: 100%;
  flex: 1 1 auto;
}

/* タイトルの強調 */
.slide-content .work-title {
  font-size: 1.24rem;
  font-weight: 900;
  color: #2e7dfa;
  margin-bottom: 3px;
  margin-top: 0;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-shadow: 0 2px 7px #b5d3fc44, 0 1px 0 #fff;
  transition: color 0.19s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slide-card:hover .work-title {
  color: #f77e00;
  text-shadow: 0 3px 10px #ffdca344;
}

/* 日付のデザイン */
.slide-content .work-date {
  font-size: 0.82rem;
  color: #5b8ebd;
  font-weight: 700;
  margin-bottom: 0px;
}

/* 抜粋テキスト */
.slide-content .work-excerpt {
  font-size: 1.01rem;
  color: #49505c;
  margin-top: 8px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.slide-card:hover .thumbnail img {
  transform: scale(1.05);
}

.slide-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

/* Swiperの矢印ボタン */
.swiper-button-prev,
.swiper-button-next {
  color: #ffa500;
  width: 40px;
  height: 40px;
}

/* 一覧ボタン（リッチ演出維持） */
.btn-wrapper {
  margin-top: 40px;
  text-align: center;
}

.btn-rich {
  background: linear-gradient(to right, #ffa500, #ff9900);
  color: #fff;
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(255, 165, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.btn-rich::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-rich:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 140, 0, 0.6);
}

.btn-rich:hover::before {
  left: 100%;
}

/* =======================
   Responsive
======================= */

.about-section {
  position: relative;
  padding: 80px 40px;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60%;
  background: linear-gradient(120deg, #54b6ff 0%, #2196f3 100%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  z-index: 0;
}

.about-inner {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-left {
  min-width: 320px;
  max-width: 350px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-heading {
  text-align: left;
  width: 100%;
  margin-bottom: 24px;
}

.about-heading h2 {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.1em;
  display: inline-block;
}

.about-underline {
  display: inline-block;
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, #fff, #0b8cd6 80%);
  border-radius: 10px;
  margin-left: 10px;
  vertical-align: middle;
  position: relative;
  top: -8px;
}

.about-photo {
  width: 220px;
  height: 300px;
  background: #111;
  border-radius: 24px;
  box-shadow: 0 10px 24px 0 rgba(50,90,130,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  border: 8px solid #222;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.about-name {
  text-align: center;
  margin-top: 14px;
}

.about-name .jp {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2196f3;
  display: block;
}

.about-name .en {
  font-size: 1rem;
  color: #3eb7ff;
  font-weight: 400;
  margin-top: 2px;
  display: block;
  letter-spacing: 0.07em;
}

.about-right {
  flex: 2 1 400px;
  font-size: 1.05rem;
  line-height: 2;
  color: #232323;
  padding-top: 16px;
  min-width: 280px;
}

.about-scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  /* pointer-events: none でクリック等の邪魔を防ぐ */
}

.about-scroll-arrow svg {
  display: block;
  width: 100px;
  height: 90px;
  animation: arrow-float-y 1.5s infinite cubic-bezier(0.5, 0.12, 0.5, 1);
}

@keyframes arrow-float-y {
  0%   { transform: translateY(0);}
  40%  { transform: translateY(9px);}
  60%  { transform: translateY(9px);}
  100% { transform: translateY(0);}
}

@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    max-width: 96vw;
    padding: 0 2vw;
  }
  .about-bg {
    height: 45vw;
    min-height: 110px;
    max-height: 200px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }
  .about-left, .about-right {
    max-width: 100%;
    min-width: 0;
  }
  .about-heading {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 30px 30px;
  }
  .about-inner {
    gap: 18px;
    padding: 0 2vw;
  }
  .about-bg {
    height: 30vw;
    min-height: 58px;
    max-height: 90px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
  .about-heading h2 {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }
  .about-underline {
    width: 32px;
    height: 2px;
    top: -4px;
    margin-left: 6px;
  }
  .about-photo {
    width: min(80vw, 180px);
    height: min(35vw, 140px);
    border-radius: 15px;
    margin-bottom: 13px;
    border-width: 4px;
  }
  .about-photo img {
    border-radius: 8px;
  }
  .about-name .jp {
    font-size: 1.05rem;
  }
  .about-name .en {
    font-size: 0.78rem;
  }
  .about-right {
    font-size: 0.96rem;
    line-height: 1.75;
    padding-top: 6px;
  }
  .about-scroll-arrow svg {
    width: 46px;
    height: 38px;
  }
}

.uma-card {
  max-width: 700px;
  margin: 24px auto;
  background: #fff;
  border: 6px solid #b9defd;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(95,167,235,0.08);
  font-family: "Noto Sans JP", "Arial Rounded MT Bold", Arial, sans-serif;
}

.uma-header {
  background: #7fda3f;
  border-radius: 12px 12px 0 0;
  position: relative;
  padding-bottom: 10px;
  overflow: hidden;
}

.uma-header-title {
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 12px 0 8px 0;
  z-index: 2;
  position: relative;
  text-shadow: 0 2px 0 #5eb820;
}

.uma-header-bg {
  width: 100%;
  height: 90%;
  overflow: hidden;
  position: absolute;
  top: 55px; left: 0;
  z-index: 0;
}
.uma-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(0.5px) brightness(1.07);
}

.uma-header-main {
  display: flex;
  align-items: center;
  justify-content: center;   /* ←中央揃えの決め手！ */
  gap: 130px;                /* ←写真と名前ブロックの間隔を広めに */
  position: relative;
  z-index: 1;
  padding: 35px 16px 25px 35px;
}

.uma-photo-wrap {
  background: #fff;
  border: 4px solid #e1edfb;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #fff, 0 0 16px #d7edff;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.uma-photo-wrap img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.uma-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;  /* ←子要素（ラベル・名前・サブ）の中央揃え */
  text-align: center;   /* ←テキスト自体も中央に */
  min-width: 0;
}

.uma-header-label {
  color: #5b4d29;
  font-weight: 700;
  font-size: 1.01rem;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.uma-header-name {
  color: #443021;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 0px;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 #fff;
}

.uma-header-sub {
  display: inline-block;
  background: linear-gradient(90deg, #ffa515 0%, #ff7b22 100%);
  color: #fff;
  font-size: 1.07rem;
  font-weight: 900;
  margin-top: 6px;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 3px 22px 2px 22px;
  box-shadow: 0 2px 6px #f9b8762b;
  text-shadow: 0 1.5px 1px #e97100bb;
  border: 2px solid #fff5e0;
}

.uma-params {
  margin: 0;
  background: #eafaff;
  border-radius: 14px;
  border: 2.5px solid #bbdfff;
  box-shadow: 0 1px 6px #e4f2ff77;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.uma-param-header-row {
  display: flex;
  background: #90e000;
  border-bottom: 2.5px solid #b4e07a;
}

.uma-param-header {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
  padding: 12px 0 6px 0;
  border-right: 1.8px solid #eafaff;
  letter-spacing: 0.06em;
}
.uma-param-header:last-child {
  border-right: none;
}

.uma-param-value-row.text-only {
  background: #fff;
  display: flex;
  border-top: none;
}

.uma-param-value-row.text-only .uma-param-cell {
  flex: 1;
  text-align: center;
  padding: 17px 0 13px 0;
  border-right: 1.8px solid #eafaff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  font-size: 2.1rem;
  font-weight: bold;
  background: none;
  box-shadow: none;
  border-radius: 0;
  min-width: 0;
  position: relative;
}
.uma-param-value-row.text-only .uma-param-cell:last-child {
  border-right: none;
}
.grade {
  display: inline-block;
  vertical-align: baseline;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  margin-right: 5px;
  /* 追加の金ピカや影は下で */
}

.grade-a { 
  color: #ffa12b; 
  text-shadow: 0 1.5px 0 #fff0d1, 0 0.5px 2px #ffd79b; 
}

.grade-b { 
  color: #e53935; 
  text-shadow: 0 1.5px 0 #fff0d1, 0 0.5px 2px #ffd1d1; 
}

.grade-s {
  background: linear-gradient(90deg, #e4b900 0%, #ffd257 65%, #c19923 100%);
  color: #866306;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0.5px 0 #b1943c88)
          drop-shadow(0 1.5px 8px #fff19944);
  text-shadow:
    0 0 1px #e7c552cc,
    0 1.3px 1.3px #c6a14390;
  font-size: 2.15rem;
  letter-spacing: 0.01em;
  padding: 0 4px;
}

.grade-ss {
  background: linear-gradient(90deg, #e4b900 0%, #ffd257 65%, #c19923 100%);
  color: #866306;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0.5px 0 #b1943c88)
          drop-shadow(0 1.5px 8px #fff19944);
  text-shadow:
    0 0 1px #e7c552cc,
    0 1.3px 1.3px #c6a14390;
  font-size: 2.15rem;
  letter-spacing: 0.01em;
  padding: 0 4px;
}

.score {
  display: inline-block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #80521e;
  vertical-align: baseline;
  letter-spacing: 0.01em;
  margin-left: 1px;
  position: relative;
}

@media (max-width: 600px) {
  .uma-param-header, .score { font-size: 1.1rem;}
  .grade { font-size: 1.4rem;}
  .grade-ss { font-size: 1.6rem;}
}

.uma-abilities {
  background: #fff;
  padding: 8px 14px 7px 14px;
}
.uma-ability-row {
  display: flex;
  align-items: flex-start;
  margin: 5px 0;
  gap: 10px;
}
.uma-ability-row .title {
  font-size: 1.03rem;
  font-weight: 900;
  color: #80521e;
  width: 4.5em;
  min-width: 70px;
}
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  background: #faf7f0;
  border-radius: 14px;
  box-shadow: 0 1.5px 2px #efe7d0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #80521e;
  padding: 2.5px 12px 2.5px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.3px solid #f8ecc1;
}
.badge-grade {
  font-size: 1.01rem;
  font-weight: bold;
  border-radius: 7px;
  margin-left: 5px;
  padding: 1.5px 7px 0.5px 7px;
  display: inline-block;
}

.uma-skill-area {
  background: #e5f8c3;
  padding: 12px 0 18px 0;
  border-radius: 0 0 14px 14px;
  border-top: 2px solid #c7eaff;
}
.uma-skill-title {
  background: #89e41e;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 4px 0 4px 20px;
  border-radius: 9px 9px 0 0;
  letter-spacing: 0.08em;
  margin: 0 0 8px 0;
  width: 130px;
}

.uma-skill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2列揃え */
  gap: 10px 16px;  /* 行間・列間の間隔調整 */
  justify-items: center;
  margin-top: 3px;
  /* スマホ時の幅調整もOK */
}

.uma-skill {
  width: 255px;       /* 横幅を統一！（max-width:でもOK） */
  min-height: 38px;   /* 高さも統一 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6e9fd;
  color: #725ec4;
  border-radius: 9px;
  font-size: 1.06rem;
  font-weight: 600;
  box-shadow: 0 1.5px 2px #e0e6f8;
  padding: 0 10px;
  text-align: center;
  margin: 0;
}

.uma-skill-tooltip {
  position: fixed;
  z-index: 1002;
  background: #fff8e1;
  color: #b36e00;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 14px;
  box-shadow: 0 2px 16px #fcd88585;
  border: 2.2px solid #ffd876;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.14s cubic-bezier(.4,2.4,.8,1), transform 0.18s cubic-bezier(.4,2.4,.8,1);
  white-space: pre-line;
  max-width: 270px;
}

.uma-skill-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 520px) {
  .uma-skill-tooltip {
    font-size: 0.95rem;
    max-width: 97vw;
    padding: 7px 9vw;
  }
}

@media (max-width: 520px) {
  .uma-card { max-width: 98vw; font-size: 95%;}
  .uma-header-main { flex-direction: column; gap: 5px; padding: 10px 5px;}
  .uma-photo-wrap { width: 78px; height: 78px;}
  .uma-photo-wrap img { width: 68px; height: 68px;}
}

@media (max-width: 540px) {
  .uma-skill-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .uma-skill {
    width: 98%;
    min-width: 0;
  }
}

/* ステータス値をgridで綺麗に等分 */
.uma-param-value-row.text-only {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: none;
  padding: 0;
}

/* カード内のセルも微調整 */
.uma-param-value-row.text-only .uma-param-cell {
  padding: 12px 0 9px 0;
  min-width: 0;
  font-size: clamp(1rem, 4vw, 2.1rem);
}
.grade,
.grade-ss {
  font-size: clamp(1rem, 4vw, 2.2rem);
}
.score {
  font-size: clamp(0.8rem, 3.2vw, 1.4rem);
}

@media (max-width: 520px) {
  .uma-param-value-row.text-only {
    display: flex; /* 5つ横並びは維持 */
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 2px;
  }
  .uma-param-value-row.text-only .uma-param-cell {
    flex-direction: column;        /* ←ココ！縦並びに */
    align-items: center;           /* センタリング */
    gap: 2px;                      /* 上下間隔 */
    padding: 8px 0 4px 0;
    font-size: 1.18rem;
    min-width: 0;
    display: flex;                 /* ←必須 */
  }
  .grade,
  .grade-ss {
    font-size: 1.2rem;
    margin-bottom: 2px;
    margin-right: 0;
  }
  .score {
    font-size: 1rem;
    margin-left: 0;
  }
}

.price-section {
  position: relative;
  padding: 70px 40px;
  background: #fff;
  overflow: hidden;
}

.price-section-title {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  padding: 0.8em 1.6em;
  margin-left: 100px;
  color: #23aaff;
  font-size: 2rem;
  font-weight: bold;
}

.title-deco {
  display: inline-block;
  width: 92px; height: 4px;
  background: linear-gradient(90deg, #23aaff 40%, #b7e6ff 100%);
  border-radius: 5px;
  margin-left: 18px;
  position: relative; top: -10px;
}

.price-cards-bg {
  position: absolute;
  left: 0; top: 35%;  /* カードの真ん中あたりに帯が来る */
  width: 100vw; 
  height: 220px;
  background: linear-gradient(90deg, #4eb6ff 0%, #2d77e6 100%);
  z-index: 0;
  pointer-events: none;
  /* 下だけ丸めるなら border-radius: 0 0 60px 60px / 0 0 90px 90px; */
}

.price-cards {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 36px;
  justify-content: center;
  margin: 0 auto 28px auto;
  max-width: 1080px;
}

.price-card {
  flex: 1 1 0;
  min-width: 265px;
  max-width: 350px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 32px 0 #61a5f533, 0 1.5px 10px #389dff0f;
  padding: 36px 24px 32px 24px;
  text-align: center;
  transition: transform 0.22s cubic-bezier(.5,1.5,.6,1);
  border: 2.5px solid #e0f1ff;
  margin-top: 0;
}

.price-card.main {
  background: linear-gradient(180deg, #3493fa 0%, #47b7ff 100%);
  color: #fff;
  border: 3.2px solid #fff;
  box-shadow: 0 9px 44px 0 #389dff33, 0 2px 16px #167ad811;
  transform: scale(1.04);
}

.price-card-title {
  font-size: 1.28rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: #3493fa;
}

.price-card.main .price-card-title {
  color: #fff;
  letter-spacing: 0.02em;
}

.price-card-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: #23aaff;
  margin-bottom: 22px;
  margin-top: 0;
  letter-spacing: 0.03em;
}

.price-card.main .price-card-price {
  color: #fff;
  text-shadow: 0 2px 6px #2981d999;
}

.price-card-list {
  list-style: disc inside;
  text-align: left;
  margin: 20px 0 0 0;
  padding-left: 0;
  color: #1956a3;
  font-size: 1.05rem;
  font-weight: 600;
}
.price-card.main .price-card-list {
  color: #fff;
  font-weight: 600;
}

.price-note {
  font-size: 0.93rem;
  color: #333;
  text-align: left;
  margin: 40px auto 0 auto;
  max-width: 720px;
}

@media (max-width: 768px) {
  .price-section {
    padding: 40px 0 18px 0;
  }
  .price-section-title {
    display: block;
    width: 92vw;
    margin: 0 auto 18px auto;
    font-size: 1.35rem;
    text-align: center;
    padding: 0.6em 0.6em;
    min-width: 0;
  }
  .title-deco {
    width: 45vw;
    height: 3px;
    margin-left: 12px;
    top: -6px;
  }
  .price-cards-bg {
    display: none;
  }
  .price-cards {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    max-width: 98vw;
    padding: 0 1vw;
  }
  .price-card,
  .price-card.main {
    min-width: 0;
    max-width: 99vw;
    width: 100%;
    padding: 22px 6vw 18px 6vw;
    border-radius: 18px;
    font-size: 0.98rem;
    margin-top: 0;
    box-sizing: border-box;
    transform: none;
  }
  .price-card-title {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
  .price-card-price {
    font-size: 1.36rem;
    margin-bottom: 12px;
  }
  .price-card-list {
    font-size: 0.97rem;
    margin-top: 10px;
    margin-bottom: 0;
  }
  .price-note {
    font-size: 0.92rem;
    margin-top: 18px;
    padding: 0 2vw;
    max-width: 99vw;
  }
}

@media (max-width: 440px) {
  .price-section-title {
    font-size: 1.3rem;
    padding: 0.5em 0.2em;
  }
  .title-deco {
    width: 30vw;
    margin-left: 4vw;
    height: 2.5px;
  }
  .price-card,
  .price-card.main {
    padding: 12px 2vw 13px 2vw;
    font-size: 0.92rem;
    border-radius: 12px;
  }
}

.faq-section {
  max-width: 740px;
  margin: 0 auto 72px auto;
  padding: 60px 0 40px 0;
}

.faq-section-title {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  padding: 0.8em 0;
  color: #23aaff;
  font-size: 2rem;
  font-weight: bold;
}

.faq-list {
  margin-top: 34px;
}

.faq-item + .faq-item {
  margin-top: 8px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.17rem;
  font-weight: 900;
  color: #191919;
  padding: 18px 0 18px 0;
  transition: background 0.2s;
  border-bottom: 2px solid #222;
  position: relative;
}

.faq-q span:first-child {
  text-align: left;
}

.faq-plus {
  display: block;
  width: 32px;
  height: 32px;
  position: relative;
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  display: block;
  position: absolute;
  background: #ffab2c;
  border-radius: 2px;
  transition: transform 0.24s cubic-bezier(.6,2.2,.6,1), opacity 0.19s;
}
.faq-plus::before {
  width: 24px;
  height: 4px;
  left: 4px; top: 14px;
}
.faq-plus::after {
  width: 4px;
  height: 24px;
  left: 14px; top: 4px;
}
.faq-item.open .faq-plus::after {
  transform: rotate(90deg);
  opacity: 0; /* 横線だけ残してマイナスに */
}

.faq-a {
  display: none;
  padding: 28px 14px;
  background: #f7faff;
  border-radius: 8px;
  font-size: 1.09rem;
  font-weight: 700;
  color: #2870c6;
  margin: 0 0 12px 0;
  border-left: 6px solid #23aaff33;
  box-shadow: 0 2px 8px #e1efff1a;
}

.faq-a.blue {
  background: #23aaff;
  color: #fff;
  font-weight: 900;
  border-radius: 7px;
  border-left: none;
  box-shadow: 0 2px 14px #23aaff44;
}

.faq-item.open .faq-a {
  display: block;
  animation: fadeinfaq 0.23s;
}

@keyframes fadeinfaq {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: none;}
}

@media (max-width: 720px) {
  .faq-section {
    padding: 36px 0 18px 0;
    margin: 0 auto 42px auto;
    max-width: 98vw;
  }
  .faq-section-title {
    width: 90vw;
    min-width: 0;
    font-size: 1.3rem;
    text-align: center;
    margin: 0 auto 16px auto;
    padding: 0.6em 0.8em;
  }
  .title-deco {
    width: 38vw;
    margin-left: 2vw;
    top: -7px;
  }
  .faq-list {
    margin-top: 18px;
    padding: 0 2vw;
  }
  .faq-q {
    font-size: 1.01rem;
    padding: 12px 0 12px 0;
  }
  .faq-plus {
    width: 22px;
    height: 22px;
  }
  .faq-plus::before {
    width: 15px; left: 3.5px; top: 8.5px; height: 3px;
  }
  .faq-plus::after {
    height: 15px; top: 3.5px; left: 8.5px; width: 3px;
  }
  .faq-a, .faq-a.blue {
    font-size: 0.98rem;
    padding: 14px 5vw;
    margin: 0 0 7px 0;
    border-radius: 6px;
  }
}

@media (max-width: 400px) {
  .faq-section-title {
    font-size: 1.01rem;
    padding: 0.4em 0.2em;
  }
  .faq-plus {
    width: 17px; height: 17px;
  }
  .faq-plus::before, .faq-plus::after {
    border-radius: 1.5px;
  }
  .faq-a, .faq-a.blue {
    font-size: 0.88rem;
    padding: 8px 4vw;
    border-radius: 5px;
  }
}

.cta-section {
  position: relative;
  min-height: 480px;
  background: #0c1121;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/CTA_bg.png') center center / cover no-repeat;
  filter: brightness(0.86) blur(0.3px);
  opacity: 0.93;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 80px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-main-title {
  font-size: 2.45rem;
  font-weight: 900;
  margin-bottom: 58px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px #0008;
}

.cta-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #17e100 0%, #1cb900 90%);
  color: #fff;
  font-weight: 900;
  font-size: 2.1rem;
  padding: 22px 94px;
  border-radius: 50px;
  box-shadow: 0 8px 0 #11b420, 0 3px 32px #28e01644;
  margin-bottom: 54px;
  transition: transform 0.12s cubic-bezier(.6,1.4,.7,1), box-shadow 0.13s;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px #0b6806aa;
  border: none;
  outline: none;
  position: relative;
}
.cta-line-btn:hover,
.cta-line-btn:focus {
  transform: translateY(2px) scale(1.03);
  box-shadow: 0 3px 0 #12b41d, 0 1.5px 8px #28e01633;
  filter: brightness(1.05);
}

.cta-sub-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0;
  text-shadow: 0 2px 10px #0006;
}

.cta-girl {
  position: absolute;
  right: 46px;
  bottom: 0;
  width: 290px;
  max-width: 40vw;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .cta-main-title { font-size: 1.7rem; margin-bottom: 40px;}
  .cta-line-btn { font-size: 1.25rem; padding: 14px 48px; margin-bottom: 35px;}
  .cta-sub-title { font-size: 1.3rem;}
  .cta-girl { width: 140px; right: 12px;}
}

@media (max-width: 600px) {
  .cta-content { padding: 48px 4vw 38px 4vw;}
  .cta-main-title { font-size: 1.17rem;}
  .cta-line-btn { font-size: 1.03rem; padding: 9px 12vw; }
  .cta-sub-title { font-size: 0.95rem;}
  .cta-girl { width: 90px; right: 2vw;}
}

@media (max-width: 420px) {
  .cta-content {
    padding: 30px 2vw 18px 2vw;
  }
  .cta-main-title {
    font-size: 1.04rem;
    line-height: 1.3;
    margin-bottom: 28px;
    word-break: keep-all;
  }
  .cta-line-btn {
    font-size: 0.91rem;
    padding: 7px 7vw;
    border-radius: 32px;
    min-width: 58vw;
    margin-bottom: 22px;
  }
  .cta-sub-title {
    font-size: 0.83rem;
    margin-bottom: 0;
    line-height: 1.2;
  }
  .cta-girl {
    width: 62px;
    right: 1vw;
    bottom: 0;
  }
}

footer {
  background: #26a1ff;
  padding: 48px 0 22px 0;
  text-align: center;
  color: #fff;
  font-family: 'Noto Sans JP', Arial, sans-serif;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-home {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  gap: 18px;
}

.footer-home-icon-img {
  width: 50px;
  height: 50px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

.footer-home-text {
  letter-spacing: 0.05em;
}

.footer-policy {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: text-decoration 0.16s;
}
.footer-policy:hover,
.footer-policy:focus {
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 28px;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  opacity: 0.98;
}

@media (max-width: 600px) {
  footer { padding: 28px 0 10px 0;}
  .footer-home { font-size: 1.45rem;}
  .footer-home-icon-img { width: 32px; height: 32px; margin-right: 8px;}
  .footer-policy { font-size: 1.02rem;}
  .footer-copyright { font-size: 1.07rem;}
  .footer-nav { gap: 12px; margin-bottom: 16px;}
}

.single-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
}

/* パンくず */
.breadcrumbs {
  font-size: 0.98em;
  color: #16336f;
  margin-bottom: 12px;
}

/* 記事タイトル */
.post-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 18px;
  color: #222;
}

/* メタ情報（日付・カテゴリ） */
.post-meta {
  color: #6b7280;
  font-size: 0.96em;
  margin-bottom: 6px;
}

/* アイキャッチ */
.eyecatch img,
.eyecatch .wp-post-image {
  border-radius: 12px;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  box-shadow: 0 2px 16px #0001;
}

/* 本文 */
.post-content {
  font-size: 1.06em;
  line-height: 1.8;
  color: #222;
  margin-bottom: 28px;
}

/* 注意書き・PRラベル */
.notice {
  background: #fffcf0;
  padding: 14px 18px;
  border-left: 4px solid #ffc107;
  color: #222;
  border-radius: 4px;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 0.99em;
}

/* カードリスト（関連記事・人気記事） */
.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* カード本体 */
.card {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0002;
  overflow: hidden;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 4px 16px #0003;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}
.card a {
  color: #16336f;
  text-decoration: none;
  font-size: 1em;
  transition: color .2s;
}
.card a:hover {
  color: #0263ea;
}

/* 前後記事ナビ */
.post-navigation {
  display: flex;
  justify-content: center; /* 中央揃え */
  gap: 40px; /* ボタン間の余白 */
  margin: 56px 0 44px 0; /* 上下の余白を広く */
  font-size: 1.08em;
}
.post-navigation .nav-btn {
  flex: 0 0 210px;
  display: flex;
  justify-content: center;
}
.post-navigation a {
  color: #16336f;
  background: #f2f6fd;
  padding: 13px 32px;
  border-radius: 28px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.08em;
  box-shadow: 0 2px 8px #0001;
  transition: background .2s, color .2s, box-shadow .18s;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}
.post-navigation a:hover {
  background: #0263ea;
  color: #fff;
  box-shadow: 0 5px 18px #0263ea22;
}

/* 検索フォーム（カスタム調整例） */
.custom-search-form {
  display: flex;
  align-items: center;
  background: #f7fafd;
  border-radius: 32px;
  box-shadow: 0 4px 16px #0263ea22, 0 1.5px 8px #0001;
  padding: 5px 8px 5px 20px;
  max-width: 440px;
  margin: 0 auto;
  transition: box-shadow .2s;
}
.custom-search-form:focus-within {
  box-shadow: 0 4px 28px #0263ea44;
}
.custom-search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.05em;
  padding: 11px 10px;
  color: #222;
  border-radius: 32px 0 0 32px;
  font-family: inherit;
}
.custom-search-form input[type="search"]::placeholder {
  color: #aaa;
  font-size: 1em;
}
.custom-search-form button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #16336f 0%, #0263ea 100%);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 0 32px 32px 0;
  padding: 10px 22px;
  font-size: 1.04em;
  cursor: pointer;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 2px 8px #0001;
}
.custom-search-form button:hover {
  background: linear-gradient(90deg, #0263ea 0%, #16336f 100%);
}
.search-icon {
  display: flex;
  align-items: center;
  margin-right: 2px;
}
.search-section {
  margin: 70px 0; /* カテゴリーとの間を広げる */
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .card-list {
    gap: 10px;
  }
  .card {
    width: 47%;
    min-width: 180px;
  }
}
@media (max-width: 600px) {
  .single-article {
    padding: 0 5px;
  }
  .card {
    width: 100%;
    min-width: unset;
  }
}