@charset "utf-8";

/** {
    outline: 3px solid red;
}
*/

@keyframes fuwafuwa {
    0% {
        transform: rotate(20deg) translate(0, 0);
    }

    50% {
        transform: rotate(20deg) translate(-20px, 40px);
    }

    100% {
        transform: rotate(20deg) translate(0, 0);
    }
}

@keyframes jump {

    /*0% {
        transform: translate(0%, 45px) rotateX(20deg);
    }

    100% {
        transform: translate(0%, 0%);
    }*/
    0% {
        transform: translate(0, 0) rotate(-7deg);
    }

    50% {
        transform: translate(0, -7px) rotate(0deg);
    }

    100% {
        transform: translate(0, 0) rotate(7deg);
    }
}

@keyframes leftright {
    0% {
        transform: translate(0px, 0);
    }

    100% {
        transform: translate(30px, 0);
    }
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

body {
    font-family: "BestTen-DOT", "BestTen-CRT", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #F7EB7E;
    background: linear-gradient(#03033F, #010117);
    letter-spacing: 2px;
    text-align: center;
    box-sizing: border-box;
}

.inner {
    max-width: 950px;
    margin: 0 auto;
    width: 100%;
}

#header {
    height: 100px;
}

.header-inner {
    max-width: 1270px;
    margin: 0 auto;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    width: 95px;
    display: inline-block;
}

.logo img {
    width: 100%;
}

.logo:hover {
    opacity: 0.6;
    transition-duration: 0.4s;
}

.humburger-menu {
    display: none;
}

.humburger-content {
    display: none;
}

.menu ul {
    display: flex;
    list-style: none;
    color: #a1f8ff;
    font-size: 24px;
}

.menu li {
    margin-left: 35px;
}

.menu a {
    color: #a1f8ff;
    text-decoration: none;
}

.menu a:hover {
    color: #fff27d;
}

.key-visual {
    position: relative;
    background-image: url("../img/small\ star1.svg"), url("../img/small\ star2.svg"), url("../img/small\ star1.svg"), url("../img/small\ star2.svg"), url("../img/small\ star2.svg"), url("../img/small\ star1.svg");
    background-repeat: no-repeat;
    background-position: 600px 100px,
        1100px 350px, 1350px 200px, 300px 350px, 950px 80px, 100px 240px;
    background-size: 24px, 24px, 14px, 14px, 12px, 12px;
}

.key-visual_ttl {
    line-height: 130px;
    letter-spacing: 15px;
    font-size: 55px;
    padding: 200px 0 180px 10px;
    font-weight: bold;
}

.key-visual_ttl span {
    margin-right: 90px;
}

.boy {
    width: 145px;
    position: absolute;
    top: 425px;
    left: 125px;
    animation-name: leftright;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
    animation-duration: 1.5s;
}

.girl {
    width: 145px;
    position: absolute;
    top: 425px;
    left: 260px;
    animation-name: leftright;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}

.astronaut {
    width: 145px;
    position: absolute;
    top: 440px;
    right: 140px;
    /*animation-name: jump;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 1.2s;
    animation-direction: alternate;*/
    animation: jump 2s ease-in-out infinite alternate;
}

.star1 {
    width: 320px;
    position: absolute;
    top: 120px;
    left: 130px;
}

.star2 {
    width: 160px;
    position: absolute;
    top: 35px;
    left: 70px;
}

.star3 {
    width: 150px;
    position: absolute;
    top: 6%;
    right: 20%;
    animation: fuwafuwa 4s infinite ease-in-out;
    /*transform: rotate(30deg);*/
}

#about {
    margin-bottom: 105px;
}

#about .inner h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

#about .inner p {
    font-size: 15px;
    letter-spacing: 1.5px;
}

#about .inner>img {
    width: 80px;
    position: relative;
    left: 125px;
    bottom: 75px;
}

.mypro {
    max-width: 945px;
    display: flex;
    align-items: center;
    margin: 0 20px;
}

#about .mypro_pic {
    max-width: 200px;
    vertical-align: bottom;
    border: 2px solid #F7EB7E;
    border-radius: 10px;
    margin-left: 30px;
}

