/* =========================================================
   1. Variables
   ========================================================= */

:root {
  --color-text: #ffffff;
  --color-text-dark: #222222;
  --color-accent: #E7E738;
  --color-link-hover: #FF595C;
  --color-border: rgba(255, 255, 255, 0.4);

  --container-width: 1100px;
  --section-padding-block: 4rem;
  --section-padding-inline: 1.5rem;

  --header-height: 82px;

  --page-nav-width: 200px;
  --page-nav-right: 0px;
  --page-nav-safe-gap: 1.5rem;
  --page-nav-reserve: calc(var(--page-nav-width) + var(--page-nav-right) + var(--page-nav-safe-gap));

  --page-nav-mobile-height: 3.5rem;

  --text-shadow-strong:
    0 0 4px rgba(0, 0, 0, 0.85),
    0 0 10px rgba(0, 0, 0, 0.72),
    0 0 18px rgba(0, 0, 0, 0.52);

  --focus-outline-width: 3px;

  --z-background: 0;
  --z-content: 10;
  --z-overlay: 20;	
  --z-header: 100;
  --z-nav: 100;
  --z-drawer: 1000;
  --z-focus: 1100;

  --chat-bg: #f5f5f0;
  --user-bubble-bg: #1a1a2e;
  --user-bubble-text: #e8e8f0;
  --ai-bubble-bg: #ffffff;
  --ai-bubble-border: #e0e0e0;
  --ai-bubble-shadow: rgba(0, 0, 0, .06);
  --label-user-bg: #3a6bc8;
  --label-ai-bg: #2d8a5e;
  --accent: #3a6bc8;
  --text-secondary: #888;
  --font: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  --bubble-radius: 18px;
  --bubble-tip: 4px;
  --bubble-max-w: 72%;
  --thread-max-w: 860px;
  --turn-gap: 28px;

  --header-offset: 50px;
}

@media (max-width: 768px) {
  :root {
    --header-offset: calc(var(--header-height) + var(--page-nav-mobile-height));
  }
}

/* =========================================================
   2. Foundation
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  color: #ffffff;
  background: #222222;
  overflow-x: clip;
  min-height: 100%;
}

/* スタッキングコンテキスト崩壊防止 */
body,
main,
.l-wrapper {
  transform: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   3. Layout
   ========================================================= */

/* -------------------------
   3-1. Background
   ------------------------- */

.l-bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-background);
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 20% 30%, #406B81, #192A4B);
}

.l-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
  z-index: 0;
}

.l-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none;
}

