/*
 *	main.css
 *	サイト固有追加設定
 */

/*--------------------------------------------------
    共通パーツ
*/

.maw {
    max-width: 100%;
}

.fxb {
	max-width: 600px;
	margin: 0;
	padding: 0;
	width: 100%;
	position: relative;
	word-break: keep-all;
}

.aijcc {
    display: flex;
	flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.ib span.br {
	display: inline-block;
	padding-right: 1rem;
	margin-right: 1rem;
	border-right: 2px solid var(--maincolor);
}

.enable-wbr {
	word-break: keep-all;
}

ul.disc {
	list-style: disc;
	padding-left: 1.5rem;
}

ul li {
	margin-bottom: 0.5rem;
}

.every_in_mbpdbd > * {
	margin-bottom: 2rem !important;
	padding: 1rem;
	border: 2px solid var(--maincolor);
}

/*--------------------------------------------------
	メイン
 */

#wrapper {
    display: flex;
    flex-flow: column nowrap;
    position: relative;
    justify-content: space-between;
	min-height: 100vh;
}

article {
	min-height: calc( 100vh - 78px );
}

section.fxw {
	margin: 2rem 0 10rem;
}

section.content-box {
	background-color: var(--bgcolor);
	z-index: 1;
	margin: 0;
	padding: 0 1.5rem;
	word-break: keep-break;
}

/*--------------------------------------------------
	ヘッダ
 */
#masthead {
    width: 100%;
/*
    padding: 1rem 2rem;
*/
    display: flex;
	background-color	:	var(--bgcolor);
    border-bottom: 1px solid var(--bdcolor);
	position: relative;
    z-index: 100;
}

#h_group {
    width: 100%;
    height: 48px;
    position: relative;
    display: flex;
}

#h_logobpx {
    width: 157px;
}

#headerlogo {
    width: 157px;
    height: 45px;
}

#h_nav ul {
	max-width: 800px;
	width: calc( 100vw - 6vw - 157px );
    display: flex;
	align-items: center;
	justify-content: space-between;
}

#h_nav ul li a {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*--------------------------------------------------
    ホーム
 */

#topimage,
#toptext {
    width: 100%;
    height: calc( 100vh - 74px );
}

#topimage {
    background-image: url( '../img/main.jpg' );
    background-position: left center;
    background-attachment:fixed;
    background-size: cover;
    color: white;
}

#toptext {
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    background-color: rgba( 0, 0, 0, 0.55);
}

#toptext > * {
    line-height: 130%;
    text-align: center;
    margin-bottom: 1rem;
}

#topimage #imagecatch {
    font-size: max(min(3.7rem, 12vw), 2.5rem);
    font-weight: 700;
}

#topimage #subtext {
	margin-top: 1rem;
    font-size: max(min(1.7rem, 5vw), 1rem);
}

#contact-section .title,
.home .fxw .title {
    font-size: 2rem;
}

.home .fxw .title .sub {
    font-size: 1rem;
}

img.img100 {
    width: 100%;
    height: auto;
}

#contact-section {
	margin: 0;
	height: calc( 100vh - 273px );
	min-height: 480px;
	overflow: hidden;
	color: white;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
}

#contact-section::before,
#contact-section::after {
	display: block;
	content: '';
	width: 100vw;
	height: 100vh;
	position: fixed;
	bottom: 0;
	left: 0;
}

#contact-section::before {
	z-index: -2;
	background-image: url(../img/contact.jpg);
	background-position: center;
	background-size: cover;
	filter: blur( 4px );
}

#contact-section::after {
	background-color: rgba(0,0,0,0.7);
	z-index: -1;
}

#contact-section .title {
	line-height: 150%;
}

#contact-section .title .sub {
	font-size: 1.2rem;
	position: relative;
	margin-bottom: 2rem;
}

#contact-section .title .sub::before {
	position: absolute;
	content: '';
	display: block;
	width: 6rem;
	left: calc( 50% - 3rem );
	bottom: -1.7rem;
	height: 3px;
	background-color: white;
	margin: 0 auto 0.5rem;
}

/*--------------------------------------------------
    フッタ
 */

#colophon {
	background-color: var(--maincolor);
	width: 100%;
	height: 195px;
	display: flex;
	align-items: center;
	color: white;
	word-break: keep-all;
	flex-flow: column nowrap;
	position: relative;
}

#ftr-content {
	margin: 1rem auto 0.5rem;
	width: 80vw;
	display: flex;
	align-items: center;
	justify-content: center;
}

#colophon p {
	font-size: 0.86rem;
	max-width: 100%;
	margin: 0.2rem;
}

#ftr-logobox {
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#ftr-logo {
	width: auto;
	height: 120px;
}


#gratitude,
#copyright {
	width: 100%;
	color: white;
	font-size: max(min( 3.5vw, 0.86rem), 0.7rem);
	text-align: center;
}

#gratitude {
	line-height: 160%;
	padding: 0.5rem 1rem;
}

