:root {
  --navy: #013370;
  --navy-dark: #01295c;
  --white: #ffffff;
  --yellow: #ffe600;
  --line: rgba(255, 255, 255, .28);
  --text: rgba(255, 255, 255, .86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--white);
  background: var(--navy);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 3vw;

  background: rgba(1, 40, 79, .82);
  border-bottom: 1px solid var(--line);
}
.logo{
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.logo img {
  display: block;
  width: auto;
  height: 40px;
}

.logo-text{
  display: flex;
  flex-direction: column;

  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.logo-text small{
  display: block;
  margin-top: 2px;

  font-size: .6em;
  font-weight: 400;
  line-height: 1.2;
  opacity: .9;
}

.logo-title-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    width:100%;
}

.header-version{
    position: relative;
    top: 18px;          /* 下へ移動（日本語との中間くらい） */

    font-size:10px;
    font-weight:400;
    line-height:1.1;

    color:rgba(255,255,255,.45);

    white-space:nowrap;

    margin-left:20px;
}

.logo-title{
    white-space:nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 600;
}

.nav-button {
  padding: 9px 18px;
  color: var(--navy-dark);
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 700;
}

.menu-button{
    display:none;
    position:relative;

    width:46px;
    height:46px;

    background:transparent;
    border:1px solid rgba(255,255,255,.35);
    border-radius:6px;

    cursor:pointer;
}

/* 真ん中の線 */
.menu-button span,
.menu-button::before,
.menu-button::after{
    content:"";
    position:absolute;
    left:10px;
    right:10px;
    height:2px;
    background:#fff;
    border-radius:2px;
}

.menu-button span{
   top: 21px; 
}

.menu-button::before{
    top:14px;
}

.menu-button::after{
    bottom:14px;
}

.menu-button:hover{
    background:rgba(255,255,255,.08);
}

/* ×アイコン */
.menu-button.open span{
    opacity:0;
}

.menu-button.open::before{
    top:21px;
    transform:rotate(45deg);
}

.menu-button.open::after{
    bottom:auto;
    top:21px;
    transform:rotate(-45deg);
}

/* Home */
.home_area {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  padding: 18px 6vw 20px;
  overflow: hidden;
  position: relative;
}

.home_area::before{
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(1, 51, 112, .72) 0%,
            rgba(1, 51, 112, .62) 35%,
            rgba(1, 51, 112, .38) 58%,
            rgba(1, 51, 112, .12) 78%,
            transparent 100%
        );

    pointer-events: none;
    z-index: 2;
}

.home_area::after {
  content: "";
  position: absolute;

  width: 900px;
  height: 900px;

  top: -450px;
  left: -350px;

  background: radial-gradient(
    circle,
    rgba(255,255,255,.18) 0%,
    rgba(180,220,255,.10) 35%,
    rgba(120,180,255,.05) 55%,
    transparent 75%
  );

  filter: blur(60px);

  animation: lightMove 14s ease-in-out infinite;

  pointer-events: none;
  z-index: 2;
}

@keyframes lightMove {
  0%,100%{
    transform: translate(0,0) scale(1);
  }

  50%{
    transform: translate(40px,30px) scale(1.08);
  }
}

