* {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  line-height: 1.8;
  box-sizing: border-box;
}
html, body, div, span, p, a, del, em, img, ol, ul, li, fieldset, form, label {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html, body {
	line-height: 1;
	min-height:100%;
	font-family:Artial, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
	background: #333;
	background: -webkit-linear-gradient(top, #eeeeee, #cccccc 100%);
	background: -moz-linear-gradient(top, #eeeeee, #cccccc 100%);
	background: -o-linear-gradient(top, #eeeeee, #cccccc 100%);
	background: -ms-linear-gradient(top, #eeeeee, #cccccc 100%);
	background: linear-gradient(top, #eeeeee, #cccccc 100%);
	background-attachment:fixed;
	-webkit-animation: fadeIn 5.0s ease 0s 1 normal;
	animation: fadeIn 5.0s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

ol, ul {
	list-style: none;
}

p {
  font-size: 18px;
}

q {
	font-style:italic;
	color:#333;
}

h1 {
	font-size: 42px;
  margin-bottom: 20px;
}

h1 > small {
	text-align:right;
	display:inline-block;
	font-size:.71em;
	text-indent:15em;
	color:#444;
}

h2 {
	color:inherit;
	font-size: 30px;
  margin-bottom: 20px;
}

h2:first-child {margin-top:0;}

h3 {
	color:#333;
	font-size:1.41em;
	margin:1em 0;
}

h4 {
	color:#444;
	font-size:1.11em;
	margin:1em 0;
}
img {
  display: block;
  width: 100%;
}
@media screen and (max-width: 480px) {
  h2 {
    font-size: 18px;
  }
  p {
    font-size: 12px;
    text-align: left;
  }
}

/*==========================================================
 -- #header --
==========================================================*/
/* スクロール値 */
#scrollNum {
	text-align:right;
	margin:0 10px 0 0;
	z-index:1000;
	position:fixed;
}
/* signin */
#signin_container {
  position: absolute;
  background-image: url('../images/2025/5月/IMG_1595.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center -620px;
  width: 100%;
  height: 100vh;
  align-items: center;
  align-content: center;
  z-index: 2000;
}
/* 背景画像と文字を区別させるためのオーバーレイ */
#signin_container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
.form-structor {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  height: 280px;
  width: 400px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 200px;
}
.form-structor::after {
  content: '';
  opacity: .8;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.form-structor .signin {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  width: 65%;
  z-index: 5;
  -webkit-transition: all .3s ease;
}
.form-structor .signin .form-title {
  color: #fff;
  font-size: 1.7em;
  text-align: center;
}
.form-structor .signin .form-holder {
  border-radius: 15px;
  background-color: #fff;
  overflow: hidden;
  /* margin-top: 50px; */
  opacity: 1;
  visibility: visible;
  -webkit-transition: all .3s ease;
}
.form-structor .signin .form-holder .input {
  border: 0;
  outline: none;
  box-shadow: none;
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 8px 15px;
  border-bottom: 1px solid #eee;
  width: 100%;
  font-size: 12px;
}
.form-structor .signin .form-holder .input:last-child {
  border-bottom: 0;
}
.form-structor .signin .form-holder .input::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.form-structor .signin .submit-btn {
  background-color: rgba(255, 255, 255, 0.4);
  color: rgba(0, 0, 0, 0.8);
  border: 0;
  border-radius: 15px;
  display: block;
  margin: 20px auto;
  padding: 15px 45px;
  width: 80%;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  -webkit-transition: all .3s ease;
}
.form-structor .signin .submit-btn:hover {
  transition: all .3s ease;
  background-color: rgba(255, 255, 255, 0.8);
}

/*==========================================================
 -- #main --
==========================================================*/
.main_hidden {
  visibility: hidden;
}

/*==========================================================
 -- #bg --
==========================================================*/
#bg {
	width:100%;
	height:100%;
	background-color:rgba(51, 51, 51, 1);
}
#bg #particles-js-main {
	position:relative;/*基準要素、子の基準となる*/
}
/*アニメーション描画用*/
#bg #particles-js-main canvas{
	position:absolute;/*親のブロックを基準にして相対位置に配置する*/
	/*位置指定*/
	top:0;
	right:0;
	z-index:-1;/*重ね順を-1に　※1以上だとほかのコンテンツの上に被さってしまいます*/
}
#bg #particles-js-main .bg_container {
	width:100%;
  height: 100vh;
}

/*==========================================================
 -- #intro --
==========================================================*/
#intro {
  position: relative;
	width:100%;
	height: 100vh;
	text-align:center;
  align-content: center;
  z-index: 100;
}
@media screen and (max-width: 480px) {
  #intro {
    margin-bottom: 60px;
  }
}
#intro::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-image:url("../images/2024/11月/IMG_0360.jpeg");
  background-position: top 50% right;
  background-size: cover;
  opacity: 0.3;
}
#intro .intro_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	width:50%;
	margin: 0 auto;
	padding:2em;
	background-color:rgba(255, 255, 255, 0.7);
	text-align:center;
  align-content: center;
	border-radius:1em;
}
#intro .intro_wrapper .intro_title{
  width: 80%;
  margin: 0 auto;
	margin-bottom: 20px;
}
#intro .arrows {
	font-size:2em;
	color:#09f;
}

