@charset "utf-8";



/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
html,body {height: 100%;}
body {
	margin: 0px;
	padding: 0px;
	color: #fff; /* 全体の文字色を白にする */
	font-family: 'Shippori Mincho', "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "MS P明朝", serif;	/* しっぽり明朝を指定 */
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #222;	/*背景色をダークグレーに変更*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

@keyframes opa1 {
0% {opacity: 0;}
100% {opacity: 1;}
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #fff;		/*リンクテキストの色を白に変更*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #ff4765;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/
/* --- 変更前：既存のヘッダーロゴ周辺のCSS（ここを差し替え・調整） --- */

/* ヘッダー全体 */
header {
    height: 100%;
    overflow: auto;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
    			url(../images/river.jpg) no-repeat center center / cover;
}

/* ▼【修正】#logo 自体をフレックスコンテナにして、中身を縦並び・中央揃えにする */
header #logo {
    position: absolute;
    top: 25%; /* 画面の上からの位置（お好みで調整してください） */
    left: 50%;
    transform: translateX(-50%); /* 完全に中央に寄せる */
    width: 100%;
    text-align: center;
    z-index: 2;
}

/* ロゴを囲むラッパー */
header #logo .logo-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center; /* 横方向の中央揃え */
    text-decoration: none;
}

/* ロゴ画像（絶対配置を解除し、幅を指定） */
header #logo img {
    display: block;
    width: 220px; /* あるいはパーセンテージ（例: 50% など） */
    max-width: 80vw;
    position: static !important; /* 既存の absolute を強制解除 */
    margin: 0 auto;
}

/* 電話番号テキストのスタイル */
header #logo .logo-tel {
    display: inline-block;
    margin-top: 10px;           /* ロゴ画像との間隔 */
    color: #fff;                /* 文字色 */
    font-size: 40px;            /* 文字サイズ */
    font-weight: bold;
    font-family: 'Oswald', sans-serif; /* 数字を見やすくするフォント */
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

header #logo .logo-tel:hover {
    color: #ff4765;             /* ホバー時の色 */
}

/*メニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体への指定*/
#menubar {
	position: absolute;
	bottom: 20%;	/*ロゴやメニューが入っているブロックに対して、下からの配置場所の指定。*/
	left: 0px;
	width: 100%;
	text-align: center;
}
/*メニュー１個あたりの指定*/
#menubar li {
	display: inline-block;
	margin: 0 1%;
	animation-name: opa1;
	animation-delay: 1S;
	animation-duration: 1S;
	animation-fill-mode: both;
}
#menubar li a {
	text-decoration: none;display: block;text-align: center;
	width: 110px;	/*メニューの幅*/
	color: #fff;	/*文字色*/
	border-bottom: 2px solid #fff;	/*下線の幅、線種、色。transparentは透明の事。*/
	padding-bottom: 1px;	/*下線と文字の間にとる余白*/
}
/*マウスオン時の指定*/
#menubar li a:hover {
	border-bottom: 2px solid #ff4765;	/*下線の幅、線種、色*/
	letter-spacing: 0.1em;			/*文字間隔を少しだけ広くする指定。そのままがいいならこの１行を削除。*/
}

/*コンテナー（headerとfooterをのぞくブロックを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1400px;	/*最大幅。これ以上広くならない指定。*/
	margin: 0 auto;
}

/*コンテンツ（上のcontainerの中のブロック）
---------------------------------------------------------------------------*/
#contents {
	overflow: hidden;
	padding: 50px 3%;
}

/* セクションの区切り線（中央ドット） */
#contents section {
    border-bottom: none;
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

#contents section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: #444;
}

/* 中央に小さなドットを配置 */
#contents section::before {
    content: "◆"; /* 菱形や 「・」 に変更してもOKです */
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #777;
    font-size: 10px;
    background: #222; /* サイトの背景色（暗い色）に合わせて指定してください */
    padding: 0 10px;
    z-index: 1;
}

#contents section:last-child::after,
#contents section:last-child::before {
    display: none;
}
/* 最後のセクション（フッター直前）の横線は消す */
#contents section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}


#contents section + section {
	padding-top: 50px;
}
/*コンテンツ内にあるh2(見出し)タグの指定*/

#contents h1 {
	margin-bottom: 20px;
	clear: both;
	padding: 0 20px;
	font-size: 22px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	background: #222;		/*背景色*/
	color: #fff;			/*文字色*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当で構いません。*/
}



