@charset "UTF-8";

/* body領域 */

body{
	color: #333333;
	font-family:"メイリオ","Hiragino Sans",sans-serif;
	margin:0;
	padding:0;
  background: linear-gradient(to right, #dfe6e2 0%, #fdfffa 30%, #fdfffa 70%, #dfe6e2 100% );
}

.back-to-top.fixed {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.50);
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: opacity 0.2s ease;
  opacity: 0.6;
}

.back-to-top.fixed:hover {
  opacity: 1;
}


/* header領域 */

.header-in{
	background:linear-gradient(to top,#F5F7FA,#1B3A2F);
/*
	background-image: url(../img/header-background.png);
	background-size: cover;
*/
	box-shadow:0px 0px 5px 3px #aaaaaa;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#header-logo{
	margin-left:30px;
	margin-top:20px;
	margin-bottom:15px;
	box-shadow:0px 0px 5px 3px #aaaaaa;
}

#header-logo2{
	margin-right:30px;
  box-shadow:0px 0px 5px 3px #aaaaaa;
}

.nav-menu{
  display: flex;
  justify-content: space-evenly;
  padding: 0;
  margin: 20px 0 5px 10px;
  font-weight: 800;
  list-style: none;
}

.nav-menu > li{
  flex: 1;
  text-align: center;
  border-right: 1px solid #000000;
  position: relative;
}

nav li:last-child {
  border-right: none;
}

nav a {
  text-decoration: none;
  color: #000000;
  position: relative;
  display: block;
  padding: 8px 0;
}

nav a:hover {
  color: #ffffff;
  background-color: #0b3d91;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #cccccc;
  min-width: 200px;
  display: none;
  z-index: 100;
  white-space: nowrap;
}

.nav-menu > li:hover > .sub-menu {
  display: block;
}

.nav-menu > li:last-child > .sub-menu {
  left: auto;
  right: 0;
}

.sub-menu li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
}

.sub-menu li a:hover {
  background: #0b3d91;
  color: #ffffff;
}

