/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
footer {
  color: white;
  background: #222;
}

body {
  background-color: #00479D;
}

ul, ol {
   padding-inline-start: 0px;
}

ol {
  padding-left: 1.5rem;
}

.headLogo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #fff;
  padding: 0.3em;
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 35px;
}

.headLogo img{
  width: 180px;
}


#heroimg picture img {
  width:100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 35px;
}

.container {
  margin: 0 auto;
  padding: 0 20px 80px;
  width: 100%;
  max-width: 1280px;
  background-color: #d1e0f3;
}

.container img {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.container .p_list img {
  max-width: 980px;
}

.w30p {
  width: 30%;
  margin: 0 auto;
}

.w60p {
  width: 60%;
  margin: 0 auto;
}

.w80p {
  width: 80%;
  margin: 0 auto;
}

.mt2{
  margin-top: 2.0rem;
}

.mt5{
  margin-top: 5.0rem;
}

.txtc {
  text-align: center;
}

nav {
  display: grid; 
  padding: 1.0rem;
}

nav ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
  row-gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: 20px;
}

.button {
  padding: 1em;
  text-decoration: none;
  color: #00479d; 
  border: solid 1px #00479d;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  transition: 0.3s ease-in-out;
  letter-spacing: 0.1em;
}

.button:hover {
  background: #00479d;
  color:#fff;
}

.button:before, .button:after {
content: "";
position: absolute;
display: block;
transition: all 0.3s;
right: 0.6rem;
top: 50%;
}

.button:before {
width: 1.4rem;
height: 1px;
background: #00479d;
transform: translateY(-50%);
}

.button:after {
opacity: 0;
width: 0;
height: 0;
border-top: solid 1px currentColor;
border-right: solid 1px currentColor;
transform: translateY(-50%) rotate(45deg);
}

.button:hover:before {
width: 1.5rem;
background-color: #fff;
}

.button:hover::after {
opacity: 1;
width: 8px;
height: 8px;
}

footer {
  padding: 2rem;
  font-size: 15px;
  color: #9ca3af;
  background: #1d1e22;
}

.ttl_frame {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto;
  margin-top: 3.0em;
  margin-bottom: 2.0em;
  padding: 0.5em 1em;
  text-align: center;
  border-radius: 5px;
  color: #00479d;
}

.ttl_frame:before,
.ttl_frame:after {
  border-top: 1px solid;
  content: "";
  width: 2em; 
}

.ttl_frame:before {
  margin-right: 1em;
}

.ttl_frame:after {
  margin-left: 1em;
}


.box {
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 0 20px 0 rgba(0,60,179,.25);
  background-color: #fff;
}

.IllustGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
}


.ProductGrid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  padding: 0 2em;
  justify-items: center;
}

.Card {
  text-align: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 12px 28px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 300px;
}

.Card p span {
  font-size: 0.8rem;
}

.CardDescription {
  padding: 18px;
}

.CardDescription h3 {
  margin: 0;
}

.ProdctImg {
  width: 100%;
}

.img_list li{
  margin-bottom: 2em;
}

.descriptiontxt {
  line-height: 1.8rem;
}

.descriptiontxt span {
  font-size: 0.8rem;
}

.descriptionList li{
  list-style: decimal;
}

.descriptionList li::marker{
  font-weight: bold;
}

.descriptionList li span{
  font-weight: bold;
  margin-top: 1.2em;
  display: block;
}

.cautions li {
  list-style: none; 
  padding-left: 1.2em;
  text-indent: -1.2em; 
}

.cautions li::before {
  content: "・";
  margin-right: 0.5em;
}


.btn_frame {
  background-color: #000000;
  color: #fff;
  margin-top: 2.0em;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn_frame:hover {
  background-color: #363636;
}

.container img.payments{
  max-width: 600px;
}

.customer {
  margin-top: 3.0em;
}
.copyright {
    font-size: 11px;
}

.sp-only{
  display: none;
}

.past-event .button {
    display: inline-block;
    padding-right: 3em;
    margin-top: 40px;
}


@media only screen and (min-width: 768px) and (max-width: 960px) {
  nav ul {
    grid-template-columns: repeat(3, 1fr);
  }
  /* .ProductGrid {
    grid-template-columns: repeat(3, 1fr);
  } */
}

@media only screen and (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 15px 80px;
  }

  .w30p, .w60p, .w80p {
    width: 100%;
  }
  nav {
    padding: 0;
  }

  nav ul {
    grid-template-columns: repeat(2, 1fr);
  }
  
  nav ul li {
    margin: 5px 0;
    font-size: 0.8rem;
  }

  .ProductGrid {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }

  .IllustGrid {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;    
  }

  .ttl_frame {
    width: 100%;
  }

  .copyright {
    text-align: left;
  }

  .sp-only {
    display: block;
  }
 }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* 開催終了関連 */
.end {
  position: relative;
}

.end::before {
  content: "終了しました";
  position: absolute;
  
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 4.0rem;
  width: 100%;
  max-width: 800px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  white-space: pre;
  text-align: center;
}

.sm-end {
  position: relative;
}

.sm-end::before {
  content: "終了しました";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 4.0rem;
  width: 70%;
  max-width: 800px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  white-space: pre;
  text-align: center;
}

.end.--product::before {
  content: "各会場により内容が異なります";
  position: absolute;
  max-width: 980px;
}


.reserve-end {
  text-decoration: line-through;
}

.disc_btn.--close {
  background: #fff;
  color: #6b7a7f;
  border:1px solid #6b7a7f;
}

@media (max-width: 768px){
  .end::before,
  .sm-end::before {
  font-size: 4.6vw;
}
}

.reserve-caution{
  position: relative;
  width: 85%;
  margin: 40px auto;
  padding: 40px;
  border-top: solid 1px #00479d;
  border-bottom: solid 1px #00479d;
  font-size: 18px;
  font-weight: 600;
}

.reserve-caution::before {
  content:"" ;
  position: absolute;
  border-top: solid 1px #00479d;
  top:-4px;
  left: 0;
  width: 100%;
}

.reserve-caution::after {
  content:"" ;
  position: absolute;
  border-bottom: solid 1px #00479d;
  bottom:-4px;
  left: 0;
  width: 100%;
}

.bay-bg {
background: linear-gradient(0deg,rgba(0, 71, 157, 1) 0%, rgba(62, 162, 250, 1) 50%, rgba(38, 158, 234, 1) 100%);
}

.bay-bg .container {
  background-color: #cef1ff;
}

.tower-bg {
  background-color:  #00479D;
}
  

