/*----------------------------------------
WHOLE
----------------------------------------*/
@import url("//fonts.googleapis.com/css?family=Noto+Serif+JP:400&display=swap");

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	position: relative;
}

body:after{
	content:"";
	display: block;
	width: 100vw;
	height: 100vh;
	background-image: url(../img/site_bg.jpg);
	background-size: cover;
	position: fixed;
	left:0;
	top:0;
}

#wrapper {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	overflow: hidden;
	font-size: 14px;
	letter-spacing: .2rem;
	background: #fff;
	z-index:2;
	position: relative;
}

#wrapper img {
	width: 100%;
	margin: 0;
	padding: 0;
	height: auto;
	display: block;
	font-size: 0;
	line-height: 0;
	vertical-align: bottom;
}
#wrapper a {
	display: block;
	transition: all ease 0.3s;
}

#wrapper a:hover {
	filter: brightness(1.1);
}

/* header */

header {
	background-color: #FFF;
	position: relative;
	z-index:2;
}

header .inner{
	max-width: 750px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:min(calc(30/750*100%),30px) min(calc(30/750*100%),30px);
}
header .inner img {
	width: 100%;
	height: auto;
}
header .inner .header-logo{
	width: calc(192/690*100%);
}
header .inner .login-link a{
	color: #1a2781;
	transition: all ease 0.2s;
	text-decoration: none;
	position: relative;
	font-size: clamp(16px,calc(20/750*100vw),20px);
}
header .inner .login-link a:after{
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #1a2781;
	bottom: -2px;       /*アンダーラインが位置する、各リストの下端からの高さ　ヘッダーの下端に合わせています*/
	visibility: hidden; /*ホバー前に、アンダーラインを可視化しない*/
	opacity: 0;
	transition: 0.3s;
}

header .inner .login-link a:hover:after{

	visibility: visible;
	opacity: 1;

}
/* contents */

#wrapper .p-box{
	position: relative;
}

#wrapper .btn-offer{
	position: absolute;
	width: calc(671/750*100%);
	top: 2%;
	left: 6.5%;
}
.btn-open{
	cursor: pointer;
	padding-bottom: calc(48/750*100%);
	width: calc(692/750*100%);
	margin: 0 auto;
}
.open-area{
	display: none;
}

#expert {
	background-color: #E2E7EB;
}

footer ul li a{
	font-size: min(calc(24/750*100vw),24px);
	line-height: 1;
	text-decoration: none;
	color: #333333;
	margin-bottom: 1em;
}

footer p{
	font-size: min(calc(24/750*100vw),24px);
	line-height: 1;
	text-align: center;
	font-weight: normal;
	margin-top: min(calc(60/750*100%),60px);
	padding-bottom: min(calc(60/750*100%),60px);
}

/* モーダル本体 */
.notice_img {
	cursor: pointer;
}
.modal_wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
}

.modal_container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	width: 700px;
	height: auto;
}

.modal_content {
	width: 100%;
	height: 100%;
}

.modal_content img {
	max-width:100%;
	height: auto;
}

.modal_close {
	position: absolute;
	top: -50px;
    right: 0px;
	cursor: pointer;
	font-size: 23px;
	font-weight: bold;
	color: #fff;
}

@media screen and (max-width : 768px){
	.modal_container {
		width: 90%;
	}
}