/**
* FV
*/
#fv-contents {
    background-image: url(fvback.png), linear-gradient(75deg, rgba(26, 122, 164, 1), rgba(11, 49, 143, 1));
    background-size: cover;
    height: 190px;
    position: relative;
}

#fv-contents .logo {
    max-width: 620px;
    margin: 2em auto 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 10px;
}

#fv-contents .fv-inner {
    max-width: 1200px;
    padding: 0 10px;
    margin: 7em auto 0;
}

#fv-contents .fv-inner > img {
    max-width: 400px;
    margin: 0 auto;
}

#fv-contents .fv-inner p {
    font-size: clamp(24px, 1.318rem + 0.91vw, 32px);
    line-height: 1.4;
    margin: 0.7em auto;
    font-weight: bold;
    width: fit-content;
    text-shadow: 4px 4px 4px white;
}

#fv-contents .fv-inner p b {
    color: #1A7AA4;
}

@media(min-width:750px){
    #fv-contents .fv-inner {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 20px;
        margin-top: 5em;
    }

    #fv-contents .fv-inner > img {
        width: 50%;
    }

    #fv-contents .fv-wr {
        width: 50%;
    }

    #fv-contents .logo {
        margin: 0 auto 2em;
        position: unset;
        padding: 0;
    }

    #fv-contents .fv-inner p {
        margin: 0;
    }
}

/**
* about
*/
#about {
    margin-top: 400px;
}

#about .list {
    max-width: 1100px;
    margin: auto;
}

#about dl {
    border-bottom: 1px solid #ABABAB;
    padding: 20px 0;
}

#about dl:first-child {
    border-top: 1px solid #ABABAB;
}

#about dl dd {
    color:#0B318F;
    width: 25%;
    font-weight: 500;
    margin-bottom: 8px;
}

#about .list dl dt iframe {
    max-width: 500px;
    border: 0;
    margin: 30px auto 0;
    aspect-ratio: 4/3;
    display: block;
}

@media screen and (min-width:750px) {
    #about {
        margin-top: 200px;
    }

    hgroup {
    margin: 80px;
    }

    #about dl {
        display: flex;
        justify-content: center;
        padding: 25px 0;
        gap: 48px;
        font-size: 20px;
    }

    #about dl dd {
        width: 7em;
    }
    
    #about dl dt {
        width: 45%;
    }

    #about .list dl dt iframe {
        max-width: unset;
        width: 100%;
    }
}

/**
* profile
*/
#profile {
    max-width: 1100px;
    margin: 100px auto;
}

#profile .inner img {
    max-width: 320px;
    width: 80%;
    margin: auto;
    border-radius: 200px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
} 

#profile .inner .explain {
    margin: 20px auto;
    max-width: 550px;
}

#profile .inner .explain .name {
    color:#0B318F;
    font-size: 28px;
    margin: 10px auto 1em;
    font-weight: bold;
    text-align: center;
}

#profile .text {
    line-height: 1.6;
}

@media screen and (min-width:700px) {
    #profile .inner {
        display: flex;
        gap: 20px;
        justify-content: center;
        max-width: 1100px;
        margin: auto;
        align-items: center;
    }

    #profile .inner .explain .name {
        margin-bottom: 30px;
    }

    #profile .text {
        max-width: 490px;
    }
}

/**
* vision
*/
#vision {
    margin: 100px 0;
    max-width: 1100px;
    margin: 0 auto;
}

#cv-container {
    margin: 0 auto 50px;
}

#cv-container img {
    margin: 0 auto 50px;
    object-fit: cover;
    object-position: center;
    max-width: 1000px;
}

.cv .popup-wr {
    position: fixed;
    inset: 0 0 0 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    overflow: auto;
	overscroll-behavior-y: contain;
}

.popup-inner {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 33px;
    position: relative;
    padding: 12px;
    position: absolute;
    top: 0;
    left: 46%;
    transform: translate(-50%, -50%);
    width: calc(100% - clamp(20px, 10vw, 96px));
    height: min(80vh, 100%);
    box-sizing: border-box;
    display: none;
    z-index: 20;
    overflow: scroll;
	overscroll-behavior-y: contain;
}

.popup-inner.open {
    display: block;
    z-index: 100;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 80%;
}

.popup-inner .popup {
    overflow-x: scroll;
    overscroll-behavior: none;
    overflow-y: scroll;
    height: 100%;
}

.popup-inner.open .close-btn {
    position: fixed;
    aspect-ratio: 1/1;
    top: 0;
    left: 3px;
    width: min(15%, 60px);
}

.popup-inner.open .cv-img {
    width: 280%;
    height: auto;
    display: block;
}

@media (min-width: 460px) {
    .popup-inner .popup {
        height: 100%;
    }
    .popup-inner.open .cv-img {
        width: 100%;
    }
}

@media (min-width: 600px) {
    .vision {
        margin: 100px auto;
    }

    .vision hgroup p {
        font-size: 78px;
    }
}

/**
* contact
*/
#contact {
    margin: 100px 0;
}

#contact p {
    text-align: center;
    line-height: 1.6;
}

#contact .detail {
    margin: 30px auto;
}

#contact a {
    display: flex;
    color: white;
    text-decoration: none;
    margin: 20px auto;
    padding: 20px 8px;
    justify-content: center;
    background: linear-gradient(to right, #1A7AA4, #0B318F);
    max-width: 450px;
    text-align: center;
    font-size: 20px;
}

#contact .detail .mail::before {
  content: "";
  display: inline-block;
  width: 25px; /* アイコンの幅に合わせて調整 */
  height: 25px; /* アイコンの高さに合わせて調整 */
  background-image: url("mail.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 20px; /* テキストとの間隔 */
  vertical-align: middle;
}

#contact .detail .call::before {
  content: "";
  display: inline-block;
  width: 25px; /* アイコンの幅に合わせて調整 */
  height: 25px; /* アイコンの高さに合わせて調整 */
  background-image: url("call.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 20px; /* テキストとの間隔 */
  vertical-align: middle;
}


#contact .detail a img {
    margin-right: 20px;
}

@media screen and (min-width:800px) {
    #contact .detail {
        display: flex;
        max-width: 900px;
        margin: 40px auto;
    }

    #contact .detail a {
        min-width: 360px;
    }
}

#footer {
    background-color: #1A7AA4;
    height: 30px;
    width: 100%;
}

#footer p {
    color: white;
    margin: auto;
    text-align: center;
}