#copyright {
	height: 36px;
	line-height: 36px;
	background-color: #271612;
}

#footer-title {
	font-size: 1rem;
	padding: 0.2rem;
}
/*--------------------------------------------------
    ボタン
 */

.fxb.has-button{
	display: flex;
	justify-content: center;
	flex-flow: column nowrap;
}

.fxb.has-button .innerbox {
	padding-bottom: 6rem;
	margin: 2rem 0;
}

.button-more {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 142px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	border: 1px solid var(--maincolor);
	border-radius: 24px;
}

.button-more:hover {
	background-color: var(--maincolor);
	color: white;
}

.button-contact {
	margin-top: 1.5rem;
	width: 142px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	color: white;
	border: 1px solid white;
	border-radius: 24px;
}

.button-contact:hover {
	background-color: rgba( 255, 255, 255, 0.3 );
	color: white;
}

/*--------------------------------------------------
	固定ページ共通
 */

#post-header {
	position: relative;
}

#pagecover {
	width: 100%;
	min-height: 400px;
	height: 50vh;
	background-position: center center;
	background-size: cover;
}

#pagecover::before {
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	display: block;
	width: 100%;
	height: 100%;
/*
	background-color: rgba(0,0,0,0.35);
*/
}

#post-header .title{
	width: 100%;
	min-width: 320px;
	position: absolute;
	bottom: 1rem;
	padding: 0.2rem max( 0px, calc( ( 100% - 1200px ) / 2 ) ) 0.5rem;
	padding: 0;
	background-color: rgba(255, 255, 255, 0.3);
	background-color: rgba(0, 0, 0, 0.55);
}

#post-header .title span {
	font-size: 2rem;
	font-weight: bold;
	line-height: 130%;
	text-align: left;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.7);
	-webkit-text-stroke: 2px rgba(0,0,0,0.5);
	-webkit-text-stroke: 1px rgba( 255, 255, 255, 0.35);
	paint-order: stroke fill;
	color: white;
	display: inline-block;
/*
	min-width: 33vw;
*/
	padding: 0.2rem 2rem 0.2rem max( 1rem, calc( ( 100% - 1200px ) / 2 ) );
	margin-bottom: 0.5rem;
	border-bottom: 2px solid white;
}
.dropcap {
	padding: 0;
	margin-bottom: 1.5rem;
}

h2.dropcap {	font-size: 2rem;}
h3.dropcap {	font-size: 1.3rem;}

/*	編集ボタン	*/

a .edit-button {
	font-size: 1.5rem;
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
	background-color: var(--darkcolor);
	border-radius: 8px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
	width: 48px;
	height: 48px;
	position: absolute;
	bottom: 68px;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

a .edit-button:hover {
	background-color: var(--maincolor);
}

/*	トップへ	*/
.totop {
	position: relative;
	padding: 1.5rem;
	margin: 1rem 0 2rem;
}

.totop a {
	display: block;
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	padding: 0.5rem 1rem;
	color: white;
	background-color: var(--maincolor);
	border-radius: 2rem;
}

/*--------------------------------------------------
	ブログ関係
 */

#blog-archive.content-box {
	display: flex;
	flex-flow: row wrap;
}

.poster {
	margin: 2rem 1rem;
	word-break: break-all;
	font-size: 2rem;
	width:	30%;
	position: relative;
}

.poster a {
	color: white;
	width: 100%;
	height: 100%;
	display: block;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.poster a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	background-color: rgba(30,41,59,0.65);
}

.poster a:hover::before {
	background-color: rgba(30,41,59,0.8);
}

.poster h2.blogtitle {
	padding: 1rem 1rem 4rem ;
	word-break: break-all;
	font-size: 1.6rem;
	width: 100%;
	height: 100%;
	position: relative;
}

.poster .morelabel {
	font-size: 1rem;
	position: absolute;
	right: 1rem;
	bottom: 1.2rem;
}

#sidebar h6.title {
	color: white;
	font-weight: bold;
	background-color: var(--maincolor);
	padding: 0.5rem 1rem;
	margin-bottom: 0.8rem;

}

#sidebar ul li {
	padding-left: 1rem;
	margin-bottom: 1rem;
}

#blog-wrapper .content p {
	line-height: 200%;
}

.blog-single .title {
	font-weight: bold;
	font-size: 1.6rem;
	line-height: 200%;
	padding-bottom: 0.3rem;
}

.blog-single .subarea {
	margin-bottom: 1.6rem;
	padding: 0 1rem;
	text-align: right;
}

.blog-single .content {
	margin-bottom: 2rem;
}

.pager dl {
	margin-bottom: 1rem;
}

.pager dt {
	font-weight: bold;
}

.pager dd {
	padding: 0.5rem 1rem;
	line-height: 1.6rem;
}

.blog-single img {
	width: 100%;
	height: auto;
}

#contact-info {
	line-height: 200%;
	margin: 2rem auto;
	padding: 2rem;
}

#contact span i {
	color: var(--maincolor);
	margin-right: 1rem;
}