@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP');

/* カラー */
:root {
    --main-color: #A6C4D8;/* 薄水色 */
    --sub-color: #C42F4B;/* 赤 */
    --back-color: #F4F5F7;/* オフホワイト */
    --text-color: #242424;
    --hr-color: #2B7D8D;/* 緑 */
    --link-color: #4007A2;/* 紺 */
}



html {  box-sizing: border-box;
  -ms-overflow-style: scrollbar;}

body{background: var(--back-color);
background-attachment: fixed
;min-height: 100vh;margin: auto 0;
  overflow-x: hidden;
  color:var(--text-color);
  padding: 0;
  font-size: 17px;
  font-family: "Noto Serif JP", Meiryo,
    sans-serif;;}


 /* 横がはみ出さないように */
*,
*::after,
*::before {  box-sizing: border-box;}

 /* 全体設定 */
header,main,footer{max-width:800px;padding: 0;margin:0 auto;}
main{min-height: 100vh;margin-top:80px;padding: 5px;}
ul  {list-style: none;}

a{color:#0033cc;text-decoration: none}
section a:hover{text-decoration: underline;color:#0033cc;
text-decoration-thickness: 2px;
text-underline-offset: 5px;
transition: all 0.5s;}

p{padding: 0 10px;line-height:2.5em}


h2{font-size: 120%;
  padding:  0.3em 1em 0.5em 1em;
  background: var(--hr-color);
  color: var(--back-color);
  overflow: hidden;
  position: relative;text-align: center;margin: 30px 0}


h2:before {
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border: 3px solid var(--back-color);
    transform: rotate(2deg);
    content: '';
}

h3{margin:0 0 10px 0;border-bottom: 4px double var(--hr-color);text-align:center;
padding: 20px 5px 5px 5px;font-size: 120%;
/* font-family: Noto Sans JP,游ゴシック,ヒラギノ角ゴシック;*/}

h4{  border-bottom: 2px solid var(--hr-color);
  padding: 0.3em;
  margin-bottom: 0.3em;font-size: 100%;;width: fit-content;
}
h4:first-letter {
  font-size: 130%;
  color: var(--hr-color);
}


/* 更新履歴 */
#update{overflow-y: scroll;scrollbar-width: thin;
    margin: 1em auto;
    width: 90%; 
    border-top: 1px solid var(--hr-color);
    border-bottom: 1px solid var(--hr-color);
}
time{color: var(--hr-color);padding-right:10px}
#update li{padding:5px 0}
/* 更新履歴 ここまで*/

/* line（強調） */
hr{    border: 1px dashed var(--hr-color);
}
/* line（強調）ここまで */

/* 作者一覧リンク */
.mylist{font-size:110%;line-height:30px
}
/* 作者一覧リンク　ここまで */

/* 作者一覧へリンク　ボタン */
.button-list a{
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-weight: 400;
  border: solid 1px var(--sub-color);
  border-radius: 999px;
  display: block;
  box-sizing: border-box;
  max-width: 300px;
  text-align: center; 
  padding: 16px 64px;
  margin: 24px;
  margin-inline: auto;
  cursor: pointer;
  transition: all 0.3s;
}


.button-list a:hover {
  color: var(--back-color);
  background: var(--sub-color);
  transition: all 0.3s;}
/* 作者一覧へリンク　ボタン　ここまで */

