@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    color: #104060;
    font-family: Verdana, Geneva, Tahoma, "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: none;
}

a[target=_blank] {
    padding-right: 32px;
    background: url(../images/external-link.png) right center/18px auto no-repeat;
}

a:hover {
    opacity: 0.7;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 4px;
}

li {
    list-style: none;
}

.box {
    padding: 1.5rem;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.wrapper {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 35px;
    padding-bottom: 35px;
}

#header .logo {
    max-width: 200px;
    line-height: 0;
    font-size: 32px;
    font-weight: bold;
}

#header .logo a {
    display: block;
    color:#104060;
}

#header .navi {
    display: flex;
    align-items: center;
}

#header .navi a {
    color: #104060;
}

#header .navi li {
    list-style: none;
    font-size: 16px;
    margin-left: 40px;
}

#profile {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

#profile .img {
    width: 30%;
}

#profile .detail {
    width: 70%;
    padding-left: 80px;
}

.introduction {
    color: white;
    background-color: #104060;
    margin-bottom: 40px;
}

.introduction .catchphrase {
    padding-top: 80px;
    padding-bottom: 80px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.section-title {
    font-weight: normal;
    margin-bottom: 40px;
}

.section-title .en {
    display: block;
    font-size: 40px;
}

.section-title .ja {
    display: block;
    font-size: 16px;
}

#works {
    margin-bottom: 80px;
}

#works .work {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    height: 420px;
}

#works .work ul {
    margin-bottom: 20px;
}

#works .work li {
    list-style: inside;
    margin-left: 1.4rem;
    text-indent: -1.4rem;
    line-height: 1.5;
}

#works .work .img {
    width: 30%;
    text-align: center;
}

#works .work .detail {
    width: 70%;
    padding-left: 80px;
}

#works .work .img img {
    width: 80%;
}

.app-title {
    font-size: 18px;
    margin-bottom: 20px;
}

#works .work.vertical .img iframe.youtube {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;    
}

#works .work.vertical {
    flex-direction: column-reverse;
    margin-bottom: 60px;
    height: auto;
}

#works .work.vertical .img {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

#works .work.vertical .img img {
    width: 100%;
}

#works .work.vertical .detail {
    width: 100%;
    padding-left: 0;
}

#media {
    margin-bottom: 80px;
}

#media .category {
    margin-bottom: 20px;
}

#media .category-title {
    padding: .5rem;
    border-left: solid 5px #104060;
    font-size: 18px;
    margin-bottom: 20px;
}

#media li {
    list-style: inside;
    margin-left: 1.4rem;
    text-indent: -1.4rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

@media screen and (max-width: 767px) {
    #header {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    #header .logo {
        max-width: 150px;
        font-size: 24px;
    }

    #header .navi li {
        font-size: 12px;
        margin-left: 20px;
    }

    .introduction .catchphrase {
        padding-top: 40px;
        padding-bottom: 40px;
        font-size: 16px;
    }

    .section-title {
        font-weight: normal;
        margin-bottom: 25px;
    }

    .section-title .en {
        font-size: 32px;
    }

    #profile {
        flex-direction: column-reverse;
        margin-bottom: 60px;
    }

    #profile .img {
        width: 100%;
    }

    #profile .detail {
        width: 100%;
        padding-left: 0;
        margin-bottom: 20px;
    }

    #works {
        margin-bottom: 60px;
    }

    #works .work {
        flex-direction: column-reverse;
        margin-bottom: 60px;
        height: auto;
    }

    #works .work .img {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #works .work .detail {
        width: 100%;
        padding-left: 0;
    }
}