.l-bg__animation {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

/* -------------------------
   3-2. Header / Main / Section
   ------------------------- */

.l-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.l-header__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 1rem var(--section-padding-inline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

main {
  position: relative;
  z-index: var(--z-content);
}

.l-section {
  display: flex;
  align-items: center;
  padding-block: var(--section-padding-block);
  scroll-margin-top: var(--header-offset);
}

.l-section__inner {
  max-width: var(--container-width);
  width: 100%;
  margin-inline: auto;
  transition: max-width 0.3s ease, margin 0.3s ease, width 0.3s ease;
}

.l-footer {
  position: relative;
  z-index: 10;
  padding: 4px 10px;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);	
}

.l-footer p {
  text-align: center;
  font-size: 0.8rem;
}

/* -------------------------
   3-3. Responsive Layout
   ------------------------- */

@media (max-width: 1500px) {
  .l-section {
    padding-inline-start: var(--section-padding-inline);
    padding-inline-end: calc(var(--section-padding-inline) + var(--page-nav-reserve));
  }
}

@media (max-width: 1300px) {
	
  .l-section__inner {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .l-section {
    min-height: auto;
    padding-block: 3rem;
    padding-inline-start: var(--section-padding-inline);
    padding-inline-end: var(--section-padding-inline); /* shorthandではなく個別指定 */

    scroll-margin-top: var(--header-offset);
  }

  .l-section__inner {
    max-width: none;
    width: 100%;
  }
}

/* =========================================================
   4. Motion / Visibility
   ========================================================= */

.l-section {
  opacity: 1;
  transform: none;
}

.js-enabled .l-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .l-section.is-visible {
  opacity: 1;
  transform: none;
}

body.is-page-fadeout {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* =========================================================
   5. Components
   ========================================================= */

/* -------------------------
   5-1. Logo
   ------------------------- */

.c-logo {
  margin: 0;
}

.c-logo_title__img {
  max-height: 50px;
  width: auto;
}

/* -------------------------
   5-2. Global Navigation
   ------------------------- */

.c-global-nav {
  z-index: var(--z-drawer);
}

.c-global-nav__list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-global-nav a {
  display: inline-block;
  padding: 0.5rem;
  color: #fff;
  text-decoration: none;
}


/* -------------------------
   5-3. Page Navigation
   ------------------------- */

.c-page-nav {
  position: fixed;
  right: var(--page-nav-right);
  bottom: 15rem;
  top: auto;
  transform: none;
  width: var(--page-nav-width);
  z-index: var(--z-nav);
}

.c-page-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0 1rem 0 0;
  white-space: nowrap;
}

.c-page-nav li {
  flex: 0 0 auto;
}

.c-page-nav a {
  display: block;
  padding: 0.3rem 0.6rem;
  border-left: 2px solid transparent;
  text-align: right;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.c-page-nav a::after {
  content: "";
  display: inline-block;
  height: 16px;
  width: 70px;
  margin-left: 10px;
  margin-right: -25px;
  background: #ffffff;
  border-radius: 2px 0 0 2px;
}

.c-page-nav a.is-active,
.c-page-nav a[aria-current="location"] {
  font-weight: bolder;
  color: var(--color-accent);
}

.c-page-nav a.is-active::after,
.c-page-nav a[aria-current="location"]::after {
  background: var(--color-accent);
}

.c-page-nav a:hover {
  color: var(--color-link-hover);
}

/* -------------------------
   5-4. Hero Logotype
   ------------------------- */

.c-content__logotitle {
  max-width: 650px;
  height: auto;
}

/* -------------------------
   5-5. Breadcrumb
   ------------------------- */

.c-breadcrumb {
  margin: 1rem;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.c-breadcrumb__list li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  opacity: 0.6;
}

.c-breadcrumb a {
  text-decoration: none;
  color: var(--color-text);
}

.c-breadcrumb a:hover {
  color: var(--color-accent);
}

/* -------------------------
   5-6. News
   ------------------------- */

.c-news__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.c-news__category {
  width: 120px;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.7rem;
  text-align: center;
  height: 1.5rem;
}

.c-news-filter {
  margin: 15px 0 30px 0;
}

/* -------------------------
   5-7. Director
   ------------------------- */

.c-director {
  margin-top: 0.5rem;
}

.c-director__role {
  font-size: 0.8rem;
}

.c-director__name {
  font-size: 1.2rem;
  font-weight: bold;
}

/* -------------------------
   5-8. Blockquote
   ------------------------- */

.c-blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  font-style: italic;
  line-height: 1.8;
  position: relative;
}

/* -------------------------
   5-9. Content
   ------------------------- */

.c-content {
  align-items: center;
}

.c-content__inner {
  padding: 1.5rem;
}

.c-content__media,
.c-content__text {
  min-width: 0;
}

.c-content__white {
  background: #fff;
  color: #222;
  border-radius: 3px;
}
.c-content__white a{
	color:rgba(18,0,255,1.00);
}

.c-content__white * {
  text-shadow: none;
}

.c-content__white.c-content__grey {
	background-color: transparent;
}

.c-content--reverse {
  flex-direction: row-reverse;
}

.is-grey{
  background: #eeeeee!important;
}

.c-content__grey .c-blockquote{
	border:1px solid #999;
	background: #fff;
	font-style: normal;
	font-size:1.2rem;
	font-weight:bold;
}

.c-caption{
	font-size:0.9rem;
	background: #fff;
	padding:15px 25px ;
	border-radius: 10px;
}

/* -------------------------
   5-10. Buttons
   ------------------------- */

.c-button-wrap {
  margin-top: 40px;
  text-align: center;
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.c-button--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.c-button--ghost::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateX(0) rotate(45deg);
  transition: transform 0.25s ease;
  margin-left: 4px;
}

.c-button--ghost:hover,
.c-button--ghost:focus-visible {
  background: #fff;
  color: #000;
}

a.c-button--ghost:hover .c-button__label,
a.c-button--ghost:focus-visible .c-button__label {
  text-shadow: none;
}

.c-button--ghost:hover::after,
.c-button--ghost:focus-visible::after {
  transform: translateX(10px) rotate(45deg);
}

.c-button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* -------------------------
   5-11. Grid
   ------------------------- */

.c-grid {
  --grid-gap: 1rem;
  --grid-min: 14rem;
  --grid-max-cols: 1;

  display: grid;
  gap: var(--grid-gap);

  grid-template-columns: repeat(
    auto-fit,
    minmax(
      min(
        100%,
        max(
          var(--grid-min),
          calc(
            (100% - (var(--grid-gap) * (var(--grid-max-cols) - 1)))
            / var(--grid-max-cols)
          )
        )
      ),
      1fr
    )
  );
}

.c-grid--2 { --grid-max-cols: 2; }
.c-grid--3 { --grid-max-cols: 3; }
.c-grid--4 { --grid-max-cols: 4; }
.c-grid--5 { --grid-max-cols: 5; }
.c-grid--6 { --grid-max-cols: 6; }

.c-grid--6,
.c-grid--5 {
  --grid-min: 10rem;
}

.c-grid--4,
.c-grid--3 {
  --grid-min: 10rem;
}

.c-grid--2 {
  --grid-min: 20rem;
}

/* -------------------------
   5-12. Card / Panel / List
   ------------------------- */

.c-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border: 1px solid var(--color-border);
}

.c-card img {
  margin-bottom: 0.5rem;
}

.c-panel {
  padding: 1.5rem;
}

.c-panel--gray {
  background: #f5f5f5;
}

.c-panel--white {
  background: #fff;
}

.c-list__item {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

/* -------------------------
   5-13. Image Hover
   ------------------------- */

.c-imgouter__interview {
  position: relative;
  overflow: hidden;
}

.c-imgouter__interview a {
  display: block;
}

.c-imgouter__interview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.c-imgouter__interview:hover img,
.c-imgouter__interview a:focus-visible img {
  transform: scale(1.08);
}

.c-block-imgcontainer{
	margin:20px 0;
	background:#fff;
	padding:15px;
	border-radius: 15px;
}

.c-grid__column.p-prompt{
	padding-left:3rem;
}

.c-grid__column figure img{
	text-align: center;
	margin:auto;
	
} 

/* -------------------------
   5-14. Hamburger / Drawer / Overlay
   ------------------------- */

.c-nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 1);
  background: transparent;
  border: 0;
  padding: 0;
}

