@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Radley:ital@0;1&display=swap');

@font-face {
  src: url("/fonts/AveriaSerifLibre-Bold.ttf") format("truetype");
  font-family: "AveriaSerifLibre-Bold";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  src: url("/fonts/JosefinSans-Bold.ttf") format("truetype");
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  src: url("/fonts/JosefinSans-Regular.ttf") format("truetype");
  font-family: "Josefin Sans";
  font-style: normal;
  font-display: swap;
}

@font-face {
  src: url("/fonts/NotoSansJP-Regular.ttf") format("truetype");
  font-family: "NotoSansJP";
  font-style: normal;
  font-display: swap;
}

@font-face {
  src: url("/fonts/NotoSansJP-Bold.ttf") format("truetype");
  font-family: "NotoSansJP";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

/*** 基本構造 ***/

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  height: 100%;
  line-height: 1.6;
}

body {
  font-family: "NotoSansJP", sans-serif;
  height: 100%;
  font-size: 0.9rem;
  position: relative;
  /*HOMEのMVのWindows画面いっぱい表示時の横スクロールバー対策*/
  overflow-x: hidden;
  /*HOMEのMVのWindows画面いっぱい表示時の横スクロールバー対策*/
}

main,
aside,
footer {
  width: 100%;
  padding: 1rem;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 127;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 0 0 0 16px;
}

footer {
  position: sticky;
  top: 100vh;
}

.wrap {
  max-width: 700px;
  width: 100%;
  margin: 72px auto;
  padding: 0;
}

.grid {
  padding-top: 1rem;
}


@media screen and (min-width: 570px) {

  .grid {
    max-width: 570px;
    padding-top: 2rem;
  }

}

@media screen and (min-width: 630px) {

  header {
    padding: 0 0 0 48px;
  }

}

@media screen and (min-width: 900px) {


  .wrap {
    max-width: 780px;
  }

  .grid {
    max-width: 900px;
  }

  main,
  aside,
  footer {
    padding: 1rem 3rem;
  }

}

@media screen and (min-width: 1230px) {

  /* header {
    padding: 0 0 0 64px;
  }*/

  main,
  footer {
    padding: 1rem 4rem;
  }

  .grid {
    max-width: 1230px;
  }

  main {
    width: 780px;
  }

  .grid main {
    width: 100%;
  }

  aside {
    width: 380px;
    padding: 1rem 4rem 1rem 0;
  }

  #global-nav {
    display: block;
  }

}


/*** 基本エレメント ***/

a {
  text-decoration: none;
}

a:link {
  color: #2204bc;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #2204bc;
  /*color: #8936aa;*/
}

a.url {
  word-break: break-all;
}

strong {
  font-weight: bolder;
}

ul,
ol {
  margin: 2rem 0;
  padding: 0;
}

#post-body {
  margin-bottom: 6rem;
}

#post-body ul,
#post-body ol {
  padding-left: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}


p {
  margin: 2rem 0;
}

h1 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
}

h2 {
  font-size: 1.2rem;
  margin: 3rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #666;
  font-feature-settings: "palt";
}

main h2 {
  position: relative;
  font-size: 1.3rem;
  padding: 0.5rem 0.5rem 0 0;
  color: black;
  border: none;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  /*border-bottom: 2px solid #777;*/
}

h3 {
  font-size: 1rem;
  margin: 3rem 0 0 0;
  font-feature-settings: "palt";
}

h1+h3,
h2+h3 {
  margin-top: 2rem;
}

h3+p {
  margin-top: 0.5rem;
}


.box {
  width: 100%;
  margin: 2rem 0;
  padding: 2rem;
  word-break: break-all;
  border-radius: 5px;
}

.gray-box {
  background: whitesmoke;
}

.border-box {
  border: 1px solid lightgray;
}

.shadow-box {
  box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}

.box h1,
.box h2 {
  font-family: 'Josefin Sans';
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  padding: 0;
  border: none;
}

.align-center-sp h1,
.align-center-sp h2 {
  text-align: center;
}

.thumb-and-text-flex {
  display: block;
}

.thumb-and-text-flex .img-box {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem auto;
}

.thumb-and-text-flex img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
}

.sns-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 1rem 0;
}

