@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

img {
    width: 100%;
    vertical-align: bottom;
}

html {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic", 游ゴシック, YuGothic, 游ゴシック体, Meiryo, メイリオ, sans-serif;
    scroll-behavior: smooth;
    scroll-padding: 80px;
}

body {
    background: #e7f7fb ;
    color: #666;
}


/* loading */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background: #fff;
}

#loading_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    text-align: center;
}

.animation_loading {
    animation: opacity 10s infinite ease-out;
}

@keyframes opacity {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

@media screen and (min-width:767px) {
    #loading_box {
        width: 10%;
    }
}

@media screen and (min-width:960px) {
    #loading_box{
        width: 5%;
    }
}


/* header */


h1 {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
}

h1 img {
    width: 50px;
}

.ham {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    cursor: pointer;
}

.ham span {
    width: 100%;
    height: 4px;
    background: #4D789F;
    border-radius: 4px;
    transition: all 1s;
}

nav ul {
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    transition: all 1s;
}

nav li {

    text-align: center;
    font-weight: bold;

    small {
        display: block;
        color: #72BCE9;
        font-weight: normal;
        margin-top: -4px;
    }
}

.ham.active span:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.ham.active span:nth-child(2) {
    opacity: 0;
}

.ham.active span:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

ul.active {
    opacity: 1;
    pointer-events: all;
}

@media screen and (min-width:768px) {
    nav li{
        font-size: 130%;
    }
    nav ul{
        width: 30%;
        right: 0;
    }
}
@media screen and (min-width:960px) {
    nav li:hover{
        opacity: 0.8;
    }
}

/* top */

/* top main */

/* fv */
.fv {
    height: 100vh;
    position: relative;
    margin-bottom: 100px;
    background: url(../img/fv_img.jpg);
    background-size: cover;
    background-position: center;
    backdrop-filter: brightness(1.2);
}


.fv_text {
    padding-top: 40vh;
    text-align: center;
    color: #4D789F;
}

.fv_p {
    font-size: 30px;
    font-weight: bold;
}

.scroll {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
}

.scroll a {
    display: inline-block;
    padding: 10px 10px 110px;
    color: #4D789F;
    font-size: 14px;
    letter-spacing: .2em;
    overflow: hidden;

    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 1px;
        height: 30px;
        background: #4D789F;
        animation: scroll 2s ease infinite;
    }

    &:hover {
        opacity: .5;
    }
}

@keyframes scroll {
    0% {
        transform: translateY(-70px);
    }

    50%,
    100% {
        transform: translateY(20px);
    }
}

h2 {
    font-size: 30px;
    margin-bottom: 60px;
    padding-left: 5%;
    color: #4D789F;
    position: relative;
}

h2::before {
    content: "";
    width: 80%;
    height: 1px;
    border-top: 2px dashed #4D789F;
    position: absolute;
    bottom: -3px;
    left: -3px;
}

h2::after {
    content: "\002702";
    background: #e7f7fb;
    color: #4D789F;
    transform: rotate(180deg);
    display: inline-block;
    width: fit-content;
    position: absolute;
    bottom: -26px;
    left: 80%;
}

h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

p,
a {
    font-size: 100%;
}

a {
    color: #666;
}

a.more_btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    border: dashed 1px #4D789F;
    padding: 20px 50px;
    position: relative;
    color: #4D789F;
}

a.more_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -20px;
    height: 1px;
    background-color: #4D789F;
    width: 40px;
    overflow: hidden;
    animation: slide 3s ease infinite;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    50%,
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.title h2{
    display: none;
}

@media screen and (min-width:768px){
    .title h2{
        display: block;
        position: absolute;
        top: 90px;
        font-size: 70px;
        text-shadow: #fff 1px 0 10px
    
    }
    .title h2::before,.title h2::after{
        display: none;
    }
}

@media screen and (min-width:960px){
    h2{
        font-size: 40px;
        margin-bottom: 100px;
    }
    .title h2{
        top: 180px;
    
    }
}




/* top what */
.what .description {
    padding: 0 5%;
    margin-bottom: 70px;
}

.what_btn {
    position: relative;
}

.what_btn::before,
.what_btn::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    height: 1px;
    background-color: #666;
}

.what_btn::before {
    width: 110px;
}

.what_btn::after {
    width: 15px;
    transform-origin: right center;
    transform: translate(95px, 0px) rotate(25deg);
}