#contents h2 {
	margin-bottom: 20px;
	clear: both;
	padding: 0 20px;
	font-size: 20px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	background: #222;		/*背景色*/
	color: #fff;			/*文字色*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当で構いません。*/
}
/*コンテンツ内にあるh3(見出し)タグの指定*/
#contents h3 {
	margin-bottom: 20px;
	clear: both;
	padding: 0 20px;
	font-size: 18px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	border: 2px solid #222;	/*枠線の幅、線種、色*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当で構いません。*/
}
/*コンテンツ内にあるp(段落)タグ設定*/
#contents p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#contents p + p {
	margin-top: -5px;
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -10px;
}

/*Serviceページ
---------------------------------------------------------------------------*/
/*各ブロックごとの設定*/
.list {
	overflow: hidden;
	line-height: 1.5;
	border-bottom: 1px solid #999;	/*下線の幅、線種、色*/
	padding: 20px;	/*ボックス内の余白*/
}
/*１番目のlistブロックへの追加指定。上に線を入れる。*/
.list:first-of-type {
	border-top: 1px solid #999;
}
/*h4見出しの設定*/
.list h4 {
	font-size: 20px;	/*文字サイズ*/
	margin-bottom: 10px;
}
/* img と h4 を横並びにするブロック */
.list-header {
    display: flex;
    align-items: center; /* 上下中央揃え（上揃えにしたい場合は flex-start に変更） */
    gap: 15px;           /* 画像とh4の間の隙間 */
    margin-bottom: 15px; /* 下のp要素との隙間 */
}

/*画像の設定*/
.list img {
	width: 20%;			/*画像幅*/
	float: left;		/*画像を左に回り込み*/
	margin-right: 3%	/*画像の右側に空けるスペース*/
}
/*段落タグ*/
.list p {
	padding: 0 !important;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;
	background: #222;	/*背景色*/
	color: #fff;		/*文字色*/
	font-size: 85%;		/*文字サイズ*/
	padding-bottom: 90px !important; /* ボタンの高さに合わせて70px?100px程度で調整 */
}
footer a {
	color: #fff;	/*リンクテキストの文字色*/
	text-decoration: none;
}
footer a:hover {
	color: #fff;	/*マウスオン時の文字色*/
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding-left: 20px;
	margin-bottom: 15px;
}
/*日付設定*/
#new dt {
	float: left;
	width: 9em;
	letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
	padding-left: 9em;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: center;		/*文字をセンタリング*/
	background: #ffffff;	/*背景色*/
	color: #000000;
	font-weight: bold;		/*太字に*/
	padding: 4px;			/*ボックス内の余白*/
}
/*テーブル１行目に入った見出し部分（※tamidashi）*/
.ta1 th.tamidashi {
	width: auto;
	text-align: center;	/*文字をセンタリング*/
	background: #dfdfdf;	/*背景色*/
}
/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th {
	word-break: break-all;
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	padding: 3px;			/*テーブル内の余白*/
}
/*テーブルの左側ボックス*/
.ta1 th {
	text-align: center;	/*センタリング*/
	width: 30%;			/*幅*/
}

/* 横3列に並べるためのテーブル設定 */
.ta-cols3 th, 
.ta-cols3 td {
    width: 33.33%; /* 横幅を3等分 */
    text-align: center; /* 必要に応じて中央揃え */
}


/* 例：テーブル（.ta-cols3）や、3つ並んだ要素の幅を 25% / 25% / 50% にする設定 */

/* 1番目の列（25%） */
.ta-cols3 th:nth-child(1), 
.ta-cols3 td:nth-child(1) {
    width: 10%;
}

/* 2番目の列（25%） */
.ta-cols3 th:nth-child(2), 
.ta-cols3 td:nth-child(2) {
    width: 20%;
}

/* 3番目の列（50%） */
.ta-cols3 th:nth-child(3), 
.ta-cols3 td:nth-child(3) {
    width: 70%;
}


/*QAアコーディオン設定
---------------------------------------------------------------------------*/


/* アコーディオン全体 */
.accordion-item {
    border: 1px solid #444;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    background: rgba(34, 34, 34, 0.6); /* ダーク調に合わせた半透明背景 */
}

/* ヘッダー（タップ領域） */
.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    user-select: none;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 右側の開閉アイコン（＋/－） */
.accordion-icon {
    font-size: 18px;
    transition: transform 1s ease;
}

/* 右側の開閉アイコン（通常時は ∨） */
.accordion-icon::after {
    content: "∨";
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    transition: transform 1s ease;
}

/* 開いたときは ∧ に切り替える */
.accordion-item.is-open .accordion-icon::after {
    content: "∧";
}