.mypro_pic img {
    width: 100%;
    border-radius: 10px;
}

.mypro_detail {
    width: 80%;
    text-align: left;
    line-height: 35px;
    opacity: 0.9;
    padding-left: 80px;
    color: #fff;
}

.mypro_detail span {
    margin-left: 25px;
}

.mypro_detail p:first-of-type {
    margin-bottom: 35px;
}

.skills {
    margin-bottom: 105px;
}

.skills h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.skills-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.skills p {
    font-size: 15px;
    letter-spacing: 1.5px;
}

.skills .inner .planet {
    width: 110px;
    position: relative;
    left: 135px;
    bottom: 75px;
}

.skills-wrapper {
    max-width: 870px;
    width: 100%;
    display: flex;
    margin: 0 auto;
    padding: 0 30px;
    justify-content: space-between;
    box-sizing: border-box;
}

.skills-content {
    border: 2px solid #F7EB7E;
    border-radius: 8px;
    width: calc(50% - 18px);
    padding: 30px 40px;
    opacity: 0.9;
    letter-spacing: 3.5px;
    color: #fff;
    background-color: hsl(235, 97%, 13%);
    box-sizing: border-box;
}

.skills-content p:first-of-type {
    line-height: 37px;
    margin-bottom: 20px;
    text-align: left;
}

.skills-content ul {
    display: flex;
    align-items: center;
}

.skills-content li {
    list-style: none;
}

.skills-content li img {
    width: 100px;
    vertical-align: bottom;
}

.skills .skills-content:last-of-type li img {
    width: 60px;
}

#work {
    margin-bottom: 160px;
}

#work h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#work p {
    font-size: 15px;
    margin-bottom: 40px;
}

#work ul {
    display: flex;
    flex-wrap: wrap;
}

#work li {
    list-style: none;
    height: 200px;
    /* 画像の高さを指定 */
    overflow: hidden;
    /* width: 330px;*/
    width: 27%;

    border-radius: 10px;
    background-color: #fff;
    margin: 30px;
    transition: transform 0.5s ease;
}

#work li:hover {
    transform: scale(1.1);
}

#work img {
    width: 100%;
    /* 画像間の余白を追加 */
}

.form {
    text-align: center;
    padding: 60px 0 70px;
}

.form h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.form p {
    font-size: 16px;
    margin-bottom: 30px;
}

.form textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 40px;
    border-radius: 5px;
}

.form input {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.form button {
    font-size: 23px;
    height: 55px;
    line-height: 45px;
    padding: 0 40px;
    border-radius: 15px;
    display: block;
    width: 100%;
    border: none;
    background-color: #F7EB7E;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#footer {
    padding: 20px;
}

#footer img {
    width: 125px;
}

.image1 {
    position: relative;
    left: -300px;
    top: 40px;
}

.image2 {
    position: relative;
    left: 300px;
    top: 40px;
}


/* ここからworkのページのstyle */

.main-visual {
    padding: 70px 30px 15px;
}

.main-visual .work-pic {
    max-width: 850px;
}

.main-visual .work-pic img {
    width: 100%;
}

.main-visual h1 {
    font-size: 32px;
    margin-bottom: 50px;
    letter-spacing: 5px;
}

.main-visual p {
    font-size: 16px;
    margin-bottom: 10px;
}

.content-wrapper {
    color: #fff;
    text-align: left;
    margin: 50px;
    font-family: "ヒラギノ角ゴ Pro W3";
}

.content-wrapper dt {
    font-size: 18px;
    color: #F7EB7E;
    position: relative;
    font-weight: bold;
}

.content-wrapper dt:after {
    content: "";
    /* 疑似要素の内容を空にする */
    position: absolute;
    bottom: -6px;
    /* アンダーラインとテキストの間の空白 */
    left: 0;
    width: 15%;
    height: 3px;
    /* アンダーラインの太さ */
    background-color: #a1f8ff;
}

.content-wrapper dd {
    padding: 25px 0 50px 0;
    line-height: 25px;
    letter-spacing: 3px;
}

.pic {
    display: flex;
    flex-wrap: wrap;
}