.c-nav-toggle span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: 0.3s;
}

.c-nav-toggle span:nth-child(1) { top: 0; }
.c-nav-toggle span:nth-child(2) { top: 10px; }
.c-nav-toggle span:nth-child(3) { bottom: 0; }

.c-nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.c-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.c-nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

/* 初期状態：無効 */
.c-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  z-index: calc(var(--z-header) - 1);
  transition: opacity .3s ease;
}

/* 開いたときのみ有効 */
.is-nav-open .c-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.c-nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* -------------------------
   5-15. Cookie Banner
   ------------------------- */

.c-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.c-cookie-banner.is-visible {
  transform: translateY(0);
}

.c-cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.c-cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
}
/* -------------------------
   5-16. footer
   ------------------------- */

.c-footer__inner{
  display:flex;
  align-items: center;
	padding:20px 0
}
.c-footer__logo figure{
	display:inline-block;
	margin:20px;
}
.c-footer__logo img.c-footer__logo__riken{
	min-width:50px;
}
.c-footer__logo img.c-footer__logo__agis{
	min-width:100px;
}
.c-footer__address{
	max-width:100%;
	padding-left:40px;
}
.c-footer__menu{
	margin-left: auto;
	min-width:150px;
}

.c-copyright{
	text-align:center;
	font-size:0.9rem;
	padding:10px;
}
/* -------------------------
   5-17. Mobile Components
   ------------------------- */

