@charset "UTF-8";
/*!
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
/*
    TODO will need to remove settings on HTML since we can't namespace it.
    TODO with the prefix, should I group by selector or property for weight savings?
*/
html {
  color: #000;
  background: #FFF;
}

/*
    TODO remove settings on BODY since we can't namespace it.
*/
/*
    TODO test putting a class on HEAD.
        - Fails on FF.
*/
blockquote,
body,
code,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
legend,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

/*
    TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
td,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th,
td {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

q:after,
q:before {
  content: '';
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,
select,
textarea {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
  display: none;
}

@font-face {
  font-family: 'icomoon';
  src: url("../font/icomoon.eot?krs343");
  src: url("../font/icomoon.eot?krs343#iefix") format("embedded-opentype"), url("../font/icomoon.ttf?krs343") format("truetype"), url("../font/icomoon.woff?krs343") format("woff"), url("../font/icomoon.svg?krs343#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  margin-right: 0.3rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-arrow-up:after {
  content: "\e901";
  display: inline-block;
  transform: rotate(90deg);
}

.icon-cart:before {
  content: "\e93a";
  padding-right: 0.5rem;
}

.icon-cart:after {
  content: "購入する";
}

.icon-amazon:before {
  content: "\ea87";
  padding-right: 0.5rem;
}

.icon-facebook:before {
  content: "\ea91";
}

.icon-facebook:after {
  content: "シェア";
}

.icon-x:before {
  content: "\ea96";
}

.icon-x:after {
  content: "ポスト";
}

html {
  font-family: a-otf-futo-go-b101-pr6n, "ＭＳ Ｐゴシック", "MS PGothic", "Droid Sans", "Osaka", sans-serif;
  font-size: 62.5%;
  font-weight: normal;
  font-style: none;
  font-feature-settings: "palt";
  font-display: swap;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffcf00;
  background-color: #cf1f00;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  font-size: 0;
  width: 100%;
  height: 100%;
  transition: 1.0s;
  overflow-x: hidden;
}

body.hidden {
  opacity: 0;
}

#wrapper {
  background-color: #cf1f00;
  border-left: 0.8rem solid #ffcf00;
  border-right: 0.8rem solid #ffcf00;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-style: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  position: relative;
  /*
  &:hover, &:active {
    color: $yellow;
    background: $yellow;
  }
  */
}

::selection {
  background: #ffcf00;
}

::-moz-selection {
  background: #ffcf00;
}

#header {
  position: fixed;
  top: 2.5vh;
  left: 5vw;
  z-index: 999;
}

#header h1 {
  color: #ffcf00;
}

#header h1 a {
  padding: 0.2rem;
}

#header--logo img {
  height: 15.0rem;
}

#nav ul {
  position: fixed;
  display: block;
  z-index: 999;
}

#nav ul:after {
  display: block;
  content: "";
  clear: both;
}

#nav #menu {
  top: 2.5vh;
  right: 5vw;
}

#nav #menu li {
  float: left;
  font-size: 1.4rem;
  line-height: 2.0rem;
  margin-left: 1.0rem;
}

#nav #menu li.sns a {
  font-size: 1.2rem;
  line-height: 1.2rem;
  background: #ffcf00;
  color: #cf1f00;
  border-radius: 0.4rem;
  padding: 0.4rem 0.8rem 0.4rem 0.8rem;
}

#nav #links {
  left: 2.6rem;
  top: 50vh;
  transform: translate(0%, -50%);
  text-align: left;
  font-size: 1.5rem;
  line-height: 4.5rem;
}

#nav #links li:last-child {
  border: 0;
}

#nav #links li a {
  display: block;
  width: 100%;
  height: 100%;
}

#nav #links li a:after {
  position: relative;
  display: block;
  left: -2.6rem;
  content: "";
  width: 2.6rem;
  border-bottom: 0.1rem solid #ffcf00;
  transition: 0.2s;
}

