@charset "utf-8";

/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");

/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	height: 100%;
	font-size: 16px;	/*基準となるフォントサイズ。*/
}

body {
    width: 100%;
    font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Roboto, 'Droid Sans', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: white;
    background-color: black;
    -webkit-text-size-adjust: none;
}

/*リセット*/
figure {
	margin: 0;
}
dd {
	margin: 0;
}
nav {
	margin: 0;
	padding: 0;
}

/*table全般の設定*/
table {
	border-collapse:collapse;
}

/*画像全般の設定*/
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/*---------- 文字装飾 ----------*/
span.ss {
    font-size: 0.6em;
    line-height: 1.7;
}

a {
    font-size: 0.84em;
    line-height: 1.7;
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #eee;		/*文字色*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
    text-decoration: none;  /* link時の下線なし */
}

/*マウスオン時*/
a:hover {
	opacity: 0.8;	/*色を80%だけ出す*/
	color: #49bbfe;	/*文字色*/
}

/* header
----------------------------------------*/
.header {
    position: fixed;         /*絶対位置で固定*/
    top: 0px;                /*上に配置*/
    left: 0px;               /*左の隙間をなくす*/
    padding: 0px 10px;       /*範囲内の余白（上下、左右）*/
    width: 100%;             /*幅*/
    height: 80px;            /*高さ*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    z-index: 90;
}

.header_left {
    position: fixed;          /*絶対位置で固定*/
    left: 0px;                /*左の隙間をなくす*/
    padding: 0px 10px;        /*範囲内の余白（上下、左右）*/
    height: 80px;             /*高さ*/
    display: flex;
    justify-content: start;
    align-items: center;
    z-index: 90;
}

.header_right {
    top: 0px;                  /*上に配置*/
    left: 0px;                 /*左の隙間をなくす*/
    padding: 0px 5px;          /*範囲内の余白（上下、左右）*/
    height: 80px;              /*高さ*/
    display: flex;
    justify-content: start;
    align-items: center;
    z-index: 90;
}

.header_right img {
    left: 0px;                 /*左の隙間をなくす*/
    padding: 10px 8px 0 0;     /*範囲内の余白（上下、左右）*/
    align-items: center;
    z-index: 90;
}

/*PC表示の時はSP用imgを表示しない*/
.img_sp {
    display: none; 
}

.logo {
    font-size: 14px; 
    padding: 20px 5px 0px;      /*範囲内の余白（上下、左右）*/
}

/*メニューリスト・カーソルオーバー・通常時の背景色
---------------------------------------*/
.cursor {
    background-color: black;
}

/* マウスオーバー時の背景色
----------------------------------------*/
.cursor:hover {
    background-color: blue;
}

/*コンテンツ（フッター関連「以外」を囲むブロック）
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
	padding: 30px;	/*コンテンツ内の余白*/
	margin: 0 40px;	
}

/*トップページ以外のコンテンツブロック*/
body:not(.home) #contents {
	padding-top: 150px;	/*上にとる余白。headerがfixedなので、ここの設定がないとheaderに重なってしまいます。*/
}

/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	margin: 0 2%;	/*ブロックの外側に空けるスペース*/
	padding-top: 0px 20px;	/*左右にとる余白*/
}

/*h2タグ
---------------------------------------------------------------------------*/
/*h2タグ全体*/
#contents h2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 1rem;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 1.3rem;		/*文字サイズ*/
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
	border-bottom: 2px solid #555;	/*薄い色の線の幅、線種、色*/
}

/*アクセントラインの設定*/
#contents h2 .uline {
	display: inline-block;position: relative;
	padding: 10px 1rem;	/*h2内の余白。上下、左右への順番。*/
	bottom: -2px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 2px solid #49bbfe;	/*濃い色の線の幅、線種、色*/
}

/*h4タグ
---------------------------------------------------------------------------*/
h4 {
    margin: 40px 0 40px 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    font-weight: normal;
}

/*pタグ
---------------------------------------------------------------------------*/
#contents p {
    margin: 0 1rem 2rem;	/*pの外側にとるスペース。上、左右、下への順番。*/
}

/*微調整*/
#contents p + p {
    margin-top: -1rem;	/*段落が続いた場合に、少し上に詰める。*/
}

.img-box {
    text-align:center;
    margin: 40px auto 0;
}

/* Phone popup表示 ここから*/

#popup {
    display: none;    /* label でコントロールするので input は非表示に */
}

.popup-open {
    cursor: pointer;   /* マウスオーバーでカーソルの形状を変える */
}

