/*
Theme Name: rebirth_honhon
Theme URI:
Description:「本屋であなたの本を作ります」用テーマ
Template: rebirth_free001
*/


/*----- BREAKPOINT ----------------------------------------*/
/*@media print, screen and (min-width: 751px) {}*/
/*@media print, screen and (min-width: 1051px) {}*/


/*----- BASE & MENU ----------------------------------------*/
body, input, textarea {
	/*font-family: 'Prompt', sans-serif !important;*/
	font-family: 'Sawarabi Gothic', sans-serif !important;
	color: #464646 !important;
}
#container {
    background: #f5f0e6;
}
#container:before {
	display: none;
}
.index_slider {
	display: none;
}
.wp-block-button__link {
    border: 1px solid;
}
.wp-block-button__link:hover {
	background-color: #3366cc !important;
	color: #FFFFFF !important;
}
#drawer_menu {
	background: #FFFFFF !important;
}
#mobile_menu a {
	border-bottom: #e6e6e6 solid 1px !important;
	color: #000000 !important;
}
#global_menu > ul > li {
	-ms-flex: 1;
   -webkit-flex: 1;
	flex: 1;
}
#global_menu > ul > li:first-of-type a {
	border-left: #000000 solid 1px !important;
}
#global_menu > ul > li {
	white-space: nowrap;
}
#global_menu > ul > li > a {
	padding: 0 10px;
	border-right: #000000 solid 1px !important;
}


/*----- HEADER ----------------------------------------*/
@media print, screen and (min-width: 1051px) {
	#header {
		height: 110px;
	}
	#header_top {
		height: 60px;
	}
	#header_logo {
		height: 60px;
	}
	.pc_logo_image {
		width: 91px;
		height: 60px;
	}
}

/*----- FOOTER ----------------------------------------*/
#footer_info {
	padding-top: 30px;
}
#footer_bottom {
	border-top: none;
}
.copyright-note {
	margin: 30px 0 0 0;
	text-align: center;
	line-height: 1.6;
	font-family: 'Prompt', sans-serif !important;
	font-size: 9px;
	color: #FFF;
}
#copyright {
	font-family: 'Prompt', sans-serif !important;
}
@media print, screen and (min-width: 751px) {
	#footer_info {
		width: 40% !important;
		max-width: 40% !important;
	}
	.copyright-note {
		text-align: right;
		font-size: 9px;
	}
}


/*----- PAGES ----------------------------------------*/
.article_top {
	background: #E9D9BF;
	background-color: #E9D9BF !important;
	color: #464646;
}
.main_col_inner{
	border-style: none;
}
#next_prev_post {
	border-top: none;
}
@media print, screen and (min-width: 1051px) {
	#main_col {
		width: 980px;
	}
}


/*----- FRONT-PAGE ----------------------------------------*/
.index-image-wrap, .catchcopy {
	width: 100%;
	margin: 0;
	text-align: center;
	background-color: #FFFFFF;
}
.catchcopy {
	padding: 7vw 0 8vw 0;
	background-image: url(../../uploads/2022/10/index_bg.png);
	background-size: 30%;
	background-position: 90% bottom;
	background-repeat: no-repeat;
	background-color: #FFFFFF;
}
.catchcopy {
	background-image: url(../../uploads/2022/10/index_bg.png);
}
#catch {
	width: 70%;
	margin: 0 auto;
}
.index-image {
	width: 100%;
	max-width: 1050px;
	margin: 0 auto;
}
.front-contents-wrap {
	padding: 60px 10%;
	background: #f7f0e6;
}
.front-content H3 {
	margin: 20px 0 30px 0;
}
.front-content H3 img {
	width: 90%;
}
.front-content p {
	text-align: center;
	/*font-size: 18px;*/
	font-size: 100%;
	font-size: clamp(0.75rem, 3.5vw, 1.1rem);
	line-height: 1.8;
}
.front-content .wp-block-buttons {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 30px 0 0 0;
}
@media print, screen and (min-width: 751px) {
	.catchcopy {
		padding: 90px 0 80px 0;
		background: url(../../uploads/2022/10/index_bg.png) no-repeat;
		background-size: 30%;
		background-position: calc(100% - 35px) bottom;
		background-color: #FFFFFF;
	}
	#catch {
		width: 60%;
		max-width: 675px;
		margin: 0 auto;
	}
	.front-contents-wrap {
		padding: 95px 10%;
	}
	.front-content {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		margin: 0 auto;
	}
	.front-content H3 {
		width: 35%;
		margin: 0;
		padding: 5px 5% 0 0;
	}
	.front-content H3 img {
		width: 100%;
	}
	.front-content H2 span {
		display: inline-block;
		margin: 5px 0 2vw 0;
	}
	.front-content p {
		width: 65%;
		line-height: 1.8;
		font-size: 19px;
		white-space: nowrap;
	}
}
@media print, screen and (min-width: 1051px) {
	.catchcopy {
		padding: 0 0 63px 0;
		background-size: 315px;
		background-position:calc(50vw + 180px) bottom;
	}
	#catch {
		width: 731px;
		margin: 0 auto;
	}
	.front-contents-wrap {
		padding: 95px 10%;
	}
	.front-content {
		width: 800px;
		margin: 0 auto;
	}
	.front-content H2 span {
		margin: 10px 0 25px 0;
	}
	.front-content p {
		font-size: 19px;
	}
}


