@charset "euc-jp";

/*-------------- reset  -------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
b, strong {
	font-weight: bold;
}

/* ==== common.css ==== */

body {
	font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", "Segoe UI", sans-serif; 
	font-size: 14px;
	min-width: 1080px;
}
@media screen and (max-width:1080px) {
	body {
		overflow: auto;
	}
}
img {
	max-width: 100%;
}

.wrapper {
	max-width: 1080px;
	margin: auto;
	padding: 0 10px; 
}
.flex_sb {
	display: flex;
	justify-content: space-between;
}
.flex_w {
	display: flex;
	flex-wrap: wrap;
}
.flex {
    display: flex;
}
.align-center {
	text-align: center;
}

@media (max-width: 640px) {
	body {
	-webkit-text-size-adjust: 100%;
	font-size: 13px;
	min-width: 100px;
	overflow-x: hidden;
}
	.wrapper {
		max-width: 92%;
		padding: 0 10px;
	}
}

/* ==== header ==== */

#header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: auto 0;
}

#panlogo img{
	width: 153px;
	height: 27px;
}

#topnavi {
	align-items: flex-end;
    gap: 10px;
    flex: 1;
}

@media (max-width: 640px) {
#header {
	width: 100%;
	position: relative;
	}
#panlogo img{
	max-width: 90%;
	height: auto;
}
}

#header-search {
	box-sizing: border-box;
}
.search_button {
  display       : inline-block;
  font-size     : 0.8rem;
  text-align    : center;
  cursor        : pointer;
  padding       : 5px 10px;
  background    : #0066cc;
  color         : #ffffff;
  line-height   : 1em;
  transition    : .3s;
  border        : none;
}
.search_button:hover {
  opacity       : 0.8;
}

.search-icon, .search-checkbox, .search-overlay {
  display: none;
}

/* ==== global-nav ==== */

.global-nav {
  flex: 1 100%;
  background: #fff;
  margin-top: 10px;
  height: 55px;
  border-bottom: solid 0.5rem #0066CC;
}

.global-nav .main-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.global-nav .main-list > li {
  position: relative;
  flex: 1 0 auto;
}
.global-nav .main-list > li > a {
  position: relative;
  display: block;
  padding: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
}

.global-nav .main-list > li > a:hover {
  color: #0066CC;
  font-weight: bold;
}

.global-nav .main-list > li:after {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  display: block;
  width: 0.1rem;
  height: 2rem;
  background: #696969;
}
.global-nav .main-list > li:last-child::before {
  content: "";
  position: absolute;
  right: 0;
  top: 1rem;
  display: block;
  width: 0.1rem;
  height: 2rem;
  background: #696969;
}

/* sub-list */

.global-nav .main-list .sub-list {
  position: absolute;
  top: 100%;
  padding-left: 0; 
  left: 0;
  z-index: 999;
  opacity: 0;
  margin-top: 0;
  width: 240px;
  background: #262626;
  pointer-events: none;
  font-size: 0.8rem;
  font-weight: 350;
  text-align: left;
}

@media screen and (min-width: 641px) {
.global-nav .main-list > li:hover {
    transition: ease 0.25s opacity, ease 0.25s top;
  }
.global-nav .main-list > li:hover .sub-list {
    top: 100%;
    opacity: 1;
    pointer-events: auto;
	background: #262626;
  }
.global-nav .main-list .sub-list li {
  border-bottom: 0.1rem solid #ddd;
}
.global-nav .main-list .sub-list li:last-child {
  border-bottom: 0;
}
.global-nav .main-list .sub-list li a {
  position: relative;
  display: block;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  color: #fff;
  line-height: 1.2;
  text-decoration: none;
  transition: ease 0.25s background-color;
}
.global-nav .main-list .sub-list li a:hover {
    background-color: #0066CC;
  }
.global-nav .main-list .sub-list li a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  margin-top: -0.3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 0.1rem solid #fff;
  border-right: 0.1rem solid #fff;
  box-sizing: border-box;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
}

/* Hamburger Menu */

.menu-checkbox {
  display: none; /* チェックボックスを非表示 */
}

.menu-icon {
  display: none; /* デフォルト非表示 */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000;
  transition: 0.25s ease-in-out;
}

/* メディアクエリ：1080px以下 */

@media screen and (max-width: 1080px) {
  #header-search {
    order: 1;
    flex: 0 0 auto;
  }

  .global-nav {
    order: 2;
  }
}

/* メディアクエリ：640px以下 */

