@charset "UTF=8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.wrapper {
	width: 100%;
	margin: 0 auto;
}

.top-img {
	width: 94%;
	margin: 0 auto;
	background-image: url(../img/4466807_m.jpg);
	height: 60vh;
	margin: 2% 3%;
	opacity: 0.7;
}

.top-title {
	padding-left: 7%;
}

.top-title h1 {
	padding-top: 15%;
	font-size: 3.7rem;
	letter-spacing: 0.14em;
	font-family: 'Brawler', serif;
	margin-bottom: 1%;
}

.top-title p {
	font-size: 2rem;
	letter-spacing: 0.1em;
	color: black;
}

#name {
	color: #487878;
}

/* ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã¯éžè¡¨ç¤º */
input[type="radio"] {
	display: none;
}

.tab {
	width: 90%;
	margin: 10% auto 10%;
	display: flex;
	flex-flow: wrap;
}

.tab-item {
	font-size: 1.4rem;
	display: block;
	text-align: center;
	padding: 0.7% 2.2%;
	cursor: pointer;
	order: -1;
	/* ã‚¿ãƒ–ãƒ¡ãƒ‹ãƒ¥ãƒ¼ã¯ä¸€ç•ªä¸Šã«è¡¨ç¤ºã™ã‚‹ */

	/* ä¸‹ç·šä»¥å¤–ã‚’ã¤ã‘ã‚‹ */
	border-top: 1px solid skyblue;
	border-left: 1px solid skyblue;
	border-right: 1px solid skyblue;
	color: darkslategray;
}

.tab-item:not(:first-of-type) {
	border-left: none;

}

/* ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªã‚¿ãƒ–ã®èƒŒæ™¯è‰²ã¨æ–‡å­—è‰²ã‚’å¤‰ãˆã‚‹ */
.tab-input:checked + .tab-item {
	background-color: #487878;
	color: white;
}

/* ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã¯åŽŸå‰‡éžè¡¨ç¤º */
.tab-content {
	width: 100%;
	padding: 6% 0% 5%;
	display: none;
	justify-content: center;
	align-items: center;
	border: 1px solid skyblue;
	flex-direction: column;
}

/* ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ãŒãƒã‚§ãƒƒã‚¯ã•ã‚Œã¦ã„ã‚‹ã‚³ãƒ³ãƒ†ãƒ³ãƒ„ã ã‘ã¯è¡¨ç¤º */
.tab-input:checked + .tab-item + .tab-content {
	display: flex;
}

.banars {
	display: flex;
	flex-direction: column;
	align-items: center;
}

h2 {
	font-size: 3.2rem;
	color: gray;
	font-family: 'Brawler', serif;
	letter-spacing: 0.4rem;
	margin:5% 0% 8%;
}

h2 span {
	position: relative;
	display: inline-block;
	padding: 0em 0.2em 0.2em;
	border-bottom: 1.2px solid gray;
}

h2 span::before,
h2 span::after {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	content: '';
	border: 10px solid transparent;
}

h2 span::before {
	border-top: 10px solid gray;
}

h2 span::after {
	margin-top: -1px;
	border-top: 10px solid white;
}

.banars {
	width: 95%;
}

.banars a img {
	width: 100%;
	margin-bottom: 10%;
}

.about-content .flex-box {
	display: flex;
	align-items:flex-start;
	width: 70%;
	margin:0 auto;
	color: dimgray;
}

.about-content img {
	width: 35%;
	border-radius: 20px;
}

.about-content .flex-item {
	width:60%;
	padding-left:6%;
}

.about-content h3 {
	padding-bottom: 1.5%;
	margin-bottom: 2%;
	border-bottom: solid 1px;
	font-size: 2.5rem;
	letter-spacing: 0.1em;
	font-family: 'Josefin Sans', sans-serif;
}

.about-content p {
	width: 100%;
	font-size: 1.1em;
	margin-left: 1.5em;
	margin-bottom: 2%;
}

.about-content p:nth-child(2) {
	font-size:1.5em;
	margin: 1.5% 0% 2% 1.1em;
}

.about-content p:nth-child(6) {
	margin-bottom: 5%;
}

.about-content p:nth-child(9) {
	margin-bottom: 25%;
}

.about-content small {
	letter-spacing: 0.1em;
}

.sns-box{
	width: 70%;
	margin:0 auto;
	padding: 5%;
	text-align: center;
	border:3px dotted;
}

.contact-content {
	padding-bottom: 10%;
	padding-left: 5%;
	padding-right: 5%;
}

#caution {
	color:white;
	background-color: brown;
	font-size:1.2rem;
	padding: 1%;
	border-radius: 10px;
}

.form-table {
	text-align: left;
}

.form-table th,
.form-table td {
	color: #487878;
	letter-spacing: 0.05em;
	font-size: 1.5rem;
	display: block;
	width: 100%;
	border-bottom: none;
}

.form-table td {
	text-indent: 2em;
	margin-bottom: 3%;
}

.form-table td input,
.form-table td textarea {
	width: 85%;
	padding: 3%;
}

input{
	padding: 0.5% 1.5%;
}

footer {
	color:dimgray;
	height: 28vh;
	background-color: darkgray;
	text-align: center;
}


.border {
	border-top: 12px solid #88bfbf;
	margin-bottom: 2.8%;
}

footer img {
	width: 4.3%;
	margin-bottom: 1.4%;
}

@media screen and (max-width: 768px) {
	.top-title h1 {
		padding-top: 30%;
		margin-bottom: 3.5%;
	}

	.top-title p {
		width: 60%;
		font-size: 2.2rem;
	}

	.tab {
		width: 95%;
	}

	footer {
		height: 22vh;
	}

	.border {
		margin-bottom: 6%;
	}

	.about-content .flex-box {
		flex-direction: column;

	}

	.about-content img {
		width: 50%;
		margin: 0 auto;
	}

	.about-content .flex-item {
		width: 90%;
		margin: 0 auto;
		padding-left: 0%;
		margin-top: 5%;
		margin-bottom: 10%;
	}

	.about-content p {
		width: 95%;
		font-size: 1rem;
		margin-left: 2em;
	}

	.contact-content h2 {
		margin-bottom: 10%;
	}

	.form-table td {
		margin-bottom: 7%;
	}

	.border {
		margin-bottom: 4%;
	}

	footer img {
		width: 9%;
	}
}

/***414736ã§è¨˜å…¥**/

@media (max-width: 575.98px) {

	.top-img {
		width: 100%;
		margin: 0 auto;
	}

	.top-title h1 {
		font-size: 2.5rem;
		padding-top: 36%;
		margin-bottom: 3%;
	}

	.top-title p {
		width: 70%;
		font-size: 1.8rem;
	}

	.tab-content {
		width: 100%;
		padding: 12% 0% 5%;
	}

	.about-content .flex-item {
		width: 100%;
		padding-top: 7%;
	}

	.about-content img {
		width: 70%;
	}

	.about-content p {
		width: 100%;
		font-size: 1rem;
		margin: 5% 3% 0%;
	}

	.about-content p:nth-child(6) {
		margin-bottom: 15%;
	}

	.about-content p:nth-child(8) {
		letter-spacing: 0.11em;
	}


	.contact-content {
		padding-bottom: 15%;

	}

	.form-table {}

	.form-table th,
	.form-table td {
		width: 75%;
		margin: 0 auto;

	}

	.form-table td {
		text-indent: 1.5em;
		margin-bottom: 3%;
	}

	footer {
		height: 20vh;
	}
}
