@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+2:wght@100..900&family=Zen+Maru+Gothic&family=Mochiy+Pop+One&display=swap');

/*-----------------------
 全体共通 
-----------------------*/
* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    border: none;
    border-radius: 0;
    font-style: normal;
    box-sizing: border-box;
    -webkit-appearance: none;
}
html {
    font-size: 100%;
}
body {
    font-size: clamp(1.25rem, 0.938rem + 1.04vw, 1.563rem);
    font-family: "M PLUS 2", sans-serif;
    color: #333;
    word-break: break-word;
}
p {
    line-height: 1.8;
}
a {
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
a:hover {
    opacity: 0.8;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
section:not(:first-of-type) {
    padding: 80px 0;
}
h2 {
    font-weight: 500;
    font-size: clamp(1.563rem, 0.625rem + 3.13vw, 2.5rem);
}
.container {
    max-width: 900px;
    margin: 0 auto;
}

.fade-up, .fade-in {
    opacity: 0;
    transition: all 2s ease;
}
.show {
    opacity: 1;
}
.fade-up {
    transform: translateY(50px);
}
.fade-up.show {
    transform: translateY(0);
}
@media screen and (max-width: 960px) {
    .container {
        max-width: 90%;
    }
}


/*-----------------------
 ヘッダー
-----------------------*/
header {
    position: relative;
    z-index: 1;
    padding: 10px;
    background-color: #fff;
}
.logo {
    text-align: center;
}
.logo img {
    width: 300px;
}

/*-----------------------
 トップ画像
-----------------------*/
#mainvisual {
    position: relative;
    overflow: hidden;
}
#mainvisual img {
    width: 100%;
    height: 70dvh;
    object-fit: cover;
    animation: fadeimg 3s ease forwards;
}
@keyframes fadeimg {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}
#catchprase1, #catchprase2 {
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 5%;
    max-width: 960px;
    color: #ca1b26;
    font-size: clamp(1.375rem, 0.25rem + 3.75vw, 2.5rem);
    font-weight: 700;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    -webkit-text-stroke: 5px #fff;
    text-stroke: 5px #fff;
    paint-order: stroke;
}
#catchprase1 {
    right: 5%;
}
#catchprase2 {
    right: 12%;
}
@media screen and (max-width: 767px) {
    #mainvisual img {
        height: 100vw;
    }          
}

/*-----------------------
 メインコンテンツ部分
-----------------------*/
/* 吹き出し部分 */
#fukidashi {
    position: relative;
    background: #e4e226;
}
#fukidashi:after {
    display: block;
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    border: 20px solid transparent;
    border-top: 20px solid #e4e226;
}
#fukidashi .container {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}
#fukidashi p {
    font-size: clamp(1.375rem, 0.875rem + 1.67vw, 1.875rem);
}

/* 導入部分 */
#first .container {
    text-align: center;   
}
.strong {
    display: inline;
    font-weight: 700;
    font-size: clamp(1.563rem, 0.625rem + 3.13vw, 2.5rem);
    background: linear-gradient(transparent 70%, #e4e226 70%);
    margin: 50px 0;
    padding: 0 5px; 
}
@media screen and (max-width: 960px) {
    #first .container {
        text-align: left;   
    }    
    #first .br {
        display: none;
    }    
}

/* プラ研でできること */
#gallery {
    background-color: #1e73be;
}
#gallery h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}
.gallery {
    display: flex;
    gap: 20px;
}
.gallery:first-of-type {
    margin-bottom: 20px;
}
.gallery li {
    display: flex;
    flex-direction: column;
    width: 50%;
}
.gallery li img {
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}
.white_bg {
    flex-grow: 1;
    background-color: #fff;
    padding: 15px 10px;
}
.white_bg p {
    line-height: 1.5;
}
.blue_text {
    display: block;
    margin-bottom: 10px;
    color: #1e73be;
    font-weight: 500;
}
@media screen and (max-width: 767px) {
    .gallery {
        flex-direction: column;
    }
    .gallery li {
        width: 100%;
    }
}