@media screen and (max-width: 640px) {
	
  #header-search {
    display: none; 
  }
  .search-icon {
    display: inline-block;
    cursor: pointer;
    margin-left: auto;
	width: 1.7rem;
  }
  .search-checkbox {
    display: none;
  }
  .search-overlay {
    display: flex;
    flex-direction: column;
	padding-top: 20vh;
    align-items: center;
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.25s ease;
    z-index: 9999;
  }
  #search-toggle:checked ~ .search-overlay {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.25s ease;
  }
  .close-icon {
    position: absolute;
    top: 15px;
    right: 72px;
    font-size: 2rem;
	font-weight: 500;
    cursor: pointer;
	color: #fff;
  }
  .search-overlay-form {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .search-overlay-form input[type="text"] {
    padding: 12px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
  }
  .search-overlay-form button {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    color: #fff;
    border: none;
  }	
	
  /* Hamburger menu button */

.menu-icon {
  display: inline-block;
  position: relative;
	z-index: 2222;
  cursor: pointer;
  padding: 24px 14px;
  -webkit-tap-highlight-color: #262626;
  }	
.navicon {
  background: #262626;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.25s ease;
  }
.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #262626;
  transition: 0.25s ease;
  }
.navicon:before {
  top: 9px;
  }
.navicon:after {
  bottom: 9px;
  }	
	
/* Hamburger Menu Animation Start */

.menu-checkbox:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
  }
.menu-checkbox:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
  }
.menu-checkbox:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
  }
.menu-checkbox:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
  }
.menu-checkbox:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.25s ease;
  }

/* Hamburger Menu Animation End */	
	
.global-nav {
  background: #0066cc;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin-right: 65px;
	margin-top: 0px;
  height: 100vh;
  opacity: 0;
  visibility: hidden; 
  padding: 1.5rem;
  z-index: 998;
  transform: translateX(-100%);
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.25s ease;
  }
.global-nav .main-list {
  flex-direction: column;
  text-align: left;
  }
.global-nav .main-list > li {
  position: relative;
  flex: 1 1 auto;
  padding: 0.5rem 10px;
  line-height: 2.5rem;
  border-top: #FFFFFF solid 1px;
  color: #fff;
  }
.global-nav .main-list > li > a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  padding-left: 0;
  }
.global-nav .main-list > li > a:hover {
  color: #FFDD00;
  }
.global-nav .main-list > li:after,
.global-nav .main-list > li:last-child::before {
  display: none;		
  }

/* ハンバーガーメニューのトグル動作 */
.menu-checkbox:checked ~ .global-nav {
  display: block;
  transform: translateX(0);
  opacity: 0.95; /* 表示 */
  visibility: visible; 
  transition: transform 0.25s ease, opacity 0.25s ease;
  }

.global-nav .main-list .sub-list.type03 {
  position: relative;
  top: 100%;
  padding-left: 1rem; 
  left: 0;
  opacity: 1;
  margin-bottom: 1rem;
  width: 100%;
  background: #0066cc;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: left;
	z-index: 1000;
	pointer-events: auto;
}
.global-nav .main-list .sub-list.type03 li:last-child {
  border-bottom: 0;
}
.global-nav .main-list .sub-list.type03 li a {
  position: relative;
  display: block;
  padding: 0.5rem;
  color: #fff;
  line-height: 1;
  text-decoration: none;
}
.global-nav .main-list .sub-list.type03 li a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  margin-top: -0.4rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 0.1rem solid #fff;
  border-right: 0.1rem solid #fff;
  box-sizing: border-box;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.global-nav .main-list .sub-list.type03 li a:hover {
  color: #FFDD00;
  }

}
/* 640px以下 ここまで */


/* ==== contents ==== */

.contents {
	margin : 0.25rem auto;
}

.title {
	text-align: center;
	font-size: 1.2rem;
	font-weight: 800;
	color: black;
	padding: 1.5rem 0;
	margin-top: 1.2rem;
}

h1.quote {
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: stretch;
}

h1.quote > span {
flex: 0 0 auto;
text-align: left;
}

h1.quote::before,
h1.quote::after {
content: "";
flex: 0 0 2px;
height: auto;
margin: 0px 40px;
background: #a1a1a1;
}

h1.quote::before { transform: rotate( -30deg ) }
h1.quote::after { transform: rotate( 30deg ) }

p {
	line-height: 1.6;
}

/* ==== slider ==== */

.slide-items {
	margin: 2rem 0;
}
.slick-slider {
	margin-left: 20px;
	margin-right: 20px;
}
.slick-list {
	margin: auto;
    padding: 10px 5px 0;
	text-align: center;
}
.slick-list img {
	height: 210px;
	width: auto;
	margin-left: auto;
	margin-right: auto;
    box-shadow: 0px 0px 8px rgba(180,180,180,1.0);
}
.slick-list a {
	text-decoration: none;
}
.slick-list .p-data {
	padding: 0.5rem 0;
	font-size: 0.7rem;
	color: #696969;
}
.slick-list .book-title {
	font-weight: 500;
	color: black;
    font-size: 0.8rem;
}
.slide-arrow {
  bottom: 0;
  cursor: pointer;
  margin: auto;
  position: absolute;
  top: 0;
  width: 20px;
}
.prev-arrow {
  left: -20px;
    z-index: 2;
}
.next-arrow {
  right: -20px;
}

