@charset "utf-8";
html { scroll-behavior: smooth; }
body {
    position: relative;
    font-family: FWD Cicular, 'Noto Sans JP', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .05em;
    color: #183028;
    background-color: #E87722;
    font-feature-settings: "palt" 1;
    margin: 0;
}
header {
    position: relative;
    background: #ffffff;
    height: auto;
    z-index: 999;
    margin-bottom: 0.6rem;
}
header a {
    margin: 0 auto;
    display: block;
    text-align:center;
}
h1 { margin: 0 auto; width: 200px;}
header a img { vertical-align: middle; padding: 4px 0; }
ul, ol, li {list-style: none; box-sizing: border-box; padding: 0;}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  box-sizing: border-box;
}
img {width: 100%; margin: 0; padding: 0;}
orange { color: #E87722; }
.border_bottom_wh { border-bottom: solid 2px #ffffff; }
.border_bottom_or { border-bottom: solid 2px #e87722; }
.strongL { font-size: 140%; font-weight: 700; }
.dec_font_m {font-family: "メイリオ", Meiryo, sans-serif;}
/*----- maincontents -----*/
.wrapper {
    display: flex;
    justify-content: center;
    height: 100vh;
}
main {
    width: 600px;
    min-width: 480px;
    background: #ffffff;
    margin: 0 2vw;
    height: 100vh;
    scrollbar-width: auto;
    overflow-y:scroll;
}
#float { display: none; }
.fv-image { width: 94%; margin: 0 auto; padding-top: 2rem;}
.fv h2 {
    width: 90%;
    background: #e87722;
    border-radius: 8px;
    color: #FFFFFF;
    text-align: center;
    margin: 0 auto;
    padding: 8px 4px;
    font-size: 1.4em;
}
.schedule {
    border-top: solid 1px #183028;
    border-bottom: solid 1px #183028;
    margin: 1rem auto;
    width: 94%;
    padding: 8px 0;
}
.schedule li {
    line-height: 1.7;
    font-weight: 600;
}
.day {
    background: #dbdfe1;
    padding: 0 4px;
    font-weight: 700;
    margin: 0 8px;
}
.fv div {
    position: relative;
}
.benefits { position: relative; width: 100%; margin: 0 auto; }
.benefits::after {
    position: absolute;
    content: "";
    background-image: url(../img/uchiwa.png);
    background-size: cover;
    width: 210px;
    height: auto;
    top: -8px;
    right: 8px;
}
.fv div p {
    position: absolute;
    bottom: 0;
    width: 15vw;
    max-width: 210px;
    min-width: 180px;
    left: 15px;
    animation: bound 1.5s infinite
}
@keyframes bound {
  50% { transform:translateY(-25px) }
  100% { transform:translateY(0) }
}
.mib h2 {
    background: #183028;
    padding: 10px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 0;
}
.threeIllust {
    background: #fcece0;
    margin: 0 auto;
    padding: 8% 4% 10%;
}
.mibWrap {
    position: relative;
}
.mibWrap h3 {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    background: #E87722;
    padding: 6px;
    border-radius: 10px;
    color: #FFFFFF;
    width: 60%;
    top: -20px;
    font-size: 1.8em;
}
.anime {
    position: relative; padding: 60px 0 10px;
}
.anime figure { margin: 0 auto; width: 94%; }
.anime p {
    position: absolute;
    top: -46px;
    right: 10px;
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
    width: 20vw;
    max-width: 280px;
    min-width: 260px;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}
.mib_award {
    margin: 0 auto;
    width: 94%;
    padding: 3rem 0 2rem 0;
}
.movie {
    border: solid 2px #E87722;
    background: #FFFFFF;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 0 5px 0px rgba(0,0,0,0.4) ;
    width: 94%;
}
.movie h4 {
    text-align: center;
    color: #E87722;
    margin: 12px;
    font-size: 2vw;
}
.movie div {
    display: flex;
    justify-content: center;
}
.movie div figure {
    margin: 20px auto;
    padding: 0 6px;
}
.movie figcaption {
    text-align: center;
    color: #2f453d;
    font-weight: 400;
    font-size: smaller;
}
.movie a img:hover {
    opacity: 0.8;
    transition: 0.3s;
}
.medical {
    position: relative;
    background: #fcece0;
    padding-top: 3rem;
    margin-top: 4rem;
}
.medical h3 {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    background: #E87722;
    padding: 6px;
    border-radius: 10px;
    color: #FFFFFF;
    width: 60%;
    top: -20px;
    font-size: 1.8em;
}
.medical ul {
    margin: 0 auto;
    text-align: center;
}
.TitleAnime { animation: zoomFade 2s ease-in-out infinite; }
@keyframes zoomFade {
    0% {
        transform: scaleX(1)
    }
    50% {
        transform: scale3d(1.1, 1.1, 1.1)
    }
    to {
        transform: scaleX(1)
    }
}
.medicalTitle {
    font-size: 1.5em;
    font-weight: 700;
    padding: 10px 0;
    text-align: center;
}

.medicalCatch {
    width: 94%;
    margin: 0 auto;
}
.medicalImage {
    width: 94%;
    margin: 0 auto;
    padding: 20px 0;
}
/*------ CVパーツ -----*/
 .CV { margin: 3rem auto;}
 .CV a {
    display: block;
    margin: 0 auto;
    background: #0097a9;
    border-radius: 30px;
    padding: 14px;
    width: 90%;
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 0 0 rgba(0,0,0,0.2) ;
    font-size: 1.3em;
    transform: translateY(-3px);
    transition: 0.2s;
 }
 .CV a:hover {
    box-shadow: none;
    transform: translateY(0);
 }
.medicalCV { padding-bottom: 3rem; }
/*------ footer ------*/
footer {width: 94%; margin: 0 auto; }
.copywrite {
    background: #183028;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    padding: 6px;
}
/*------ サイドカラム ------*/
.aside, .bside {
    height: 100vh;
    margin: 0 1vw;
}
.movie-aside, .movie-bside {
    border: solid 2px #ffffff;
    border-radius: 10px;
    margin-top: 5vw;
    box-shadow: 0 0 5px 0px rgba(0,0,0,0.4) ;
    width: 100%;
}
.movie-aside h4, .movie-bside h4  {
    text-align: center;
    color: #FFFFFF;
    font-size: 1.4vw;
}
.aside a, .bside a {
    overflow: hidden;
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #0097a9;
    font-weight: 600;
}
.aside a img:hover, .bside a img:hover {
    opacity: 0.8;
	transition:0.3s;
}
.aside p, .bside p {
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0 4px 0 0 rgba(0,0,0,0.2) ;
    transform: translateY(-3px);
    transition: 0.2s;
    line-height: 1.2;
    padding: 10px;
    margin-top: 2rem;;
}
.aside p:hover, .bside p:hover {
    box-shadow: none;
    transform: translateY(0);
}
.aside figure, .bside figure {
    margin: 1vw 2vw;
} 
.aside figcaption, .bside figcaption {
    text-align: center;
    color: #ffffff;
    font-weight: 400;
    font-size: smaller;
}
@media screen and (max-width:1199px) {
    .mib h2 {
        font-size: 1.3em;
    }
}
@media screen and (max-width:1099px) {
    .bside {display: none;}
    .movie h4 {font-size: 3vw;}
}
@media screen and (max-width:749px) {
    .aside {display: none;}
    .anime p { top: -6vw; }
}
@media screen and (max-width:700px) {
    body { background: #ffffff;}
    h1 { width: 160px;}
    .wrapper { height: auto; flex-wrap: wrap; }
    main {
        width: 100%;
        height: auto;
        min-width: fit-content;
        margin: auto;
        scrollbar-width: unset;
        overflow-y: unset;
    }
    .fv h2 { width: 94%;}
    .fv div p { width: 34vw; max-width: unset; min-width: unset; }
    .mib h2 { font-size: 4.4vw; }
    .movie h4 { font-size: 5.4vw; }
    .mibWrap h3, .medical h3 { width: 70%; }
    .anime p { width: 46vw; max-width:unset; min-width: 210px; }
    /*------ float ------*/
    #float {
        display: block;
        position: fixed;
        bottom: 20px;
        z-index: 999;
        width: 100%;
    }
    .float_icon {
        position: absolute;
        right: 1%;
        bottom: 0;
        opacity: 0.8;
    }
    .float_icon:hover, .float_icon:focus {
        opacity: 1;
    }
    .float_icon img {
        width: 50px;
    }
}
@media screen and (max-width:459px) {
    .fv h2 { font-size: 5vw; }
    .CV a { font-size: 5vw; width: 94%; }
    .anime p { top: -10vw; }
}
@media screen and (min-width:1700px) {
    .movie-aside h4, .movie-bside h4 {
        font-size: 24px;
    }
    .movie h4 { font-size: 28px; } 
}