/* どなたでも利用OK */
#use {
    padding-top: 100px;
}
#use h2 {
    color: #1e73be;
    position: absolute;
    top: -40px;
    left: -3%;
    z-index: 1;
    transform: rotate(-7deg);
    padding-bottom: 10px;
    background: url(images/line.png) left bottom / 100% 100% repeat-x;
}
.blue_box {
    position: relative;
    background-color: #ddeaf5;
    padding: 60px 20px 30px;
}
.blue_box p {
    text-align: center;
    margin: 30px 0;
}
.blue_box p:first-of-type {
    margin-top: 0;
}
#use .blue_text {
    display: inline;
}
@media screen and (max-width: 767px) {
    #use {
        padding-top: 80px;
    }    
    #use h2 {
        top: calc(-80px + 10%);
    }   
}
@media screen and (max-width: 623px) {
    #use .br {
        display: none;
    }    
    .blue_box p {
        text-align: left;
    }    
}

/* about */
#about {
    position: relative;
    background: linear-gradient(to bottom, transparent 0%, transparent 70%, #fff 100%),
                linear-gradient(to top, transparent 0%, transparent 70%, #fff 100%),
                url(images/about_bg.webp) center / cover no-repeat;
}
#about:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}
.white_box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 50px 20px;
}
.white_box p {
    text-align: center;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 
    -1px 1px 0 #fff,  1px -1px 0 #fff, 
    1px 0 0 #fff, -1px  0 0 #fff, 
    0 1px 0 #fff,  0 -1px 0 #fff; 
}
@media screen and (max-width: 960px) {
    #about {
        height: auto;
    }
}
@media screen and (max-width: 623px) {
    #about .br {
        display: none;
    }    
    .white_box p {
        text-align: left;
    }    
}


/* ホームページへ */
#hp .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#hp .blue_text {
    display: block;
    text-align: center;
    font-size: clamp(1.375rem, 0.875rem + 1.67vw, 1.875rem);
}
.link_btn {
    display: block;
    width: 350px;
    background-color: #1e73be;
    color: #fff;
    padding: 20px;
    margin: 50px auto 0;
    text-align: center;
    font-size: clamp(1.375rem, 1.063rem + 1.04vw, 1.688rem);
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 480px) {
    .link_btn {
        width: 100%;
    }    
}

/* 移転しました */
#img .container {
    position: relative;
    height: clamp(11.25rem, 5rem + 33.33vw, 25rem);
}
.circle_bg {
    position: absolute;
    bottom: -25%;
    left: 8%;
    z-index: -1;
    width: clamp(11.25rem, 4.432rem + 36.36vw, 26.25rem);
    height: clamp(11.25rem, 4.432rem + 36.36vw, 26.25rem);
    background-color: #e4e226;
    border-radius: 50%;
}
.circle_bg p {
    width: 100%;
    position: relative;
    z-index: 1;
    top: 20%;
    left: 20%;
    line-height: 1.5;
    font-size: clamp(1.063rem, 0.063rem + 3.33vw, 2.063rem);
}
.large_text {
    letter-spacing: 1px;
    font-size: clamp(1.375rem, 0.58rem + 4.24vw, 3.125rem);
}
.red_text {
    font-weight: 500;
    color: #f21d2b;
}
.footer_img {
    position: absolute;
    bottom: calc(-80px + 5%);
}
#img .container img {
    position: absolute;
    bottom: -15%;
    left: 45%;
    width: clamp(11.25rem, 4.432rem + 36.36vw, 26.25rem);
    object-fit: cover;
}
@media screen and (max-width: 623px) {
    .circle_bg p {
        top: 22%;
        left: 17%;
    }    
}
@media screen and (max-width: 480px) {
    .circle_bg {
        left: 0;
    }
    .circle_bg p {
        left: 20%;
    }    
    #img .container img {
        width: 60%;
    } 
}
@media screen and (max-width: 390px) {
    .circle_bg {
        left: -10px;
    }
    .circle_bg p {
        top: 20%;
        left: 18%;
    }    
    #img .container img {
        left: 47%;
    }
}

/*-----------------------
 フッター
-----------------------*/
footer {
    padding: 80px 0;
    background-color: #1e73be;
    color: #fff;
}
footer .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.name {
    letter-spacing: 2px;
    font-weight: 500;
    font-size: clamp(1.563rem, 1.063rem + 1.67vw, 2.063rem);
}
.adress {
    margin-top: 30px;
    width: 400px;
}
.adress div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.adress div dt {
    background: #fff;
    border-radius: 10px;
    color: #1e73be;
    padding: 5px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
}
.adress div dd {
    text-align: center;
}
.adress div dt, .adress div dd {
    width: 100%;
}
.text_link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}
footer iframe {
    margin-top: 50px;
}
@media screen and (max-width: 960px) {
    footer iframe {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .adress {
        width: 100%;
    }    
    footer iframe {
        height: 400px;
    }
}