@media (max-width: 768px) {
  .c-page-nav {
    position: sticky;
    top: var(--header-height);
    left: 0;
    right: auto;
    bottom: auto;
    transform: none;
    width: auto;
    padding: 0.5rem var(--section-padding-inline);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    overflow-x: auto;
    z-index: var(--z-nav);
  }

  .c-page-nav ul {
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .c-page-nav a {
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .c-page-nav a::after {
    display: none;
  }

  .c-page-nav a.is-active,
  .c-page-nav a[aria-current="location"] {
    border-bottom-color: var(--color-accent);
  }

  .c-content,
  .c-content--reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .c-grid--2,
  .c-grid--3,
  .c-grid--4,
  .c-grid--5,
  .c-grid--6 {
    grid-template-columns: 1fr;
  }

  .c-nav-toggle {
    display: block;
  }

  .c-global-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 80%;
    max-width: 320px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: var(--z-drawer);
    padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
    display: block;
  }

  .c-global-nav.is-open {
    transform: translateX(0);
  }

  .c-global-nav__list {
    flex-direction: column;
    padding: 0;
    gap: 1.5rem;
  }

  .c-panel {
    padding: 0.5rem;
  }

  .c-news {
    padding-left: 15px;
  }

  .c-news__item {
    display: block;
  }

  .c-news__category,
  .c-news__item time {
    display: inline-block;
    margin-right: 10px;
  }

  .c-news__title {
    display: block;
    margin-top: 10px;
  }

  .c-cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* =========================================
   5-17. Lightbox
========================================= */


.c-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.c-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.c-lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.c-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* キャプション */
.c-lightbox__caption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* 前後ボタン */
.c-lightbox__prev,
.c-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.c-lightbox__prev {
  left: -40px;
}

.c-lightbox__next {
  right: -40px;
}

/* 矢印 */
.c-lightbox__prev::before,
.c-lightbox__next::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  margin: auto;
}

.c-lightbox__prev::before {
  transform: rotate(-135deg);
}

.c-lightbox__next::before {
  transform: rotate(45deg);
}

/* 閉じる */
.c-lightbox__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.c-lightbox__close::before,
.c-lightbox__close::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  top: 50%;
  left: 0;
}

.c-lightbox__close::before {
  transform: rotate(45deg);
}

.c-lightbox__close::after {
  transform: rotate(-45deg);
}

/* スクロールロック */
body.is-lightbox-open {
  overflow: hidden;
}
/* =========================================================
   6. Projects
   ========================================================= */

.p-message .c-content__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* -------------------------
   6-1. Home
   ------------------------- */

.p-body__home .l-bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-background);
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, #406B81, #192A4B);
}

.p-body__home .l-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
  z-index: 0;
}

.p-body__home .l-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.p-body__home .l-section {
  min-height: 100vh;
}

/* -------------------------
   6-2. Child Page Background
   ------------------------- */

.p-body__child .l-bg {
  position: fixed;
  inset: 0;
}

.p-body__child .l-bg {
  clip-path: inset(0 0 calc(100% - (100vh + var(--header-height))) 0);
}

.p-body__child .l-pageheader {
  position: relative;
  z-index: 1;
}

.p-body__child main {
  background: #222;
  position: relative;
  z-index: var(--z-content);
}

.p-body__child .p-page-title {
  text-align: center;
}

.p-body__child #main-content .l-section {
  min-height: 80vh;
}

.p-body__child h2 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* -------------------------
   6-3. Project Organization
   ------------------------- */

.p-org-project {
  background: #fff;
  margin: 0 0 0 100px;
  padding: 1.5rem;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 3px;
}

.p-org-project::before {
  content: "";
  position: absolute;
  left: -3.5rem;
  background-color: #fff;
  top: 2.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  z-index: 10;
}

.p-org-project::after {
  content: "";
  position: absolute;
  left: -3rem;
  background-color: rgba(255, 255, 255, 0.70);
  height: calc(100% + 15px);
  top: calc(2.5rem + 7px);
  width: 1px;
}

.p-org-project * {
  color: #000;
  text-shadow: none;
}

.p-org-project h3 {
  font-size: 1.7rem;
  margin: 0 0 1.5rem 0;
  position: relative;
  padding-left: 1rem;
}

.p-org-project h3::before {
  content: "";
  position: absolute;
  left: -5rem;
  background-color: rgba(255, 255, 255, 0.70);
  top: 1.4rem;
  width: 3.5rem;
  height: 1px;
}

