/*! 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;
  line-height: 1.4;
  scroll-behavior: smooth;
  font-size: 62.5%;
}

::-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: #fff;
  font-size: 1.5rem;
  line-height: 1.8;
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  height: 100vh;
  margin: 0;
  background: linear-gradient(to right, rgba(224, 38, 30, 1) 50%, rgba(5, 68, 156, 1) 50%);
}


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: 40px;
}

.headLogo img{
  width: 180px;
}

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

.container {
  margin: 0 auto;
  padding: 0 20px 80px;
  width: 90vw;
  max-width: 1280px;
  background-color: #fff;
}

.Polka {
  background-image:
    radial-gradient(#F2F2F2 8px, transparent 8px),
    radial-gradient(#F2F2F2 8px, #ffffff 8px);
  background-size: 55px 55px;
  background-position: 0 0, 27.5px 27.5px;
  background-repeat: repeat;
  background-attachment: fixed;
}

.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;
}

a:not([class]):hover{
  opacity: 0.6;
}

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 {
  font-size: 17px;
  font-family: inherit;
  font-weight: 700;
  padding: 6px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  color: black;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
    rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  background: linear-gradient(
    0deg,
    rgba(5, 68, 156, 1) 0%,
    rgba(5, 68, 156, 1) 47%,
    rgba(224, 38, 30, 1) 47%,
    rgba(224, 38, 30, 1) 100%
  );
  transition: all 0.2s ease;
}

.button .button-inner {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #000;
  padding: 0.7em 1.5em;
  padding-left: 1.2em;
  border-radius: 16px;
  text-decoration: none;
}

.button:hover {
  opacity: 0.8;
}


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

.footer__navi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 2rem;
}

.footer__navi li {
  display: inline-block;
}

.footer__navi li:not(:last-child) {
  margin-right: 16px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.ttl_frame {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  margin-top: 3.0em;
  margin-bottom: 1.0em;
  
}

.balloon-img {
  width: 100%;
  display: block;
}

.ttl_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -110%);
  z-index: 1;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 3.0rem;
  text-align: center;
  color: #000;
  letter-spacing: 0.2em;
}



.box {
  padding: 3rem;
    border: 3px solid #000;
    border-radius: 20px;
    box-shadow: 8px 8px 0 0 rgba(224, 38, 30, 1);
    background-color: #fff;
}

.box h3 {
  margin-top: 0;
}

.box:nth-child(2n) {
  padding: 3rem;
    border: 3px solid #000;
    border-radius: 20px;
    box-shadow: 8px 8px 0 0 #05449c;
    background-color: #fff;
}

.informationgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  row-gap: 40px;
  padding: 0 20px;
}

.informationgrid .box {
  position:relative;
}

.informationgrid .box:nth-child(1):before {
     position: absolute;
    content: "1";
    font-size: 120px;
    color: #05449c;
    right: 8px;
    top: -90px;
    font-weight: bold;
}

.informationgrid .box:nth-child(2):before {
     position: absolute;
    content: "2";
    font-size: 120px;
    color: #E0261E;
    right: 8px;
    top: -90px;
    font-weight: bold;
}

.informationgrid .box:nth-child(3):before {
     position: absolute;
    content: "3";
    font-size: 120px;
    color: #05449c;
    right: 8px;
    top: -90px;
    font-weight: bold;
}

.informationgrid .box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
}

.place {
  height: 40%;
}

.schedule,
time {
  height: calc((60% -16px) / 2);
}

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

#online-product .ttl_text {
    font-size: 2.5rem;
    transform: translate(-50%, -90%);
}

.btn-shop-box {
  text-align: center;
  margin-top: 56px;
}


.button.shop {
  font-size: 20px;
  font-family: inherit;
  font-weight: 700;
  padding: 6px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  color: black;
}

.button.shop .button-inner {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #000;
  padding: 1em 1.5em;
  padding-left: 1.2em;
  border-radius: 16px;
  text-decoration: none;
}


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

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

.CardDescription {
  padding: 18px;
}

.CardDescription h3 {
  margin: 0;
}

.Card {
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 8px 8px 0 0 rgba(224, 38, 30, 1);
  background-color: #fff;
}

.Card:nth-child(2n) {
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 8px 8px 0 0 #05449c;
  background-color: #fff;
}

.ProdctImg {
  width: 100%;
}

.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;
}

.container img.comingsoon {
  max-width: 400px;
  transform: rotate(-10deg);
  margin: 30px auto;
}

.sp-only {
  display: none;
}

.copyright {
    font-size: 11px;
    text-align: center;
}

.customer {
  margin-top:3.0em;
}

.tokuten-form {
  font-size: 1.8rem;
}

@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);
  }
    .informationgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  #heroimg picture img{
    width: 100%;
  }

  .container {
    width: 96vw;
    padding: 0 20px 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(2, 1fr);
    padding: 0;
    gap: 24px;
  }

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

  .ttl_frame {
    width: 100%;
  }

  .copyright {
    text-align: left;
  }

  .sp-only {
    display: block;
  }

  .Polka {
  background-image:
    radial-gradient(#F2F2F2 4px, transparent 4px),
    radial-gradient(#F2F2F2 4px, #ffffff 4px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  background-repeat: repeat;
  background-attachment: fixed;
}
 }

/* ==========================================================================
   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;
  }
}