/*----- ABOUT ----------------------------------------*/
.about-changeimage {
	width: 80%;
	max-width: 450px !important;
	margin: 20px 0 20px 2.5vw !important;
}
.about-text {
	margin: 0 0 0 2.5vw !important;
	line-height: 2 !important;
	font-size: 100%;
	font-size: clamp(0.75rem, 3.5vw, 1.1rem);
}
.about-text span {
	display: inline-block;
	margin: 0 0 1em 0 !important;
}
.about-hr {
	width: 100%;
	margin: 60px 0 20px 0;
	text-align: center;
	border-top: #ccc solid 1px;
}
.about-hr img {
	display: inline;
	width: 80px;
	margin: -34px 0 0 0;
}
.about-tag {
	width: 100%;
	margin: 30px 0 0 0;
	text-align: center;
}
.about-tag img {
	display: inline;
	width: 120px;
}
.about-borderblock {
	margin: 20px 0 !important;
	box-shadow: 0 0 5px #bbbbbb;
}
.about-bluelist {
	width: 80%;
	margin: 10px 10% !important;
	padding: 0 0 0 1.5em !important;
	list-style: disc !important;
	color: #3366CC;
	font-size: 1rem !important;
}
.about-bluelist li {
	line-height: 1.6 !important;
	font-size: 1rem !important;
}
.about-graylist {
	width: 80%;
	margin: 0 10% !important;
	padding: 0 0 0 1.5em !important;
	list-style: disc !important;
	font-size: 1rem !important;
}
.about-graylist li {
	line-height: 1.6 !important;
	font-size: 1rem !important;
}
.about-listnote {
	width: 80%;
	margin: 20px 10% 0 10% !important; 
	font-size: 0.8em !important;
}
@media print, screen and (min-width: 751px) {
	.about-column-wrap {
		display: flex;
		gap: 0 !important;
		width: 95%;
		margin: 0 auto;
	}
	.about-image-wrap {
		flex-basis: auto !important;
		width: 30%;
	}
	.about-changeimage {
		width: 100% !important;
		margin: 40px 0 0 10px !important;
	}
	.about-text-wrap {
		flex-basis: auto !important;
		width: 65%;
	}
	.about-text{
		margin: 30px 0 0 8% !important;
		font-size: 1em;
	}
	.about-hr {
		width: 90% !important;
		margin: 90px 5% 20px 5% !important;
	}
	.about-hr img {
		width: 120px;
		margin: -50px 0 0 0;
	}
	.about-tag{
		margin: 50px 0 0 0;
	}
	.about-tag img {
		width: 180px;
	}
	.about-borderblock {
		width: 90%;
		margin: 20px 5% !important;
	}
	.about-bluelist {
		width: 85%;
		margin: 10px 0 10px 15% !important;
		font-size: 1.1rem !important;
	}
	.about-bluelist li {
		font-size: 1.1rem !important;
	}
	.about-graylist {
		width: 70%;
		margin: 0 15% !important;
		font-size: 1.1rem !important;
	}
	.about-graylist li {
		font-size: 1.1rem !important;
	}
	.about-listnote {
		width: 70%;
		margin: 20px 15% 0 15% !important; 
	}
}
@media print, screen and (min-width: 1051px) {
	.about-changeimage {
		width: 95% !important;
		margin: 40px 0 0 15px !important;
	}
	.about-text{
		margin: 30px 0 0 10% !important;
		font-size: 19px;
	}
	.about-borderblock {
		width: 80%;
		margin: 20px 10% !important;
	}
	.about-bluelist {
		font-size: 1.3rem !important;
	}
	.about-bluelist li {
		line-height: 1.8 !important;
		font-size: 1.3rem !important;
	}
	.about-graylist {
		font-size: 1.3rem !important;
	}
	.about-graylist li {
		line-height: 1.8 !important;
		font-size: 1.3rem !important;
	}
}



