@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,form,label,legend,footer,header,hgroup,main,menu,nav,section{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;}

/*body{line-height:1}*/
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}

hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}

input,select{vertical-align:middle;}

/*================================================
 *  一般・共通設定
 ================================================*/
 *, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	font-size: 62.5%; /*font-size:10px;*/
}

body {
	background: #FFF;
	color: #222;
	margin: 0;
	padding: 0 0 100px;
	font-size:1.4rem; /*font-size:14px;*/
	font-family: "Inter", "Noto Sans JP", sans-serif;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
}

/*================================================
 *  全体のリンクテキスト
 ================================================*/
a {
	color: #069;
}
a:visited {
	color: #034464;
}
a:hover {
	color: #71a6c0;
}

/*================================================
 *  フッター
 ================================================*/
 footer {
	box-sizing: border-box;
	width:100%;
	margin:0 auto;
	position:fixed;
	bottom: 0; /*下に固定*/
	z-index:5;
	clear:both;
}

.copyright {
	clear:both;
	padding:20px 0;
	font-size:11px;
	text-align:center;
	color:#FFF;
	background:#4A88DD;
}

/*================================================
/* コンテンツ
 ================================================*/

 #contents {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 15px;
}

/*================================================
/* main
 ================================================*/
#main {
	margin: 0;
	padding: 0;
}

/*================================================
/* form_area
 ================================================*/
 .form_area {
	width: 100%;
	max-width: 992px;
	margin: 0 auto;
}
.form_area_s {
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
}
.form_area_es {
	width: 100%;
	max-width: 576px;
	margin: 0 auto;
}

/*================================================
/* btn_area
 ================================================*/
.btn_area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}
.btn_area div {
	margin: 5px 10px;
}

/*================================================
 page-topボタン
 ================================================*/
#page-top {
	position: fixed;
	bottom: 60px;
	right: 40px;
	font-size: 85%;
	margin: 10px auto;
	z-index:15;
}
#page-top a {
	border: 2px solid #FFF;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	width: 150px;
	text-align: center;
	display: block;
	border-radius: 5px;
	padding: 10px 5px 10px 10px;
	background: #999;
}
#page-top a:hover {
	opacity: 0.7;
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
	text-decoration: none;
}

#page-top01 {
  width: 80px;
  height: 80px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: #4d4d4d;
  opacity: 0.6;
	z-index:15;
}

  /* Font Awesome */
  #page-top01::before {
    font-family: 'Font Awesome 7 Pro';
    font-weight: 700;
    content: '\f0d8';
    font-size: 50px;
    color: #ffffff;
    position: absolute;
    width: 30px;
    height: 25px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  #page-top01::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 20px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
	#page-top01:hover {
		opacity: 0.7;
		filter: alpha(opacity=80);
		-ms-filter: "alpha(opacity=80)";
		text-decoration: none;
	}

/*================================================
 回り込み解除
 ================================================*/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/* 表示領域が991.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media print, screen and (max-width: 991.98px) {
	#main {
		padding: 0 10px 10px;
	}
	footer {
		width:100%;
	}
}

/* 表示領域が768px以上の場合に適用するスタイル */
@media screen and (min-width: 768px) {
		.spOnly_s {
		display: none !important;
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media print, screen and (max-width: 767.98px) {

/*================================================
/* btn_area
 ================================================*/
	.btn_area {
		flex-direction: column;
		justify-content: center;
		margin: 5px auto;
		max-width: 350px;
	}
	.btn_area div .btn01,
	.btn_area div .btn02,
	.btn_area div .btn11,
	.btn_area div .btn12 {
		margin: 0;
		width: 100%;
	}
}

/* 表示領域が576px以上の場合に適用するスタイル
-----------------------------------------------------*/
@media screen and (min-width: 576px) {
	.spOnly {
		display: none !important;
	}
}

/* 表示領域が575.98px以下の場合に適用するスタイル
-----------------------------------------------------*/
@media print, screen and (max-width: 575.98px) {
	#contents {
		padding-bottom: 50px;
		padding: 0 5px;
	}
	body {
		padding: 0;
	}
	footer {
		position:static;
	}
	.pcOnly {
    display: none !important;
  }
	#main {
		padding: 0 5px 10px;
	}
}

/* 印刷時に印刷しない要素 */
@media print {
  #page-top {
    display: none;
  }
}
/* mypage header grid */
header.mypage-header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px clamp(16px, 3vw, 40px);
  background: #ffffff;
  border-top: 1px solid #dfe7ef;
  border-bottom: 1px solid #dfe7ef;
  box-shadow: 0 3px 12px rgba(26, 40, 63, 0.05);
  overflow: hidden;
}

.mypage-header-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(230px, 270px) minmax(200px, 230px) 142px;
  grid-template-areas: 'logo member payment logout';
  align-items: center;
  gap: 10px 24px;
  width: 100%;
}

.mypage-header-grid.is-guest {
  grid-template-columns: minmax(260px, 1fr);
  grid-template-areas: 'logo';
}

.mypage-header-logo {
  grid-area: logo;
  min-width: 0;
}

.mypage-header-logo img {
  display: block;
  width: min(439px, 100%);
  max-width: 100%;
  height: auto;
}

.mypage-header-member,
.mypage-header-payment {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #d9e5ef;
  border-radius: 6px;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
  white-space: normal;
}

.mypage-header-member {
  grid-area: member;
}

.mypage-header-payment {
  grid-area: payment;
}

.mypage-header-member *,
.mypage-header-payment * {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.mypage-header-grid .txt_hd {
  display: block;
  margin: 0 0 8px;
  color: #30435d;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}

.mypage-header-grid .txt_member_name {
  color: #000000;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.mypage-header-grid i {
  color: #02539C;
}

.mypage-header-logout {
  grid-area: logout;
  min-width: 0;
}

.mypage-header-logout a,
.mypage-header-logout a:visited {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 2px solid #02539C;
  border-radius: 999px;
  background: #ffffff;
  color: #02539C;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mypage-header-logout a:hover {
  background: #F3F9FE;
  color: #02539C;
  box-shadow: 0 2px 6px rgba(2, 83, 156, 0.16);
  transform: translateY(-1px);
}

.mypage-header-logout a:hover i {
  color: #02539C;
}

@media print, screen and (max-width: 1100px) {
  .mypage-header-grid {
    grid-template-columns: minmax(240px, 1fr) 142px;
    grid-template-areas:
      'logo logout'
      'member member'
      'payment payment';
  }

  .mypage-header-member,
  .mypage-header-payment {
    min-height: auto;
  }
}

@media print, screen and (max-width: 767.98px) {
  header.mypage-header {
    padding: 22px 18px;
    overflow: visible;
  }

  .mypage-header-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'logo'
      'member'
      'payment'
      'logout';
  }
.mypage-header-logout {
    width: 142px;
  }
}