@charset "UTF-8";

/*
COLORS
================================================ */
:root {
    --gray: #555;
    --black: #000000;
    --white: #fff;
    --brown: #432;
    --skyblue: #0bd;
    --cream:#fffaf0;
    --red:#ff0000;
    --red2:#b22222;
    --blue:#1d4aff;
}
@media (prefers-color-scheme: dark) {
    :root {
        --text: #ddd;
        --bg: #000;
    }
}

/*共通部分
-------------------------------*/
html{
    font-size: 62.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
}
body{
    height: 100%;
    font-size: 16px;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    color:var(--black);
    font-family: 'Bree Serif', sans-serif;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999999;
    text-align:center;
    color:#fff;
}
/*========= 画面遷移のためのCSS ===============*/

body.appear{
    background:#fff;/*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
  display:block;
}

/*上に消えるエリア*/
body.appear .splashbg1{
  animation-name:PageAnime;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
    left:0;
    transform: scaleY(1);
    background-color: var(--black);/*伸びる背景色の設定*/
}

@keyframes PageAnime{
  0% {
    transform-origin:top;
    transform:scaleY(1);
  }

  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*下に消えるエリア*/
body.appear .splashbg2{
    animation-name:PageAnime2;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
  left:0;
    transform: scaleY(1);
    background-color: var(--black);/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
  0% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
  opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay:0.2s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}
/*--ここまでが画面移動アニメーション--*/

/* 一般
---------------------------------*/
p {
    line-height: 1.7;
    font-family: 'Noto Serif JP', serif;
}
img {
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
a:hover {
    color: #0bd;
}
a{
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}

/* HEADER
---------------------------------*/
.logo{
    width: 27rem;
    height: 4.7rem;
    margin-left: 1.5rem;
}
.main-nav{
    display: flex;
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-top: 2.9rem;
    margin-right: 2.5rem;
    list-style: none;
}
.main-nav li{
    margin-left: 3.6rem;
}
.main-nav a{
    font-family: 'Sawarabi Mincho', serif;
    display: inline-block;
	position: relative;
	text-decoration: none;
    color: var(--black);
}
.main-nav a::after {
	position: absolute;
	content: '';
	bottom: .2em;
	left: 0;
	width: 100%;
	height: .1rem;
	opacity: 0;
	background: var(--red);
	transition: all .3s ease 0s;
}
.main-nav a:hover{
    color: var(--red);
    cursor: pointer;
}
.main-nav a:hover::after {
	bottom: 0;
	opacity: 1;
}
.page-header{
    display: flex;
    justify-content: space-between;
    height: 90px;
    background-image: url(../../images/background-white.jpg);
}

/*メインコンテンツ
------------------------------------*/
#npay-background{
    position: relative;
    text-align: center;
    height: 105%;
    background-image: url(../../images/background-white.jpg);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode: lighten;
}
.form-container{
    padding-bottom: 4rem;
}
.form-container input,
.form-container textarea {
    display: block;
    margin: 30px auto;
    font-size: 2.0rem;
    padding: 10px;
    width: 80%;
    max-width: 600px;
}

input {
    border: none;
    border-bottom: 1px solid;
}

input:focus {
    outline-color: transparent;
    border-bottom-color: darkcyan;
}
/*-------ギフトボックコンテナ------*/
.giftbox-contents{
    display: block;
    font-size: 2.0rem;
    max-width: 700px;
    padding: 3rem 1rem;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}
.giftbox-contents h2{
    font-family: 'Noto Serif JP', serif;
    font-weight:100;
    text-shadow: 1px 1.5px 2px #808080; 
}
.text-span{
    color: var(--red2);
}
.set-span{
    font-weight: bold;
    color: var(--black);
}
.price-text{
    font-size: 2.3rem;
}

.pay-infomation{
    max-width: 700px;
    padding: 1rem 1rem;
    margin: 0 auto 2rem;
    text-align: center;
    align-items: center;
    border: 5px double #333333;
}
.pay-infomation p {
    display: inline-block;
    text-align: left;
    line-height: 1.8;
}
input[type="checkbox"]#agree {
    display: block;
    margin: 0 auto 10px auto; /* 上:0, 左右:autoで中央, 下:10px */
    transform: scale(1.3); /* 必要に応じてサイズ調整（任意） */
  }
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
.underbar-red{
    border-bottom: 1.5px solid var(--red2);
}
.infotitle_color{
    color: var(--blue);
}
.btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 15px;
    font-size: 1.4rem;
    cursor: pointer;
    border: none;
    background-color: #f5f2f0;
}
.r-btn {
    color: #555;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    margin: 0px auto 20px;
    display: inline-block;
    text-decoration: none;
    width: 300px;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s;
    border: 1px solid #a07b00;
}