/*----- PROCESS ----------------------------------------*/
.process-wrap {
	width: 90%;
	max-width: 500px;
	margin: 0 auto;
}
.process-wrap div:nth-child(even) {
	background: #E6F0FF;
}
.process-wrap div::before {
	content: '';
	position: absolute;
	top: -10px;
	left: calc(50% - 10px);
	display: block;
	width: 20px;
	height: 20px;
	background: #E6F0FF;
	transform: rotate(45deg);
}
.process-wrap div:nth-child(even)::before {
	background: #FFFFFF;
}
.process-wrap div:first-child::before {
	background: #FFFFFF;
}
.process-box {
	position: relative;
	padding: 10px 15px;
}
.process-box::before:nth-child(even) {
	background: #E6F0FF;
}
.process-box h3 {
	margin: 0 !important;
	font-size: 1.4rem;
	font-weight: normal;
}
.process-box h3 span {
	position: relative;
	top: 0.2em;
	left: 0;
	margin: 0 15px 0 0;
	font-family: 'Prompt', sans-serif !important;
	font-size: 2.5rem;
	font-weight: bold;
}
.process-box p {
	margin: 10px 0 !important;
	line-height: 1.6 !important;
}
.process-box img {
	display: block;
	width: 70%;
	max-width: 250px;
	margin: 20px auto;
}
@media print, screen and (min-width: 751px) {
	.process-wrap {
		position: relative;
		width: 50%;
		margin: 0 0 0 50px;
	}
	.process-wrap::after {
		content: '';
		display: block;
		position: absolute;
		top: 220px;
		left: 105%;
		width: 80%;
		max-width: 380px;
		height: calc(100% - 250px);
		background: url(../../uploads/2022/10/process_tab.png) no-repeat;
		background-size: contain;
		background-position: center;
	}
	.process-box h3 span {
		top: 0.1em;
	}
	.process-box img {
		display: none;
	}
}
@media print, screen and (min-width: 1051px) {
	.process-wrap {
		width: 55%;
	}
	.process-wrap::after {
		top: 180px;
		left: 102.5%;
		height: calc(105% - 280px);
		background: url(../../uploads/2022/10/process_pc.png) no-repeat;
		background-size: contain;
		background-position: center;
	}
	.process-box h3 {
		font-size: 1.6rem;
	}
	.process-box h3 span {
		top: 0.15em;
		font-size: 2.75rem;
	}
	.process-box p {
		font-size: 1.1rem;
	}
}


/*----- FAQ ----------------------------------------*/
.opener {
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	margin: 20px 0 10px 0;
	background: #E6F0FF;
	cursor: pointer;
}
 .opener p {
	position: relative;
	left: 3.5rem;
	width: calc(100% - 110px);
	margin: 1rem 0;
	line-height: 1.6;
}
.opener p span {
	position: absolute;
	top: -1.25rem;
	left: -1.25em;
	font-size: 2rem;
	font-family: 'Prompt', sans-serif !important;
}
.opener-icon {
	position: relative;
	width: 40px;
	height: 40px;
}
.opener-icon span {
	position: absolute;
	display: block;
	width: 20px;
	height: 3px;
	background: #3366CC;
}
.opener-icon span:nth-child(1) {
	top: 32px;
}
.opener-icon span:nth-child(2) {
	top: 32px;
	transform: rotate(90deg);
	transition: all 0.5s ease;
}
.opener-icon span:nth-child(2).minus {
	transform: rotate(0deg);
}
.answer {
	overflow: hidden;
	opacity: 1;
	padding: 0 1rem 0 1.25rem;
	line-height: 1.8;
	transition: all 0.5s ease;
}
.is_open {
  opacity: 1;
}
@media print, screen and (min-width: 751px) {
	.opener p span {
		top: -0.75rem;
	}
	.opener-icon span:nth-child(1) {
		top: 25px;
	}
	.opener-icon span:nth-child(2) {
		top: 25px;
	}
}


/*----- CONTACT ----------------------------------------*/
.contact-table {
  margin: 40px 0 0 0;
  font-size: 0.8rem;
}
.contact-table tr td:first-child {
  width: 7rem;
  white-space: nowrap;
}
.contact-table tr:nth-child(odd) {
  background: #E6F0FF;
}
.contact-table td {
  border: none;
  background: none;
}
.contact-table td:first-child {
  border-right: #FFFFFF solid 2px;
}
@media print, screen and (min-width: 751px) {
  .contact-table {
    font-size: 1rem;
  }
}