.popup-overlay {
    display: none;      /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay {
    display: block;
    z-index: 99999;
    background-color: #00000080;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

.popup-window {
    width: 90vw;
    max-width: 240px;
    height: 140px;
    padding: 10px;
    background-color: #999;
    text-align: center;
    border-radius: 6px;
    position: fixed;
    top: 60%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.popup-text {
    margin: 0;
    font-size: 16px; 
}

.popup-text:not(:last-of-type) {
    margin-bottom: 1em;
}

.popup-close {
    cursor: pointer;
    position: absolute;
    top: -26px;
    right: 0;
}

/* Phone  popup表示 ここまで*/

#footermenu ul {
    margin: 0;
    list-style: none;
    align-self: auto;          /*フッターメニューを自動で配置する。*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {
    font-size: 100%;
}
footer {
    font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
    text-align: center;		/*内容をセンタリング*/
    padding: 20px;		/*ボックス内の余白*/
}

/*PC用テーブル（ta1）
---------------------------------------------------------------------------*/
/*ta1テーブルブロック設定*/
.ta1 {
    border-top: 1px solid #555;	/*テーブルの一番上の線。幅、線種、色*/
    width: 100%;
    margin: 0 auto 2rem;		/*最後の「2rem」がテーブルの下に空けるスペースです。２文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
    border-bottom: 1px solid #555;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
    padding: 10px 20px;		/*上下、左右へのボックス内の余白。*/
    word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。*/
}

/*th（左側）のみの設定*/
.ta1 th {
    width: 30%;		/*幅*/
    text-align: left;	/*左よせにする*/
    background: #444;	/*背景色*/
}

/*th（右側）のみの設定*/
.ta1 td {
    text-align: left;	/*左よせにする*/
    color: #000;	
    background: #eee;	/*背景色*/
}

.wl {
    width: 90%;
    display: block;
}

/*PC用テーブル（ta1_1）
---------------------------------------------------------------------------*/
/*ta1_1テーブルブロック設定*/
.ta1_1 {
    border: 1px solid #555;	/*テーブルの囲み線。幅、線種、色*/
    width: 50%;
    margin: 40px auto 0;	/*最後の「2rem」がテーブルの下に空けるスペースです。２文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1_1 tr {
    border-bottom: 1px solid #555;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1_1 th, .ta1_1 td {
    padding: 10px 20px;		/*上下、左右へのボックス内の余白。*/
    font-size: 14px;
    word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。*/
}

/*th（左側）のみの設定*/
.ta1_1 th {
    width: 45%;		/*幅*/
    text-align: center;	/*中央よせにする*/
    color: #bbb;
    background: #111;	/*背景色*/
}

/*th（右側）のみの設定*/
.ta1_1 td {
    text-align: center;	/*中央よせにする*/
    background: #222;	/*背景色*/
}
.ta1_1 td a {
    color: #fff;	
}

.ta1_1 td a:hover {
     color: #00f;
}


/*submitボタンの設定
---------------------------------------------------------------------------*/
input[type="submit"],
input[type="button"],
input[type="reset"] {
	padding: 5px 20px;	/*ボタン内の余白*/
	margin-bottom: 20px;
	border: none;
	border-radius: 30px;	/*角丸のサイズ*/
	background: linear-gradient(#fff, #eee);	/*グラデーション*/
	font-size: 14px;	/*文字サイズ*/
	border: 1px solid #ccc;
}
/*マウスオン時の設定*/
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover{
	background: #fff;	/*背景色*/
}

.c {text-align: center;}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
    display: block;
}

/*ボタンの設定*/
.pagetop a {
    display: block;text-decoration: none;text-align: center;z-index: 99;
    position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
    right: 30px;		/*右からの配置場所指定*/
    bottom: 40px;		/*下からの配置場所指定*/
    color: #fff;		/*文字色*/
    font-size: 1.5rem;	/*文字サイズ*/
    background: rgba(0,0,0,0.3);  /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
    width: 50px;	/*幅*/
    line-height: 50px;	/*高さ*/
    border-radius: 50%;	/*円形にする*/
}

/*画面幅779px以下の追加指定
---------------------------- スマートフォン向けのスタイル --------------*/
@media screen and (max-width:779px) {

html, body {
    font-size: 14px;	/*基準となるフォントサイズ。*/
}

/*PC表示（780Px）以上はPC用imgを表示しない*/

.logo,
.img_pc {
    display: none; 	  /*表示から非表示に。*/
}

.img_sp {
    display: block; 	/*非表示から表示に。*/
}

/*トップページ以外のコンテンツブロック*/
body:not(.home) #contents {
    padding-top: 100px;	/*上にとる余白*/
}

/*h2タグ------------------------------------------*/
#contents h2 {
    font-size: 1.2rem;	/*文字サイズ*/
}

/*h4タグ------------------------------------------*/
#contents h4 {
    font-size: 0.9rem;	/*文字サイズ*/
}

/*SP用テーブル（ta1）
---------------------------------------------------------------------------*/
.ta1 tr,
.ta1 th,
.ta1 td {
    display: block;  /* セルを縦に */
    border: none;    /* 線をリセット */
}

/* 以下で線を再設定 */
.ta1 tr {
    margin: 0px 0px 5px;
    border-top: solid 2px #a5d1f1;
    border: solid 2px #a5d1f1;
}

.ta1 td {
    border-top: dashed 1px #a5d1f1;
}

/*th（左側）のみの設定*/
.ta1 th {
    width: 100%;	/*幅*/
    text-align: left;	/*左よせにする*/
    background: #444;	/*背景色*/
}

.wl {
    width: 99%;
    display: block;
}

/*SP用テーブル（ta1_1）
---------------------------------------------------------------------------*/
/*ta1_1テーブルブロック設定*/
.ta1_1 {
    border: 1px solid #555;	/*テーブルの囲み線。幅、線種、色*/
    width: 80%;
    margin: 20px auto 0;	/*最後の「2rem」がテーブルの下に空けるスペースです。２文字分。*/
}

.ta1_1 tr,
.ta1_1 th,
.ta1_1 td {
    display: block;  /* セルを縦に */
    border: none;    /* 線をリセット */
}

/* 以下で線を再設定 */
.ta1_1 th {
    margin: 0px 0px;
    border: solid 1px #a5d1f1;
}

/*th（左側）のみの設定*/
.ta1_1 th {
    width: 100%;	/*幅*/
}


/*PAGE TOP（↑）設定-----------------------------------------------------------*/
/*ボタンの設定*/
.pagetop a {
    right: 30px;	/*右からの配置場所指定*/
    bottom:40px;	/*下からの配置場所指定*/
    color: #fff;	/*文字色*/
    font-size: 1.2rem;	/*文字サイズ*/
    width: 40px;	/*幅*/
    line-height: 40px;	/*高さ*/
}

}/*画面幅779px以下の追加指定ここまで*/