/* =========================================================
   Shunan Voucher
   - No table layout. Use flex/grid.
   ========================================================= */

:root{
  --bg: #f7f1df;
  --bg2: #eaf5f9;
  --text: #14323a;
  --muted: #3f5c64;
  --brand: #007aaa;
  --brand-2: #0aa3bd;
  --card: rgba(255,255,255,.88);
  --stroke: rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 16px;
  --container: 1100px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:#fff7d7;
}

a{ color: var(--brand); text-underline-offset: 3px; }
a:hover{ opacity: .9; }

img{
  width:100%;
  max-width:100%;
  margin:0; 
  padding:0;
}
.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link{
  position: fixed;
  right: 10px;
  bottom: 20px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  z-index: 9999;
}
body{
  position:relative;
}
header{
    background-color: #FFF;
    position: fixed;
    width: 100%;
    z-index:1;
}

.top-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 0;
}
h1{
  margin-top:0.67em;
  margin-bottom:0.67em;
  line-height:1em;
}
.brand{
  font-size:20px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--text);
}
#mask{
  display:none;
  height:0;
  margin:0;
  padding:0;
}
.toggle_btn {
  display: none;
  height:0;
  margin:0;
  padding:0;
}
nav{
  display:inline;
}


@media screen and (max-width: 980px) {

nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 3;
  opacity: 0;
}
.open nav {
  left: 0;
  opacity: 1;
}
nav .inner {
  padding: 25px;
}
nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li a:hover {
  background: #e4e4e4;
}
  nav {
    left: -220px;
    width: 220px;
  }


/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}
/*============
#mask
=============*/
#mask {
  display: none;
  transition: all .5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}
.nav-list {
  display: block;
  align-items: right;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li {
  display: block;
  width:100%;
}
.nav-list li a{
  display: block;
  width:100%;
}
}



.nav-list{
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-list a{
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}
.nav-list a:hover{
  color: var(--text);
  background: rgba(0,122,170,.10);
}


#main{
  padding:50px 0px;
}

.hero{
  padding: 44px 0 0 0;
  background-image:url("../images/mv_back_line.png");
  background-size:cover;
  background-repeat:repeat-x;
  background-position:50%;
}

.hero-inner{
  width:800px;
  display: block;
  margin:auto;
}


.hero-lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.section{
  padding: 20px 0;
}
#step.section{
  background:#eaf5f5;	
}
#caution.section{
  background:#fff1e6;
}
.two-col{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.card.nonstyle{
  background: none;
  border: 0;
  border-radius: 0;
  padding:0;
  box-shadow:none;
}

.card h3{
  margin: 0 0 10px;
  font-size: 18px;
}
.card h4.subhead{
  margin: 16px 0 8px;
  font-size: 15px;
  color: var(--muted);
}
.card ul{
  margin: 0;
  padding-left: 18px;
}
.card li{ margin: 6px 0; }

.tag-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}
.tag-list li{
  border: 1px solid rgba(0,122,170,.25);
  background: rgba(0,122,170,.07);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
}

.cta-row{
  width:500px;
  margin:auto;
}

.btn {
  width: 100%;
  display:block;
}
.btn a {
  position: relative;
  top: 0;
  display: block;
  padding: 26px 0;
  background-color: #dd5510;
  box-shadow: 0 9px #963023;
  border-radius: 20px;
  font-size: 2em;
  color: #ffffff;
  font-weight:bold;
  text-align: center;
  text-decoration: none;
  transition: .2s ease-in-out;
}
.btn a::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left: 12px solid #fff;
}
.btn a:hover {
  top: 9px; /* 元の位置から9px分下げる */
  box-shadow: 0 0 #963023; /* 影を0pxにする */
}

.btn-primary a{
 background-color:#de322f;
}

a.disabled-link {
  pointer-events: none; /* クリックやタップを無効化 */
  background-color: #dbdbdb;
  box-shadow: 0 9px #888;
  cursor: default;      /* カーソルを矢印に戻す */
}

.echo::before,
.echo::after {
    position: absolute;
    top: 0.8rem;
    height: 1.8rem;
    content: '';
}
.echo {
    position: relative;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color:#555;
}

.echo::before {
    border-left: solid 3px;
    left: 0;
    transform: rotate(-30deg);
}

.echo::after {
    border-right: solid 3px;
    right: 0;
    transform: rotate(30deg);
}
.btn-ghost{
  background: rgba(255,255,255,.8);
  border-color: rgba(0,0,0,.10);
  color: var(--text);
}
.btn-ghost:hover{ background: #fff; }

.small-note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.figure{
  margin: 18px 0 0;
  padding: 0;
}
.figure img{
  width: 100%;
  height: auto;
  display: block;
}
.figure figcaption{
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.note-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.site-footer{
  border-top: 1px solid var(--stroke);
  background: #007bc7;
  padding: 28px 0 34px;
}
.footer-inner{

}
.footer-text,.footer-text a{
  margin: 0;
  color: #ffffff;
  font-weight: 650;
  text-align:center;
}
.footer-decor img{
  width: 100%;
  height: auto;
  display: block;
  opacity: .95;
}
.pc-none{
	display:none !important;
}
.sp-none{
	display:block !important;
}
.hide{
	display:block;
	width:60%;
	margin:auto;
}
.hide article:first-child{
	display:none;
}
/* Responsive */
@media (max-width: 980px){
  .cta-row{ width:100%; }
.sp-none{
	display:none !important;
}
.pc-none{
	display:block !important;
}
.btn a {
  padding: 20px 0;
  border-radius: 10px;
  font-size: 1.5em;
}
h1{
  width:120%;
}
.brand{
  font-size:15px;
}

.hide{
	width:100%;
}
  .hero-inner{ grid-template-columns: 1fr; width:100%; }
  .card-grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .note-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .section{ padding: 20px 0;}
}
