@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,
var {
  font-style: normal;
  font-weight: normal; }

ol,
ul {
  list-style: none; }

caption,
th {
  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; }

[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";
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fcec6b;
  background-color: #345f9f;
  overflow-x: hidden; }

* {
  box-sizing: border-box; }

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  font-family: a-otf-futo-go-b101-pr6n; }

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

#wrapper{
  background-color: #345f9f;
  border-left: 0.8rem solid #fcec6b;
  border-right: 0.8rem solid #fcec6b;}

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: #fcec6b; }

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

#header {
  position: fixed;
  top: 2.5vh;
  left: 2vw;
  z-index: 999; }
  #header h1 {
    color: #fcec6b; }
    #header h1 a {
      padding: 0.2rem; }
  #header--logo img {
    height: 17.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: #fcec6b;
      color: #345f9f;
      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 #fcec6b;
      transition: 0.2s; }
    #nav #links li a:hover:after {
      width: calc(100% + 2.6rem); }

#nav #purchase {
  position: fixed;
  padding: 2rem 25vw;
  height: 16.0rem;
  bottom: -8.0rem;
  left: 0;
  right: 0;
  background: #fcec6b;
  white-space: nowrap;
  z-index: 999; }
  #nav #purchase p {
    font-size: 1.8rem;
    line-height: 4.0rem;
    width: 50%;
    float: left;
    color: #345f9f;
    text-align: right;
    padding: 0 2.5rem 0 0; }
    #nav #purchase p span {
      font-size: 1.4rem; }
  #nav #purchase a {
    display: block;
    text-align: center;
    width: 15.0rem;
    height: 4.0rem;
    font-size: 1.6rem;
    line-height: 4.0rem;
    background: #345f9f;
    color: #fcec6b;
    border: 0;
    border-radius: 4.0rem;
    float: left;
    cursor: pointer;
    transition: 0.5s; }
    #nav #purchase a:hover {
      opacity: 0.7; }

#main {
  display: block;
  width: 100%;
  width: 100%;
  overflow-x: hidden; }
  #main section {
    position: relative;
    margin: 0 0 0 25vw;
    border-top: 0.8rem solid #fcec6b;
    z-index: 5;
    padding: 2.5vh calc(5vw - 0.8rem) 12.5vh 2.5vh;
    background-color: #345f9f; }
    #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%;
        height: 66.6%;
        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 ul li {
        display: inline-block;
        font-size: 2.0rem;
        line-height: 4.0rem; }
        #main section .text ul li:after {
          content: "/";
          padding: 0 1.0rem; }
        #main section .text ul li button {
          font-size: 1.6rem;
          margin-bottom: 2.0rem;
          color: #fcec6b; }
          #main section .text ul li button.active {
            background: #fcec6b;
            color: #345f9f; }
      #main section .text ul li:last-child:after {
        content: ""; }
      #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 #fcec6b; }
      #main section .text .stripe-button-el {
        outline: none;
        appearance: none;
        text-decoration: none;
        display: block;
        float: left;
        border-radius: 0;
        width: calc(50% - 1.0rem);
        padding: 0;
        margin: 2.0rem 0 0 0;
        transition: 0.3s;
        background-color: #345f9f !important;
        color: #fcec6b !important;
        background-image: none;
        text-align: center; }
        #main section .text .stripe-button-el.book {
          float: right; }
        #main section .text .stripe-button-el:hover {
          background-color: #fcec6b !important;
          color: #345f9f !important; }
          #main section .text .stripe-button-el:hover span {
            color: #345f9f; }
        #main section .text .stripe-button-el span {
          display: block;
          color: #fcec6b;
          border: 0.1rem solid #fcec6b;
          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 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 #cover {
    width: 100%;
    border: 0;
    height: 100vh;
    margin-left: 0;
    margin: 0;
    padding: 0;
    position: relative; }
    #main #cover .cover--block {
      position: fixed;
      width: 100%;
      top: 0;
      bottom: 0;
      z-index: 2;
      overflow: hidden; }
      #main #cover .cover--block img {
        max-width: 95%;
        height: 95vh;
        left: 0;
        right: 0;
        margin: 0 auto;
        object-fit: contain;}
      #main #cover .cover--block.hidden {
        display: none; }
      #main #cover .cover--block.now {
        z-index: 4; }
  #main #payment {
    border-top: 0.8rem solid #fcec6b;
    margin-left: 0;
    padding-left: 25vw; }
  #main #gallery {
    position: relative; }
    #main #gallery .gallery--block {
      padding: 0 0 20px;
    }
    #main #gallery .gallery--block img {
      box-shadow: 3rem 0rem 3rem 0rem rgba(0, 0, 0, 0.1);
      display: block;
      width: 100%;
      height: 66.6%;
      object-fit: cover;
      z-index: 3; }
  #main a {
    text-decoration: underline; }

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

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

  #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: 300px;
    padding: 1.6rem 0 0 0;
    margin: auto;
    background-color: #345f9f !important;
    color: #fcec6b !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: #fcec6b !important;
    color: #345f9f !important;
  }

  #after_purchase .return_button:hover span {
    color: #345f9f;
  }

  #after_purchase .return_button span {
    display: block;
    color: #fcec6b;
    border: 0.1rem solid #fcec6b;
    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;
  }

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

  #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 #fcec6b;
  }

  #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: 1200px) {
  [class^="icon-"]:after, [class*=" icon-"]:after {
    content: ""; }
  #header {
    left: 2.6rem; }
    #header--logo img {
      height: 12.0rem; }
  #menu {
    right: 2.6rem; }
  #main section {
    margin-left: 0;
    margin-right: 0;
    padding-left: 2.5vh;
    padding-right: 2.5vh; }
    #main section hgroup {
      float: none;
      width: 100%; }
    #main section .text {
      width: 100%; }
      #main section .text p {
        font-size: 1.4rem;
        line-height: 2.8rem;
        padding-bottom: 1.4rem;
        float: none;
        width: 100%; }
      #main section .text .stripe-button-el {
        width: 100%; }
  #main #cover .cover--block img {
    position: fixed;
    max-width: 95%;
    height: 100vh;
    left: 0;
    right: 0;
    margin: 0 auto;
    object-fit: contain;}
  #main #payment {
    padding-left: 2.5vh; }
  #nav #links {
    display: none;
    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: #fcec6b;
        background-color: transparent; }
  #nav #purchase {
    padding: 2rem 5vw; } }

.hidden {
  opacity: 0; }