.r-btn:hover {
    background-color: #555;
    color: #e7e7e7;
}

.r-btn_form {
    background-color: transparent;
}

.r-btn_link {
    background-color: transparent;
}
.c-btn {
    color: #555;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    margin: 20px auto;
    display: inline-block;
    text-decoration: none;
    width: 200px;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s;
    border: 1px solid #555;
}

.c-btn:hover {
    background-color: #555;
    color: #e7e7e7;
}

.c-btn_form {
    background-color: transparent;
}

.c-btn_link {
    background-color: transparent;
}

/*-------送信完了画面------*/
.sendform-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向中央 */
    align-items: center;      /* 横方向中央 */
    height: 100vh;            /* 画面全体を高さにする */
    text-align: center;       /* メッセージ内の文字も中央寄せ */
}

.sendform-container p {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.center-button {
    margin-top: 20px;
}

.c-btn {
    color: #555;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    margin: 20px auto;
    display: inline-block;
    text-decoration: none;
    width: 200px;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s;
    border: 1px solid #555;
}

.c-btn:hover {
    background-color: #555;
    color: #fff;
}


/*npayConfirm
-----------------------------------------*/
.confirm-container{
    max-width: 700px;
    padding: 4rem 1rem ;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}
.confirm-table {
    background:rgba(255, 255, 255, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.5);	/*テーブルの一番上の線。幅、線種、色*/
	table-layout: fixed;
	width: 100%;
	margin: 30px auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}
.confirm-table tr{
    border-bottom: 1px solid rgba(47, 47, 47, 0.5);	/*テーブルの下線。幅、線種、色*/
}
.confirm-table th{
    width: 20%;
}
.confirm-table th,
.confirm-table td {
    font-size: 1.6rem;
	padding: 20px 10px 20px 50px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}
.btn {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 15px;
    font-size: 1.4rem;
    cursor: pointer;
    border: none;
    background-color: #f5f2f0;
}

.btn:hover {
    opacity: 0.8;
}

a.back-btn {
    display: block;
    color: #333;
    text-decoration: none;
    text-align: center;
    background-color: #f5f2f0;
}
.l-confirm .c-btn {
    display: inline-block;
}


/*HumburgerButton
-----------------------------------------*/
@media screen and (min-width: 992px){
    .hamburger-menu{
        display: none;
    }
}
@media screen and (max-width: 992px){
.main-header_container{
       display: none; 
}
.form-container h2{
    font-size: 2rem;
}
.form-container p{
    font-size: 1.6rem;
}
.confirm-table th,
.confirm-table td {
    font-size: 1.2rem;
    padding: 10px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
}
 /*--メニューボタン--*/
 .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--black);
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: var(--white);
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}
/*--メニュー中身--*/
.main-nav{
display: none;
}
.menu-content {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 100%;/*leftの値を変更してメニューを画面外へ*/
z-index: 80;
background-color: rgba(0,0,0, .5);
transition: all 0.5s;/*アニメーション設定*/
}

.menu-content ul {
padding: 70px 10px 0;
}
.menu-content ul li {
border-bottom: solid 1px #ffffff;
list-style: none;
}
.menu-content ul li a {
display: block;
width: 100%;
font-size: 1.5rem;
box-sizing: border-box;
color:#ffffff;
text-decoration: none;
padding: 9px 15px 10px 0;
position: relative;
}
.menu-content ul li a::before {
content: "";
width: 7px;
height: 7px;
border-top: solid 2px #ffffff;
border-right: solid 2px #ffffff;
transform: rotate(45deg);
position: absolute;
right: 11px;
top: 16px;
}
#menu-btn-check:checked ~ .menu-content {
left: 0;/*メニューを画面内へ*/
}

}