.hamburger {
  display: none;
  width: 30px;
  cursor: pointer;
  margin: 10px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #000;
  margin: 6px 0;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* footer領域 */

footer{
	text-align:center;
	font-weight: bold;
/*	background-image: url(../img/footer_image2.png);
	background-size: cover; */
	background:linear-gradient(to top,#1B3A2F,#cccccc);
	box-shadow:0 -5px 10px 0 #aaaaaa;
	color: #ffffff;
	padding-top:30px;
	padding-bottom:10px;
	margin-top: 50px;
  margin-bottom: 0;
}

.term-box{
	display: flex;
	justify-content: center;
	gap: 20px;
  margin-bottom: 50px;
}

.footer-box{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 100px;
}

.big-text {
  font-size: 1.5em;
  font-weight: bold;
}

.sns-logo {
  margin: 0 20px;
}

.copyright{
  font-size: 10px;
  margin-top:20px;
}


/* article領域 */

.pankuzu li {
  display:inline;
  margin-right:5px;
  font-size:80%;
}

h1{
	font-size:240%;
}

h2 {
  background: linear-gradient(to left, #f3f3e4d7, #1B3A2F);
  color: #ffffff;
  padding: 0.6em 1em;
  font-size: 130%;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 3px 3px 6px #aaaaaa;
  margin-top: 80px;
}

h3 {
  font-size: 120%;
  border-left: 10px solid #1B3A2F;
  padding:7px 0px 5px 10px; 
  margin: 25px auto 10px;
  background: linear-gradient(to left, #F5F7FA, #cbd1b7);
  box-shadow: 3px 3px 6px #aaaaaa;
  color: #1B3A2F;
  max-width: 1200px;
  width: 92%;
}

h4 {
  font-size: 110%;
  border-left: 10px solid #1B3A2F;
  border-bottom:1px solid #1B3A2F;
  padding:0px 0px 0px 10px; 
  margin: 30px auto 10px;
  color: #1B3A2F;
  max-width: 1055px;
  width: 88%;
}

h5 {
  font-size: 100%;
  border-left: 6px solid #1B3A2F;
  border-bottom:1px solid #1B3A2F;
  padding:0px 0px 0px 10px; 
  margin: 30px auto 10px;
  color: #1B3A2F;
  max-width: 1055px;
  width: 80%;
}

p {
	font-size:100%;
	line-height:1.8;
}

article {
	position:relative;
	clear:both;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px; 
}


.catch-message {
  font-size: 240%;
  font-weight: bold;
  color :#0550d1;
  text-align: center;
  text-shadow: 3px 3px 3px #fff306;
  animation: catchPop 1s ease-out;
}

@keyframes catchPop {

  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  
  20% {
    opacity: 0;
    transform: scale(0.3);
  }

  60% {
    opacity: 1;
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }

}

.top-visual h1 {
  text-align: center;
  max-width: 100%;
  width: 100%;
  color: #000000;
  font-size: 1.8rem;
/*  text-shadow: 2px 2px 2px #8fb5fc;*/
  background-image: url(../img/70th_anniversary_event/70th_anniversary_event_topimage.jpg);
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 0;
}

.main-title {
  color: #003b7a;
  text-shadow: 2px 2px 2px #e67d7d;
  font-size: 2.8rem;
}


.slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow:0 0 15px 3px #888888;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 2s ease,
    transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-caption {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(0,0,0,.5);
  padding: 10px 25px;
  border-radius: 50px;
  white-space: nowrap;
  text-shadow:
    0 2px 8px rgba(0,0,0,.8);
}

.slide-message {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  color: #ffeb3b;
  font-size: 2.5rem;
  font-weight: 900;
  z-index: 999;
  text-shadow:
    3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    0 0 15px rgba(0,0,0,.8);
}

.slide-caption,
.slide-message{
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
  transition:
    opacity 2.2s ease,
    transform 2.2s ease;
}

.slide-caption.show,
.slide-message.show{
  opacity: 1;
  transform: translateX(-50%) scale(1);
}


.body-text{
  max-width: 1200px;
  margin-top: 50px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.body-text .h2-title:first-of-type h2 {
  margin-top: 40px;
}

.body-text p {
  max-width: 1055px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.body-text ol,
.body-text ul {
  max-width: 1055px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  word-break: break-all;  
}

li {
  line-height: 1.8;
}

.place {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1055px;
  width: 85%;
  margin: 0 auto;
}

.place p {
  flex: 1;
  width:350px;
}

.place iframe {
  flex: 1;
  box-shadow: 0px 0px 10px 3px #aaaaaa;
  max-width: 750px;
  width: 80%;
  height: 300px;
  margin: 10px 0 40px;
}

.red {
  color: #ff0000;
}

.access {
  max-width: 1055px;
  width: 80%;
  margin: 0 auto;
}

.access p {
  margin: 5px;
}

.access img {
  display: block;
  margin: 0 auto 0 150px ;
  width: 200px;
}

.parking-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px; 
}

.parking-wrap p {
  flex: 1;
/*  max-width:600px;
  width:100%;*/
}

.parking-wrap figure {
  flex: 0 0 auto;
  max-width: 40%;
}

figure {
  display: block;
  width: auto;
/*  width: fit-content; */
  margin: 10px 0 20px 0;
  text-align: center;
}

figure iframe {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow:0px 0px 5px 3px #aaaaaa;
  max-width: 500px;
  width: 100%;
  margin: 10px 0 40px;
}

.preview {
  font-size: 150%;
  font-weight: bold;
  color:#0550d1;
  text-shadow: 2px 2px 2px #888888;
  margin-top: 30px;
}

.event-list {
  position: static;
  list-style-position:outside;
  list-style-type:disc;
  font-size:110%;
  }

.explanation {
/*  margin-left:10px;*/
  font-size: 90%;
  color:#003b7a;
  text-shadow: 1px 1px 1px #ffea03;
}  

.event-map-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  max-width: 1200px;
  width: 100%;
  margin: 0px auto 50px;
  position: relative;
}

.center-map {
  grid-column: 2 / 5;
  grid-row: 2 / 5;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.center-map img{
  width: 100%;
  max-width: 750px;
  height: auto;
  border-radius:10px;
  box-shadow:0 0 30px #333333;
}

.photo {
  position: absolute;
  z-index: 10;
}

/* 初期状態：非表示＋少し下にずらす */
.photo {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2.5s ease, transform 2.5s ease;
}

.photo.show {
  opacity: 1;
  transform: translateY(0);
}

.p1 img,
.p3 img,
.p4 img {
  width: 25vw;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow:0 0 10px #333333;
}

.p2 img {
  width: 12vw;
  max-width: 120px;
  height: auto;
  border-radius: 30px;
  box-shadow:0 0 10px #333333;
}  

.p5 img,
.p6 img {
  width: 12vw;
  max-width: 120px;
  height: auto;
  border-radius: 20px;
  box-shadow:0 0 10px #333333;
}  

.p7 img,
.p8 img,
.p9 img {
  width: 11vw;
  max-width: 110px;
  height: auto;
  border-radius: 50px;
  box-shadow:0 0 10px #333333;
}  


.p1 { top: 13%; left: 4%; }
.p2 { top: 8%; left: 22%; }
.p3 { top: 38%; right: 7%; }
.p4 { top: 58%; left: 10%; }
.p5 { bottom: 3%; left: 61%; }
.p6 { bottom: 3%; left: 46%; }
.p7 { bottom: 21%; left: 69%; }
.p8 { bottom: 14%; left: 72%; }
.p9 { bottom: 7%; left: 72%; }


.photo img{
  transition: .4s;
}

.photo img:hover{
  transform: scale(1.05);
}

.photo .label{
  display: block;
  text-align: center;
  margin-top: 2px;
  font-size: 14px;
  color: #ffffff;
  background: rgba(20, 70, 185, 0.85);
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hosoku {
  text-align: right;
}

.mobile-design {
  display: none;
}



/* 1070px以下の場合 */

@media(max-width:1070px){

nav ul{
	font-size:85%;
}

}



/* 768px以下の場合 */

@media screen and (max-width: 768px) {

p{
	font-size:100%;
	line-height:1.5;
}

img {
  max-width: 100%;
  height: auto;
}

.header-in {
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

#header-logo {
  width: 97%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#header-logo2 {
  display: none;
  /*  width: 10%;
    height: auto;
    padding: 0; */
  }

.nav-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #0b3d91;
  margin: 0;
  padding: 0;
}

.nav-menu.active {
  display: flex;
}

.nav-menu > li {
  border-right: none;
  border-bottom: 1px solid #ffffff;
}

.nav-menu > li > a {
  color: #ffffff;
  padding: 14px;
  text-align: left;
} 

.nav-menu > li.has-sub > a {
  position: relative;
  padding-right: 32px;
}

.nav-menu > li.has-sub > a::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 12px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

/* ▼ sub-menu が開いたときに回転 */
.nav-menu > li.has-sub > a.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.sub-menu {
  position: static;
  display: none;
  background: #003b7a;
  border: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.sub-menu.active {
  display: block;
}

.sub-menu li a {
  padding-left: 28px;
  color: #ffffff;
}

.hamburger {
  display: block;
  margin-left: 10px;
}

.footer-box {
  flex-direction: column;
  gap: 20px;
}

.term-box {
  flex-direction: column;
  gap: 10px;
}

.catch-message {
  max-width: 100%;
  width: 100%;
  font-size: 140%;
}

.slider {
  height: 280px;
}  

.slide-caption {
  top: 10px;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 20px;
}

.slide-message {
  font-size: 1.3rem;
  bottom: 15px;
  width: 90%;
  line-height: 1.3;
}


h3,h4 {
  max-width: 95%;
  width: 95%;  
}

.top-visual h1 {
  font-size: 1.5rem;
}

.main-title {
  font-size: 2.3rem;
}

.preview {
  font-size: 110%;
}

#event-layout {
  width: 100%;
}

.place {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.place p {
  max-width: 600px;
  width: 100%;
}

.place iframe {
  display: block; 
  align-self: center;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3; 
  height: 500px;
}

.access p {
  max-width: 600px;
  width: 100%;
}

.access img {
  margin: 10px auto 20px;
}

.parking-wrap {
  display: block; 
  flex-direction: column;
  align-items: flex-start;
}

.parking-wrap figure {
  display: block; 
  align-self: center;
  width: 100%;
  max-width: 300px; 
  margin: 10px auto 20px;
}

.item {
  text-decoration: underline;
}

.event-map-wrap {
  display: block;
  text-align: center;
  position: static;
  width: 100%;
  margin: 30px auto;
}

.center-map {
  position: static;
  margin: 30px auto;
}

.center-map figcaption {
  font-size: 120%;
  font-weight: bold;
  text-shadow: 2px 2px 2px #aaaaaa;  
}

.center-map img {
  width: 98%;
  max-width: 700px;
  margin-top: 10px;
}

.event-list{
  padding-left: 0;
  margin-left: 0;
  list-style-position: inside;
}


.photo {
  position: static;
  display: block;
  width: 100%;
  text-align: center;
  margin: 10px auto;
}

.p1 img,
.p3 img,
.p4 img {
  width: 100%;
  max-width: 600px;
}

.p2 img {
  width: 60%;
  max-width: 300px;
  border-radius: 50px;
}

.p5 img,
.p6 img {
  width: 80%;
  max-width: 400px;
}

.p7 img,
.p8 img,
.p9 img {
  width: 90%;
  max-width: 400px;
  border-radius: 80px;
}

.photo .label{
  display: block;
  margin: 2px auto 30px;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
}

.mobile-design {
  display: block;
}

.pc-design {
  display: none;
}

}


/* 390px以下の場合 */

@media screen and (max-width: 390px) {

  .top-visual h1 {
  font-size: 1.3rem;
}

}