#nav #links li a:hover:after {
  width: calc(100% + 2.6rem);
}

#main {
  display: block;
  width: 100%;
  width: 100%;
  overflow-x: hidden;
}

#main section {
  position: relative;
  margin: 0 0 10vh 25vw;
  border-top: 0.8rem solid #ffcf00;
  z-index: 5;
  padding: 2.5vh calc(5vw - 0.8rem) 2.5vh 2.5vh;
  background-color: #cf1f00;
}

#main section hgroup, #main section p {
  margin-bottom: 1.6rem;
}

#main section hgroup {
  float: left;
  width: 15vw;
  white-space: nowrap;
}

#main section hgroup h1 {
  font-size: 2.0rem;
  margin-bottom: 2.0rem;
}

#main section hgroup h1 img {
  margin: 0.8rem 0;
}

#main section .text {
  float: right;
  width: calc(100% - 5vw * 3);
}

#main section .text img {
  width: 100%;
  display: block;
}

#main section .text p {
  font-size: 1.6rem;
  line-height: 3.2rem;
}

#main section .text p .small {
  font-size: 1.2rem;
  margin-right: 0.3rem;
}

#main section .text hr {
  position: relative;
  display: block;
  text-align: left;
  margin-left: 0;
  padding-top: 0;
  margin-bottom: 1.6rem;
  left: -2.6rem;
  width: 2.6rem;
  border: 0;
  border-bottom: 0.1rem solid #ffcf00;
}

#main section .text .stripe-button-el {
  outline: none;
  appearance: none;
  display: block;
  float: left;
  border-radius: 0;
  width: calc(50% - 1.0rem);
  padding: 0;
  margin: 2.0rem 0 0 0;
  background-color: #cf1f00 !important;
  color: #ffcf00 !important;
  background-image: none;
  text-align: center;
  transition: 0.3s;
}

#main section .text .stripe-button-el.book {
  cursor: pointer;
  float: right;
}

#main section .text .stripe-button-el.book:hover {
  background-color: #ffcf00 !important;
  color: #cf1f00 !important;
}

#main section .text .stripe-button-el span {
  display: block;
  color: #ffcf00;
  border: 0.1rem solid #ffcf00;
  border-radius: 0;
  text-shadow: none;
  padding: 0;
  margin: 0;
  height: auto;
  width: auto;
  font-size: 1.6rem;
  line-height: 4.8rem;
  background: transparent;
}

#main section .text .stripe-button-el.book:hover span {
  color: #cf1f00;
}

#main section .text .stripe-button-el span:after {
  display: block;
  content: "決済画面に移動します";
  position: relative;
  font-size: 1.2rem;
  line-height: 1.2rem;
  margin-bottom: 1.2rem;
}

#main section .text .stripe-button-el.book span:after {
  content: "お取り扱い書店はこちら";
}

#main section:after {
  display: block;
  content: "";
  clear: both;
}

#main #gallery {
  margin: 0 0 0 25vw;
  padding: 0;
  background-color: transparent;
  border: 0;
  position: relative;
  z-index: 1;
}

#main #gallery .gallery--block {
  position: fixed;
  width: calc(100% - 25vw - 0.8rem * 2);
  top: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
}

#main #gallery .gallery--block img {
  box-shadow: 3rem 0rem 3rem 0rem rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100vh;
  padding: 10vh 0;
  object-fit: cover;
  z-index: 3;
}

#main #gallery .gallery--block.hidden {
  display: none;
}

#main #gallery .gallery--block.now {
  z-index: 4;
}

#main #gallery .single {
  position: relative;
  width: 100%;
}

#main #shoplist a {
  text-decoration: underline;
}

#main #about a {
  text-decoration: underline;
}

#footer {
  width: 100%;
  font-size: 1.4rem;
  line-height: 5.6rem;
  text-align: center;
  color: #ffcf00;
}