.what {
    margin-bottom: 100px;
}

.what_wrapper {
    margin: 0 auto;
    width: 90%;
}

.what .what_img {
    margin-bottom: 30px;
}

#img01,#img02,#img03,#img04{
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s;
}

#img01.fade,#img02.fade,#img03.fade,#img04.fade{
    opacity: 1;
    transform: translateY(0px);
}

.what .description p {
    margin-bottom: 10px;
}

.what .description p:nth-child(4) {
    display: none;
}

.what .description p:first-child,
.what_content .description p {
    font-size: 90%;
    margin-bottom: 2px;
    color: #72BCE9;
}


.what01,
.what02,
.what03 {
    margin-bottom: 30px;
}

/* top who */
.who {
    margin-bottom: 140px;
}

.who_flex {
    width: 90%;
    margin: 0 auto 40px;
}

.who h3 {
    margin-bottom: 20px;
}

.plof_img {
    width: 70%;
    margin: 0 auto 50px;
}

.who .plof {
    width: 90%;
    margin: 0 auto;
}

.who p {
    text-align: justify;
    line-height: 1.8em;
}

.who .plof p{
    margin-bottom: 40px;
}


/* footer */
footer {
    text-align: center;
    background: #fff;
    padding: 30px 20px 0;
}

.contact {
    margin: 90px 0 110px;
}

footer h2 {
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    padding: 0;
}

footer h2::before {
    border: none;
}

footer h2::after {
    content: none;
}


footer a:nth-child(3) {
    display: block;
    margin: 20px auto;
    width: fit-content;
    background: #e7f7fb;
    border: solid 1px #4D789F;
    border-radius: 50px;
    padding: 10px 70px;
    transition: 0.5s;

    p {
        color: #4D789F;
        font-weight: bold;
        transition: 0.5s;
    }
}

.page-top {
    position: fixed;
    right: 10px;
    bottom: 30px;
    height: 50px;
    text-decoration: none;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #666;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}
.page-top.active::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}
.page-top.active{
    opacity: 1;
    visibility: visible;
}

footer p small {
    display: block;
    padding-bottom: 20px;
}



@media screen and (min-width:768px) {
    h2{
        padding-left: 9%;
    }

    .what .what_img {
        width: 48%;
    }

    .what .description {
        width: 50%;
        margin-bottom: 0;
    }

    .what_flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row-reverse;
    }

    .what02 .what_flex,
    .what04 .what_flex {
        flex-direction: row;
    }

    .what01,
    .what02,
    .what03 {
    margin-bottom: 50px;
    }

    .what_wrapper {
        width: 82%;
        margin-bottom: 60px;
    }

    .who .who_flex {
        width: 82%;
        max-width: 1000px;
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: space-between;
        margin-bottom: 60px;
    }

    .who .plof_img {
        width: 45%;
        margin: 0;
    }

    .who .plof {
        width: 48%;
        margin: 0;
    }

    .who .plof h3 {
        margin-bottom: 20px;
    }

    .plof .more_btn{
        margin: 0;
    }

    .page-top {
        right: 20px;
        bottom: 40px;
    }

}

@media screen and (min-width:960px) {

    a.more_btn{
        padding: 10px 50px;
        transition: 0.5s;
    }

    a.more_btn:hover{
        background: #fff;
    }

    .what .what_img {
        overflow: hidden;
    }

    .what_flex img{
        transition: 0.5s ease-in-out;
    }

    .what_btn::before,.what_btn::after{
        opacity: 0;
        transition: 0.5s ease-in-out;
    }

    .what_flex:hover{
        img{
        transform: scale(1.1);
        }
        .what_btn::before,.what_btn::after{
            opacity: 1;
        }
    }


    .what_btn {
        top: 20px;
    }

    .what .description p:nth-child(4) {
        display: inline;
        color: #72BCE9;
        font-size: 80%;
        margin-bottom: 50px;
    }

    .what .description p{
        margin-bottom: 0;
    }

    .who {
        margin-bottom: 190px;
    }

    .who .plof h3 {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .who .plof p{
        margin-bottom: 60px;
    }

    footer a:nth-child(3):hover{
        background: #4D789F;
        p{
            color: #fff;
        }
    }
}




/* what page */

.what_menu {
    width: 90%;
    margin: 110px auto 50px;
}

.what_menu p {
    margin-bottom: 10px;
    color: #4D789F;
    font-weight: bold;
}

.what_menu li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 25px;
}

