@charset "utf-8";



/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap');


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #333;			/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #fff;	/*上のprimary-inverse-colorの対として使う色*/

	--global-space: 3vw;				/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

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

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

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

	}/*追加指定ここまで*/


body {
    margin: 0; padding: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
	font-weight: 400;
    font-style: normal;
    -webkit-text-size-adjust: none;
    
    /* --- ここから書き換え・追加 --- */
    background-image: url('../images/hurricane_lan.jpg'); /* 背景画像を指定 */
    background-size: cover;               /* 画面いっぱいに広げる */
    background-position: center center;   /* 中央に配置 */
    background-attachment: fixed;        /* スクロールしても背景を動かさない */
    background-repeat: no-repeat;        /* 繰り返さない */
    /* ---------------------------- */

    color: var(--primary-color);
    line-height: 3;
    animation: opa1 0.2s 0.5s both;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
input {font-size: 1rem;}

/*ul,ol*/
ul,ol {margin-left: 1.5rem;margin-bottom: 1rem;}

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

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

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*sectionが続く場合*/
section + section {
	margin-top: 8vw;	/*sectionの上に空けるスペース*/
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {color: inherit;transition: 0.3s;}

a:hover {
	opacity: 0.7;	/*マウスオン時に色を80%に薄くする*/
}


/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
    padding-left: var(--global-space);
    padding-right: var(--global-space);
    
    /* --- ここから追加 --- */
    background-color: rgba(255, 255, 255, 0.75); /* 白の75%透明（後ろが透ける） */
    max-width: 1100px;      /* サイトの最大幅を決める */
    margin: 0 auto;         /* 真ん中に寄せる */
    min-height: 100vh;      /* 画面下まで白背景を伸ばす */
    /* ---------------------------- */
}

/*header（サイトロゴが入った最上部のボックス）
---------------------------------------------------------------------------*/
/*headerブロック*/
header {
	padding-top: var(--global-space);		/*上側の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-bottom: var(--global-space);	/*下側の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
	text-align: center;		/*中のテキストをセンタリング*/
}

/*TELブロック（header内のaddress）*/
header address {
	font-style: normal;
}

	/*画面幅901px以上の追加指定*/
	@media screen and (min-width:901px) {
	
	/*headerブロック*/
	header {
		display: flex;	/*直接の子要素を横並びにする*/
		justify-content: space-between;
		align-items: center;
	}
	
	}/*追加指定ここまで*/


/*ヘッダー内のロゴ
---------------------------------------------------------------------------*/
#logo a {text-decoration: none;display: block;}

/*ロゴ*/
#logo {
	margin: 0;padding: 0;
	font-size: 1.5rem;	/*文字サイズを150%に*/
}

/*ロゴを画像にする場合*/
#logo img {
	display: block;
	width: 200px;	/*ロゴ画像の幅*/
}


/*トップページのメイン画像
---------------------------------------------------------------------------*/
#mainimg {
	margin-bottom: var(--global-space);	/*下に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます。*/
}


/*contents（左右のブロックを囲むボックス）
---------------------------------------------------------------------------*/
#contents {
	display: flex;	/*直接の子要素を横並びにする*/
	gap: var(--global-space);		/*左右のボックスの間に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます。*/
}


/*メインコンテンツ
---------------------------------------------------------------------------*/
main {
	flex: 1;
	line-height: 1.5;
}

/*h2見出し*/
main h2 {
	margin-top: 0;line-height: 1;
	padding-bottom: 1rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--primary-color);	/*下線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
}

main p{
    text-align: justify;
    text-justify: inter-ideograph;
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
/*メニューを囲むブロック*/
#menubar {
	order: -1;		/*左側に表示させる。右側がいいならこの１行を削除。*/
	width: 230px;	/*幅。お好みで変更して下さい。*/
}

/*メニュー１個あたりの設定*/
#menubar li {
	border-bottom: 1px solid var(--primary-color);	/*下線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
}
#menubar li a {
	padding-left: 1rem;	/*左側の余白*/
}

/*h3見出し*/
#menubar h3 {
	margin: 0;
	line-height:2;
	font-size: 1rem;
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	text-align: center;	/*テキストをセンタリング*/
}


/*メニューブロック初期設定（※変更不要）
---------------------------------------------------------------------------*/
#menubar {opacity: 0;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}
.large-screen #menubar {opacity: 1;}
.small-screen #menubar.display-none {display: none;}
.small-screen #menubar.display-block {display: block;opacity: 1;}
#menubar_hdr.display-none {display: none;}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 100px;	/*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	background: var(--primary-inverse-color);		/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	animation: animation1 0.2s both;
}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 20px;		/*上からの配置場所*/
	right: 20px;	/*右からの配置場所*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	padding: 15px;	/*ブロック内の余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: rgba(0,0,0,0.6);	/*背景色*/
}