@media screen and (max-width: 640px) {
.slide-items .slick-slider .slick-slide img {
    max-height: 125px;
    border: none;
    }
.slick-list .book-title{
	display: none;
}
}

/* ==== news ==== */

#group01 {
	display: flex;
	justify-content: space-between;
}

.news {
	width: 850px;
	margin-right: 10px;
} 

.TodayIndexes {
	width: 180px;
	margin-top: 2rem;
	padding: 10px;
	border: solid 3px #a1a1a1;
	border-radius: 25px;
	line-height: 1.3rem;
}
.TodayIndexes img {
    height: fit-content;
}

@media screen and (max-width: 640px) {
#group01 {
	flex-wrap: wrap;
}
.news {
	width: 100%;
	margin-right: 0;
	order: 1;
} 
.TodayIndexes {
	width: 100%;
    display: flex;
    gap: 10px;
	order: 2;
}
.TodayIndexes img {
    width: 30vw;
    }
}

/* ==== pickup ==== */

.pickup {
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	gap: 30px;
/*    padding: 35px;
    background: rgba(0,102,204,0.08);
    background: rgba(230,230,235,0.70); */
    border-radius: 25px;
}

.p-contents {
    display: block;
	text-decoration: none;
	max-width:500px; 
    background: white;
    color: black;
    box-shadow: inset 0 0 0 #0066cc;
	transition: box-shadow 0.1s ease;
}
.p-contents:hover {
	box-shadow: inset 0 -3px 0 #0066cc;
}
.p-contents img {
	width: 500px;
    vertical-align: bottom;
}

.p-text {
	padding: 0.5rem 1rem;
	overflow: hidden;
}

.p-text h3 {
	font-size: 1.1rem;
	padding-bottom: 0.5rem;
}

@media screen and (max-width: 640px) {
.pickup {
	grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
}

.p-contents {
	max-width: 100%; 
	line-height: 1.3rem;
	}
.p-contents img {
	width: 100%;
    object-fit: contain;
	}

}

/* ==== blog ==== */

#blog {
	border: solid 1px;
	padding: 10px;
}

#blog h2 {
	line-height: 15px;
/*	border-left: 6px #0066cc solid; */
	background-color: #0066cc;
	font-weight: 500;
	margin-bottom: 10px;
	font-size: 1rem;
	padding: 5px 1rem;
	color: #fff;
}

.top_banner {
	margin-top: 2rem;
	margin-bottom: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.top_banner a {
	width: 185px;
}

/* ==== footer ==== */

#footer {
	background: #696969;
	margin-top: 10px;
	padding-top: 1rem;
	padding-bottom: 1rem;
	color: #fff;
	width: 100%;
}

.footer_info {
	width: 30%;
}
.footer_info h1{
	font-size: 1.4rem;
	line-height: 2rem;
	margin-bottom: 0.5rem;
}
.footer_info p{
	line-height: 1.3rem;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 200;
}

.footer_contents {
	width: 67%;
}
.footer_txt {
    display: flex;
    flex-wrap: wrap; 
    margin: 1.5rem 0 1.5rem 0.9rem;
}
/* .footer_txt li::before {
    content: "▼";
    font-size: 80%;
    padding-right: 0.5rem;
} */

.footer_txt a{
    text-decoration: none;
    color: #ffffff;
    font-weight: 350;
    padding-right: 3rem;
}
.footer_contents h2 {
    background: none;
	background-image: linear-gradient(transparent 40%, rgba(50,50,50,0.5) 30%);
	font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 1rem  -0.25rem;
    padding: 0 0 0.25rem 0.25rem;
    padding-bottom: 0.25rem;
	line-height: 18px;
}

.copyright {
	position: relative;
	width: 100%;
	font-size: 10px;
	line-height: 16px;
    font-weight: 200;
}

@media screen and (max-width: 640px) {
	#footer .wrapper {
		width: 100%;
		padding: 0 10px;
		position: relative;
}
	#footer .flex_sb {
		display: block;
	}
	#footer {
		margin-top: 10px;
	}
	
	.footer_info {
		width: 100%;
		padding-bottom: 30px;
	}
	.footer_info h1{
		font-size: 1.4rem;
		line-height: 2rem;
		font-weight: 700;
		margin-bottom: 0.5rem;
	}
	.footer_info p{
		margin: 0;
	}
	.footer_contents {
		width: 100%;
	}
    .footer_txt {
    line-height: 1.8rem;
    }
}