@charset "utf-8";

/* ****************-*-//ページ//-*-**************** */
*{
	margin:0px;
	padding:0px;
}
html, body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue","Meiryo","Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
	font-size: 62.5%;
	margin: 0;
	-webkit-text-size-adjust: 100%;
}
html {
	scroll-behavior: smooth;
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh; /* 画面の高さを最低100%にする */
	white-space: normal; /* アイテムの省略を阻止 */
}

main {
	background-color:transparent;
	font-size: 1.6rem;
	line-height:1.4;
	margin: 0rem 0rem 3rem 0rem; /* top right bottom left */
	padding: 0.6rem 0rem 0rem 0rem; /* form用padding設定 */
	overflow: hidden; /* スクロールバーを隠す */
	flex: 1; /* 余った縦のスペースをすべて埋める */
}

@media all and (min-width: 959px) {
	#container {
		width: 960px;
		margin:0px auto;
	    position:relative;
	}
}

/* ****************-*-//リンク//-*-**************** */
a{
	color:#333;
	font-weight:normal;
	text-decoration:underline;
}
a:hover{
	color: #ff0000;
}
.a-button {
	cursor: pointer;
	display: inline-block;
	padding: 10px 16px;
	font-weight: normal;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	list-style: none;
	text-align: center;
    box-sizing: border-box;
    text-decoration: none;
	margin-bottom:10px;
}
.a-button2 {
	cursor: pointer;
	display: inline-block;
	padding: 10px 16px;
	font-weight: normal;
	background: #f00000;
	color:#fff;
	border: 1px solid #f00000;
	border-radius: 4px;
	list-style: none;
	text-align: center;
    box-sizing: border-box;
    text-decoration: none;
	margin-bottom:10px;
}
.a-button2:hover{
	color: #fff;
}
.width-100 {
    width: 100%;
}


/* ****************-*-//ヘッダー//-*-**************** */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	background: #fff;
	position: relative;
}
.menu-button {
	border: none;
	background: none;
	padding: 0px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;
}
.overlay.open {
	opacity: 1;
	pointer-events: auto;
}
nav a {
	padding: 12px 16px;
}
.navMenu {
	position: fixed;
	top: 0;
	right: -250px;
	width: 250px;
	height: 100vh;
	background: #fff;
	color: #333;
	padding: 60px 20px;
	box-sizing: border-box;
	transition: right 0.3s ease;
	z-index: 1002;
	line-height:2.5;
	font-size:1.6rem;	
}
.navMenu.open {
	right: 0;
}
img {
    border:0;
	max-width: 100%;
	height: auto;
}
.logo-sp {
	display:inline-block;
	position:absolute;
	left:6px;
	z-index:999;
	margin-top:6px;
	margin-left:10px;
}

.header-link{
	font-size:1.6rem;
	line-height:1;
	text-align:center;

	/* 横並び */
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
}
.header-link a{
	text-decoration:none;
}

@media all and (min-width: 959px) { /* PC */
	header {
		width: 960px;
		margin:0px auto;
	    position:relative;
	}
	.logo-sp {
		margin-top:1.5rem;
		top: 0.6rem;
		max-width:9rem;
	}
	.header-link{
		margin: 1rem 1rem 0rem 1rem; /* top right bottom left */
	}
}
@media all and (max-width: 960px) { /* SP */
	.header-link{
		margin: 0rem 1rem 0rem 1rem;
	}
	.logo-sp {
		max-width:8rem;
		top:1rem;
	}
}


/* ****************-*-//見出し//-*-**************** */
h1 {
	background-color: #f00000;
	color: #fff;
	font-weight:normal;
	padding: 1rem 0rem 1rem 0rem; /* top right bottom left */
	margin: 2rem 0rem 0rem 0rem;
	text-align: center;
	text-shadow:none;
}
h2,h3 {
	color: #333;
	font-size:1.7rem;
	font-weight:normal;
	padding: 0.8rem 1.6rem 0.8rem 1.6rem;
	text-align: left;
	border-left: 3px solid #f00000; /* テキストの左横の縦線 */
	text-transform: capitalize; /* 先頭文字を大文字で */
}
h4 { 
	margin: 3rem 0rem 0rem 1rem;
} 

@media all and (min-width: 959px) { /* PC */
	h2,h3 {
		margin: 4rem 1rem 0rem 1rem;
	}
}
@media all and (max-width: 960px) { /* SP */
	h2,h3 {
		margin: 3rem 1rem 1.5rem 1rem;
	}
}


/* ****************-*-//テーブル//-*-**************** */
div .table-area{
	margin: 3rem 1rem 0rem 1rem; /* top right bottom left */
	text-align:center;
}

table {
	margin-right: auto; /* 中央表示 */
	margin-left: auto;
}

table, th, td { /* 境界線 */
	border: 1px solid #ccc;
	border-collapse: collapse;
}

th, td {
	padding:  0.6rem 1rem 0.6rem 1rem;
}

th {
	background-color: #6f6f6f;
	color: #fff;
	font-weight: normal;
	text-shadow: none;
}

table tr:nth-child(odd) { /* 奇数行の背景色を設定 */
	background-color: #f0f0f0;
}

.table-common{
	width:100%;
	table-layout: fixed;
}
.table-common td {
	border: 1px;
	text-align:left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-top:0.8rem;
	padding-bottom:0.8rem;
}


/* ****************-*-//div//-*-**************** */
div .space{
	margin: 3rem 0rem 0rem 0rem; /* top right bottom left */
}