.sns-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 0.3rem 1rem;
  color: white;
  text-align: center;
  text-decoration: none;
  gap: 5px;
}

.sns-btn img {
  width: 22px;
  stroke-width: 3;
}

.sns-btn:hover {
  text-decoration: none;
}

.sns-btn span {
  color: white;
  display: inline-block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: bold;
  padding-bottom: 0rem;
}

.x {
  background: black;
}

.instagram {
  background: linear-gradient(-45deg, gold 0%, orangered 30%, magenta 60%, indigo 100%);
  /*background: #2204bc;*/
}

.line {
  background: #06C755;
}

.author-name {
  font-weight: bolder;
  margin-right: 1rem;
}

.hcb_wrap pre.prism {
  font-size: 14px;
}

@media screen and (min-width: 600px) {

  .box {
    padding: 2rem 3rem;
  }

  .box .thumb-and-text-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }

  .thumb-and-text-flex .info {
    display: block;
    flex: 1;
  }

  .align-center-sp h1,
  .align-center-sp h2 {
    text-align: left;
  }

  .thumb-and-text-flex img {
    margin: 0;
  }

  .sns-bar {
    justify-content: start;
  }
}

/*** HOME ***/
#mv {
  background: #efefef;
  padding: 0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

#mv canvas {
  display: block;
}



@media screen and (min-width: 1230px) {

  #mv {
    width: 100%;
  }

}

/*** NOTE　postのindexページ　***/
.note-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.note-box li {
  padding: 1rem 0;
}

.note-box ul article h1 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

/***パンくずリスト***/
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1rem 0;
}

.breadcrumb ul li:not(:last-of-type)::after {
  content: "›";
  margin: 0 .6em;
  /* 記号の左右の余白 */
  color: #777;
  /* 記号の色 */
}


/*** サイドバーエレメント ***/
aside h2 {
  /*font-family: 'Josefin Sans';*/
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
  padding-bottom: 0.2rem;
}

aside h2 a:link,
aside h2 a:visited {
  color: black;
}

aside h2 a:hover {
  text-decoration: none;
}


aside h2:first-of-type {
  margin-top: 0;
}

aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

aside ul li {
  padding: 1rem 0;
}

aside ul article h1 {
  font-size: 1.0rem;
  margin: 0 0 0.5rem 0;
}

aside ul article {
  width: 100%;
  padding: 0;
  font-size: 0.9rem;
}

aside ul article.product {
  display: flex;
  gap: 1rem;
}

.thumb {
  width: 100%;
  max-width: 100px;
}

aside ul article.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

aside ul article.product h1 {
  margin-bottom: 0;
}

aside ul article.product .spec {
  margin-bottom: 0;
}

aside #global-nav {
  /*font-family: 'Josefin Sans';*/
  margin-bottom: 4rem;
  display: none;
}

#global-nav ul {
  width: 200px;
  list-style: none;
}

#modal-content #global-nav ul {
  margin: 1rem auto 2rem auto;
}

#global-nav ul li {
  padding: 1rem 0;
}

#global-nav ul li .mode a {
  /*font-family: 'Josefin Sans';*/
  font-family: "Radley", serif;
  font-size: 1.6rem;
}



#global-nav ul li a {
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  color: black;
  line-height: 2.5rem;
}

#global-nav ul li a.active {
  color: gray;
  border-bottom: 3px solid gray;
  pointer-events: none
}

#global-nav ul li a:hover {
  border-bottom: 3px solid black;
}

@media screen and (min-width: 1230px) {
  aside #global-nav {
    /*display: block;*/
  }
}

/*** ロゴ、メニューバー、モーダル時グロナビのベース ***/

#logo {
  width: 170px;
  height: 72px;
  font-family: 'Josefin Sans';
  font-size: 1.7rem;
  font-weight: 900;
  padding: 1.1rem 0 0 0;
}

#logo a:link,
#logo a:visited {
  color: black;
}

#logo a:hover {
  text-decoration: none;
}

#logo img {
  width: 100%;
}

#menu-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.menu-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 72px;
}

.humberger {
  background: black;
}

.menu-btn,
#modal-close-btn {
  width: 26px;
  height: 26px;
  cursor: pointer;
  text-align: center;
}

.circle {
  border-radius: 50%;
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 80%);
  padding: 30px 10px;
  opacity: 0;
  visibility: hidden;
  transition: .1s;
  z-index: 255;
}

#modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

#modal.is-active {
  opacity: 1;
  visibility: visible;
}

#modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 99%;
}

#modal-content {
  background: white;
  text-align: left;
  line-height: 1.8;
  padding: 20px 40px;
}

#modal-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  margin: 30px;
}

@media screen and (min-width: 600px) {
  .menu-bar {
    width: 72px;
  }

}



/*** フッターエレメント ***/

footer {
  text-align: center;
}

footer nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

footer nav ul li {
  padding: 0;
}

.credit,
.credit a {
  font-size: 0.7rem;
  color: gray;
  text-decoration: none;
}


/*** フォーム ***/

form {
  margin: 2rem 0 3rem 0;
}

input,
textarea {
  font-size: 1rem;
  width: 100%;
  height: 2.5rem;
  margin: 0.5rem 0 2rem 0;
  padding: 10px;
  border: 1px solid darkgray;
  border-radius: 5px;
}

textarea {
  height: 12rem;
}

.form_btn {
  display: block;
  font-size: 1rem;
  text-align: center;
  width: 250px;
  height: 100%;
  padding: 0.7rem 0 0.8rem 0;
  margin: 1rem auto;
  line-height: 1rem;
  color: black;
  background: #ffd710;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .15);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}

::placeholder {
  font-size: 0.9rem;
  line-height: 1.5rem;
  color: #aaa;
}

.form_btn:link,
.form_btn:visited {
  color: black;
}

.form_btn:hover {
  text-decoration: none;
  background: #fcb040;
}

.dead,
.form_btn:disabled {
  background: #666;
  color: white !important;
  pointer-events: none
}

.form-message {
  text-align: center;
  margin: 0;
}

/*
.g-recaptcha {
  margin-bottom: 2rem;
}

.g-recaptcha div:first-of-type {
  margin: 0 auto;
}
*/

.grecaptcha-badge {
  visibility: hidden;
}

.info {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
}
.info a {
  color: #7fb8d3;
}
#select-box {
  display: block;
  width: 250px;
  background: #efefef;
  margin: 1rem auto;
  padding: 0.7rem 1.5rem;
  border: 1px solid lightgray;
  border-radius: 5px;
}

#select-box select {
  font-size: 1rem;
  color: black;
  background: white;
  width: 90px;
  margin: 0 0.4rem;
  padding: 0.3rem;
  border: none;
  border-radius: 9999px;
}

.required {
  font-size: 0.8rem;
  color: crimson;
  margin-left: 0.5rem;
}

/*** STRIPE ***/
#checkout {
  margin: 3rem 0;
}

/*** アコーディオン　***/
details {
  border: 1px solid darkgray;
  border-radius: 5px;
  margin: 1rem 0;
}

details summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2rem;
  background: whitesmoke;
  border-radius: 5px;
  color: black;
  font-weight: bold;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::before {
  content: '＋';
  margin-right: 20px;
}

details[open] summary::before {
  content: 'ー';
}

details[open] summary {
  border-radius: 5px 5px 0 0;
}


details p {
  margin: 0;
  padding: 2rem;
}

@media screen and (min-width: 600px) {

  details summary {
    padding: 1rem 4rem;
  }

  details p {
    padding: 2rem 4rem;
  }
}

/*** PCカートテーブル　***/
.table {
  display: none;
  width: 100%;
  margin: 2rem 0;
  padding: 0;
  box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}

.table .row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid lightgray;
}

.table .table-header-top {
  color: #666;
  background: #efefef;
  padding: 0.3rem 0;
  border-bottom: none;
}

.table .table-header-top .col {
  display: block;
  text-align: center;
}

.table .col {
  padding: 1rem 0.5rem;
}

.table .col-1 {
  display: flex;
  gap: 1rem;
  width: 320px;
}

.table .col-2 {
  width: 50px;
  text-align: center;
}

.table .col-3 {
  width: 180px;
  text-align: center;
}

.table .col-4 {
  text-align: center;
  flex: 1;
  padding-right: 1rem;
}

.table .col-5 {
  text-align: center;
  width: 100%;
}

.table .col-1 img {
  width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 1rem;
}

/*** SPカートテーブル ***/