.star_field{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.star{
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255,255,255,.98);
  box-shadow:
    0 0 4px rgba(255,255,255,.8),
    0 0 10px rgba(180,220,255,.6),
    0 0 18px rgba(120,180,255,.35);

  opacity: 0;

  animation: starBlink var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes starBlink{
  0%,
  25%,
  100%{
    opacity: .05;
    transform: scale(.8);
  }

  45%{
    opacity: var(--opacity);
    transform: scale(1.4);
  }

  65%{
    opacity: calc(var(--opacity) * .6);
    transform: scale(1);
  }
}

.home_text{
	align-self: start;
    padding-top: 2vh;
    position: relative;
    z-index: 3;
}

.home_text .subtitle,
.home_text .lead,
.home_text .info{
    text-shadow:
        0 2px 8px rgba(0, 25, 60, .7),
        0 0 20px rgba(0, 30, 70, .35);
}
.version{
    position: absolute;
    left: 6vw;
    bottom: 24px;

    font-size: 13px;
    color: rgba(255,255,255,.55);
}

h1 {
  margin: 0 0 6px;
  padding-bottom: .1em;

  font-family: "Sora", sans-serif;
  font-size: clamp(48px, 5vw, 105px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
}

h1 span {
  display: block;

  /* g、y、pなどの下側を描画する余白 */
  padding-bottom: .18em;

  /* paddingで行間が広がらないように戻す */
  margin-bottom: -.18em;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #dce9ff 55%,
    #9fc2f5 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  opacity: 0;
  transform: translateY(30px);
  animation: titleFade .8s ease-out both;

  overflow: visible;
}
h1 span + span{
    margin-top: -.08em;
}
h1 span:nth-child(1) {
  animation-delay: .2s;
}

h1 span:nth-child(2) {
  animation-delay: .45s;
}

h1 span:nth-child(3) {
  animation-delay: .7s;
}

@keyframes titleFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

h3 {
  margin: 8px 0;
  color: var(--yellow);
  font-size: clamp(20px, 4vw, 40px);
  line-height: 1.08;
}

.subtitle{
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 14px;

  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.subtitle-group{
    display: inline-block;
    max-width: 100%;
}

.subtitle-group .title-ja{
    margin: 4px 0 16px;
    padding: 0;

    text-align: center;
    transform: none;

    font-size: clamp(14px, 1.1vw, 24px);
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255,255,255,.72);
}
.title-ja .ja-main,
.title-ja .ja-sub{
  display: inline-block;
  white-space: nowrap;
}
.lead{
    max-width: 650px;
    margin: 18px 0 40px;
    color: rgba(255,255,255,.8);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    text-wrap: pretty;
}

.info {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-top:0;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 3px solid var(--line);
}

.info span {
  display: block;
  color: var(--yellow);
  font-size: clamp(24px, 1.8vw, 30px);
  font-weight: 900;
  line-height: 1;
}

.info strong {
  display: block;
  font-size: clamp(26px, 2.1vw, 32px);
  line-height: 1.1;
}
.flyer-btn{
  display: inline-flex;
  align-items: center;
  gap: clamp(2px, 0.3vw, 4px);

  margin-top: 18px;
  margin-left: 48px;

  padding: clamp(3px, 0.45vw, 6px)
           clamp(8px, 0.9vw, 14px);

  background: var(--yellow);
  color: var(--navy);

  border-radius: 999px;

  font-size: clamp(10px, 0.8vw, 13px);
  font-weight: 600;

  text-decoration: none;
  transition: .25s ease;
}

.flyer-btn i,
.flyer-btn svg{
  font-size: clamp(9px, 0.7vw, 12px);
}
.top_img {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 30px;
  transform: translateX(-100px);
  position: relative;
  z-index: 1;
	opacity: 1;
	overflow: visible;
}
.top_img::after{
    content: "";
    position: absolute;
    inset: -20px;
    pointer-events: none;

    background: radial-gradient(
        ellipse at center,
        transparent 65%,
        rgba(1,51,112,.08) 82%,
        rgba(1,51,112,.20) 100%
    );

    z-index: 2;
}

.top_img .top_img_main{
  position: relative;
  display: block;
  width: 122%;
  min-width: 520px;
  max-width: none;
  height: auto;

-webkit-mask-image:
    linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    ),
    linear-gradient(
        to bottom,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );

-webkit-mask-composite: source-in;

mask-image:
    linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    ),
    linear-gradient(
        to bottom,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );

mask-composite: intersect;
}
/* Poster Preview */
.flyer-preview{
  position: absolute;
  top: 22px;
  right: 4vw;
  z-index: 6;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  width: clamp(72px, 6.5vw, 100px);

  color: var(--yellow);
  text-align: center;
  text-decoration: none;

  transition:
    transform .25s ease,
    filter .25s ease;
}

