@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
p {
	font-size: 1rem;
  text-indent: 1rem;
  margin: 0px;
  padding: 0px;

}
/* レイアウト */
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
.align-center {
    text-align: center;
}


/* 見出し */
.font-english {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}
.cactus-classical-serif-regular {
  font-family: "Cactus Classical Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.kiwi-maru-regular {
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}



.page-title,
.heading-large,
.heading-medium,
.page-sub-title{
    text-align: center;
}
.page-title {
	align-items: center;
	font-size: 1.5rem;
    line-height: 1.4;
}

.heading-large {
	font-size: 1.5rem;
    margin-bottom: 1rem;
}
.page-sub-title{
	display: flex;
	flex-direction: column;
}

/* ボタン */
.btn {
    display: inline-block;
    font-size: 1rem;
    background-color: #ffa76c;
    color: #fff;
    border-radius: 8px;
    padding: .75rem 1.5rem;
    transition: .5s;
	margin: 30px 0;
}
.btn:hover {
    background-color: #ff6666;
}
.pic-btn{
	transition: .5s;
}
.must::after{
	content:"必須";
	font-size: .75rem;
	background: orangered;
	color:white;
	padding: 5px;
	margin-left: 5px;
	border-radius: 3px;
}

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

/* 空段落 */
.empty{
	height: 200px;
}

/* 下線 */
mark{
	background:linear-gradient(transparent 30%,#fff000)
}


/* ヘッダー
------------------------------- */
.header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #333;
	z-index: 1000; /* 他の要素より前に */
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
  padding: 0 30px;
  height: 60px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 少し影をつけると自然 */
  background-color: #c82137;
}
.name a{
	color: #fff;
	font-size: 1.5rem;
}
.main-nav {
    list-style: none;
}

.has-sub {
  position: relative;
}
.has-sub > a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}
.has-sub > a:hover {
  background-color: #555;
}
.has-sub.open .sub-menu {
  display: block;
}
.menu-icon {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}
.sub-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background-color:rgb(200,33,55);
	list-style: none;
	width: 200px;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.sub-menu li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

.sub-menu li a:hover {
  background-color: rgba(201,194,188);
}

/* 表示制御 */
.has-sub:hover .sub-menu {
  display: block;
}
.logo{
	width: 50px;
}
.page-header {
	display: flex;
	justify-content: space-between;
    padding-top: 1.5rem;
}

.container-header{
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	padding: 1rem;
	margin: 0;
	padding-top: 60px; /* ヘッダーの高さ分の余白を確保*/
}
.container-header li{
	list-style: none;
}

.header-contact{
	width: 50px;
	display: flex;
	align-items: center;
}

.icon-f{
	height: 80px;
}