/* スライド開閉の本体コンテンツ */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr; /* 初期状態は高さ0 */
    transition: grid-template-rows 0.3s ease-out; /* スライドのアニメーション速度 */
}

/* 開いた状態 */
.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr; /* 中身に合わせて自動で伸びる */
}

.accordion-inner {
    overflow: hidden; /* 高さが小さくなるときに中身をはみ出させない */
}

/* コンテンツ内部の余白設定 */
.accordion-content p {
    padding: 0 20px 20px 20px;
    margin: 0;
    line-height: 1.6;
    color: #ccc;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.scroll-show {display: block;}
.scroll a {
	display: block;text-decoration: none;text-align: center;
/*	width: 100%;*/		/*幅*/
	line-height: 100%;	/*高さ*/
	position: fixed;
	left: 0;	/* 画面の左端から */
	right: 0;	/* 画面の右端まで（これで横幅いっぱいになります） */
	bottom: 0;	/* 画面の一番下に固定する場合 */	color: #fff;		/*文字色*/
	background: rgba(46, 204, 113, 0.7);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	padding: 15px 20px;	/* ←ここに余白を追加（上下15px、左右20pxの例） */
    z-index: 2;
}
/*マウスオン時*/
.scroll a:hover {
	background: rgba(46, 204, 113, 0.9);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 20px 20px 55px;
}
ol {
	padding: 0 20px 20px 42px;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #fff;border: 1px solid #ccc;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 15px 40px;list-style: disc;}
.color1, .color1 a {color: #ff4765;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.big1 {font-size: 40px;letter-spacing: 0.2em;}
.big2 {
    font-size: 40px;
    font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif; /* Google Fontsの指定 */
    font-weight: 900;  /* くっきりと極太にする */
    letter-spacing: 0.05em;
}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}




/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo img {
	width: 30%;	/*画像の幅*/
	left: 35%;	/*ロゴやメニューが入っているブロックに対して、左からの配置場所の指定。*/
}
header #logo .logo-tel {
        font-size: 40px; /* タブレットでの電話番号サイズ */
}

}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo img {
	width: 50%;	/*画像の幅*/
	left: 25%;	/*ロゴやメニューが入っているブロックに対して、左からの配置場所の指定。*/
}

header #logo .logo-tel {
        font-size: 40px; /* スマホでの電話番号サイズ */
}

/*コンテナー（headerとfooterをのぞくブロックを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	font-size: 12px;
	font-size: 3.2vw;
}

/*コンテンツ（上のcontainerの中のブロック）
---------------------------------------------------------------------------*/
/*コンテンツ内にあるh2(見出し)タグの指定*/
#contents h2 {
	font-size: 16px;	/*文字サイズ*/
}
/*コンテンツ内にあるh3(見出し)タグの指定*/
#contents h3 {
	font-size: 14px;	/*文字サイズ*/
}

/*Serviceページ
---------------------------------------------------------------------------*/
/*h4見出しの設定*/
.list h4 {
	font-size: 16px;	/*文字サイズ*/
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	padding: 0 0px 20px 35px;
}
ol {
	padding: 0 0px 20px 35px;
}

/*その他
---------------------------------------------------------------------------*/
.ws {width: 96%;}
.big1 {font-size: 22px;letter-spacing: normal;}

}







/* ハイパーリンク形式の見た目設定 */
.modal-open-link {
    color: #ff4765;               /* リンクの文字色 */
    text-decoration: underline;    /* 下線 */
    cursor: pointer;
}
.modal-open-link:hover {
    color: #fff;                  /* ホバー時の文字色 */
}

/* ポップアップ（モーダル）背景 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 周りのグレーアウト */
    /* お好みで：後ろの画面をほんのりぼかすエフェクト（モダンなWebデザインでよく使われます） */
    backdrop-filter: blur(4px)
    ;justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.is-active {
    display: flex;
}

/* ポップアップウィンドウ本体 */
.modal-content {
    background: rgba(34, 34, 34, 0.85);
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15); /* 枠線も少しだけ薄く馴染ませると綺麗です */
    line-height: 1.6;
}

/* フッター部分（中央寄せの領域） */
.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444; /* 必要に応じて上のコンテンツとの区切り線 */
}

/* 一番下の「? 閉じる」ボタン */
.modal-close-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #888;
    padding: 8px 24px;
    font-size: 15px;
    font-family: inherit; /* Shippori Mincho など全体のフォントを継承 */
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: #ff4765;
    border-color: #ff4765;
    color: #fff;
}