.p-org-project h3::after {
  content: "";
  position: absolute;
  left: -1.5rem;
  background-color: #999;
  top: 1.4rem;
  width: 2rem;
  height: 1px;
}

.p-org__card {
  display: inline-block;
  width: 120px;
  vertical-align: top;
  margin: 0 10px 16px 0;
  font-size: 0.9rem;
  text-align: center;
}

.p-org__theme {
  font-weight: bold;
  line-height: 1.2;
}

.p-org__image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  margin: auto;
}

.p-org__image img {
  width: 100%;
  height: auto;
}

.p-org__leader {
  font-size: 0.9rem;
}

.p-org__leader small {
  display: block;
}

.p-org-team {
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid #fff;
  color: #fff;
  margin: 0 0 0 100px;
  padding: 1.5rem;
  position: relative;
  margin-bottom: 3rem;
  border-radius: 3px;
}

.p-org-team::before {
  content: "";
  position: absolute;
  left: -3.5rem;
  background-color: #fff;
  top: 2.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.p-org-team::after {
  content: "";
  position: absolute;
  left: -3rem;
  background-color: rgba(255, 255, 255, 0.70);
  height: calc(100% + 2.5rem);
  top: calc(2.5rem + 7px);
  width: 1px;
}

.p-org-project.p-org-project__program {
  margin: 0 0 60px 0;
  width: 70%;
}

.p-org-project.p-org-project__program::after,
.p-org-project.p-org-project__program::before {
  display: none;
}

.p-org-project.p-org-project__program h3::after,
.p-org-project.p-org-project__program h3::before {
  display: none;
}

.p-org-project.p-org-project__first::after {
  height: calc(100% + 120px) !important;
  top: calc(-60px);
  width: 1px;
}

.p-org-project.p-org-team__supercomputing::after {
  height: 0.3rem !important;
  top: calc(2.5rem + 7px);
}

.p-org-team h3 {
  font-size: 1.4rem;
  margin: 0 0 1.5rem 0;
  position: relative;
  padding: 0.3rem 1rem 0.5rem 1rem;
  color: #fff;
}

.p-org-team h3::before {
  content: "";
  position: absolute;
  left: -5rem;
  background-color: rgba(255, 255, 255, 0.70);
  top: 1.4rem;
  width: 3.5rem;
  height: 1px;
}

.p-org-team h3::after {
  content: "";
  position: absolute;
  left: -1.5rem;
  background-color: rgba(255, 255, 255, 0.70);
  top: 1.4rem;
  width: 2rem;
  height: 1px;
}

/* -------------------------
   6-4. Project Overview
   ------------------------- */

.p-project-overview h3 {
  font-size: 1.8rem;
}

.p-project-overview__project {
  background: #fff;
  color: #222;
  padding: 1.5rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.70);
  margin-bottom: 2.5rem;
}

.p-project-overview__project p {
  text-shadow: none;
}

.p-project-overview__theme__item {
  background: rgba(0, 0, 0, 0.05);
  margin: 5px;
  color: #222;
  padding: 0 1.5rem;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 3px;
}

/* -------------------------
   6-5. Contents
   ------------------------- */

.p-contents-list__interview {
  min-height: 80vh;
}

.p-contents-list__report {
  min-height: 0vh;
}

.p-interview-item {
  margin-bottom: 2.5rem;
}

/* -------------------------
   6-6. Report
   ------------------------- */