/* ヘッダーカバー画像
------------------------------- */
.cover {
    background-size: contain;
    background-position: center bottom;
	height: 80px;

	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.sub-cover {
	background-size: 300px;
    background-position: center bottom;
	height:100px;
    margin-bottom: 4rem;
}

.cover-title{
	background-image: url(../images/winter5.png);
}
.bannar{
	display: flex;
	justify-content: center;
}
/* HOME
------------------------------- */
.slideshow-container{
	margin: 10px 40px;     /* 中央に配置 */
	overflow: hidden;      /* 枠外を隠す */
	border-radius: 12px;
}
.slides {
  display: flex;          /* 横に並べる */
  width: 100%;            /* 画像3枚ぶんの幅（枚数に応じて変更） */
  transition: transform 1s ease; /* スライドのアニメーション */
}

.slides img {
  width: 100%;
  flex-shrink: 0;         /* 画像が縮まないように */
}
.indicators {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

.about {
    max-width: 1000px;
    padding: 0 1.5rem 0;

}
.about p {
    margin-bottom: 3rem;
}

/* 講習
------------------------------- */
.manager{
	display: flex;
	justify-content: center;
}
.manager-title{
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	position: absolute;
	top:1rem;
	left: 0;
	right: 0;
	margin:0;
}
.manager-title img{
	width: 80px;
	height: 80px;
}
.manager-box{
	width: 1000px;
	margin-bottom: 1rem;
	border:1px solid #ccc;
	outline:2px solid #ccc;
	outline-offset: 4px;
	border-radius: 6px;
	padding: 100px .875rem .875rem .875rem;
	position: relative;
	p{
		padding: .3rem;
	}
}

/* Question
------------------------------- */

.quiz-box {
  background: #fff;
  border: solid 1px #a1a499;
  border-radius: 5px;
  background-color: #f1f1f1;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  font-size: 1rem;
}

.choice {
  display: block;
  background: #ffffff;
  border: none;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
  text-align: left;
}
.choice:hover {
  background: #dee2e6;
}
.correct {
  background: #d4edda !important;
}
.incorrect {
  background: #f8d7da !important;
}
.score-box {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  font-weight: bold;
}
.check-btn {
  display: block;
  margin: 30px auto 0;
  background: #403c3c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 30px;
  cursor: pointer;
}

.check-btn:hover {
  background: #0090aa;
}
.answer{
	font-size: 1.5rem;
}

/* Time table
------------------------------- */
.table-container{
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: scroll hidden;
}
.table-time,
.table-time th,
.table-time td{
	border:2px dotted #403c3c;
	border-collapse: collapse;
}

.table-time{
	margin:auto;
	text-align: center;
}
.table-time th{
	background-color: #f8f6f2;
	padding: 1rem;
}
.table-time td{
	padding: 1rem;
}


/* Contact
------------------------------- */
.contact{
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: auto;
}
.contact p{
	background-color: #f8f6f2;
	border-radius: 16px;
	padding: 30px;
	margin:30px;
}
.contact form{
	margin:30px;
}
.contact table{
	border-spacing: 10px 0;
}

.contact form textarea,
.contact form input{
	padding: 10px;
	 margin: 10px; 
	 border: 1px dotted #333333; 
	 border-radius: 5px;
 }
 .contact form textarea{
	width: 90%;
 }
.contact button{
	display: block;
	margin: 30px auto 0;
	background: #403c3c;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 10px 50px;
	cursor: pointer;
}
.ccheck{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 90%;
}
[type="email"]{
	width: 100%;
}

/* Infomation
------------------------------- */

.location-map {
    width: 64%;
	margin:auto;
	padding-top: 2rem;
}
iframe{
	width: 100%;
}
/* お問い合わせ */
.email {
	color: #005070;
	text-decoration:underline;
}
.email p {
    margin: 1rem 0 2rem;
}

/* SNS */
.sns-item {
    margin-bottom: 2rem;
}
.sns-item .heading-medium {
    margin-bottom: .5rem;
}
.sns-youtube {
    aspect-ratio: 16/9;
}
.sns-youtube iframe {
    height: 100%;
}

/* フッター
------------------------------- */
.page-footer {
    background-size: cover;
    background-position: center;
    padding-top: 1rem;
}
.footer-cover{
	background-image: url(../images/back2.png);
}

.info {
    width: 100%;
    max-width: 544px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
}
.info th,
.info td {
    border-bottom: 1px solid #c9c2bc;
}
.info th {
    text-align: left;
    font-weight: normal;
    padding: 1rem;
}
.info td {
    padding: 1rem 0;
}
.copyright {
    background-color: #432;
    text-align: center;
    padding: 2rem 0;
    margin-top: 6rem;
    color: #fff;
}

/* デスクトップ版
------------------------------- */
@media (min-width: 1030px) {
    /* 見出し */
    .page-title {
        font-size: 3rem;

		align-items: center;
    }
	.page-sub-title {
		font-size: 2rem;
		flex-direction: row;
	}
    .heading-large {
        font-size: 3rem;
    }
    .post-title {
        font-size: 1rem;
		margin-right: 0;
    }

    /* ヘッダー */
    .page-header {
        display: flex;
        padding-top: 1.5rem;
    }
    .main-nav {
        font-size: 2rem;
    }
	.sub-menu {
		display: none;
		position: absolute;
		right: 0;
		top: 100%;
		background-color:rgb(200,33,55);
		list-style: none;
		min-width: 200px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	}
	.header-contact{
		visibility: visible;
		width: 200px;
		flex-direction: column;
		font-size: 2rem;
	}
	.logo {
	    width: 200px;
	}
	.container-header{
		display: flex;
		justify-content: space-between;
		flex-direction: row;
		align-items: center;
		margin: 0;
		padding-top: 70px; /* ヘッダーの高さ分の余白を確保 */
	}
    /* ヘッダーカバー画像 */
	.cover {
		background-size: auto;
	    height: 200px;
	}
    .sub-cover {
		background-size:400px;
		background-position: center bottom;
        height:150px;
    }
	.footer-cover{
		background-image: url(../images/back2.png);
	}

	/* ボタン */
	.btn {
	    font-size: 1.5rem;
		}
		
    /* HOME */
    .about {
        margin: 0rem auto 0;
    }
	.slideshow-container{
		max-width: 1200px;
		margin: 40px auto;     /* 中央に配置 */
		overflow: hidden;      /* 枠外を隠す */
		border-radius: 12px;

	}
	.slides {
	  display: flex;          /* 横に並べる */
	  width: 100%;            /* 画像3枚ぶんの幅（枚数に応じて変更） */
  	  transition: transform 1s ease; /* スライドのアニメーション */
	}

	.slides img {
	  width: 100%;
	  height: auto;
	  flex-shrink: 0;         /* 画像が縮まないように */
	}
	/* Question
	------------------------------- */
	.quiz-box {
	  background: #fff;
	  border: solid 1px #a1a499;
	  border-radius: 5px;
	  background-color: #f1f1f1;
	  padding: 20px;
	  width: 90%;
	  max-width: 600px;
	  margin: 20px auto;
	  font-size: 1rem;
	}

    /* Time Table */
    .grid {
        gap: 3rem 2rem;
        grid-template-columns: repeat(3, 1fr);
    }
    .item img {
        margin-bottom: .5rem;
    }
    .item p {
        font-size: 1rem;
    }
	.table-container{
		overflow: hidden;
	}
	.table-container ul{
		padding-right: 250px;
	}
	/* Contact
	------------------------------- */
	.contact{
		width: 700px;
		margin-bottom: 100px;
	}

	
    /* Infomation */
    .location {
        display: flex;
        gap: 2rem;
    }
    .location-info {
        width: 32%;
    }
    .location-info .info th {
        padding-left: 2rem;
    }
    .location-map {
        width: 64%;
		margin:auto;
		padding-top: 2rem;
    }
    .email {
        margin-bottom: 4rem;
    }
    .sns {
        display: flex;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 0;
    }
    .sns-item {
        flex: 1;
    }

    /* フッター */
    .page-footer {
        padding-top: 5rem;
    }
    .info th {
        padding-left: 2.5rem;
    }
}