/* Common */

* {
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 18px;
    color: #333;
    background-color: #f4f5f7;
    background-position: top center;
    background-repeat: no-repeat;
    text-align: center;
    margin: 0;
    padding: 0;
}

.wrap {
    text-align: left;
    margin: 0 auto;
}

/* reset */
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

section {
    margin-bottom: 50px;
}

/* header */
.nav {
    background-color: #fff;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 1256px;
    margin: 0 auto;
}

.logo img {
    width: auto;
    max-height: 60px;
    height: auto;
    padding: 0.75rem;
}

header {
    background-attachment: fixed;
    background-image: url("../images/hero_bg-scaled.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: #fff;
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero {
    padding: 4% 5%;
}

.hero-contents {
    width: 760px;
    margin: 0 auto;
    padding: 2em;
}

.lead {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.8em;
    text-align: center;
}

.column {
    display: flex;
    flex-direction: row;
    /* min-height: 800px; */
    padding: 3% 0;
}

.column div {
    justify-content: space-around;
    max-width: 740px;
    margin: 0 2em;
}

.column .left {
    min-width: 300px;
}

.column .right li {
    line-height: 1.8em;
    list-style: disc;
}

.hero-contents p:last-child {
    text-align: center;
}

a.btn {
    background-color: #d93;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    padding: 9px 42px;
    border-radius: 4px;
}

/* contents */
main {
    background-color: #fff;
    width: 1256px;
    margin: 0 auto;
    padding: 45px 60px;
}

h1 {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.25;
    max-width: 16px 0;
    margin-bottom: 20px;
}

.goods {
    display: flex;
    flex-direction: row;
}

.goods .left {
    width: 600px;
    margin: 0 40px 0 0;
}

.goods .left img {
    margin-bottom: 10px;
}

.goods .right {
    margin: 0 0 0 0;
}

.goods .right h2 {
    font-size: 24px;
    font-weight: bold;
    padding: 25px;
    background-color: #f5f6f7;
    border-radius: 2px;
    margin-bottom: 20px;
}

.goods ul {
    padding: 0 0 0 30px;
}

.goods li {
    list-style: disc;
}

.price {
    text-align: right;
    font-size: 24px;
    margin-bottom: 30px;
}

.price .txt-price {
    font-size: 48px;
    color: #e60033;
    background: linear-gradient(transparent 60%, #ffd0d1 60%);
}

.price .note {
    font-size: 18px;
}

.btn-long {
    background-color: #007b43;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 700px;
    margin: 0 auto;
    padding: 14px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-long:after {
    content: "\f105";
    position: absolute;
    right: 0;
    font-size: 20px;
}

.btn-long:hover {
    opacity: 0.7;
    color: #fff;
    transition: all 0.3s ease-in-out;
}


.goods2 {
    display: flex;
    flex-direction: row;
}

.goods2 .left {
    width: 630px;
    margin: 0 40px 0 0;
    display: flex;
    flex-wrap: wrap;
}

.goods2 .left li {
    display: inline-block;
}

.goods2 .left li img {
    width: 250px;
}

.goods2 .right {
    width: 630px;
    margin: 0 40px 0 0;
}

.goods2 .right h2 {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 1.26em;
    padding: 12px 20px;
    border-left: 7px solid #888;
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.goods2 .right h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.25;
    padding: 9px 10px;
    margin: 1.87em 0 1.26em;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.goods2 .right ul {
    padding: 0 0 0 30px;
}

.goods2 .right li {
    list-style: disc;
}


.detail h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25;
    background-color: #f5f6f7;
    margin-top: 1.87em;
    margin-bottom: 1.26em;
    padding: 25px;
    border-radius: 2px;
}

.detail h3 {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.25;
    margin-top: 1.87em;
    margin-bottom: 1.26em;
    padding: 12px 20px;
    border-left: 7px solid #888;
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.detail img {
    display: flex;
    margin: 0 auto;
}

.detail .note {
    font-size: 0.7em;
    opacity: 0.8;
    margin: 0;
    margin-top: .5em;
    margin-bottom: 1em;
    padding: 0 6px;
}

.detail table {
    border-collapse: collapse;
    width: 740px;
    margin: 50px auto;
}

.detail table th, .detail table td {
    text-align: center;
    border: 1px solid #eee;
    padding: 6px;
}

.detail th {
    background-color: #f5f6f7;
}

.detail table tr:nth-of-type(2n+1) {
    background-color: #fafbfc;
}

.detail ul,
.detail Ol {
    padding: 0 25px;
}

.detail li {
    list-style: disc;
    line-height: 1.8;
}

.detail Ol li {
    list-style-type: decimal;
}

.detail ol ul.none li {
    list-style: none;
    margin: 20px 0 20px -30px;
}

/* 2階層目のolだけカスタム */
.detail ol ol.list {
  list-style: none;
  counter-reset: sub;
  margin-top: 0.5em;
  padding-left: 0;
}

/* 念のため：標準マーカーを強制的に空にする（＝二重表示を防ぐ） */
ol ol.list > li::marker {
  content: "";
}

/* 2階層目のli */
.detail ol ol.list > li {
  counter-increment: sub;
  position: relative;
  padding-left: 3em;
}

/* （1）（2）表示 */
.detail ol ol.list > li::before {
  content: "（" counter(sub) "）";
  position: absolute;
  left: 0;
  top: 0;
}

.books li {
    list-style-type: disc;
    list-style-position: outside;
    line-height: 1.8;
    margin-left: 30px;
}

/* footer */
footer {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 30px 8px 8px;
}

footer section {
    font-size: 14px;
    width: 1256px;
    margin: 24px auto 0;
    padding: 8px;
    position: relative;
}

footer section:after {
    clear: both;
    content: "";
    display: block;
}

footer .logo {
    float: left;
    bottom: 0;
    position: absolute;
}

footer .copyright {
    text-align: right;
    float: right;
}


/* 以下スライド用 */
/* 1. 全画面を覆う黒い背景 */
#photo-modal {
  display: none; /* 最初は隠す */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center; /* 左右真ん中 */
  align-items: center;     /* 上下真ん中 */
}

/* 2. スライドが動くエリア */
.swiper {
  width: 100%;
  height: 90%;
}

/* 3. 画像を真ん中に配置 */
.swiper-slide {
  display: flex !important;   /* 強制的にFlexboxにする */
  justify-content: center;    /* 左右中央 */
  align-items: center;        /* 上下中央 */
  width: 100% !important;     /* スライド自体の幅を100%に */
}

.swiper-slide img {
  max-width: 85%;             /* 左右の矢印と被らないサイズ */
  max-height: 80vh;           /* 画面の高さに収める */
  width: auto;                /* 横幅を自動計算 */
  height: auto;               /* 縦幅を自動計算 */
  margin: auto;               /* これでダメ押しの中央寄せ */
  object-fit: contain;
}

/* 4. 矢印と×ボタン */
.swiper-button-next, .swiper-button-prev {
  color: #a0a0a0 !important;
  padding: 0 20px;
}
.close-btn {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 50px;
  color: #a0a0a0;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
}

/* スマホ用:480px以下に適用 */
@media screen and (max-width: 480px) {
	.logo,
    .hero-contents,
    main,
    .goods .left,
    .btn-long,
    .goods2 .left,
    .goods2 .right,
    .detail table,
    footer section {
        width: 100%;
    }

    header {
        height: 100%;
    }

    .lead {
        font-size: 28px;
    }

    .column div {
        margin: 0 1em 20px;
    }

    main {
        padding: 45px 30px;
    }

    .column,
    .goods,
    .goods2 {
        display: block;
    }

    .goods2 .left {
        margin: 0 0 50px 0;
    }

    .goods2 .left li {
        width: 32%;
    }

    .detail table.detail-contents tr:nth-of-type(2n+1) {
        background-color: #fff;
    }

    .detail table.detail-contents th,
    .detail table.detail-contents td {
        display: block;
        text-align: left;
        padding: 10px;
    }
}