/* 目次 */
.toc{text-align:center;max-width: 400px;margin: 0 auto;}
summary{border: 2px solid var(--hr-color);background:#fff}
.toc ul{margin:0;background:#fff}
.toc ul li{text-align:left;padding: 0 0 5px 0;}
.toc ul li a{display: block; }

/* 目次　ここまで */


.revue{float:left}


/* footer */
#footer{border-top: 5px solid var(--hr-color);text-align: center;font-size:90%
;margin-top:10px;margin-top: 50px;padding-top:20px}
/* footer ここまで*/

/* ヘッダー　ナビ　1カラム2カラム関係*/
/* ヘッダー　ナビ */
/* ===============================================
ヘッダーのスタイリング
=============================================== */
.header {
  height: 80px;
  background: linear-gradient(to top, #A6C4D8, #F4F5F7);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2}

.header__container {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  padding: 0 25px;
  margin: 0 auto;
}


/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.hamburger {
  display: block;
  width: 50px;
  height: 90px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.5s;
}
.hamburger span::before {
  top: -10px;
}
.hamburger span::after {
  bottom: -10px;
}
input[type="checkbox"]:checked + .hamburger span {
  background-color: transparent;
}
input[type="checkbox"]:checked + .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}
input[type="checkbox"]:checked + .hamburger span::after {
  bottom: 0;
  transform: rotate(-45deg);
}
input[type="checkbox"]:checked ~ .nav {
  right: 0;
}

/* ===============================================
メニューのスタイリング
=============================================== */
.nav {
  position: fixed;
  width: 80%;
  height: 100vh;
  top: 80px;
  right: -120%;
  background: var(--main-color);
  opacity: 0.8;
  padding: 50px 0;
  transition: all 0.5s;;
}


.nav__item a {
  position: relative;
  display: inline-block;
  color: var(--link-color);text-transform: uppercase;
padding: 20px;font-size: 20px;font-weight: bold;
}

/* 下線のベース */
.nav__item a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0; /* 通常時は幅0 */
  height: 1px; /* 下線の太さ */
  background-color: var(--link-color); /* 下線の色 */
  transition: width 0.3s ease; /* アニメーション速度 */
}

/* ホバー時に左から伸びる */
.nav__item a:hover::after {
  width: 100%; /* ホバー時に幅100% */
}

/* ヘッダー　ナビここまで */



/* PC用 */
@media (min-width: 768px) {
/* ヘッダー　左に */
header{display: flex;
     flex-direction: column;
    position: fixed;
    width: 30%;
    padding: 0;
    margin:0;min-height: 100vh;}

/* バーガー解除 */
.hamburger{display: none;}
.nav{  display: flex;
     flex-direction: column;
    position: fixed;
background:none;
     left: 0;width:30%;text-align:right;
}
.nav{transition:none}
/* ヘッダー　左に　ここまで */

/* main　右表示 */
main,footer{position: relative;
    width: 60%;
     max-width: 800px;
     min-width: 550px;
    padding:  0 20px 0;
    margin: 0 auto 0 30%;
    box-sizing: border-box;
     top: 0;}
main{min-height: 100vh}}
/* ヘッダー　ナビ　1カラム2カラム関係　ここまで*/

/* おすすめ度 */
.ni     {color:#cd8500;padding: 0}
.san    {color:#cd8500;padding: 0}
.yon    {color:#ba55d3;padding: 0}
.go     {color:#ba55d3;padding: 0}
.roku   {color:#800000;padding: 0}
.nana   {color:#800000;padding: 0}
.hati   {color:#dc143c;padding: 0}
.kyu    {color:#dc143c;padding: 0}
.zyu    {color:#FF0033;padding: 0}

.su{padding:5px 0 0 5px}
/* ------------------------------------- */
/*       かんたんリンク カスタマイズ もしも    */
/* ------------------------------------- */

/* --------- 外枠 --------- */
div.easyLink-box {
    border:double #CCC !important; /* ２重線 */
    box-shadow: 2px 3px 9px -5px rgba(0,0,0,.25);
}

/* --- 商品リンク タイトル --- */
p.easyLink-info-name a {
    color: #3296d2 !important; /* 文字色 */
}

/* --------- ボタン色 --------- */
a.easyLink-info-btn-amazon {
    background: #f6a306 !important; /* 背景色 */
    border: 2px solid #f6a306 !important; /* 外枠 */
    box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
}

a.easyLink-info-btn-rakuten {
    background: #cf4944 !important; /* 背景色 */
    border: 2px solid #cf4944 !important; /* 外枠 */
    box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
}

a.easyLink-info-btn-yahoo {
    background: #51a7e8 !important; /* 背景色 */
    border: 2px solid #51a7e8 !important; /* 外枠 */
    box-shadow: 0px 3px 7px 0px rgba(0,0,0,.25); /* 影 */
}

/* --- マウスオーバー時のボタン色 --- */
a:hover.easyLink-info-btn-amazon {
    opacity: 1 !important; /* 透明度(1.0=不透明 0.0=完全透明) */
    background: #fff !important; /* 背景色 */
    color: #f6a306 !important; /* 文字色 */
}

a:hover.easyLink-info-btn-rakuten {
    opacity: 1 !important; /* 透明度(1.0=不透明 0.0=完全透明) */
    background: #fff !important; /* 背景色 */
    color: #cf4944 !important; /* 文字色 */
}

a:hover.easyLink-info-btn-yahoo {
    opacity: 1 !important; /* 透明度(1.0=不透明 0.0=完全透明) */
    background: #fff !important; /* 背景色 */
    color: #51a7e8 !important; /* 文字色 */
}

/* --- PC以外の時の設定 --- */
@media screen and (max-width: 703px) {
div.easyLink-box div.easyLink-img,
div.easyLink-box div.easyLink-img p.easyLink-img-box img.easyLink-img-pht {
    max-height: 180px !important; /* 商品画像の大きさを調整 */
}

/* --- 最後のボタン下の空白を削除（自分でPC以外に設定） --- */
div.easyLink-box div.easyLink-info p.easyLink-info-btn a:last-child {
    margin-bottom: 0 !important;
}
}
/* ------------------------------------- */
/*       かんたんリンク カスタマイズ ここまで    */
/* ------------------------------------- */
/*アイテムボックスの枠を変更*/
.product-item-box{padding:5px;
  border: 4px double #dfdfdf;/*枠線を灰色の２重線にする*/
  box-shadow: 0 1px 2px rgba(0,0,0,.29);/*枠線に薄い影をつける*/}
/*画像を調整*/
.product-item-thumb{  width: 110px;/*商品画像の大きさの調整*/}
/*商品名を調整*/
.product-item-title{
  text-align:center;/*商品名を左詰め*/
  font-size:95%;/*文字の大きさを調整*/
  padding: 0.5rem;/*文字を表示位置を調整*/}
/*商品名リンクを調整*/
.product-item-title-link{
  color:#555;/*商品リンクの文字色を変更*/
  text-decoration:none;/*商品リンクの下線を消す*/
  font-weight:bold;/*商品名を太字に変更*/}
/*商店名を調整*/
.product-item-maker{
  text-align:center;/*商店名を中央寄せ*/
  font-size:90%;/*文字の大きさを調整*/
  font-weight:lighter;/*文字を細く変更*/
  margin:.0;/*文字位置の調整*/}
/*価格文章を調整*/
.product-item-price{
  text-align:center;/*価格文書を中央寄せ*/
  font-size:90%;/*文字の大きさを調整*/
  font-weight:lighter;/*文字を細く変更*/
  margin-top:-.5em;/*価格文章を表示した時の文字位置の調整*/
  margin-bottom:.5em;/*価格文章を表示した時の文字位置の調整*/}
/*価格の色を黒に*/
.item-price{  color:#555;/*金額を黒字に変更*/}
/*ボタンのはみ出し部分を非表示*/
#main{  overflow:hidden;}
/*会社名リンク*/
.product-item-buttons{margin-bottom:30px}

/*ipad以下の大きさのデザインを調整*/
@media screen and (max-width: 768px){/*ipad以下の大きさのデザインを調整*/
.booklink-image, .kaerebalink-image, .tomarebalink-image, .product-item-thumb {
  width:100%;/*商品画像を中央寄せ*/} 
.booklink-info, .kaerebalink-info, .tomarebalink-info, .product-item-content {
  margin-top: 8em;/*商品名以下の文章を画像の下に下げる*/}
.booklink-link2, .kaerebalink-link1, .tomarebalink-link1, .product-item-buttons {
  display: flex;/*ボタンをフレックスボックス化*/
  flex-flow: column;/*ボタン縦並びに変更*/
  justify-content: space-between;/*ボタンを均等配置*/
  width:100%;/*ボタンの長さを調整*/}
.booklink-link2>*>a, .kaerebalink-link1>*>a, .tomarebalink-link1>*>a, .product-item-buttons>*>a{
  font-size:85%;/*文字の大きさを調整*/
  padding: .8em;/*ボタンの大きさを調整*/}
}
/*480px以下*//*iPhone5Sぐらいの大きさのデザインの調整*/
@media screen and (max-width: 480px){
.booklink-image, .kaerebalink-image, .tomarebalink-image, .product-item-thumb {
  width: 100%;/*商品画像の大きさの調整*/}
.booklink-link2, .kaerebalink-link1, .tomarebalink-link1, .product-item-buttons {
  width:200%;/*ボタンの長さを調整*/}
}

/*もしもの左右画像の要素を下に*/
div.easyLink-box div.easyLink-img a.easyLink-arrow-left,
div.easyLink-box div.easyLink-img a.easyLink-arrow-right{z-index:0}