/*ここは変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {top: 50%;transform: translateY(-50%);}
#menubar_hdr div span:nth-child(3) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {opacity: 0;}
#menubar_hdr.ham div span:nth-child(3) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer a {color: inherit;text-decoration: none;}
footer .pr {display: block;}

footer {
	font-size: 0.8rem;		/*文字サイズ。80%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding-top: 5rem;
}


/*list-normal（service.htmlで使っている２カラムボックス）
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal .list {
	display: flex;		/*直接の子要素を横並びにする*/
	gap: 2vw;			/*左右の間のマージン的なスペース*/
	margin-bottom: var(--global-space);	/*ボックスの下に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます。*/
	line-height: 2;		/*行間を少し狭く*/
}

/*テキストブロック*/
.list-normal .text {
	flex: 1;
}

/*画像ブロック*/
.list-normal figure {
	width: 40%;	/*幅。お好みで。*/
}

/*h4見出し*/
.list-normal h4 {
	margin: 0;
	margin-bottom: 0.5rem;	/*下に少しスペースをとる*/
	font-size: 1.2rem;	/*文字サイズを120%に*/
}

/*説明テキスト*/
.list-normal p {
	margin: 0;	
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: red !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5vw {margin-bottom: 5vw !important;}
.look {display: inline-block;padding: 0px 10px;background: #fff;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/

/* モーダル背景の設定 */
.modal {
    display: none; /* 最初は隠しておく */
    position: fixed;
    z-index: 2000; /* 一番手前に */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* 背景を暗く */
    cursor: pointer;
}

/* 表示される写真の設定 */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid #fff;
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/* --- フリースタイル用：2列グリッド配置 --- */

/* 画面幅が901px以上のとき（PC表示）の設定 */
@media screen and (min-width: 901px) {
    /* 親要素を横並び（フレックスボックス）にして、折り返しを許可する */
    .list-normal.list-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 4%; /* 左右のセットの間の隙間 */
    }

    /* 各セット（写真＋説明）の幅を約半分にする */
    .list-normal.list-grid .list {
        width: 48%; /* 2つ並ぶように48%に設定 */
        flex-direction: column-reverse; /* セット内で説明を上、写真を下に */
        margin-bottom: 60px; /* 下の行との間隔 */
    }
}

/* 共通設定（各セットの中身を縦に積む） */
.list-normal.list-grid .list {
    display: flex;
    flex-direction: column-reverse; /* 説明が上、写真が下 */
	gap: 0; /* 文字(説明)と写真のスペース */
}

/* 説明文と写真の幅を100%に広げる */
.list-normal.list-grid .text,
.list-normal.list-grid figure {
    width: 100% !important;
}

/* 写真下の余白調整 */
.list-normal.list-grid .text {
    margin-bottom: 10px;
}

/* Moonshot goals grid */
.moonshot-grid{
    display:grid;
        grid-template-columns:repeat(5, 1fr);;
    gap:20px;
    margin-top:20px;
}

.moonshot-grid a{
    text-decoration:none;
    text-align:center;
    display:block;
}

.moonshot-grid img{
    width:100%;
    border-radius:6px;
    transition:0.3s;
}

.moonshot-grid img:hover{
    transform:scale(1.05);
}

.moonshot-grid p{
    margin-top:8px;
    font-size:0.9rem;
}

/* 図とキャプション */
figcaption {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}

.list figure{
    margin-top: 10px;
	text-align: center;

}

/* 目的ボックス */
.purpose-box{
    display: flex;
    border: 2px solid #000;
    background: #d9d9d9;
    margin-top: 5px;
}

.purpose-label{
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 10px 18px;
    display: flex;
    align-items: center;
}

.purpose-text{
    padding: 10px 15px;
}

/* 表とキャプション */
.sim-table{
    width:100%;
    border-collapse:collapse;
    margin-bottom:5px;
    font-size:1.05rem;
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;

}

.sim-table th{
    background:#000;
    color:#fff;
    padding:6px;
    font-size:1.3rem;
    text-align:center;
}

.sim-table td{
    padding:6px 12px;
    line-height:1.3;
}

/* 左列を少し太字 */
.sim-table td:first-child{
    font-weight:600;
    width:42%;
}

/* グレーの交互背景 */
.sim-table tr:nth-child(even){
    background:#d9d9d9;
}

.sim-table tr:nth-child(odd):not(.title){
    background:#f0f0f0;
}

/* 赤文字 */
.red{
    color:red;
    font-weight:600;
}

.sim-table caption{
    caption-side: top;
    margin-top: 10px;
    text-align: center;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
}

/* メイン結論 */
.main-conclusion{
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 10px;
}

.main-conclusion span{
    font-size: 2.5rem;
}

.conclusion-list{
    margin-left: 0;
    list-style: none;
}

.conclusion-list li{
    font-size: 1.0rem;
    margin-bottom: 5px;
}

.conclusion-list li::before{
    content: "➢";
}

.future-box{
    margin-top: 30px;
    padding: 20px;
    border: 3px solid #000;
    border-radius: 20px;
    text-align: center;
}

.future-title{
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.future-text{
    font-size: 1.2rem;
}

.future-text span{
    background: #000;
    color: #fff;
    padding: 3px 3px;
}