.p-report * {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.p-report p {
  font-size: 18px;
  line-height: 1.8;
  color: #000;
}

.p-report h2 {
  margin: 2rem 0;
}

.p-catch {
  font-weight: bold;
  font-size: 2rem;
}

.p-catch__vol {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 50%;
}

.p-report h3 {
  margin-top: 3rem;
  font-size: 2rem;
  padding-left: 5rem;
  position: relative;
}

.p-report h3::before {
  content: "";
  position: absolute;
  left: 0;
  background-color: #666;
  top: 1.4rem;
  width: 4rem;
  height: 1px;
}

.p-report h4{
	font-size:1.2rem;
	position: relative;
	 padding-left: 3rem;
}
.p-report h4::before {
  content: "";
  position: absolute;
  left: 0;
  background-color: #666;
  top: 0.8rem;
  width: 2rem;
  height: 1px;
}
.p-report-author {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.p-report-author__photo {
  margin-right: 16px;
}

.p-report-author__photo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}

.p-report-author__info {
  display: flex;
  flex-direction: column;
}

.p-report-author__title {
  font-size: 1rem;
  font-weight: bold;
}

.p-report-author__name {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 1.5rem;
  line-height: 1.1;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.p-report-author__name small {
  color: #4f4f4f;
}

.p-report-author__affiliation {
  margin-top: 0.5rem;
  font-weight: bold;
}

.p-report-intro {
  background: #f5f5f5;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 3px;
}

.p-report-body {
  border-bottom: 1px solid #222;
  padding-bottom: 2.5rem;
  margin-bottom: 1rem;
}

.p-report-byline {
  text-align: right;
  margin-bottom: 2.5rem;
}

.p-report__prompt h3{
	padding-left:0;
	color:#666;
	vertical-align:middle!important;
	margin:100px 0 50px 0;
	display: flex;

  align-items: center;
}
.p-report__prompt h3:before{display: none;}



.p-report__prompt h3 span{
	font-size:7rem;
	display: inline-block;
	padding-right:2rem;
	vertical-align:middle!important;
	color:#bbb;

	line-height: 1;
}


.p-report__prompt h3 span.p-prompt-h3__big{
	font-size:4rem;
	color:#666;
}
.p-prompt__final{
	margin:40px 0;
}

.p-fig-prompt__final1{
	position:relative;
	margin-bottom: 100px;
}
.p-fig-prompt__final1::after{
  content: "";
  position: absolute;
  left: 0;
  background-color: #666;
  bottom: -50px;
  width:100%;
  height: 1px;
}

.p-prompt__final2{
	position:relative;
}
.p-prompt__final2::before{
  content: "";
  position: absolute;
  top: 0;
  background-color: #666;
  left: -0px;
  width:1px;
  height: 100%;
}

.p-project-report {
  background: #111;
}


.p-report-author2{
	background: #f5f5f5;
	border:1ps solid #ccc;
	padding:30px;
	font-size: 16px;
	margin:20px;
}
.p-report-author2 p{
		font-size: 16px;
}
.p-report-author2 h3{
	display: inline-block;
	margin:10px 0 30px 0;
	font-size:1.5rem;
	text-align: center;
}

.p-report-author2 h3::after{
  content: "";
  position: absolute;
  left: 0;
  background-color: #666;
  bottom: -3px;
  width:120%;
  height: 1px;
}

.p-report-author2__body{
  column-gap:30px;
  column-count: 2;
  column-width: auto;

}


.p-tou h3{
	font-size:1.5rem;
	margin:40px 0 20px 0;
	position: relative;
	padding-left: 3rem;
}


.p-tou h3::after{
  content: "";
  position: absolute;
  left: 0;
  background-color: #999;
  bottom: 1.2rem;
  width:2rem;
  height: 1px;
}

/* -------------------------
   6-7. Project Responsive
   ------------------------- */

@media (max-width: 768px) {
  .p-body__home .l-section {
    min-height: 300px;
  }

  .c-content__logotitle {
    max-width: 100%;
  }

  .p-org-project {
    padding: 0.5rem;
    margin-left: 30px;
  }

  .p-org-project::after {
    left: -1rem;
    top: calc(1.5rem);
  }

  .p-org-project::before {
    left: -1.45rem;
    top: 1.4rem;
  }

  .p-org-project h3 {
    font-size: 1.2rem;
  }

  .p-org-project h3::before {
    width: 1rem;
    left: -1.5rem;
  }

  .p-org-project.p-org-project__program {
    width: 95%;
  }

  .p-org-team {
    padding: 0.5rem;
    margin-left: 30px;
  }

  .p-org-team::after {
    left: -1.05rem;
    top: 2rem;
  }

  .p-org-team::before {
    left: -1.5rem;
    top: 1.4rem;
  }

  .p-org-team h3 {
    font-size: 1.2rem;
  }

  .p-org-team h3::before {
    width: 1rem;
    left: -1.5rem;
  }

  .p-org-project.p-org-team__supercomputing::after {
    height: 0 !important;
  }

  .p-org__card {
    margin-right: 1px;
  }

  .p-project-overview__project {
    padding: 1rem;
  }

  .p-project-overview__project h3 {
    font-size: 1.3rem;
  }

  .p-project-overview__theme__item {
    padding: 1rem;
  }
	
.p-report__prompt h3:after{
	content: "";
	display: block;
	clear:both;
}

.p-report__prompt h3 span{
	float: left;
}	
	
.p-prompt__final2::before{
  content: "";
  position: absolute;
  left: 0;
  background-color: #666;
  top: -20px;
  width:100%;
  height: 1px;
}	
.p-prompt__final{
	margin:20px 0;
}	
	
}

/* =========================================================
   7. Utility
   ========================================================= */

.u-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: var(--z-focus);
  padding: 0.5rem;
  background: #000;
  color: #fff;
}

.u-skip-link:focus {
  top: 0;
}

.is-hidden {
  display: none !important;
}

/* =========================================================
   8. Typography
   ========================================================= */

h1,
h2,
p,
a,
span,
time,
small,
li {
  text-shadow: var(--text-shadow-strong);
}

small {
  font-size: 72%;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  line-height: 1.25;
}

h2 {
  margin: 0 0 2rem;
  font-size: 3.5rem;
  line-height: 1.3;
}

h2 small {
  font-size: 50%;
  font-weight: normal;
  display: block;
  line-height: 2;
}

h4{
	font-size:1.3rem;
}

h1,
h2,
h3,
h4 {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

p {
  margin: 0 0 1rem;
  line-height: 1.8;
  text-align: justify;
}

a {
  color: var(--color-text);
}

a:hover {
  color: var(--color-link-hover);
}
figcaption{
	font-size:0.9rem;
}
@media (max-width: 768px) {
  h1 {
    margin: 0 0 1rem;
    font-size: 2rem;
    line-height: 1.25;
  }

  h2 {
    margin: 0 0 2rem;
    font-size: 2rem;
    line-height: 1.3;
  }

  h2 small {
    font-size: 60%;
    font-weight: normal;
    display: block;
    line-height: 2;
  }

  h3 {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    line-height: 1.3;
  }

  p {
    font-size: 14px;
  }
}

/* =========================================================
   9. State
   ========================================================= */

/* -------------------------
   9-1. Focus
   ------------------------- */

:focus-visible {
  outline: var(--focus-outline-width) solid var(--color-accent);
}

.c-global-nav a:focus-visible,
.c-page-nav a:focus-visible {
  outline-width: calc(var(--focus-outline-width) + 1px);
}

a:focus-visible {
  outline: var(--focus-outline-width) solid var(--color-accent);
  outline-offset: 2px;
}

/* -------------------------
   9-2. Light Scene
   ------------------------- */

body.is-light-scene .c-page-nav a {
  color: #000;
  text-shadow: none !important;
}

body.is-light-scene .c-page-nav a::after {
  background: transparent;
  border: solid #666;
  border-width: 1px 0 1px 1px;
}

section.is-light {
  background: #fff !important;
}
section.is-light.is-grey {
  background: #eeeeee !important;
}
body.is-light-scene .c-global-nav a.is-active,
body.is-light-scene .c-global-nav a[aria-current="page"] {
  color: var(--color-accent);
}

body.is-light-scene .c-breadcrumb a {
  color: var(--color-text-dark);
  text-shadow: none;
}

/* -------------------------
   9-3. Global Navigation State
   ------------------------- */

.p-body__project .c-global-nav .c-global-nav__list__project a,
.p-body__news .c-global-nav .c-global-nav__list__news a,
.p-body__links .c-global-nav .c-global-nav__list__links a,
.p-body__alpha .c-global-nav .c-global-nav__list__alpha a,
.p-body__contents .c-global-nav .c-global-nav__list__contents a {
  color: var(--color-accent);
}

.c-global-nav a.is-active,
.c-global-nav a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: bold;
}

.c-global-nav a:hover,
.c-global-nav a:focus-visible {
  color: var(--color-link-hover);
}

/* -------------------------
   9-4. Header Control
   ------------------------- */

body:not(.p-body__child)[data-scene="hero"] .c-logo {
  opacity: 0;
  pointer-events: none;
}

body:not(.p-body__child)[data-scene="hero"] .l-header {
  background: transparent;
  backdrop-filter: none;
}

.l-header,
.c-logo {
  transition: opacity 0.4s ease, background 0.4s ease;
}

/* -------------------------
   9-5. Page Navigation State
   ------------------------- */

.c-page-nav a:hover {
  opacity: 0.85;
}

.c-page-nav a:focus-visible {
  opacity: 1;
  outline: var(--focus-outline-width) solid var(--color-accent);
}

/* -------------------------
   9-6. Interaction
   ------------------------- */

a:hover,
a:focus-visible {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.c-imgouter__interview a:focus-visible img {
  transform: scale(1.08);
}

/* -------------------------
   9-7. Mobile Nav State
   ------------------------- */

@media (max-width: 768px) {
  body.nav-open .c-page-nav {
    pointer-events: none;
	z-index: 9;
  }
	
	
body.is-light-scene .c-page-nav a {
  color: #FFF!important;
}
	
	
	
	
	
	
}

/* =========================================================
   10. Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .c-imgouter__interview img {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   11. Print
   ========================================================= */

@media print {
  .l-bg,
  .c-page-nav {
    display: none;
  }
}

/* =========================================================
   12. Chat Conversation
   ========================================================= */

iframe{
	background: #f5f5f0;
	width:100%;
	min-height:60vh;
	height: calc(100% - 50px);
	margin:25px auto;
	border-radius: 25px;
	border:none;
	padding:15px 0 15px 15px;
	box-shadow: 0px 0px 15px -5px #777777;
 
}



.thread {
  max-width: var(--thread-max-w);
  margin: 0 auto;
  padding: 40px 16px 80px;
  display: flex;
  flex-direction: column;
  gap: var(--turn-gap);
  font-family: var(--font);
}

.turn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.turn.user {
  align-items: flex-end;
}

.turn-num {
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  line-height: 1;
}

.turn-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  width: fit-content;
  line-height: 1.4;
}

.turn.user .turn-label {
  background: var(--label-user-bg);
}

.turn.assistant .turn-label {
  background: var(--label-ai-bg);
}

.bubble {
  max-width: var(--bubble-max-w);
  padding: 14px 20px;
  font-size: 0.94rem;
  line-height: 1.8;
  word-break: break-word;
  position: relative;
}

.turn.user .bubble {
  background: var(--user-bubble-bg);
  color: var(--user-bubble-text);
  border-radius:
    var(--bubble-radius)
    var(--bubble-tip)
    var(--bubble-radius)
    var(--bubble-radius);
  white-space: pre-wrap;
}

.turn.assistant .bubble {
  background: var(--ai-bubble-bg);
  color: #1a1a1a;
  border: 1px solid var(--ai-bubble-border);
  box-shadow: 0 2px 10px var(--ai-bubble-shadow);
  border-radius:
    var(--bubble-tip)
    var(--bubble-radius)
    var(--bubble-radius)
    var(--bubble-radius);
}

.turn.assistant .bubble h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 20px 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
}

