body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

	
html {
  scroll-behavior: smooth;
}


/* 001 */
.kv {
  position: relative;
  overflow: hidden;
}

.kv-about {
  position: relative;
  height: auto;
  overflow: hidden;
  padding-bottom: 160px;
}

.kv-stage {
  position: relative;
  height: 150vh;
  z-index: 3;
}

.kv-about .bg001 {
  height: 170%;
  z-index: 0;
}

.kv-about .bg002 {
  top: 135vh;
  height: calc(100% - 115vh);
  background-size: 115%;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

.kv-about .title {
  z-index: 4;
}

.kv-about .circle {
  z-index: 4;
}

.kv-about .about {
  position: relative;
  z-index: 3;
  padding: 0 20px 0;
  margin-top: 100px;
  overflow: visible;
}

/* 共通：各セクション背景 */
.section-bg {
  position: absolute;
  width: 100%;
  height: 180%;
  top: 0;
  left: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center top;
  pointer-events: none;
}

/* 001背景 */
.bg001 {
  background-image: url("../img/001/bg01.jpg");
  background-size: 115%;
}

/* 002背景 */
.bg002 {
  background-image: url("../img/002/bg02.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 115%;
}

/* タイトル */
.title {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 15vh;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.title h1 {
  font-size: 3.5rem;
  color: #a7844b;
  line-height: 1.4;
}

.subtitle {
  color: #a7844b;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 2.4rem;
}

.subtitle::before,
.subtitle::after {
  content: "";
  width: 20px;
  height: 2px;
  background: #a7844b;
}

/* 丸画像 */
.circle {
  position: absolute;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.c1 {
  width: 26vw;
  max-width: 390px;
  left: 50%;
  bottom: 30%;
  z-index: 2;
  transform: translateX(-50%) translateY(60px);
}

.c2 {
  width: 44vw;
  max-width: 700px;
  left: 50%;
  bottom: 0%;
  z-index: 1;
  transform: translateX(-50%) translateY(60px);
}

.c1.show,
.c2.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 002 */
.about {
  position: relative;
  padding: 80px 20px 160px; /* ←少し詰めた */
  text-align: center;
}

.about-copy {
  width: fit-content;
  max-width: 760px;
  margin: 0 auto;
}

.inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* タイトル */
.section-title {
  font-size: 2rem;
  color: #000;
  margin: 0 0 40px;
  text-align: left;
}

/* 本文 */
.text {
  font-size: 1rem;
  line-height: 2;
  text-align: left;
}

/* 画像 */
.about-photo {
  display: block;
  margin: 80px auto 0;
  width: 80%;
  max-width: 900px;
	
  position: relative; /* ←これ追加 */
  z-index: 2;          /* ←これ追加 */
}


/* 003 */
.message {
  position: relative;
  margin-top: -150px;
  padding: 0 20px 0px; /* ←上余白を詰める */
  overflow: hidden;
}

.bg003 {
  background-image: url("../img/003/bg03.jpg");
  background-size: 110%;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 1200px;
}

.message-title {
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.6;
  color: #a7844b;
  margin: 0 auto 60px;
  max-width: 520px;
}

.message-wrap {
  display: flex;
  gap: 120px;
}

.message-block {
  width: 50%;
  opacity: 0;
  transform: translateX(60px);
  transition: 0.8s;
}

.message-block.left {
  transform: translateX(-60px);
}

.message-block.show {
  opacity: 1;
  transform: translateX(0);
}

.message-photo {
  display: block;
  width: 70%;
  margin: 0 auto 24px;
  border-radius: 24px;
}

.message-text {
  text-align: left;
  line-height: 2;
}

.message-text h3 {
  font-size: 1.8rem; /* ←大きく */
  margin-bottom: 8px;
  transform: translateX(-0.3em);
}

.name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.profile {
  padding-left: 14px;
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 0.78rem;
  border-left: 2px solid;
}

@media (min-width: 769px) {
  .profile {
    min-height: 310px;
  }
}

.profile.blue {
  border-color: #4a90e2;
}

.profile.orange {
  border-color: #f39c12;
}


/* 004 */
.support {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  min-height: 720px;
}

.bg004 {
  background-image: url("../img/004/bg04.jpg");
  background-size: 100%;　/*cover;*/
  background-position: center top;
  background-repeat: no-repeat;
}

.support-title {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 2.4rem;
  line-height: 1.55;
  color: #a7844b;
  margin: 0;
  white-space: nowrap;
  text-shadow:
    0 0 2px rgba(255,255,255,1),   /* 芯 */
    0 0 8px rgba(255,255,255,1),   /* 強いコア */
    0 0 20px rgba(255,255,255,1),  /* 明るさ */
    0 0 40px rgba(255,255,255,0.95),
    0 0 80px rgba(255,255,255,0.9),
    0 0 140px rgba(255,255,255,0.8);
}

.support-people {
  position: relative;
  width: 760px;
  height: 560px;
  margin: 0 auto;
  z-index: 3;
}

.p {
  position: absolute;
  width: 145px;
  opacity: 0;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.p1 { top: 0; left: 180px; transform: translate(-40px, -100px); }      /* 上から */
.p2 { top: 20px; left: 420px; transform: translate(100px, -80px); } /* 右上から */
.p3 { top: 150px; left: 600px; transform: translateX(120px); }   /* 右から */
.p4 { top: 410px; left: 420px; transform: translateY(60px); }   /* 下から */
.p5 { top: 430px; left: 205px; transform: translate(-60px, 60px); } /* 左下から */
.p6 { top: 270px; left: 10px; transform: translate(-60px, -40px); } /* 左上から */

.p.show {
  opacity: 1;
  transform: translate(0, 0);
}

.p.glow {
  animation: photo-glow 0.8s ease-out 1;
}

@keyframes photo-glow {
  0% {
    filter: drop-shadow(0 0 0 rgba(255,200,0,0));
  }

  40% {
    filter: drop-shadow(0 0 24px rgba(255,200,0,0.95));
  }

  100% {
    filter: drop-shadow(0 0 0 rgba(255,200,0,0));
  }
}

.star {
  position: absolute;
  width: 70px;
  opacity: 0.75;
  z-index: 2;
  animation: float-star 4s ease-in-out infinite;
  pointer-events: none;
}

.s1 {
  top: 150px;
  left: calc(50% - 350px);
}

.s2 {
  top: 400px;
  left: calc(50% + 250px);
}

@keyframes float-star {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}



/* 005 */
.support-messages {
  position: relative;
  overflow: hidden;
  padding: 0px 20px 100px;
}

.bg005 {
  background-image: url("../img/005/bg05.jpg");
  height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.bg005-shabon {
  background-image: url("../img/005/bg05-shabon.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat;
  opacity: 0.9;
  z-index: 1;
  will-change: transform;
  filter: contrast(1.2);
	height: 300%;
  top: -120px;
}

.inner-005 {
  max-width: 800px;
}

.msg05-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 120px;
}

.msg05-right {
  flex-direction: row-reverse;
}

.msg05-person {
  width: 190px;
  flex-shrink: 0;
}

.msg05-content {
  flex: 1;
  text-align: left;
  font-size: 1rem;
  line-height: 2;
}

.msg05-content p {
  margin: 0 0 28px;
}

.msg05-content h3 {
  font-size: 1.65rem;
  line-height: 1.4;
  margin: 34px 0 8px;
}

.msg05-content h3 span {
  font-size: 1rem;
  font-weight: normal;
}

.msg05-profile {
  font-size: 0.82rem;
  line-height: 1.7;
}

.msg05-person,
.msg05-photo,
.jgof-box {
  border-radius: 18px;
}

.msg05-photo {
  display: block;
  width: 72%;
  max-width: 520px;
  margin: 42px auto 0;
  border-radius: 18px;
}

.jgof-box {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.75);
  padding: 22px 26px;
  margin-top: 36px;
}

.jgof-box img {
  width: 110px;
  flex-shrink: 0;
}

.jgof-box p {
  font-size: 0.82rem;
  line-height: 1.8;
  margin: 0;
}

.msg05-note {
  text-align: right;
  font-size: 0.75rem;
  margin-top: -60px;
}

/* 2・4・6人目の追加写真も右寄せ */
.msg05-right .msg05-photo {
  margin-left: auto;
  margin-right: 0;
}

.msg05-left .msg05-photo {
  margin-left: 0;
  margin-right: auto;
}

/* ただし1人目のJOC説明ボックスは中央 */
.jgof-box {
  margin-left: auto;
  margin-right: auto;
}

.msg05-namebox {
  width: fit-content;
}

.msg05-right .msg05-namebox {
  margin-left: auto;
  text-align: left;
}

.msg05-namebox h3,
.msg05-namebox .msg05-profile {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.small {
  font-size: 0.85em;
}



/* 006 */
.ai-research {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 100px;
}

.bg006 {
  background-image: url("../img/006/bg06.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  height: 100%;
}

.inner-006 {
  max-width: 900px;
}

.ai-frame {
  position: relative;
  padding: 42px 48px 34px;
  border-top: 4px solid #9b99ad;
  border-bottom: 4px solid #9b99ad;
  border-left: none;
  border-right: none;
}

/* カギ部分 */
.ai-frame::before,
.ai-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  pointer-events: none;
  background:
    linear-gradient(#9b99ad, #9b99ad) left top / 4px 24px no-repeat,
    linear-gradient(#9b99ad, #9b99ad) right top / 4px 24px no-repeat;
}

.ai-frame::before {
  top: 0;
}

.ai-frame::after {
  bottom: 0;
}

.ai-panda {
  position: absolute;
  top: -28px;
  right: 42px;
  width: 86px;
  z-index: 3;
}

.ai-title {
  font-size: 1.6rem;
  color: #8d899c;
  margin: 0 0 56px;
  text-align: left;
  font-weight: bold;
}

.ai-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 44px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ai-member img {
  width: 100%;
  display: block;
  margin: 0;
}

.ai-member {
  text-align: center;
}

.ai-member .role,
.ai-center-member .role {
  font-size: 0.72rem;
  font-weight: bold;
  margin: 10px 0 2px;
}

.ai-member .name,
.ai-center-member .name {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 2px;
}

.ai-member .meta,
.ai-center-member .meta {
  font-size: 0.72rem;
  margin: 0;
}

.ai-center-member {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}

.ai-center-member img {
  width: 180px;
  border-radius: 50%;
}

.ai-member {
  text-align: center;
}

.ai-member-info {
  width: fit-content;
  margin: 10px auto 0;
  text-align: left;
}

.ai-body {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-size: 1rem;
  line-height: 2;
}

.ai-body p {
  margin: 0 0 32px;
}

.ai-book {
  float: right;
  width: 130px;
  margin: 0 0 18px 34px;
  text-align: left;
}

.ai-book img {
  width: 100%;
  display: block;
}

.ai-book p {
  font-size: 0.62rem;
  line-height: 1.5;
  margin-top: 6px;
}

.ai-main-photo {
  clear: both;
  text-align: center;
  margin: 56px auto;
}

.ai-main-photo img {
  width: 85%;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

.ai-main-photo p {
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: center;
}

.ai-body hr {
  border: none;
  border-top: 1px solid #aaa;
  margin: 64px 0 40px;
}

.ai-body h3 {
  font-size: 1.1rem;
  font-weight: normal;
  margin: 0 0 28px;
}

.ai-note {
  font-size: 0.68rem;
  text-align: right;
  margin-top: 42px;
  padding-top: 40px;
}

.sp-only {
  display: none;
}


/* 007 */
.image-cut {
  position: relative;
  padding: 20px 20px 120px;
  overflow: hidden;
  background: #fff;
}

.image-cut::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(120, 170, 255, 0.5);
  filter: blur(80px);
  z-index: 0;
}

.image-cut::after {
  content: "";
  position: absolute;
  top: 80px;
  right: 120px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 160, 200, 0.3);
  filter: blur(60px);
  z-index: 0;
}

.inner-007 {
  max-width: 900px;
  position: relative;
}

.cut-photo {
  position: relative;
  display: block;
  width: 58%;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;

  box-shadow:
    0 0 0 15px #eee,                     /* 白エッジ */
    0 0 40px rgba(255,255,255,0.9),     /* 外側ぼかし（白） */
    0 12px 30px rgba(0,0,0,0.08);       /* 軽い影 */
}

.cut-left {
  margin-right: auto;
  margin-bottom: 70px;
  transform: translateX(-35px);
}

.cut-right {
  margin-left: auto;
  transform: translateX(35px);
}

.cut-photo.show {
  opacity: 1;
  transform: translateX(0);
}


/* 008 */
.cognition-section {
  position: relative;
  overflow: hidden;
  padding: 40px 20px 100px;
}

.bg008 {
  background-image: url("../img/008/bg08.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  height: 100%;
}

.inner-008 {
  max-width: 900px;
}

.cognition-frame {
  position: relative;
  padding: 42px 48px 34px;
  border-top: 4px solid #9b99ad;
  border-bottom: 4px solid #9b99ad;
}

.cognition-frame::before,
.cognition-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  pointer-events: none;
  background:
    linear-gradient(#9b99ad, #9b99ad) left top / 4px 24px no-repeat,
    linear-gradient(#9b99ad, #9b99ad) right top / 4px 24px no-repeat;
}

.cognition-frame::before {
  top: 0;
}

.cognition-frame::after {
  bottom: 0;
}

.cognition-panda {
  position: absolute;
  top: -34px;
  right: 42px;
  width: 105px;
  z-index: 3;
}

.cognition-title {
  font-size: 1.6rem;
  color: #8d899c;
  margin: 0 0 56px;
  text-align: left;
  font-weight: bold;
}

.cognition-body {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-size: 1rem;
  line-height: 2;
}

.cognition-body p {
  margin: 0 0 32px;
}

.cognition-graphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin: 48px auto 8px;
}

.cognition-graphs img {
  width: 100%;
  display: block;
}

.cognition-caption {
  font-size: 0.68rem;
  text-align: left;
  margin-bottom: 44px !important;
}

.cognition-flex {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 36px;
  align-items: center;
}

.network-figure {
  margin: 0 0 32px;
}

.network-figure img {
  width: 100%;
  display: block;
}

.doctor-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 48px 0 56px;
}

.doctor-profile img {
  width: 120px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctor-profile h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.doctor-profile p {
  font-size: 0.78rem;
  line-height: 1.7;
  margin: 0;
}

.doctor-iizuka {
  width: 66%;
  margin-left: auto;
  margin-right: 0;
}

.cognition-body hr {
  border: none;
  border-top: 1px solid #aaa;
  margin: 64px 0 40px;
}

.rejuvenation-title {
  font-size: 1.35rem;
  margin: 0 0 34px;
}

.doctor-profile.second {
  margin: 0 0 34px;
}

.profile-small {
  font-size: 0.78rem;
}

.cognition-note {
  font-size: 0.68rem;
  text-align: right;
  margin-top: 80px;
  padding-top: 60px;
}


/* 009 */
.ending {
  position: relative;
  padding: 60px 20px 140px;
  text-align: center;
  overflow: hidden;
  background: #fff;
}

.ending-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* 画像 */
.ending-visual img {
  width: 350px;
  max-width: 80%;
  display: block;
  margin: 0 auto 20px;

  transform: scale(1.4);   /* ← 最初大きい */
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.ending-visual.show img {
  transform: scale(1);
  opacity: 1;
}

/* テキスト */
.ending-text {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
  transition-delay: 0.0s; /* ← 画像の後 */
}

.ending-text.show {
  opacity: 1;
  transform: translateY(0);
}

.ending-text p {
  font-size: 2.4rem;
  line-height: 1.6;
  color: #a7844b;
  font-weight: bold;
}

@keyframes photo-glow-long {
  0%   { filter: drop-shadow(0 0 0 rgba(255,200,0,0)); }
  30%  { filter: drop-shadow(0 0 24px rgba(255,200,0,0.95)); }
  70%  { filter: drop-shadow(0 0 24px rgba(255,200,0,0.95)); }
  100% { filter: drop-shadow(0 0 0 rgba(255,200,0,0)); }
}

.ending-visual.glow img {
  animation: photo-glow-long 1.0s ease-out 1;
}


/* 010 */
.footer-section {
  position: relative;
  overflow: visible;
  padding: 100px 20px 80px;
  text-align: center;
}

.footer-copy {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  margin: 0;
  padding-bottom: 20px;
}

.bg010 {
  background-image: url("../img/010/bg10.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  height: 100%;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.footer-logos {
  margin-bottom: 58px;
}

.footer-logos img {
  display: block;
  width: 420px;
  max-width: 100%;
  margin: 0 auto 32px;
}

.footer-contact {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto 58px;
}

.footer-contact h2 {
  font-size: 1rem;
  font-weight: normal;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

.footer-contact p {
  margin: 0 0 6px;
}

.footer-pagetop {
  text-align: right;
  margin-bottom: 18px;
}

.footer-pagetop a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-line {
  border-top: 1px solid rgba(0,0,0,0.25);
  margin: 10px 0 40px;
}

.footer-copy {
  font-size: 0.82rem;
  margin: 0;
}

.triangle {
  color: #5bbbe0;
  font-weight: bold;
}

.footer-pagetop a:hover .triangle {
  color: #3aa3cc;
}

.footer-bottom {
  width: 800px;
  max-width: calc(100vw - 40px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.footer-pagetop {
  text-align: right;
}

.footer-line {
  width: 100%;
}






.sns-share {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 100px auto 40px;
}
/*.sns-share {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin: 30px auto 40px;
  max-width: 400px;
}*/



.sns-share a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.sns-share img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sns-share a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}
	































/* SP */
@media (max-width: 768px) {
	
  .kv {
    height: auto;
  }
	
  .kv-about {
    height: auto;
    overflow: visible;
    padding-bottom: 100px;
  }

  .kv-stage {
    height: 140vh;
  }

  .kv-about .bg001 {
    top: -20vh;
    height: 200vh;
    background-size: 200%;
    background-position: center top;
  }

  .kv-about .bg002 {
    top: 120vh;
    height: calc(100% - 105vh);
    background-size: 200%;
    background-position: center top;
  }

  .kv-about .about {
    margin-top: -120px;
    padding: 0 20px 100px;
    overflow: visible;
  }
	
  .title h1 {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .c1 {
    width: 58vw;
    bottom: 42%;
  }

  .c2 {
    width: 82vw;
    bottom: 16%;
  }

 /* .bg001 {
    height: 125%;
    background-size: 200%;
    background-position: center top;
  }*/
	
  .bg002 {
    height: 125%;
    background-size: 200%;
    background-position: center top;
  }
	
	

  .about-copy {
    width: 100%;
    max-width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .text {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .about-photo {
    width: 100%;         /* ←はみ出し防止 */
    max-width: 100%;
    margin-top: 50px;
	  
  position: relative; /* ←これ追加 */
  z-index: 2;          /* ←これ追加 */
  }
	
	
	
	
	
  .message {
    margin-top: -180px;
  }
	
  .message-wrap {
    flex-direction: column;
    gap: 60px;
  }

  .message-block {
    width: 100%;
  }

  .bg003 {
    background-size: 150%;
  }

  .message-title {
    font-size: 1.6rem;   /* ←小さく */
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 40px;
  }
	
  .message-photo {
    width: 60%;       /* ←小さくする */
    margin: 0 auto 20px;
    border-radius: 20px;
  }
	
  .message-text h3 {
    font-size: 1.5rem;   /* ←一回り小さく */
    transform: translateX(-0.2em); /* ←そのまま維持 */
  }

  .name {
    font-size: 1.3rem;   /* ←少し小さく */
  }
	
	
	
	
	
/* SP004 */
.support {
  padding: 0px 20px;
  min-height: 560px;
}
	
.bg004 {
  background-size: 100% auto;
  background-position: center top;
}

.support-title {
  top: 100px;
  font-size: 1.6rem;
  white-space: normal;
  width: 220px;
}

  .support-people {
    width: 100%;
    max-width: 340px;
    transform: scale(0.9);
    transform-origin: top center;
    margin: 0 auto;
  }
	
/* 004：SPは演出カット */
.support-people,
.star {
  display: none;
}

.p {
  width: 100px;
}

/* PC配置をSP比率に寄せた位置 */
.p1 { top: 5px; left: 40px; transform: translate(-20px, -50px); }
.p2 { top: 15px; left: 175px; transform: translate(40px, -40px); }
.p3 { top: 110px; left: 280px; transform: translate(60px, 0px); }
.p4 { top: 290px; left: 200px; transform: translate(0px, 40px); }
.p5 { top: 310px; left: 70px; transform: translate(-40px, 40px); }
.p6 { top: 200px; left: -40px; transform: translate(-40px, -20px); }

.star {
  width: 46px;
}

.s1 {
  top: 130px;
  left: calc(50% - 180px);
}

.s2 {
  top: 290px;
  left: calc(50% + 140px);
}

	
	
	
	
/* SP005 */
  .support-messages {
    padding: 0px 20px 70px;
    margin-top: -250px;
  }

  .bg005-shabon {
    background-size: 900px auto;
    opacity: 0.9;
  }

  .inner-005 {
    max-width: 100%;
  }

  .msg05-item,
  .msg05-right {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 90px;
  }

  .msg05-person {
    width: 190px;
    margin: 0 auto;
  }

  .msg05-content {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .msg05-content h3 {
    font-size: 1.45rem;
    margin-top: 28px;
  }

  .msg05-profile {
    font-size: 0.78rem;
  }

  .msg05-photo {
    width: 100%;
    margin-top: 34px;
  }

  .jgof-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .jgof-box img {
    width: 90px;
  }

  .msg05-note {
    font-size: 0.68rem;
    text-align: right;
  }
	
	
	
/* SP 006 */

  .ai-research {
    padding: 80px 20px 70px;
  }

  .inner-006 {
    max-width: 100%;
  }
	
.ai-frame {
  padding: 20px 0 28px;
}

  .ai-frame::before,
  .ai-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 18px;
    pointer-events: none;
    background:
      linear-gradient(#9b99ad, #9b99ad) left top / 3px 18px no-repeat,
      linear-gradient(#9b99ad, #9b99ad) right top / 3px 18px no-repeat;
  }

  .ai-panda {
    width: 62px;
    right: 18px;
    top: -22px;
  }

  .ai-title {
    font-size: 1.25rem;
    line-height: 1.5;
    padding-left: 16px;
    padding-right: 64px;
    margin-bottom: 36px;
  }

  .ai-members {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
    margin-bottom: 40px;
  }
	
  .ai-member img {
    width: 85%;
    margin: 0 auto;
    display: block;
	border-radius: 8px;
  }

  .ai-member .name,
  .ai-center-member .name {
    font-size: 1rem;
  }

  .ai-center-member {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-bottom: 44px;
  }

  .ai-center-member img {
    width: 180px;
  }

.ai-body {
  max-width: 100%;
  padding: 0;
}

  .ai-book {
    float: right;
    width: 105px;
    margin: 0 0 14px 18px;
  }

  .ai-main-photo {
    margin: 42px auto;
  }

  .ai-main-photo img {
    width: 100%;
  }

  .ai-note {
    text-align: right;
  }

  .sp-only {
    display: inline;
  }
	
	
/* SP 007 */
	
  .image-cut {
    padding: 40px 20px 80px;
  }
	
  .image-cut::after {
    width: 160px;
    height: 160px;
    top: 40px;
    right: 10px;
  }

  .cut-photo {
    width: 100%;
    border-radius: 20px;
  }

  .cut-left {
    margin-bottom: 40px;
  }
  .cut-photo {
    border-radius: 3px;
    box-shadow:
      0 0 0 5px #eee,                     /* ←ここだけ細く */
      0 0 40px rgba(255,255,255,0.9),     /* ←ぼかしはそのまま */
      0 12px 30px rgba(0,0,0,0.08);
  }
	
	
/* SP 008 */

  .cognition-section {
    padding: 40px 20px 70px;
  }

  .inner-008 {
    max-width: 100%;
  }

  .cognition-frame {
    padding: 20px 0 28px;
  }

  .cognition-frame::before,
  .cognition-frame::after {
    height: 18px;
    background:
      linear-gradient(#9b99ad, #9b99ad) left top / 3px 18px no-repeat,
      linear-gradient(#9b99ad, #9b99ad) right top / 3px 18px no-repeat;
  }

  .cognition-panda {
    width: 75px;
    right: 18px;
    top: -22px;
  }

  .cognition-title {
    font-size: 1.25rem;
    line-height: 1.5;
    padding-left: 16px;
    padding-right: 64px;
    margin-bottom: 36px;
  }

  .cognition-body {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .cognition-graphs {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
  }

  .cognition-caption {
    text-align: left;
  }

  .cognition-flex {
    display: block;
  }

  .network-figure {
    width: 72%;
    margin: 28px auto 38px;
  }

  .doctor-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .doctor-profile img {
    width: 110px;
  }

  .doctor-profile.second {
    flex-direction: row;
    align-items: center;
  }

  .doctor-profile.second img {
    width: 82px;
  }
	
  .doctor-iizuka {
    width: 100%;
  }

  .cognition-note {
    text-align: right;
  }
	
	
/* SP 009 */
	
  .ending {
    padding: 40px 20px 100px;
  }

  .ending-visual img {
    width: 280px;
    margin-bottom: 40px;
  }

  .ending-text p {
    font-size: 1.8rem;
    line-height: 1.8;
  }
	
/* SP 010 */
	
  .footer-section {
    padding: 40px 20px 60px;
  }

  .footer-inner {
    max-width: 100%;
  }

  .footer-logos img {
    width: 300px;
    margin-bottom: 28px;
  }

  .footer-contact {
    font-size: 0.85rem;
  }

  .footer-pagetop {
    text-align: right;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
	
  .footer-bottom {
    max-width: 100%;
  }

}







	
/* 印刷時はPCレイアウトを使う */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body {
    min-width: 900px;
    zoom: 0.7;
  }

  .inner,
  .inner-005,
  .inner-006,
  .inner-007,
  .inner-008,
  .footer-inner {
    max-width: 900px !important;
  }

  .message-wrap {
    flex-direction: row !important;
  }

  .message-block {
    width: 50% !important;
  }

  .ai-members {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .cognition-graphs {
    grid-template-columns: 1fr 1fr !important;
  }

  .cognition-flex {
    display: grid !important;
    grid-template-columns: 1fr 230px !important;
  }

  .msg05-item {
    flex-direction: row !important;
  }

  .msg05-right {
    flex-direction: row-reverse !important;
  }
}

	
	
	
	
	
.leaflet-link-box {
  max-width: 400px;
  margin: 50px auto 50px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 14px;
  font-size: 0.9em;
  line-height: 1.8;
  text-align: left;
}

.leaflet-link-box p {
  margin: 0;
}

.leaflet-link-box a {
  color: #a7844b;
  text-decoration: underline;
}

.leaflet-link-box a:hover {
  opacity: 0.75;
}