#thanks {
  position: relative;
  margin: 0 auto;
  /*border-top: 0.8rem solid #ffcf00;*/
  z-index: 5;
  background-color: #cf1f00;
}

#thanks_text {
  margin: 2.0rem auto;
}

#thanks_text h1 {
  text-align:  center;
  padding: 20px;
  font-size: 3.2rem;
  line-height: 5.6rem;
}

#thanks_text p {
  text-align:  center;
  font-size: 1.4rem;
  line-height: 3.2rem;
}

#after_purchase {
  vertical-align: middle;
  margin: 0 auto;
}

#after_purchase .return_button {
  cursor: pointer;
  outline: none;
  appearance: none;
  display: block;
  float: center;
  border-radius: 0;
  width: calc(50% - 0.5rem);
  padding: 1.4rem 0 0 0;
  margin: auto;
  background-color: #cf1f00 !important;
  color: #ffcf00 !important;
  background-image: none;
  text-align: center;
  transition: 0.3s;
}

#after_purchase .return_button .book {
  float: right;
}

#after_purchase .return_button:hover span {
  background-color: #ffcf00 !important;
  color: #cf1f00 !important;
}

#after_purchase .return_button:hover span {
  color: #cf1f00;
}

#after_purchase .return_button span {
  display: block;
  color: #ffcf00;
  border: 0.1rem solid #ffcf00;
  border-radius: 0;
  text-shadow: none;
  padding: 0;
  margin: 0;
  height: auto;
  width: auto;
  font-size: 1.4rem;
  line-height: 4.8rem;
  background: transparent;
}

#after_purchase .return_button span:after {
  display: block;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.2rem;
  margin-bottom: 1.2rem;
}

#after_purchase section:after {
  display: block;
  content: "";
  clear: both;
}

#thanks {
  background-color: #cf1f00;
}

#terms {
  position: relative;
  margin: 0 auto;
  /*border-top: 0.8rem solid #ffcf00;*/
  z-index: 5;
  background-color: #cf1f00;
}

#terms_text  {
  padding: 30px;
}

#terms_text h1 {
  text-align: center;
  padding: 10px;
  font-size: 2.2rem;
  line-height: 5.6rem;
}

#terms_text table {
  margin: auto;
  padding: 20px;
  line-height: 2.6rem;
}

#terms_text tr {
 border-bottom: 1px solid #ffcf00;
}

#terms_text th {
  margin:0 auto;
  padding: 5px;
  font-size: 1.4rem;
  line-height: 3.2rem;
  display:block;
}

#terms_text td {
  margin:0 auto;
  padding: 0px 10px 10px 10px;
  font-size: 1.2rem;
  line-height: 2.0rem;
  display:block;
}

@media (max-width: 1000px) {
  [class^="icon-"]:after, [class*=" icon-"]:after {
    content: "";
  }
  #header {
    left: 2.6rem;
  }
  #header--logo img {
    height: 12.0rem;
  }
  #menu {
    right: 2.6rem;
  }
  #main section {
    margin-right: 0;
  }
  #main section hgroup {
    float: none;
    width: 100%;
  }
  #main section .text {
    width: 100%;
  }
  #main section .text p {
    font-size: 1.4rem;
    line-height: 2.8rem;
    float: none;
    width: 100%;
  }
  #main section .text .stripe-button-el {
    width: 100%;
  }
  #main #gallery .gallery--block {
    /*
        margin: $grid-y-size * 4 0;

        img {
          height: calc(100vh - 2.5vh * 8);
        }
        */
  }
  #nav #links {
    top: auto;
    bottom: 5vh;
    transform: none;
    font-size: 1.3rem;
    line-height: 3.9rem;
  }
  #nav #menu li {
    font-size: 2.0rem;
    line-height: 2.0rem;
  }
  #nav #menu li.sns {
    margin: 0;
  }
  #nav #menu li.sns a {
    font-size: 2.0rem;
    line-height: 2.0rem;
    color: #ffcf00;
    background-color: transparent;
  }
}