.turn.assistant .bubble h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 18px 0 6px;
  color: var(--accent);
}

.turn.assistant .bubble h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin: 14px 0 4px;
  color: #333;
}

.turn.assistant .bubble p {
  margin: 8px 0;
}

.turn.assistant .bubble ul,
.turn.assistant .bubble ol {
  padding-left: 1.5em;
  margin: 8px 0;
}

.turn.assistant .bubble li {
  margin: 4px 0;
}

.turn.assistant .bubble hr {
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 18px 0;
}

.turn.assistant .bubble strong {
  font-weight: 700;
}

.turn.assistant .bubble em {
  font-style: italic;
  color: #555;
}

.turn.assistant .bubble code {
  background: #f0f0f0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.88em;
  font-family: 'Courier New', Courier, monospace;
}

.turn.assistant .bubble pre {
  background: #1a1a2e;
  color: #e8e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 12px 0;
  font-size: 0.88em;
}

.turn.assistant .bubble pre code {
  background: none;
  padding: 0;
  color: inherit;
}

@media (max-width: 600px) {
  :root {
    --bubble-max-w: 88%;
    --turn-gap: 20px;
  }

  .bubble {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .turn.assistant .bubble h1 {
    font-size: 1.1rem;
  }

  .turn.assistant .bubble h2 {
    font-size: 0.97rem;
  }
}