.what_menu li::before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translate(0,-50%);
    height: 2px;
    background-color: #4D789F;
    width: 15px;
}

.what_content .content_img {
    margin-bottom: 20px;
}

.what_content .description {
    margin-bottom: 50px;
    padding: 0 5%;
}

.web {
    margin-bottom: 100px;
}

.graphic {
    margin-bottom: 140px;
}

@media screen and (min-width:768px) {
    .web .what_wrapper{
        margin-bottom: 0;
    }

    .what_menu{
        width: 82%;
        margin-top: 220px;
        margin-bottom: 100px;
    }

    .web_flex,
    .graphic_flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .what_content{
        width: 45%;
    }
}

@media screen and (min-width:960px){
    .what_menu{
        margin-top: 350px;
    }

    
    .what_menu li:hover{
        a{
            color: #4D789F;
        }
    }
    .what_content .content_img{
        overflow: hidden;
    }

    .what_content img{
        transition: 0.5s ease-in-out;
    }

    .what_content a:hover img{
        transform: scale(1.1);
    }

}

/* what sub */
.what_top{
    padding-top: 90px;
}

.what_top p,
.process_content p {
    text-align: justify;
    line-height: 1.8em;
}

.what_top h2::after,
.what_top h2::before {
    content: none;
}

.what_top h2 {
    padding: 0;
    margin-bottom: 10px;
    color: #666;
    font-size: 25px;
}

.what_top .description {
    width: 90%;
    margin: 0 auto 30px;
}

.what_top .description p:first-child {
    color: #72BCE9;
}

.what_top .description a {
    margin: 45px auto 70px;
}


.what_process {
    width: 90%;
    margin: 0 auto 140px;
}

.what_process h3 {
    color: #4D789F;
}

.what_process img {
    margin-bottom: 30px;
}

.process_content {
    padding: 30px 0px;
    border-top: 1px dashed #ccc;
}

.process_content:last-child {
    border-bottom: 1px dashed #ccc;
}

.process_flex {
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width:768px) {
    .what_top{
        padding-top: 0;
    }

    .what_top .description {
        width: 82%;
        max-width: 850px;
    }

    .what_process {
        width: 82%;
        max-width: 850px;
    }

    .process_flex {
        display: flex;
        justify-content: flex-start;
        gap: 100px;
    }
}

@media screen and (min-width:960px){

    .what_top .description a {
        margin: 70px auto 100px;
    }

    .what_process {
        margin-bottom: 190px;
    }

    .what_process img {
        margin-bottom: 50px;
    }
    .what_top h2{
        font-size: 40px;
    }
}

/* who page */

/* plof */

.who_plof p {
    text-align: justify;
    line-height: 2em;
}

.who_plof {
    width: 90%;
    margin: 0 auto 100px;
}

.who_plof h2::before,
.who_plof h2::after {
    content: none;
}

.who_plof h2 {
    margin: 90px auto 50px;
    padding: 0;
    img{
        height: 450px;
        object-fit: cover;
        object-position: center;
    }
}

.who_plof h3 {
    margin-bottom: 20px;
}

.who_plof br {
    display: block;
    content: "";
    margin-bottom: 20px;
}

/* skill */
.skill {
    margin-bottom: 140px;
}

.skill_flex {
    width: 90%;
    margin: 0 auto;
}

.skill_content {
    display: flex;
    justify-content: space-between;
    padding: 30px 5px;
    border-bottom: 1px dashed #ccc;
}

.skill_flex .skill_content:first-child {
    padding-top: 0;
}

.skill_flex .skill_icon {
    width: 20%;
}

.skill_flex .content_right {
    width: 75%;
}

.skill_flex h3 {
    color: #4D789F;
    margin-bottom: 5px;
}

@media screen and (min-width:768px){

    .who_plof{
        width: 82%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
    }

    .who_plof_content{
        width: 52%;
    }

    .who_plof h2{
        margin-top: 0;
        margin-right: 0;
        width: 40%;
        img{
            height: 700px;
            object-fit: contain;
        }
    }

    .who_plof h3{
        font-size: 28px;
    }

    .skill_flex{
        width: 82%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .skill_content{
        width: 48%;
    }
    .skill_flex .skill_content:first-child {
        padding-top: 30px;
    }
}

@media screen and (min-width:960px){
    .skill {
        margin-bottom: 190px;
    }
}