@charset "utf-8";

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━
  2020 書籍販売
━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header-area h1 a {
  background: url(//data.kokode.jp/user_data/books/packages/default/img/header/logo_kokode_books.svg) no-repeat;
  background-size: contain;
  display: block;
  width: 160px;
  height: 36px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.scheduled-date {
  font-size: 14px;
  line-height: 1.4;
  padding: 20px 0 10px;
}

.scheduled-date .note {
  color: #c31941;
  font-size: 12px;
  padding-top: 5px;
}

.desc-info {
  margin: 20px 0;
}

table + .desc-info {
  margin-top: 15px;
}

.cart .subnav {
  font-size: 12px;
}

.cart .subnav a {
  text-decoration: underline;
}

.cart .subnav dd {
  padding: 5px 5px 5px 0;
}

.purchase-info {
  border: 1px solid #ccc;
  padding: 10px 15px;
  margin: 20px 0;
}

.purchase-info dl {
  display: flex;
  flex-wrap: wrap;
}

.purchase-info dt,
.purchase-info dd {
  padding: 5px 0;
}

.purchase-info dt {
  width: 100px;
}

.purchase-info dd {
  width: calc(100% - 100px);
}

#mycontentsarea .ttl-sub {
  padding: 0 0 10px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

#mycontentsarea table + .ttl-sub {
  padding-top: 15px;
}

div#mypagecolumn .mypage.userinfo {
  border: 1px solid #ccc;
  padding: 20px 25px 5px;
  margin-top: 20px;
}

div#mypagecolumn .mypage.userinfo table,
div#mypagecolumn .mypage.userinfo th,
div#mypagecolumn .mypage.userinfo td {
  border: none;
}

div#mypagecolumn .mypage.userinfo table {
  border-top: 1px solid #ccc;
  width: 100%;
}

div#mypagecolumn .mypage.userinfo tr:first-of-type th,
div#mypagecolumn .mypage.userinfo tr:first-of-type td {
  padding-top: 15px;
}

div#mypagecolumn .mypage.userinfo th {
  background: none;
  padding-left: 0;
}

div#mypagecolumn .mypage.deliveryinfo ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid #ccc;
  padding: 10px 0;
}

div#mypagecolumn .mypage.deliveryinfo li {
  line-height: 1.6;
}

div#mypagecolumn .mypage.deliveryinfo li:nth-of-type(2n+1) {
  width: 40px;
  text-align: center;
}

div#mypagecolumn .mypage.deliveryinfo li:not(:nth-of-type(2n+1)) {
  width: calc(100% - 40px);
}

div#mypagecolumn .mypage.deliveryinfo ul:not(:first-of-type) {
  margin-top: 10px;
}

div#mypagecolumn .mypage.deliveryinfo label {
  display: block;
}

.mypage.btnarea:not(:first-of-type) {
  margin-top: 20px;
}

.mypage.btnarea {
  display: flex;
  justify-content: flex-end;
}

.mypage.btnarea li {
  padding-left: 5px;
}

.mypage.btnarea a {
  display: block;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  padding: 3px 10px;
  text-align: center;
  width: 120px;
}

.mypage.btnarea a:hover {
  text-decoration: none;
  opacity: .7;
}

.mypage.btnarea .btntype01 {
  background: #c00;
}

.mypage.btnarea .btntype02 {
  background: #4472c4;
}

.mypage.btnarea .btntype03 {
  border: 1px solid #333;
  color: #333;
}

.modal-win.mypage  {
  padding-bottom: 0;
}

.modal-win.mypage .inner {
  padding: 25px;
  font-size: 14px;
}

.modal-win.mypage .inner.tac {
  text-align: center;
}

/* -----------------------------
　既存調整
----------------------------- */
#mycontentsarea,
.cart {
  line-height: 1.6;
}

div#mycontentsarea h3 {
  margin-bottom: 20px;
}

#mynavarea #button {
  width: 100%;
  padding: 8px 10px;
  line-height: 1.4;
}

.button_like ~ p {
  line-height: 1.4;
  padding-top: 7px;
}

div#mynavarea li {
  margin-bottom: 1px;
}

div#mynavarea .side_link li {
  border: 1px solid #e1e1e1;
  margin-bottom: 10px;
}

div#mynavarea .side_link a img {
  margin-bottom: 5px;
}

div#mynavarea .side_link li a {
  font-size: 10px;
}

div#under02column_cart .totalmoneyarea {
  width: 100%;
  margin: 0 auto;
}

div#under02column_cart {
  width: 100%;
}

div#under02column table {
  width: 100%;
  margin: 20px auto;
}

div#under02column table td,
div#mycontentsarea table td {
  font-size: 11px;
}

div#under02column_cart td {
  /* line-height: 1.4; */
}

div#mycontentsarea th,
div#under02column_cart th {
  vertical-align: middle;
}

div#under02column_cart th.alignR,
div#mycontentsarea table th.alignR {
  text-align: right;
}

div#mycontentsarea table th.alignL {
  text-align: left;
}

#under02column p.form_submit a {
  display: inline-block;
}

.cart a,
div#mycontentsarea td a {
  text-decoration: underline;
}

.cart a:hover,
div#mycontentsarea td a:hover {
  text-decoration: none;
}

.cart #quantity_level a,
.cart #quantity_level a:hover {
  text-decoration: none;
}

#mycontentsarea input[type="radio"],
#mycontentsarea input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 5px;
}