@media screen and (max-width: 480px) {
  #intro::before {
    opacity: 1;
  }
  #intro .intro_wrapper {
  	position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #intro .arrows {
  	text-align: center;
  }
}

/*==========================================================
 -- #birthday --
==========================================================*/
#birthday {
	width:100%;
	height:100%;
  z-index: 100;
}
@media screen and (max-width: 480px) {
  #birthday {
    margin-bottom: 60px;
    padding: 0 30px;
  }
}
#birthday_wrapper {
	top:25%;
	width:50%;
}
#birthday_wrapper_sub {
	top:35%;
	width:50%;
}

@media screen and (max-width: 480px) {
  #birthday_wrapper,  #birthday_wrapper_sub {
    width: 100%;
    margin-bottom: 10px;
  }
}
.drop {
	color: #09f;
	font-weight:bold;
	font-size:300%;
}
.nonDrop {
	color: #fff;
	background: none;
}
@media screen and (max-width: 480px) {
  .drop {
    font-size: 24px;
  }
  .nonDrop {
    font-size: 14px;
    color: #000;
  }
  .dropList {
    display: flex;
    justify-content: center;
    align-items: baseline;
  }
  .dropList .drop, .dropList .nonDrop {
    margin-right: 8px;
  }
}

/*==========================================================
 -- #video --
==========================================================*/
#video {
	width: 100%;
	height: 100%;
	text-align:center;
	font-size:150%;
  z-index: 100;
}
@media screen and (max-width: 480px) {
  #video {
    margin-bottom: 60px;
  }
}
/* ラッパー（外側の要素） */
.video-wrapper {
  aspect-ratio: 16 / 9;  /* 縦横比（アスペクト比） */
  overflow: hidden;
  position: relative; /* 絶対配置するコンテンツや疑似要素の基準とする */
  width: 100%;
	height: 100%;
}
/* 疑似要素でオーバーレイを表示 */
.video-wrapper::before {
  content: "";
  position: absolute; /* 絶対配置 */
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(9, 2, 108, 0.15);
}
/* video 要素 */
.video-wrapper video {
  width: 100%;  /* 明示的に幅を設定（必須） */
  height: 100%; /* 明示的に高さを設定（必須） */
  object-fit: cover; /* コンテンツボックスに収まるように拡大縮小 */
}
.video-content {
  margin: 0;
  position: absolute; /* 絶対配置 */
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
#content .video-content h2 {
  letter-spacing: 0.1rem;
  text-shadow: 2px 2px 2px #444;
  color: #fff;
}
.video-content p {
  max-width: 600px;
  padding: 0 2rem;
}
@media screen and (max-width: 480px) {
  .video-wrapper {
    aspect-ratio: 1 / 1;
  }
}

