﻿@charset "utf-8";
/*
Created		2025/06/23
Last update	2025/06/23
Author		Hayashi Ryosuke
*/

:root{
	--from-box-color:	rgb(80,255,170);
	--from-boxbutton-color:	rgb(240,190,40);
	--from-boxbutton-shadow-color:rgb(190,140,10);
	--from-boxbg-color:rgb(255,245,230);

	--button-pdf-border:rgb(200,50,50);
	--button-from-border:rgb(50,50,200);
	--button-pdf-shaddow:rgb(150,10,10);
	--button-from-shaddow:rgb(10,10,150);
}

html{
	font-size: 62.5%; /*フォント級数10px*/
	scroll-behavior: smooth;
}
body{
	border-top: solid 3px rgb(251, 210, 70);
	padding: 0 0.5rem;
	max-width: 980px;
	margin: 0 auto;
}
.top_header{
	display: grid;
	grid-template-areas: "title-img title-text menu";
	grid-template-columns: 90px 1fr 110px;	
	/*background-color: rgb(255,255,200);*/
}
.header_link_flex{
	padding: 0;
}
@media only screen and (max-width : 500px) {
	.top_header{
		grid-template-areas:
		"title-img title-text"
		"menu menu";
		grid-template-columns: 90px 1fr;
	}
	.header_link_flex{
		display: flex;
		justify-content: flex-start;
	}
	.header_link_flex li{
		margin-right: 1rem;
	}
}
.grid-aria-a{
	grid-area: title-img;
}
.grid-aria-b{
	grid-area: title-text;
}
.grid-aria-c{
	grid-area:menu;
}
.header_link ol{
	list-style: none;
}
h1{
	font-size: 2.0rem;
	margin: 0;
	padding: .5rem 0 0 0 ;
}
@media only screen and (max-width : 500px) {
	.nav_br::after{
		content: "\A";
		white-space: pre ;
	}
}
h2{
	position: relative;
	font-size: 1.8rem;
	margin: 1rem 1rem .5rem 2.7rem;
	background-image:url(/images/h2_bg.png);
}
h2::before{
	position: absolute;
	left: -3rem ;
	top: 0;
	content: "　";
	width: 2.7rem;
	height: 2.7rem;
	background-color: rgb(251, 210, 70);
}
h3{
	font-size: 1.6rem;
	font-weight: 600;
	margin: 0;
	padding: .5rem 0 0 0 ;
}
h4{
	font-size: 1.6rem;
	margin: 0;
	padding: .5rem 0 0 0 ;
}
p{
	margin: 0;
	padding: 0;
	font-size: 1.6rem;
}
ul{
	margin: 0 0 0 2rem;
	padding: 0;
}

li{
	margin: 0 0 .5rem 0;
	padding: 0;
}
.sec li{
	font-size: 1.6em;
}
table,
tr,
td,
th{
	border-spacing: 0;
	border: 1px solid rgb(100,100,100);
}
th{
	background-color: rgb(230,230,240);
}
footer{
	width: 100%;
}
footer img{
	width: 100%;
}

.menu-flex{
	display: flex;
	justify-content: flex-start;
	list-style: none;
	margin: 0.5rem;
	padding: 0;
}
.menu-flex li{
	border:solid 1px rgb(200,200,200);
	background-color: rgb(255,255,255);
	padding:0.2rem 1rem;
	font-size: 1.2rem;
}
.menu-flex li.check{
	background-color: rgb(255,250,230);
	border-color: rgb(255,240,210);
}
.menu-flex li a{
	text-decoration: none;
}

.sec{
	margin: 2rem 0;
}
.sec-body{
	margin: 0 1rem;
}
.body-flex{
	display: flex;
}
.body-flex--botton-area{
	margin-top: 1em;
	min-width: 250px;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center; 
	-webkit-justify-content: center;
	justify-content: center;
	min-height: 6em;
}
.button-body{
	width: 100%;
	margin: 0 1em;
}
.button-body a{
	width: 100%;
	display: block;
	text-align: center;
	font-size: 1.6em;
	text-decoration: none;
	border-radius: 10px;
	padding: 1em 0;
}
@media only screen and (max-width : 500px) {
	.body-flex{
		flex-wrap:wrap;
	}
	.body-flex--botton-area{
		width: 100%;
		margin-bottom: 1em;
	}
}
.body-flex--text-area{
	width: auto;
	margin-left:1em;
}


.button-pdf{
	border: 1px solid var(--button-pdf-border);
	box-shadow: 1px 1px 2px var(--button-pdf-shaddow);
}
.button-from{
	border: 1px solid var(--button-from-border);
	box-shadow: 1px 1px 2px var(--button-from-shaddow);
}

pre{
	font-size: 1.6rem;
}