.flyer-preview:hover{
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.flyer-preview-img{
  display: block;
  width: 100%;
  height: auto;

  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;

  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.flyer-preview-text{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  font-size: clamp(9px, .75vw, 12px);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;

  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}

.flyer-preview-text i{
  font-size: .95em;
}
/* Shared sections */
.section {
  padding: 30px 6vw 100px;
  scroll-margin-top: 80px;
  border-top: 1px solid var(--line);
}

/* Speaker */
.speaker-grid {

	 display: flex;
  flex-direction: column;
  gap: 0;
}

.speaker-grid > div {

	padding: 12px 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.18);
    border-radius: 0;

    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity .4s ease,
        transform .4s ease;
}

.speaker-grid > div.show{
    opacity: 1;
    transform: translateY(0);
}

.talk-title {
	margin: 0 0 4px;
    min-height: auto;

    font-size:20px;
    font-weight: 600;
    line-height: 1.25;
}

.speaker-grid strong {
	 display: inline;
    color: var(--yellow);
    font-size: 18px;
    font-weight: 700;
    border: none;
    padding: 0;
}

.speaker-grid span {
	 display: inline;
    color: rgba(255,255,255,.75);
    font-size: 15px;
}

.speaker-grid span::before {
    content: "|";
    color: rgba(255,255,255,.4);
    margin: 0 10px 0 2px;
}
.speaker-grid strong,
.speaker-grid span{
    margin-left:0px;
}

/* Program */
.program-grid{
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.program-card{
  width: 100%;
  max-width: none;
  height: auto;
	padding: 22px 0 60px;
  text-align: left;

  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  border-radius: 0;

  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.program-card strong{
  display: inline;
  color: var(--yellow);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.program-card span{
  display: inline;
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.2;
	position: relative;
  top: -1px;
}

.program-card span::before{
  content: "|";
  color: rgba(255,255,255,.4);
  margin: 0 15px 0 10px;
	display: inline-block;
position: relative;
top: -2px;
}

.program-card.show{
  opacity: 1;
}
.program-row {
  display: grid;
  grid-template-columns: clamp(70px, 8vw, 90px) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 8px;
  padding-top: 24px;
	padding-left: 20px;
}

.program-row time,
.program-row p {
  min-width: 0;
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.3;
}


/* Access */
.map-grid {
  width: 100%;
  font-size: 20px;
  line-height: 1.3;
}

/* 経路図とGoogle Mapの共通幅 */
.access-media {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

/* 経路図 */
.access-route {
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
}

.access-route img {
  display: block;
  width: 100%;
  height: auto;
}

/* Google Map */
.map-embed {
  width: 100%;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
}

/* Contact */
#contact .contact-grid{
  display: grid;
  width: 100%;
  max-width: 900px;

  font-size: 18px;
  line-height: 1.4;
}

#contact h3{
    margin:0 0 10px;

    color:var(--yellow);

    font-size: clamp(20px, 2vw, 24px);
    font-weight:600;

    line-height:1.2;
}

#contact .contact-divider{
  width: 100%;
  margin: 28px 0 32px;

  border: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}

#contact .contact-name{
  margin: 0 0 12px;

  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.3;
}

#contact .contact-address{
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.45;
}

#contact p{
  margin: 6px 0;
}

#contact .contact-line{
  display: flex;
  align-items: center;
font-size: clamp(15px, 1.5vw, 18px);
    gap: clamp(6px, 0.8vw, 8px);
  margin: 6px 0;
  line-height: 1.3;
}

#contact .contact-line i{
  flex: 0 0 20px;
  color: var(--yellow);
  text-align: center;
	width: clamp(18px, 1.2vw, 20px);
    font-size: clamp(14px, 1.2vw, 16px);
}

#contact .contact-label{
  flex: 0 0 56px;

  color: rgba(255,255,255,.65);
  font-weight: 600;
}

#contact a{
  color: var(--white);
}

#contact a:hover{
  color: var(--yellow);
}

#contact .contact-indent{
  display: inline-block;
  margin-left: 1.5em;
}
.contact-body{
    margin-left: clamp(14px, 2vw, 28px);
}
/* Registration */
.button {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: var(--navy-dark);
  background: var(--yellow);
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
}

.back-to-top svg{
    width: 30px;
    height: 30px;
    transform: translateY(-2px);
}
.back-to-top path {
  fill: none;
  stroke: rgba(255,255,255,.5);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, .22);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.back-to-top:hover path {
  stroke: var(--yellow);
}

/* Footer */
.footer {
  padding: 30px 6vw;
  color: var(--white);
  background: var(--navy-dark);
  text-align: center;
	font-size: clamp(12px, 1.5vw, 16px);
}

/* Responsive */