#mycontentsarea .addbtn {
  margin-left: 0;
}

/* グロナビ調整 */
#global-nav.books ul {
  border-right: 0;
}

#global-nav.books li:nth-of-type(-n+7) {
  border-bottom: 0;
}

#global-nav.books li a {
  text-indent: unset;
  line-height: 50px;
  text-align: center;
  font-size: 14px;
}

#global-nav.books li:hover a {
  text-decoration: none;
  border-bottom: 3px solid #333;
}

/* 書籍全体 */
#books-wrap {
  font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}

#books-wrap .main-tl h1,
#books-wrap .main-tl h2 {
  text-align: center;
}

#books-wrap .main-tl h1 {
  font-weight: bold;
  font-size: 30px;
  font-family: '游明朝','Yu Mincho','游明朝体','YuMincho','ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','HiraMinProN-W3','HGS明朝E','ＭＳ Ｐ明朝','MS PMincho',serif;
  display: flex;
  align-items: center;
  letter-spacing: .3px;
  padding-top: 20px;
}

#books-wrap .main-tl h1::before {
  margin-right: 30px;
}

#books-wrap .main-tl h1::after {
  margin-left: 30px;
}

#books-wrap .main-tl h1::before,
#books-wrap .main-tl h1::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #333;
}

#books-wrap .main-tl h2 {
  font-size: 14px;
  padding-top: 20px;
  letter-spacing: .3px;
}

#books-wrap h3 {
  text-align: center;
  font-size: 20px;
  font-family: '游明朝','Yu Mincho','游明朝体','YuMincho','ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','HiraMinProN-W3','HGS明朝E','ＭＳ Ｐ明朝','MS PMincho',serif;
  font-weight: bold;
  letter-spacing: .3px;
}

#books-wrap .category {
  margin: 40px 0;
}

#books-wrap .category ul {
  display: flex;
  flex-wrap: wrap;
}

#books-wrap .category li {
  text-align: center;
}

#books-wrap .category ul.col2 li {
  width: calc((100% - 30px) / 2);
}

#books-wrap .category ul.col2 li:nth-of-type(2n+2) {
  margin-left: 30px;
}

#books-wrap .category ul.col2 li:not(:nth-of-type(-n+2)) {
  margin-top: 15px;
}

#books-wrap .category li a {
  display: block;
  position: relative;
  border: 1px solid #333;
  width: 365px;
  text-align: center;
}

/*
#books-wrap .category li a img {
  outline: 1px solid #333;
  outline-offset: -1px;
}
*/

#books-wrap .category.txtlink a {
  padding: 30px;
  border: 1px solid #333;
  font-size: 18px;
}

#books-wrap .category li a:hover {
  text-decoration: none;
  text-align: center;
  opacity: .7;
}

#books-wrap .category.txtlink li a:before {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent #333 transparent;
}

#books-wrap .category.txtlink li a span {
  position: absolute;
  bottom: 8px;
  right: 15px;
  display: inline-block;
}

#books-wrap .category.txtlink li a span::before {
  content: '';
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: -3px;
  margin-top: -11px;
}

#books-wrap .category.txtlink li a span::after {
  content: '';
  width: 4px;
  height: 4px;
  border: 0;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0px;
  margin-top: -7px;
}

#books-wrap .desc dl {
  margin: 30px 0 0;
}

#books-wrap .desc dt {
  font-size: 16px;
  position: relative;
  font-weight: bold;
}

#books-wrap .desc dt::before {
  content: "";
  border-left: 6px solid #a88e77;
  margin-right: 10px;
}

#books-wrap .desc dt:not(:first-of-type) {
  padding-top: 30px;
}

#books-wrap .desc dd {
  line-height: 1.6;
  padding: 15px 0 0;
  font-size: 14px;
}

#books-wrap .desc dd .note {
  font-size: 80%;
}

#books-wrap .desc dd .note:first-of-type {
  padding-top: 5px;
}

/* ------------------
	既存修正
--------------------- */
#menu_search {
  width: auto;
  margin-bottom: 20px;
}

#detail_container .price-box {
  margin-bottom: 10px;
}

.header-area .thinBanner-area {
  display: flex;
}

.header-area .thinBanner-area a:not(:first-child) {
  margin-left: 10px;
}

.header-area .thinBanner-area a img {
  width: 300px;
}

#global-nav li:nth-of-type(7n+7) {
  border-right: 1px solid #e1e1e1;
}

/* -----------------------------
　年齢認証
----------------------------- */
#pop-auth * {
  box-sizing: border-box;
  word-break: break-all;
}
#pop-auth .pop-auth-wrap {
  width: 660px;
  background: #fff;
  padding: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#pop-auth .auth-desc {
  font-size: 16px;
  line-height: 2;
  padding: 40px 0;
}

#pop-auth .auth-chk {
  font-size: 20px;
  padding-bottom: 30px;
}

#pop-auth .auth-btn {
  width: 410px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#pop-auth .auth-btn a {
  width: 180px;
  display: block;
  color: #fff;
  padding: 10px;
  font-size: 20px;
}

#pop-auth .auth-btn a:hover {
  text-align: center;
  text-decoration: none;
  opacity: .7;
  transition: .3s;
  cursor: pointer;
}

#pop-auth .auth-btn .auth-yes {
  background: #333;
}

#pop-auth .auth-btn .auth-no {
  background: #ccc;
}