/*==========================================================
 -- #gallery --
==========================================================*/
#gallery {
	width:100%;
	height:100%;
  z-index: 500;
	text-align:center;
  align-content: center;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@media screen and (max-width: 480px) {
  #gallery {
    top: 0% !important;
    margin-bottom: 60px;

  }
  .tp-grid {
    margin-left: 0 !important;
  }
  .tp-grid li {
    width: 80% !important;
    max-height: 220px;
    right: 0;
    margin: 0 auto;
  }
}
.clickOff {
  pointer-events: none;
}
#topbar {
  display: none;
}

/*==========================================================
 -- #present --
==========================================================*/
#present {
	width:100%;
	height:100%;
	text-align:center;
  z-index: 100;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@media screen and (max-width: 480px) {
  #present {
    background-color: #000;
    margin-bottom: 60px;
    padding: 30px;
  }
}
#present .present_wrapper {
	width: 100%;
	margin: 0 auto;
}
#present .present_wrapper .present_title {
  width: 100%;
}
#present .present_wrapper .present_title img{
	width: 70%;
	margin: 0 auto;
}
#present .present_wrapper .present_flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
	padding: 0 100px;
}
#present .present_wrapper .present_flexbox li{
  width: 40%;
}
@media screen and (max-width: 480px) {
  #present .present_wrapper .present_flexbox {
    display: block;
    padding: 0 30px;
  }
  #present .present_wrapper .present_flexbox li{
    width: 100%;
  }
}
.modal-open-button {
  text-decoration: none;
  cursor: pointer;
  border: none;
}
#modalWin1, #modalWin2, #modalWin3 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6); /* 背景色 */
  opacity: 0; /* 初期状態では透明 */
  visibility: hidden; /* 初期状態では不可視 */
  transition: opacity 0s, visibility 0s; /* アニメーション効果 */
  z-index: 9999;
}
#modalWin1.modalActive, #modalWin2.modalActive, #modalWin3.modalActive {
  opacity: 1;
  visibility: visible;
  transition: opacity 2.5s, visibility 2.5s;
}
.modal-wrapper {
  position: relative;
  width: 90%;
  max-width: 700px;
  max-height: 80%;
  padding: 20px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  transition: scale 0s;
  scale: 0;
}
.modal .modal-wrapper.modal-wrapperActive {
  transition: scale 2.0s;
  scale: 1.0;
}
/* モーダルの閉じるボタン */
#closeSpan {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: black;
  text-decoration: none;
  cursor: pointer;
  transform: translate(50%, -50%);
}
.modal-content .present_title, .modal-content p {
	margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
  .modal-content .present_title, .modal-content p {
  	text-align: center;
  }
}
.modal-content .mozaiku {
	font-size: 32px;
	font-weight: bold;
	color: red;
	animation: blur 3s both ease-in;
}
@media screen and (max-width: 480px) {
  .modal-content .mozaiku {
  	font-size: 22px;
  }
}
.modal-content .mozaiku_sub {
	animation: blur 4s both ease-in;
}
#modalWin1 {
	background: url(../images/item/present1_back.jpeg) no-repeat center;
	background-size: cover;
	background-position: top 40% right;
  overflow: hidden;/*ブラー効果でボヤけた部分を非表示*/
}
@media screen and (max-width: 480px) {
  #modalWin1 {
	  background-position: center;
  }
}
#modalWin2 {
	background: url(../images/item/present2_back.jpeg) no-repeat center;
	background-size: cover;
  overflow: hidden;/*ブラー効果でボヤけた部分を非表示*/
}
#modalWin3 {
	background: url(../images/item/present3_back.jpg) no-repeat center;
	background-size: cover;
  overflow: hidden;/*ブラー効果でボヤけた部分を非表示*/
}
/*:beforeにぼかし効果を設定する*/
.modalWin2_mozaiku:before, .modalWin3_mozaiku:before{
  content: '';
  background: inherit;/*.bgImageで設定した背景画像を継承する*/
  animation: blur 3s both ease-in;
  position: absolute;
  /*ブラー効果で画像の端がボヤけた分だけ位置を調整*/
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  z-index: -1;/*重なり順序を一番下にしておく*/
}
@keyframes blur {
  from {filter: blur(50px);}
  to {filter: blur(0);}
}