div .text-area{
	line-height:150%; /* 行の高さを指定 */
}
@media all and (min-width: 959px) { /* PC */
	div .text-area {
		margin: 2rem 1rem 0rem 1rem;
	}
}
@media all and (max-width: 960px) { /* SP */
	div .text-area {
		margin: 1rem 1rem 0rem 1rem;
	}
}

div .button-area{
	margin: 2rem 1rem 0rem 1rem; /* top right bottom left */
	text-align:center;
}
div .translate-area{
	margin: 1rem 1rem 1rem 0rem;
	text-align:right;
}
div .login-area{
	padding:1rem;
	margin: 2rem 0rem 0rem 0rem;
	margin-right: auto; /* 中央表示 */
	margin-left: auto;
	max-width:85%;
}

.align-center{
	text-align:center;
}


/* ▼▼▼▼▼ ナビゲーションバー ▼▼▼▼▼ */
.navbar {
	display: flex;
	justify-content: space-around;
	background: #f8f8f8;
	border: 1px solid #ccc;
}

.navbar a {
	flex: 1;
	text-align: center;
	padding: 1rem;
	text-decoration: none;
	border: 1px solid #ddd;
	background: #fff;
	box-sizing: border-box;
	/* ↓ 長い文字列は省略 ↓ */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.navbar a:last-child {
	border-right: none;
}

.navbar a span {
	display: block;
	font-size: 1.8rem;
	margin-bottom: 4px;
}

.navbar-wrapper {
	border-top: 1px solid #ccc;
	margin-top:1rem;
}

.navbar-wrapper .navbar {
	border-top: none;
}

@media all and (max-width: 960px) { /* SP */
	.navbar a {
	font-size: 1.2rem;
	padding: 0.8rem 0;
	}
	.navbar a span {
	font-size: 1.6rem;
	}
}


/* ▼▼▼▼▼ details & summary（見出し）▼▼▼▼▼ */
details summary {
	cursor: pointer;
	padding: 1rem 1.6rem;
	font-weight: normal;
	color: #333;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 0.4rem;
	box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	list-style: none;
}

details {
	margin-top:1rem;
}
summary:hover{
	color: #ff0000;
}
/* summary のデフォルトの三角を消す */
details summary::-webkit-details-marker {
	display: none;
}
/* 開いた時の summary */
details[open] summary {
	background: #fff;
}
/* details 内の本文 */
details .content {
	padding: 1rem 2rem;
	background: #F6F6FF;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 0.4rem 0.4rem;
	margin-bottom: 1.2rem;

}


/* ▼▼▼▼▼ form ▼▼▼▼▼ */
.ui-field-contain {
	margin-top: 1rem;
    margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #ccc;
}
.ui-field-contain:last-child {
	border:0;
}

label, legend, span.label-text {
	color:#464946;
	margin-bottom:1rem;
}
label {
	display: block;
}

input[type="text"],
input[type="email"],
textarea,
select {
	width: 100%;
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 0.6rem;
	box-sizing: border-box;
}

input, textarea {
	font-size: 1em;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue","Meiryo","Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
	color:#333;
}
select {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue","Meiryo","Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
	font-size:1.7rem;
	line-height:1.4;
	text-align: center;
	color:#333;
}
input[type="text"] {
	font-size: 1.6rem;
}
input[type="submit"]:hover {
	color: #fff;
}
input[type="checkbox"] {
	accent-color: #FF0000;
	transform: scale(1.5); /* 1.5倍に拡大 */
}
input[type=radio] {
	-ms-transform: scale(1.5, 1.5);
	-webkit-transform: scale(1.5, 1.5);
	transform: scale(1.5);
	accent-color:#333;
	margin-right:0.5rem;
}

.ui-radio-group {
	display: flex;
	gap: 2rem;
	margin-top: 0.5rem;
}
.ui-radio {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1em;
	color: #333;
}

/* formの注意書き */
.caution-form-ul {
	color:#606060;
}


/* ▼▼▼▼▼ TOPへ戻る ▼▼▼▼▼ */
.back-to-top {
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	width: 5rem;
	height: 5rem;
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	padding-bottom:5px;  
	
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	z-index:998;
}
.back-to-top:hover {
	background-color: rgba(0, 0, 0, 0.5);
}
.back-to-top.is-show {
	opacity: 1;
	visibility: visible;
}


/* ▼▼▼▼▼ footer ▼▼▼▼▼ */
footer {
	/*
	display: flex;
	justify-content: center;
	font-size:10px;
	font-size: 1.6rem;
	*/

	background: #333;
	color: #fff;
	font-size:1.5rem;
	font-weight: normal;
	line-height:1.4;
	margin: 0px;
	padding: 1.6rem 0rem 2rem 0rem; /* top right bottom left */
	text-align: center;
	text-shadow: none;
}
.footer-link{
	padding: 0.8rem 0rem 1.5rem 0rem;
	font-size: 1.5rem;
}
.footer-link a{
	color:#fff;
	font-weight: normal;
	padding:0.8rem;
	text-decoration:none;
}


/* ****************-*-//etc//-*-**************** */
br {
	letter-spacing:normal; /* IE6,IE7対策 */ 
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	margin: 2rem 0rem 2rem 0rem; /* top right bottom left */
}

ul, ol{
	margin:  0.6rem 0rem 0.6rem 1.6rem;
}
@media all and (min-width: 959px) { /* PC */
	ul, ol {
		line-height:180%; /* 行の高さを指定 */
	}
}


/* ------------------------------------------------------------------------------ */
@media all and (min-width: 959px) { /* スマホで表示して、PCでは表示しない */
	.sp-area {
		display: none;
	}
}
@media all and (max-width: 960px) { /* PCで表示して、スマホでは表示しない */
	.pc-area {
		display: none;
	}
}
