/* style.css */

/*----------------------
base
----------------------*/
*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 62.5%;
    line-height: 1.5;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    color: #333;
    font-size: 1.6rem;
    position: relative;
}

html, body {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.inner {
    max-width: 1024px;
    margin: 0 auto;
}

.bg-W {
    background-color: rgba(255, 255, 255, .8)
}

.bg-G {
    background-color: #f5f5f5;
}


@media all and (-ms-high-contrast: none) {
    *::-ms-backdrop, .btn {
      padding: 環境に合わせ調整
    }
}

i {
    padding: 5px 0;
}

section {
    margin-bottom: 70px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.PC {
    display: block !important;
}
.SP {
    display: none !important;
}

p {
    text-align: justify;
}

/* 通常は表示。JavaScriptが動かなくても内容を読める */
.fade {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* JavaScriptでフェード対象にした要素のみ非表示 */
.fade.fade-ready {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

/* 画面に入ったら表示 */
.fade.fade-ready.fadein {
    opacity: 1;
    transform: translateY(0);
}

/* 動きを減らす設定の場合 */
@media (prefers-reduced-motion: reduce) {
    .fade.fade-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.popupBtn {
	position: fixed;
    height: 130px;
    width:  130px;
    right: 20px;
    left: auto;
    bottom: 40px;
    padding: 10px;
    font-family: "M PLUS 1p", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 75px;
    background-color: #BA9A5B;
    text-align: center;
    z-index: 99999;
    transition: .5s all;
}

.popupBtn {
    animation: swing 1s infinite ease-in-out alternate;
  }
  @keyframes swing {
    0% {transform: translateX(-10px)}
    100% {transform: translateX(10px);}
  }

/* 固定ボタンの矢印：CSSで三角形を描く */
.popupBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -14px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 18px solid #BA9A5B;
    transform: translateY(-50%);
    transition:
        border-left-color .5s,
        transform .5s;
}

.popupBtn a {
    display: block;
    color: #FFF;
    cursor: pointer;
    padding-top: 20px;
}

.popupBtn a h1 {
    display: block;
    line-height: 1.25;
    transition: .5s all;
}

.popupBtn a h1 > small {
    display: block;
    font-size: 80%;
}

.popupBtn a h1 > i {
    display: block;
    font-size: 110%;
    margin: 0 0 5px 0;
    padding: 0;
}

.popupBtn:hover {
    background-color: #18647F;
}
.popupBtn:hover::after {
    border-left-color: #18647F;
    transform: translateY(-50%);
}


/*----------------------
header
----------------------*/
header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.headerLogo {
    max-width: 1024px;
    height: 90px;
    margin: 0 auto;
    position: relative;
}

.headerLogo > img.logoL {
    position: absolute;
    left: 30px;
    top: 25px;
    width: 160px;
}

.headerLogo > img.logoR {
    position: absolute;
    right: 30px;
    top: -15px;
    width: 200px;
}

.headerBG {
    /* max-width: 1500px; */
    width: 100%;
    margin: 0 0;
    height: 600px;
    background: url(./img/headerBG.jpg) center center / cover no-repeat;
    position: relative;
    opacity: .85;
    max-width: 100% !important;
    padding: 0 !important;
}

.hedaerTitle {
    height: 600px;
    margin: 0 5%;
    padding: 0;
    background: url(./img/headerTitle.png) right -10px top 50px / contain no-repeat;
    background-size: 700px;
}



@media screen and ( max-width:700px) {

    
    .headerLogo {
        height: 70px;
        margin: 0 auto;
        position: relative;
    }
    
    .headerLogo > img.logoL {
        position: absolute;
        left: 30px;
        top: 20px;
        width: 120px;
    }
    
    .headerLogo > img.logoR {
        position: absolute;
        right: 30px;
        top: -10px;
        width: 180px;
        
    }
    
    .headerBG {
        width: auto;
        height: 400px;
        background: url(./img/headerBG_SP.jpg) left center / cover no-repeat;
        position: relative;
        
    }
    
    .hedaerTitle {
        width: auto;
        height: 400px;
        margin: 0 0;
        background: url(./img/headerTitle.png) center 90% / contain no-repeat;
        background-size: 90%;
    }
    
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .hedaerTitle {
        background-position: right -20px top 200px;
        background-size: 75%;
    }
}

/*----------------------
main
----------------------*/
.main {
    margin-top: 70px;
    position: relative;
}



/*----------------------
テーマ
----------------------*/
.theme {
    margin-top: -70px;
}

.theme img {
    width: 900px;
}


/*----------------------
リード文
----------------------*/
.read {
    width: 100%;
}

.read h1 {
    text-align: center;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1.6;
    color: #18647F;
    width: 100%;
    position: relative;
}

.read h1 > span {
    display: inline-block;
}

.read h1:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    margin: auto;
    width: 15%;
    height: 7px;
    border-radius: 10px;
    background: -webkit-repeating-linear-gradient(-45deg,rgb(241, 212, 136), rgba(241, 212, 136) 2px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 4px);
    background: repeating-linear-gradient(-45deg, rgba(241, 212, 136), rgba(241, 212, 136) 2px, rgba(0,0,0,0)  2px, rgba(0,0,0,0)  4px);
}

.read p {
    width: 100%;
    text-align: left;
    line-height: 2;
    color: #333;
    margin-top: 30px;
    text-align: justify;
}

.read > .read-organizer {
    display: block;
    margin-top: 12px;
    font-size: 1.3rem;
    line-height: 1.7;
    text-align: right;
    color: #555;
}

.read p > span {
    background: linear-gradient(transparent 50%, #e9cd82 95%);
    line-height: 1;
}

.read > img {
    display: block;
    max-width: 80%;
    margin: 20px auto;
}






/*----------------------
セミナー内容
----------------------*/

.point {
    text-align: center;
}

.point h3 {
    font-weight: 700;
    color: #BA9A5B;
    padding: 5px 0px 20px 0;
}

.point ul.flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 30px;
}

.point ul.flex li {
    display: flex;
    align-items: center;
    width: 300px;
    height: 150px;
    margin: 20px 15px 35px 15px ;
    border: 1px solid;
    border-image: linear-gradient(135deg, #BA9A5B,#18647F)1;
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    font-weight: bold;
    color: #18647F;
    position: relative;
}

.point ul.flex li p {
    position: absolute;
    top: -35px;
    left: 0;
    font-size: 120%;
    text-align: center;
    color: #BA9A5B;
}

.point ul.flex li span {
    display: inline-block;
    margin: 0 auto;
}

.point ul.flex li p small {
    font-weight: 300;
    margin-right: 5px;
    position: relative;
}

.point ul.flex li p small::after {
    content: "";
    display: block;
    width: 1px;
    height: 20px;
    background-color: #BA9A5B;
    position: absolute;
    left:20px;
    bottom:-20px;
}

.agenda li {
    margin-bottom: 20px;
    border: 1px solid #BA9A5B;
    border-radius: 10px;
    padding: 15px;
}


.agenda_item {
    min-width: 200px;
}

.agenda_item small {
    color: #888;
}

.mattar {
    text-align: center;
}

.mattar p {
    width: 100%;
    text-align: center;
    margin: 10px auto;
    font-size: 1.8rem;
    padding-left: 1rem;
    margin-bottom: 10px;
    color: #18647F;
}

/* スマホの時だけ改行させる */
.br-sp1 {
    display: none;
}
.br-sp2 {
    display: none;
}

@media (max-width: 600px) {
    .br-sp2 {
        display: block;
    }
}

@media (max-width: 400px) {
    .br-sp1 {
        display: block;
    }
}

.mattar p span {
    border-bottom: 1px solid #18647F;
    font-weight: 700;
    font-size: 120%;
    margin: 0 10px;
}

.mattar h3 {
    font-weight: 700;
    color: #BA9A5B;
    padding: 5px 0px 20px 0;
}

ul.agenda {
    width: auto;
    display: block;
    padding: 20px;
    color: #52769d;
    font-weight: 700;
    /* margin: 2% 0 5% 20px; */
    list-style: decimal;
}



.content {
    background: linear-gradient(90deg, #EEEEEE, #FFFFFF);
    background-attachment: fixed;
    text-align: center;

}

.content .foryou {
    display: block;
    padding: 40px 0;
    color: #18647F;
}

.content .foryou ul {
    display: flex;
    max-width: 1000px;
    flex-wrap: wrap;
    margin: 0 auto;
    flex-direction: column;
}

.content .foryou h3 {
    text-align: center;
    padding: 5px 0px 20px 0;
    font-weight: 700;
    color: #BA9A5B;
}
.content .foryou ul li {
    max-width: 730px;
    text-align: center;
    margin: 10px auto;
}
.content .foryou ul h4 {
    display: inline-block;
    margin-right: 7px;
    font-weight: 700;
}
.content .foryou ul span {
    display: inline-block;
    border-bottom: 1px solid #18647F;
    font-weight: 700;
    font-size: 120%;
    margin: 0 10px;
}






/*----------------------
開催概要
----------------------*/

.detailWrap {
    padding: 30px 20px;
    position: relative;
}
.detailWrap > small {
    display: block;
    width: 90%;
    margin: 0 auto;
    color: #888;
}

.detail {
    display: flex;
    justify-content: center;
    position: relative;
}


.detail-inner {
    width: 70%;
    box-sizing: border-box;
}

.detail-inner img {
    display: inline;
    width: 200px;
}

.detail-inner h1 {
    position: relative;
    font-weight: bold;
    padding: 1.5rem 0;
    margin-bottom: 15px;
    color: #888;
}

.detail-inner h1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    content: '';
    background-image: -webkit-repeating-linear-gradient(135deg, #888888, #888888 1px, transparent 2px, transparent 5px);
    background-image: repeating-linear-gradient(-45deg, #888888, #888888 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.detail-inner h2 {
    position: relative;
    font-weight: 700;
    font-size: 1.8rem;
    padding-left: 1rem;
    margin-bottom: 10px;
    color: #18647F;
}

.detail-inner h2 > small {
    display: inline-block;
    margin-left: 10px;
    color: #666;
}

.detail-inner h3 {
    display: inline-block;
    padding-left: 2rem;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #666;
}


.detail-inner p {
    border-left: 3px solid #CCC;
    font-size: 1.4rem;
    margin-left: 1rem;
    padding-left: 1rem;
    padding-top: 3px;
    margin-bottom: 20px;
}


.detail-inner > table {
    display: block;
    width: 100%;
    padding-left: 1.5rem;
    margin: 10px 0 10px 15px;
}

.detail-inner > table th {
    width: 100px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #888888;
    padding: 2px 0 10px 0;
}

.detail-inner > table td {
    color: #444;
    padding-bottom: 10px;
}

.detail-inner > table td img {
    width: 230px;
}

.detail-inner > ul.biko {
    width: 80%;
    padding-left: 1rem;
    margin: 10px 0 10px 15px;
    font-size: 85%;
    color: #888;
}
.detail-inner > ul.biko > li {
    text-indent: -1.5rem;
    padding-left: 20px;

}
.detail-inner > ul.biko > li::before {
    content: "※";
    padding-right: 2px;
}


.leaflet {
    width: 30%;
    padding: 0;
    margin-top: 30px;
}
.leaflet a {
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #FFF;
}

.leaflet a img {
    transition: .3s all;
    cursor: pointer;
}

.leaflet p {
    text-align: center;
    color: #888;
    opacity: 1;
    margin-top: 10px;
    font-size: 1.4rem;  
    transition: .3s all;
}

.leaflet a:hover img {
    transform: scale(1.15); /* 拡大 */
    transition: .3s all;
}

.leaflet a:hover img {
    opacity: .5;
}

.leaflet:hover p {
    opacity: 0;
    margin-top: -40px;
    transition: .3s all;
}


/*      お申込ボタン      */

.detailBtn {
    display: block;
    width: 70%;
    margin: 40px auto;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 130%;
}

.detailBtn2 {
    display: block;
    width: 80%;
    margin: 20px auto;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 90%;
    white-space: nowrap;
}

.detailBtn a {
    display: block;
    width: 100%;
    background-color: #18647F;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0.3em 0px rgba(0, 0, 0, .1);
    transition: all .5s;
}

.detailBtn2 a {
    display: block;
    margin: auto;
    width: 70%;
    background-color: #82c7b2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0.3em 0px rgba(0, 0, 0, .1);
    transition: all .5s;
}

.detailBtn a i {
    margin-left: 10px;
    transition: all .5s;
}

.detailBtn2 a i {
    margin-left: 10px;
    transition: all .5s;
}


.detailBtn:hover a {
    background-color: #878787;
    transition: all .5s;
}

.detailBtn2:hover a {
    background-color: #878787;
    transition: all .5s;
}


.detailBtn:hover a i {
    margin-left: 25px;
    transition: all .5s;
}

.detailBtn2:hover a i {
    margin-left: 25px;
    transition: all .5s;
}



/*----------------------
講師
----------------------*/
.teacher {
    width: 100%;
    margin: 50px auto 20px auto;
    padding: 20px;
    border: 1px dotted #CCC;
    border-radius: 8px;
    align-items: center;
    vertical-align: middle;
}

/* .teacher ul li:nth-child(1){
    width: 48%;
} */

.teacher ul li:nth-child(2){
    width: 70%;
}

.teacher h2 {
    display: block;
    background-color: #888;
    color: #FFF;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
}

.teacher h3 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 5px;
}

.teacher h3 small {
    font-size: 1.6rem;
    margin-left: 1rem;
}

.teacher h4 {
    font-size: 80%;
    margin-top: 10px;
    border-top: 1px dotted #DDD;
    padding-top: 15px;
    margin-bottom: 25px;
}
.teacher h5 {
    display: inline-block;
    padding: 5px 10px;
    margin: -35px 0 10px 0;
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
    rotate: -6deg;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}

.teacher ul.profile_card:first-child h5 {
    background-color: #BA9A5B;
}

.teacher ul.profile_card:last-child h5 {
    background-color: #18647F;
}

.teacher img {
    display: block;
    width: 240px;
    border-radius: 5px;
    margin: 0 auto;
}

.teacher p {
    font-size: 90%;
    text-align: left;
    color: #71615a;
    transition: .5s all;
}
.teacher p a {
    transition: .5s all;
}

.teacher p a:hover {
    color: #888;
    transition: .5s all;
}

.teacher p a i {
    margin-left: 10px;
}


.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    /* text-align: left; */
}

.profile_card {
    /* border: #005293 1px solid; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 600px) {
    .container {
    grid-template-columns: 1fr;
    }

    .profile_card {
    margin-bottom: 20px;
    text-align: center;
    }
}

.profile_card img,
.profile_card h3,
.profile_card p {
  max-width: 240px;    /* 画像と同じ幅を指定 */
  width: 100%;         /* 幅を揃える */
  margin: 0 auto;      /* 中央に固定 */
}

.profile_card h4 {
  max-width: 350px;    /* 画像と同じ幅を指定 */
  width: 120%;         /* 幅を揃える */
  margin: 0 auto;      /* 中央に固定 */
}

.teacher h5 {
    margin: 0px 0 10px 0;
    rotate: 0deg;
}

/*----------------------
視聴までの流れ
----------------------*/

.flow h1 {
	text-align: center;
	font-size: 2.0rem;
    font-weight: bold;
}

.flow i {
	display: block;
	margin: 0 auto;
	text-align: center;
	font-size: 3rem;
	color: #999;
}

.flow h1::after {
	content: "";
	margin: 5px auto 10px auto;
	display: block;
	width: 25px;
	height: 4px;
	border-radius: 2px;
	background-color: #71615a;
}

.flow > p {
	font-size: 1.4rem;
	margin-bottom: 20px;
	text-align: center;
}

.flow ul li {
	padding: 0 1%;
	text-align: center;
}


.flow ul li:nth-child(2n+1) {
	width: 100%;
}

.flow ul li:nth-child(1) h2, .flow ul li:nth-child(5) h2 {
	color: #F6AB00;
}

.flow ul li:nth-child(2n) {
	color: #F6AB00;
	font-size: 2.0rem;
	padding-top: 50px;
}

.flow ul li h2 {
	font-size: 1.6rem;
    font-weight: bold;
	margin-bottom: 10px;
}

.flow ul li p {
    font-size: 1.4rem;
	border-top: 1px dotted#CCC;
	padding-top: 10px;
}

.flow span {
	display: block;
	margin: 0 auto 20px auto;
	width: 50%;
	color: #FFF;
	padding: 5px 0;
	font-size: 1.2rem;
	background-color: #F6AB00;
	position: relative;
}

.flow span:before {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -10px;
border: 10px solid transparent;
border-top: 10px solid #F6AB00;
}

/*----------------------
視聴に関する注意事項
----------------------*/

.attention h1 {
	text-align: center;
	font-size: 2.0rem;
    font-weight: bold;
}

.attention i {
	display: block;
	margin: 0 auto;
	text-align: center;
	font-size: 3rem;
	color: #999;
}

.attention h1::after {
	content: "";
	margin: 5px auto 10px auto;
	display: block;
	width: 25px;
	height: 4px;
	border-radius: 2px;
	background-color: #71615a;
}

.attention > p {
	font-size: 1.4rem;
	margin-bottom: 20px;
	text-align: center;
}

.attention > ul {
	border: 1px solid #CCC;
	padding: 10px;
}

.attention > ul > li {
	padding: 5px;
	font-size: 1.4rem;
}

.attention > ul h2 {
	margin-bottom: 0px;
	font-size: 1.4rem;
}

.attention > ul h2 {
	font-weight: 600;
}


/* SVGアイコン */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    max-height: none;
    vertical-align: -.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* セミナーのポイント */
.point h2 .icon {
    margin-right: 5px;
    font-size: 120%;
}

/* 視聴までの流れ・視聴環境 */
.flow > .icon,
.attention > .icon {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    color: #999;
}

/* ステップ間の矢印 */
.flow .flex > li > .icon {
    width: 20px;
    height: 20px;
    color: #F6AB00;
}


/*----------------------
フッター
----------------------*/
footer {
    padding: 30px 0;
    text-align: center;
    font-size: 1.3rem;
}



@media screen and ( max-width:1024px) {

    .inner {
        width: 95%;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .mattar p {
        font-size: 1.4rem;
    }
}


@media screen and ( max-width:700px) {
    body {
        font-size: 1.4rem;
    }


    .PC {
        display: none !important;
    }
    .SP {
        display: block !important;
    }

    .flex {
        display: block;
    }

    .popupBtn {
        height: 100px;
        width:  100px;
        bottom: 40px;
        padding: 0px;
        font-size: 1.6rem;
        border-radius: 50px;
        background-color: #BA9A5B;
        right: 15px;
    }

    .popupBtn {
        animation: swing 1s infinite ease-in-out alternate;
    }
    @keyframes swing {
        0% {transform: translateX(-6px)}
        100% {transform: translateX(6px);}
    }

    .popupBtn::after {
        right: -11px;
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 14px;
    }

    .popupBtn a {
        height: 100px;
        width:  100px;
    }


    .popupBtn a h1 {
        font-size: 90%;
    }
    
    .popupBtn a h1 > small {
        font-size: 90%;
        margin-bottom: 5px;
    }
    
    .popupBtn a h1 > i {
        font-size: 80%;
    }

    .popupBtn:hover {
        background-color: #18647F;
    }
    .popupBtn:hover::after {
        color: #18647F;
        transition: .5s all;
    } 
    

    .main {
        margin-top: 30px;
    }

    section {
        margin-bottom: 30px;
    }

    .read h1 {
    font-size: clamp(1.8rem, 5vw, 2.1rem);
    line-height: 1.6;
    }

    .read h1 > span {
    display: block;
    }

    .read h1 br {
        display: block;
    }

    .point ul.flex li {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 120px;
    margin: 20px 0;
    padding: 24px 18px 18px;
    }
    
    .point ul.flex li p {
        position: absolute;
        top: -30px;
        left: 0;
        font-size: 120%;
    }

    .point ul.flex li p small::after {
        height: 15px;
        bottom:-15px;
    }

    .content .point {
        display: block;
    }


    .content .point h3,.content .point ul {
        width: 100%;
    }

    .content .point h3 {
        text-align: center;
        padding: 0x 0 0 0;
        margin-bottom: 15px;
    }
    .content .point ul li {
        text-align: center;
    }


    .about_nuq .inner ul {
        display: block;
        text-align: center;
    }
    
    .about_nuq .inner ul li img {
        width: 80%;
    }

    .detail {
        flex-wrap: wrap;
    }

    .detailWrap {
        padding: 30px 5px;
    }

    .detail-inner {
        width: 100%;
        box-sizing: border-box;
    }
    .detail-inner > table {
        margin: 0;
    }
    .detail-inner > table th {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .detail-inner > table td {
        display: block;
        width: 100%;
    }

    .leaflet {
        width: 100%;
        margin-top: 20px;
    }

    .leaflet p {
        margin-bottom: 40px;
    }

    .teacher {
        width: 100%;
        padding: 10px;
    }

    /* .teacher ul.flex {
        width: 100%;
        display: block;
        text-align: center;
    } */
    .teacher ul li:nth-child(1){ width: 100%; }
    .teacher ul li:nth-child(2){ width: 100%; margin-top: 30px; margin-bottom: 40px; }
    .teacher ul li{
        margin: 0;
    }
    .teacher h3 {
        /* display: inline-block; */
        text-align: center;
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 2;
    }
    
    .teacher h3 small {
        font-size: 1.6rem;
    }
    .teacher p {
        text-align: center;
    }
    .teacher h4 {
        text-align: left;
        width: 90%;
        margin:  0 auto;
    }

    .teacher h4 dl dt {
        min-width: 14%;
    }
    
    .teacher h4 dl dd {
        width: 86%;
    }

    .detailBtn {
        width: 100%;
        font-size: 1.6rem;
    }
    
    .flow .flex, .attention .flex {
        display: block;
    }

    .flow .flex li {
        padding-bottom: 20px;
        margin-bottom: 30px;
        border-bottom: 1px dashed #ddd;
    }
    .flow .flex li:last-child {
        border-bottom: none;
    }
    .flow .flex li:nth-child(even) {
        display: none;
    }


    .flow ul li p {
        border-top: none;
        padding-top: 0;
    }

    footer {
        margin-top: 40px;
    }

    .mattar p {
        font-size: 1.4rem;
    }

}