/*==========================================================
 -- letter --
==========================================================*/
#letter {
	width:100%;
	height:100%;
	border:0 solid #222;
  z-index: 100;
  align-content: center;
  margin-bottom: 60px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.letter {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 605px;
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
	margin: 0 auto;
}
.letter:before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 60px;
  background: radial-gradient(#575450 6px, transparent 7px) repeat-y;
  background-size: 30px 30px;
  border-right: 3px solid #D44147;
  box-sizing: border-box;
}
.letter-content {
  position: absolute;
  top: 30px; right: 0; bottom: 30px; left: 60px;
  background: linear-gradient(transparent, transparent 28px, #91D1D3 28px);
  background-size: 30px 30px;
}
.letter-content p {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  line-height: 30px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: black;
  box-sizing: border-box;
  margin: 0 auto;
}
.letter-content p span.letter_from {
	float: right;
}
.letter-content:before,
.letter:after {
  content: "";
  position: absolute;
  z-index: -1;
}
.letter-content:before {
	height: 110%;
  width: 102%;
  background: #fafafa;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  left: -5px;
  top: -30px;
  transform: rotate(-3.5deg);
}
@media screen and (max-width: 480px) {
  .letter-content:before {
    width: 100%;
  }
}
.letter:after {
	height: 101%;
	width: 100%;
	background: #f6f6f6;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
	right: -3px;
	top: 1px;
	transform: rotate(1.5deg);
}
@media screen and (max-width: 480px) {
  #letter {
  	padding:0;
  }
  .letter {
    height: 510px;
  }
  .letter:before {
    width: 30px;
  }
  .letter-content {
    left: 30px;
    background: linear-gradient(transparent, transparent 13px, #91D1D3 13px);
    background-size: 14px 14px;
  }
  .letter-content p {
    line-height: 14px;
  }
}

/*==========================================================
 -- #audio --
==========================================================*/
.audio {
  position: fixed;
	bottom: 0;
  width: 100%;
  box-shadow: 0 0 4px 0 rgb(0 0 0 / 40%);
  z-index: 1000;
}
.audio .audio_wrapper {
  position: absolute;
  height: 54px;
  bottom: 20px;
  right: 20px;
  border: none;
}

/*==========================================================
 -- #pagetop --
==========================================================*/
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  left: 30px;
  bottom: 20px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}
.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

/*==========================================================
 -- #scrollbar --
==========================================================*/
#scrollbar {
	height:2%;
	background:#444;
	bottom:0;
	z-index:1000;
}

/*==========================================================
 -- #fin --
==========================================================*/
#fin {
	width:100%;
	height:100%;
  background-image: url("../images/item/fin.jpg");
  background-position: top 100% right;
  background-size: cover;
  z-index: 1001;
  align-content: center;
}
#countdown {
  width: 100%;
  height: 160px;
  padding: 30px;
  align-items: center;
}
.countdown_wrapper {
  display: block;
  width: fit-content;
  height: 100%;
  color: #fff;
  font-size: 24px;
  z-index: 2;
  margin: 0 auto;
  align-content: center;
}
@media screen and (max-width: 480px) {
  .countdown_wrapper {
    font-size: 18px;
  }
}
/*==========================================================
 -- #sp_none --
==========================================================*/

@media screen and (max-width: 480px) {
  .sp_none {
  	display: none;
  }
}