.content-wrapper img {
    max-width: 450px;
    display: block;
    margin: 0 auto;
    padding-right: 20px;
    box-sizing: border-box;
    padding-bottom: 30px;

}

.content-wrapper img:last-of-type {
    padding-right: 0;
}


@media (max-width: 1280px) and (min-width: 996px) {
    .astronaut {
        right: 100px;
    }

    .girl {
        left: 220px;
    }

    .boy {
        left: 70px;
    }

    .star3 {
        right: 5%;
    }

    .star1 {
        top: 80px;
        left: 40px;
    }

    .star2 {
        top: 0;
        left: 30px;
    }

}

@media (max-width: 996px) and (min-width: 768px) {
    .astronaut {
        right: 60px;
    }

    .girl {
        left: 180px;
    }

    .boy {
        left: 30px;
    }

    .star1 {
        top: 80px;
        left: -20px;
    }

    .star2 {
        top: 0;
        left: -40px;
    }

    .star3 {
        right: 5%;
    }

    .key-visual_ttl {
        font-size: 45px;
    }
}

@media (max-width: 950px) and (min-width: 428px) {
    .menu li {
        margin-left: 20px;
    }

    .menu ul {
        font-size: 20px;
    }

    #work ul {
        justify-content: center;
    }

    #footer img {
        width: 100px;
    }

    .image1 {
        left: -30%;
    }

    .image2 {
        left: 30%;
    }
}


@media (max-width: 768px) {
    .humburger-menu {
        display: block;
    }

    .humburger-button {
        display: inline-block;
        position: relative;
        top: 0px;
        right: -20px;
    }

    .humburger-button a {
        display: block;
        width: 116px;
        line-height: 100px;
        font-size: 32px;
        text-align: center;
        background-color: #cccccc;
        color: #000;
        text-decoration: none;
    }

    .humburger-content {
        display: block;
        padding: 30px 0 30px 30px;
        background-color: #cccccc;
    }

    .humburger-content ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }

    .humburger-content li {
        margin-right: 20px;
        font-size: 18px;
    }

    .humburger-content a {
        text-decoration: none;
        color: #000;
    }

    .humburger-content a:hover {
        color: #F7EB7E;
    }



    #header .menu {
        display: none;
    }

    .logo {
        width: 75px;
    }

    .astronaut {
        right: 60px;
        width: 100px;
        top: 440px;
    }

    .girl {
        left: 180px;
        width: 100px;
        top: 425px;
    }

    .boy {
        left: 30px;
        width: 100px;
        top: 425px;
    }

    .star1 {
        top: 110px;
        left: -35px;
        width: 225px;
    }

    .star2 {
        top: 15px;
        left: -40px;
        width: 120px;
    }

    .star3 {
        top: 8%;
        right: 5%;
        width: 115px;
    }

    .key-visual_ttl {
        font-size: 35px;
        line-height: 85px;
        padding: 200px 0 215px 10px;
    }

    #about .inner h2 {
        font-size: 28px;
    }

    #about .inner p {
        font-size: 12px;
    }

    .mypro {
        display: block;
    }

    #about .mypro_pic {
        margin: 0 auto;
    }

    .mypro_detail {
        padding-left: 60px;
        margin: 0 auto;
        padding-top: 35px;
    }

    .mypro_detail p:first-of-type {
        margin-bottom: 20px;
    }

    .skills .inner .planet {
        width: 100px;
    }

    .skills h2 {
        font-size: 28px;
    }

    .skills p {
        font-size: 12px;
    }

    .skills-wrapper {
        display: block;
    }

    .skills-content {
        /* width: calc(50% - 18px); */
        width: 100%;
        margin-bottom: 30px;
    }

    #work ul {
        display: block;
    }

    #work li {
        /* width: 330px; */
        /* width: 27%; */
        width: 50%;
        margin: 30px auto;
        border-radius: 2px;
    }

    #footer p {
        font-size: 10px;
    }

    #footer img {
        width: 60px;
    }

    .image1 {
        left: -35%;
    }

    .image2 {
        left: 35%;
    }

    .content-wrapper img {
        max-width: 300px;

    }
}