@charset "UTF-8";

/* course table
---------------------------------------------------- */
table.course {
border-collapse: collapse;
margin: 40px auto;
}
table.course th,
table.course td {
	font-weight: normal;
	text-align: left;
	border:0;
	border-bottom: 3px solid #fff;
	font-size: 100%;
	box-sizing: border-box
}
table.course th{
width: 20%;
padding: 20px 0;
background: #333;
text-align: center;
color: #fff;
}
table.course td {
padding: 20px 0 20px 20px;
}
@media screen and (max-width: 980px) {
table.course th,
table.course td{
width: 100%;
display: block;
padding: 20px 0;
}
}

/* course table（基本情報）
---------------------------------------------------- */
table.sonota {
border-collapse: collapse;
margin: 10px 0 0 0;
width: 100%
}
table.sonota th,
table.sonota td {
	font-weight: normal;
	text-align: left;
	border:0;
	font-size: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
table.sonota th{
width: 80px;
color:#960;
vertical-align: top;
}


/* course step
---------------------------------------------------- */
.steps {
  /* 連番カウンター名の定義 */
  counter-reset: step-counter;
  /* 縦棒との位置関係に必要 */
  position: relative;
  /* 縦棒と連番のためのスペースを左に確保 */
   /* 連番(1.5rem) + 余白 */
	margin: -48px 0 0 0;
	padding-top: 40px;
	padding-bottom: 50px;
}
.steps_s {
	border: 1px solid #333;
	color: #333;
	text-align: center;
	width: 150px;
	height: 50px;
	line-height: 2.5;
	font-size: 20px;
}
.steps_s_box {
margin-bottom: 5px
}
/* 縦棒 */
.steps:before {
  content: "";
  /* 幅と色 */
  background-color: #333;
  width: 2px;
  /* 位置 */
  position: absolute;
  top: 2.7rem; /* 円のwidthの半分 */
  left: 1.5rem; /* 円のwidthの半分 */
  height: calc(100% - 2.7rem); /* 100% - top */
  /* 連番より後ろに表示するため */
  z-index: 0;
}

.steps > h2 {
  /* 連番カウンターを+1する */
  counter-increment: step-counter;
  /* 連番カウンターを垂直方向に中央揃えで表示する */
  display: flex;
  align-items: center;
	color: #333;
	font-weight: normal;
	padding-top: 10px;
	padding-left: 60px;
	font-size: 2rem;
	line-height: 1.5;
	margin-top: 30px
}
.steps h2 {
	font-size: 150%;
}

/* ①②③など連番 */
.steps > h2:before {
  /* 連番カウンターの値を表示する */
  content: counter(step-counter);
  /* フォントと色 */
  background: #333;
  color: white;
  font-size: 1.5rem;
letter-spacing:-0.14em;	
	text-indent: -0.18em;
  font-weight: normal;
  /* 文字を中央に表示する */
  line-height: 3rem;
  text-align: center;
  /* 円で表示する */
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  /* .stepsでmargin-left +2rem したぶん左に戻す */
  position: absolute;
  left: 0;
  /* 縦棒より手前に表示するため */
  z-index: 1;
}
.steps h2 span {
	font-size: 80%;
	color: #960;	
	margin: 0 15px 0 0;
}
.steps_box {
	padding-left: 60px;
	margin-top: 10px;
}
.steps_box img {
	width: 100%;
	margin: 0 0 10px 0;
}
.steps_box p {
	line-height: 1.8;
}
.steps_box h5 {
	font-size: 100%;
	line-height: 2.2;
	width: 100%;
	color: #FFF;
	background: #C90;
	margin: 15px 0;
	padding: 5px 0;
	text-align: center;
	text-decoration: none !important;
	font-weight: normal
}

.steps_box a {
	text-decoration: none !important;
}
.steps_box p a {
	text-decoration:underline !important;
}
.steps_box a h5 {
	color:#FFF;
	transition: 0.5s;
	text-decoration: none !important;
}
.steps_box a:hover h5 {
opacity: .3;
color:#FFF;
}
.steps_ac {
	margin: 50px 0 0 0;
	background: #eee;
margin-right: calc(50% - 50vw);
margin-left: calc(50% - 50vw);
padding-right: calc(50vw - 50%);
padding-left: calc(50vw - 50%);
	box-sizing: border-box;
}
.steps_ac p {
	padding: 20px 20px 20px 60px;
}

.steps_i {
margin: 20px 0
}
.steps_t {
margin: 20px 0
	}
	
@media screen and (min-width: 980px) {
.steps h2 {
	font-size: 180%;
}
.steps_t {
margin: 40px 0
}
.steps_box {
padding-left: 80px;
}
.steps > h2 {
 padding-left: 80px;
}
.steps > h2:before {
  font-size: 2rem;
  line-height: 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
}
.steps:before {
  left: 1.8rem;
}
.steps_ac p {
	padding: 20px 20px 20px 80px;
}
}
@media screen and (min-width: 768px) {
.steps_box h5 {
	width:200px;
}
}


/* 等分
---------------------------------------------------- */
.boxA:after{content: "";
display: block;
clear: both}
.boxA{margin: 2em 0}
@media screen and (min-width: 768px) {
.box2{float: left;width: 47%;}
.box3{float: right;width: 47%;}
.boxB{float: left;width: 60%;}
.boxC{float: right;width: 37%;}
}

@media (max-width:767px){
.box2,.boxB{margin-bottom: 5%}
}

/* ボックス*/
.box_nuri {
padding: 2em;
margin: 2em 0;
background: #eee;/*背景色*/
}
.box_nuri p,
.box_waku p{
margin: 0; 
padding: 0;
}
.box_waku {
padding: 2em;
margin: 1.5em 0 0 0;
border: 1px solid #333;
}
@media (max-width:767px){
.box_nuri {
padding: 1.5em;
}
.box_waku{
padding: 1.5em;
}
}

/* テキスト
---------------------------------------------------- */
.steps h3 {
color:#000;
font-weight: normal;
font-size: 130%;
margin-bottom: 10px
}

.steps_title {
color:#960;
font-size: 120%;
margin-bottom: 10px;
position: relative;
	display: inline-block;
	padding: 3px 0;
}
.steps_title::before,
.steps_title::after {
	content: '';
	width: 100%;
	height: 1px;
	background: #960;
	position: absolute;
	bottom: 0;
	left: 0;
}
.steps_title::after {
	bottom: -3px;
}
.steps_title2{
color:#960;
font-size: 110%;
margin-bottom: 20px
}

@media screen and (min-width: 980px) {
.steps h3 {
	font-size: 150%;
}
.steps_title {
font-size: 130%
}
}

/* 写真並び
---------------------------------------------------- */
.photo_list{
display: grid;
grid-gap: 10px;
}
.photo_list ul{
display: contents;
}
.photo_list li{
display: grid;
grid-template-areas: 'photo';
}
.photo_list li img{
grid-area: photo;
width: 100%;
height: 100%;
aspect-ratio: 1 / 0.7;
object-fit: cover;
}
@media screen and (max-width: 767px) {
.photo_list{
grid-template-columns: 1fr 1fr;
}
.photo_list li:nth-child(1){
grid-column: 1 / 3;
}
.photo_list li:nth-of-type(2):last-child{
grid-column: 1 / 3;
}
}
@media screen and (min-width: 768px) {
.photo_list{
grid-template-columns: 2fr 1fr;
}
.photo_list li:nth-child(1):only-child{
grid-column: 1 / 3;
}
.photo_list li:nth-child(1):nth-last-of-type(2){
grid-column: 1 / 3;
grid-row: 1;
margin-right: calc(50% + 5px);
}
.photo_list li:nth-child(1):nth-last-of-type(3){
grid-column: 1;
grid-row: 1 / 3;
}
.photo_list li:nth-of-type(2){
grid-column: 2;
grid-row: 1;
}
.photo_list li:nth-of-type(2):last-child{
grid-column: 1 / 3;
margin-left: calc(50% + 5px);
}
.photo_list li:nth-child(3){
grid-column: 2;
grid-row: 2;
}
}