@charset "UTF-8";

/* 全体設定 */
body {
    font-family: メイリオ, Meiryo, "Hiragino Kaku Gothic ProN", "游ゴシック Medium", YuGothic, YuGothicM, sans-serif;
    font-size: 14px;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* メインコンテナ */
.guide-container {
    width: 95%;
    max-width: 1380px;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ヘッダー */
.guide-header {
    text-align: center;
    padding: 10px;
#    border: 1px solid #ff7043;
    background-color: #114497;
    margin-bottom: 10px;
}
.guide-header h1 {
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

/* ステップコンテナ */
.step-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* ステップ間のスペースを広げる */
}

/* 各ステップのスタイル */
.step {
    display: flex;
    padding: 10px;
#    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* ステップの背景色を交互に変える */
.step:nth-child(odd) {
    background-color: #e3f2fd; /* 薄い水色 */
}
.step:nth-child(even) {
    background-color: #e8f5e9; /* 薄い緑色 */
}
/* 偶数番目用の調整 */
.step:nth-child(even) .text-content {
    padding-right: 0;
}


/* ステップ番号 (丸いアイコン) */
.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ff7043;
    color: white;
    font-size: 1.4em;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px; /* 奇数ステップ用 */
}

/* テキストコンテンツ (左側) */
.text-content {
    flex: 2; /* 広い領域を占める */
    padding-right: 30px; /* 画像との間にスペース */
}
.text-content h3 {
    margin-top: 5px;
    color: #1e88e5;
    font-size: 1.2em;
    margin-bottom: 5px;
    margin-left: 10px;     
}

/* 画像コンテンツ (右側) */
.image-content {
    flex: 1; /* 狭い領域を占める */
    flex-shrink: 0;
    width: 100%; /* レスポンシブ調整のために設定 */
    max-width: 400px; /* 最大幅を設定 */
    height: 200px; /* 高さの固定 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid white; /* 画像の周りに白い枠 */
}
.image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をボックスに合わせてトリミング */
    display: block;
}

/* 補足/注意点 */
.note {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background-color: #fffde7;
    border-left: 5px solid #ffeb3b;
    border-radius: 5px;
    font-style: italic;
    color: #795548;
}
.action {
    font-weight: bold;
    color: #e91e63;
    background-color: #fce4ec;
    padding: 2px 6px;
    border-radius: 3px;
}

/*ベース*/
.toggle {
	display: none;
}
.Label {		/*タイトル*/
    font-family: メイリオ, Meiryo, "Hiragino Kaku Gothic ProN", "游ゴシック Medium", YuGothic, YuGothicM, sans-serif;
    font-size: 1.2em;
	padding: 1em;
	display: block;
	color: #fff;
	background:#019ac6;
}
.Label::before{		/*タイトル横の矢印*/
	content:"";
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top:calc( 50% - 3px );
	right: 20px;
	transform: rotate(135deg);
}
.Label,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}
.content {		/*本文*/
	height: 0;
	margin-bottom:10px;
	padding:0 20px;
	overflow: hidden;
}
.toggle:checked + .Label + .content {	/*開閉時*/
	height: auto;
	padding:20px ;
	transition: all .3s;
}
.toggle:checked + .Label::before {
	transform: rotate(-45deg) !important;
}

/* レスポンシブ対応 (スマートフォン) */
@media (max-width: 768px) {
    .step {
        flex-direction: column !important; /* 強制的に縦並びにする */
        padding: 10px;
    }
    .step-number {
        margin: 0 0 0 0 !important; /* 上下にマージン */
    }
    .text-content {
        padding: 0 0 0 0 !important;
        font-size: 14px
    }
    .text-content h3 {
        text-align: left;
    }
    .image-content {
        max-width: 100%; /* 幅いっぱいに広げる */
        height: 50px;
    }
    .guide-header h1 {
        font-size: 1.3em;
    }
}