@media (max-width: 1300px) {
	.logo img{
    height: clamp(32px, 3vw, 36px);
}
	.logo-text{
    font-size: clamp(16px, 1.8vw, 18px);
}
	.header-version{
    font-size: clamp(7px, .8vw, 8px);
}
  .nav{
    display:none;

    position:absolute;
    top:100%;
    right:20px;

    width:180px;

    flex-direction:column;
    align-items:stretch;
    gap:4px;

    padding:10px;

    background:rgba(1,40,79,.96);
    border:1px solid var(--line);
    border-radius:8px;
}
.nav a{
    display:block;
    padding:8px 12px;
    border-radius:6px;
    transition:.2s;
}

.nav a:hover{
    background:rgba(255,255,255,.08);
}	
	.nav.open{
    display:flex;
}
  .menu-button{
        display:block;
    width: clamp(40px, 3.5vw, 46px);
    height: clamp(40px, 3.5vw, 46px);
	}
  @media (max-width: 1300px){

  .home_area{
    position: relative;
    grid-template-columns: 1fr;

    min-height: calc(100svh - 70px);
    padding-bottom: 20px;
  }

  h1 {
    font-size: clamp(32px, 6vw, 90px);
  }

  h1 span {
    white-space: nowrap;
  }
  .home_area::before{
    background:
      linear-gradient(
        to right,
        rgba(1, 51, 112, .78) 0%,
        rgba(1, 51, 112, .68) 42%,
        rgba(1, 51, 112, .42) 68%,
        rgba(1, 51, 112, .14) 88%,
        transparent 100%
      );
  }

  @media (max-width: 1300px){

  .top_img{
    position: absolute;
    top: 56%;
    right: 0;

    width: clamp(430px, 42vw, 560px);

    opacity: 1;
    transform: translateY(-50%);
    z-index: 1;
  }

  .top_img .top_img_main{
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
  }
.lead{
  max-width: clamp(450px, 48vw, 650px);
	margin-bottom: 28px;
}
	  .flyer-preview{
  top: 18px;
  right: 4vw;
  width: clamp(62px, 7vw, 82px);
}

.flyer-preview-text{
  font-size: clamp(8px, .9vw, 10px);
}
  .home_text{
    position: relative;
    z-index: 3;
  }
	
	 .speaker-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
	
	.talk-title{
    font-size:17px;
}

.speaker-grid strong{
    font-size:16px;
}

.speaker-grid span{
    font-size:14px;
}
	
}

@media (max-width: 700px) {

  .site-header {
	  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 6vw;

  background: rgba(1, 40, 79, .82);
  border-bottom: 1px solid var(--line);

  position: sticky;
    padding: 10px 4vw;
  }
.header-version{
  position: relative;
  top: 12px;

  margin-left: 12px;
	

  right: auto;
  bottom: auto;

  font-size: 8px;
}
  .logo {
    gap: 10px;
    min-width: 0;
  }

  .logo img {
    height: 36px;
  }

  .logo-text{
  font-size: 18px;
  line-height: 1;
}

.logo-text small{
  font-size: 0.62em;
}
.logo-title-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
}
	.logo-title{
    white-space:normal;
}
  .menu-button {
    flex-shrink: 0;
  }

}
@media (max-width: 600px){

  .logo{
    position: relative;
    min-width: 0;
  }

  .logo-title-row{
    display: block;
  }

  .header-version{
    position: absolute;

    top: auto;
    right: calc(clamp(40px, 3.5vw, 46px) + 12px);
    bottom: 1px;

    margin-left: 0;

    font-size: clamp(7px, 1.1vw, 8px);
    line-height: 1;
    white-space: nowrap;
  }
}
@media (max-width: 560px){
.header-version{
    position: absolute;

    right: 0;
    bottom: 0;

    margin: 0;

    font-size: 8px;
    line-height: 1;
}

  .logo-title-row{
    display: block;
}

  .logo img{
    height: 30px;
  }

  .logo-text{
    font-size: clamp(15px, 3.6vw, 18px);
    line-height: 1.15;
    min-width: 0;
	  position: relative;
  }

  .logo-text small{
	  display: block;
    padding-right: 82px;   /* Version分のスペース */
    font-size: .62em;
    line-height: 1.2;
  }

  .logo-title{
    white-space: normal;
    min-width: 0;
  }

  .info strong{
    font-size: 22px;
    line-height: 1.15;
  }

  .home_area{
    position: relative;
    grid-template-columns: 1fr;
    padding: 30px 5vw 20px;
  }

  .title-ja{
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    transform: none;
    text-align: center;
    font-size: 14px;
  }

  .home_area::before{
    background:
      linear-gradient(
        to right,
        rgba(1, 51, 112, .78) 0%,
        rgba(1, 51, 112, .68) 42%,
        rgba(1, 51, 112, .42) 68%,
        rgba(1, 51, 112, .14) 88%,
        transparent 100%
      );
  }

  .top_img{
    position: absolute;
    top: 70%;
    right: -5%;
    width: 55%;

    opacity: 1;

    transform: translateY(-50%);
    z-index: 1;
  }

  .top_img .top_img_main{
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
.flyer-preview{
  top: 12px;
  right: 4vw;
  width: 48px;
}

.flyer-preview-text{
  font-size: 8px;
  white-space: normal;
}
  .home_text{
    position: relative;
    z-index: 3;
    transform: translateY(-5px);
  }

  .lead{
    font-size: 16px;
  }

  h1{
    font-size: clamp(32px, 9.5vw, 48px);
    line-height: .98;
  }

  .subtitle{
    font-size: 20px;
  }

  .talk-title{
    font-size: 15px;
    line-height: 1.25;
  }

  .speaker-grid strong{
    font-size: 14px;
  }

  .speaker-grid span{
    font-size: 12px;
  }
}