.table-sp {
  width: 100%;
  margin: 2rem 0;
  padding: 0;
}

.table-sp .row {
  display: block;
  width: 100%;
  margin: 0 0 1rem 0;
  box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}


.table-sp .row-sp {
  display: flex;
  border-bottom: 1px solid lightgray;
}

.table-sp .table-header-left {
  color: #666;
  width: 60px;
  background: #efefef;
  text-align: center;
  padding: 0;
}

.table-sp .col {
  padding: 0.7rem 0.5rem;
}

.table-sp .col-1 {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.table-sp .col-2 {
  width: 60px;
  text-align: center;
}

.table-sp .col-3 {
  flex: 1;
  text-align: center;
}

.table-sp .col-4 {
  flex: 1;
  text-align: center;
}

.table-sp .col-5 {
  flex: 1;
  text-align: center;
}

.table-sp .col-1 img {
  width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 1rem;
}

@media screen and (min-width: 780px) {
  .table-sp {
    display: none;
  }

  .table {
    display: block;
  }
}

/*:: トップページ　メインビジュアル ::*/
.mv {
  width: 100vw;
  height: 120vw;
  background-color: #72948f;
  margin: 72px 0 0 0;
  background-size: cover;
  background-position: 50% 50%;
}

.mv canvas {
  display: block;
  width: 100%;
  margin: 0 auto;
}



.grid #post-body {
  background: #f3f3f1;
  border-radius: 5px;
  padding: 0.1rem 1.5rem;
  margin-bottom: 2rem;
}

.grid #post-body h1 {
  display: inline;
  font-size: 0.9rem;
  margin-top: 0;
}

.grid #post-body h3 {
  margin-top: 0;
}

.grid #post-body img {
  display: block;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 7px 14px rgba(50, 50, 93, .05), 0 3px 3px rgba(0, 0, 0, .05);
}

@media screen and (min-width: 501px) {
  .mv {
    height: 600px;
  }

  .mv canvas {
    width: 500px;
  }

  .grid #post-body {
    border-radius: 5px;
    padding: 1rem 2.5rem;
  }
}

@media screen and (min-width: 1000px) {
  .mv {
    height: 600px;
    background-repeat: no-repeat;
  }

  .mv canvas {
    width: 500px;
  }
}

@media screen and (min-width: 1200px) {
  .mv {
    height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mv canvas {
    width: 500px;
  }
}

/*** フォーラム ***/

#forum {
  background: #f5edd7;
  margin: 3rem calc(50% - 50vw) 3rem calc(50% - 50vw);
  width: calc(100vw);
  padding: 2rem 1rem;
}

#forum h2 {
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
}


#forum form {
  margin: 0;
}

#forum textarea {
  margin-bottom: 0;
}

#forum #submit {
  margin-bottom: 2rem;
}

.prof-img {
  width: 2rem;
  height: 2rem;
  margin-top: 0.3rem;
}

.comment {
  display: flex;
  gap: 0.8rem;
  margin: 0.8rem 0;
  padding: 0.5rem 0;
}

.user-name {
  display: block;
  font-weight: 900;
  margin-bottom: 0.2rem;
}

@media screen and (min-width: 500px) {
  #forum {
    width: 100%;
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 5px;
  }
}

.icon {
  display: inline;
  margin-right: 0.3rem;
}

h1.mode {
  font-family: "Radley", serif;
  font-size: 2.0rem;
  text-align: center;
}

.mode-description {
  text-align: center;
}

ul.pager {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: scroll;
  margin: 3rem 0;
}

.pager li {
  padding: 0.3rem;
  margin: 2px;
  background: #efefef;
  border-radius: 5px;
}

.pager li a {
  color: gray;
  text-decoration: none;
}

.pager li.current-page {
  background: #666;
  pointer-events: none;
}

.pager li.current-page a {
  color: white;
}


#video-wrap {
  position: relative;
  max-height: 100%;
  max-width: 100%;
  height: 100%;
  margin: 3rem 0 1rem 0;
}

#video-wrap video {
  display: inline;
  width: 100%;
  border-radius: 5px;
}

.note-box,
.store-box {
  margin-bottom: 6rem;
}

.date {
  color: gray;
  font-size: 0.8rem;
  padding-left: 0.5rem;
  margin-top: 0.5rem;
}