@charset "UTF-8";

/* main（共通部分） */
html {
    font-size: 100%;
}

body {
    font-family: "fot-tsukuardgothic-std","yu-gothic-pr6n","sans-serif";
    font-weight: medium ;
    line-height: 1.7;
    background: #fcfcfc;
    display: flex;
    flex-direction: column;

}
html,body {
    height: 100%;
}

main {
    flex: 1;    /* flex:1 1 auto;という意味。flexの中で空いたスペースを埋める */
}
a {
    text-decoration: none;
    color: #000;
}

img {
    max-width: 100%;
}
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
.align-center {
    text-align: center;
}

/* header（ヘッダー） */
.font-english {
    font-family: "halcom";
    font-weight: medium;
 }

.main-studio-logo {
    width: 90px;
}
.header-logo {
    margin-top: 2rem;
    margin-left: 0.6rem;
    width: 120%;
}
.header-flex {
    display: flex;
    justify-content: space-around;
    margin-left: 1rem;
    gap: 3rem;
}

/* nav（ナビゲーションメニュー） */
.main-nav {
    display: flex;
    font-size: 1rem;
    list-style: none;
    gap: 1.3rem;
    margin-top: 2.8rem;
    margin-right: 17px;
}
.main-nav li a {
    transition: 0.2s;
}
.main-nav li a:hover{
    color: #6c6c6c;
}
.main-logo {
    width: 120px;
    margin: auto;
    margin-top: 9rem;
}
.main-logo img {
    content: url(../images/logo-myface-normal.svg);
    transition: 0.3s;
    padding-left: 1rem;
}
.main-logo:hover img {
    content: url(../images/logo-myface-surprised.svg);
}

/* btn（ボタン） */
.btn-wrap {
    text-align: center;
    padding-bottom: 5rem;
    border-bottom: 1px solid #545454;
}
.btn {
    display: inline-block;
    font-size: 1.5rem;
    background: #dff4ff;
    color: #000;
    border: 3px solid #000;
    font-weight: bold;
    border-radius: 16px;
    padding: 1rem 4rem;
    margin-top: 2rem;
    transition: 0.5s;
}
.btn:hover {
    background-color: #b9e8ff;
}

/* index */
.index-top h3 {
    margin: 8rem 2rem 12rem;
}
.index-top h3 img {
    margin-right: 2.5rem;
    max-width: 320px;
}
.index-about {
    text-align: center;
}
.index-about h4 {
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 3px solid #c92b2b;
    display: inline-block;
    margin-bottom: 2rem;
}
.index-about p {
    font-family: "yu-gothic-pr6n";
    text-align: justify;
    font-size: 1.1rem;
}

.index-works h4 {
    font-size: 1.2rem;
    margin-top: 3rem;
    text-align: center;
}
.index-works p {
    font-size: 2rem;
    font-family: "fot-tsukuardgothic-std";
    text-align: center;
    margin-top: 0.5rem;
}
.index-works img {
    transition: 0.5s ease;
}
.index-works img:hover {
    transform: scale(1.03); /* 3%拡大 */
}
.index-works img {
    display: block;
    margin: auto;
    margin-top: 5rem;
    padding: 0 0.5rem;
}
.index-works p:last-of-type {
    margin-bottom: 6rem;
}
.index-works img:nth-of-type(3) {
    margin-bottom: 6rem;
}
.index-works .btn-wrap {
    border: none;
    padding-bottom: 7rem;
}

/* about */
.about-top h2 {
    margin-top: 5rem;
    font-size: 2.5rem;
    font-weight: medium;
    text-align: center;
}
.about-top-image {
    text-align: center;
    margin-top: 2rem;
}
.about-top-image img {
    width: 200px;
}
.about-top-myname {
    margin-top: 1rem;
    margin-left: 1rem;
}
.about-top p {
    font-size: 1.2rem;
    margin-top: 1rem;
}
.about-top h3 {
    font-size: 3rem;
    line-height: 1;
}
.about-profile {
    font-family: "yu-gothic-pr6n";
    margin-bottom: 6rem;
}
.about h4 {
    font-size: 2.7rem;
}
.about-skills h5 {
    font-size: 2rem;
    margin-top: 3rem;
}
.about-skills p {
    text-align: justify;
    font-family: "yu-gothic-pr6n";
    font-size: 1.1rem;
}
.about-skills img {
    width: 60px;
    margin-bottom: 3rem;
}
.flex-skill {
    display: flex;
    gap: 25px;
    margin-bottom: 2rem;
}
.about-hobbies {
    margin-bottom: 7rem;
}
.about-hobbies h4 {
    font-size: 3rem;
    margin-top: 6rem;
}
.about-hobbies h5 {
    font-size: 2rem;
    padding-top: 2rem;
}
.about-hobbies p {
    margin-right: 6rem;
    font-size: 1.1rem;
    font-family: "yu-gothic-pr6n";
}
.about-hobbiies-img img {
    display: block;     /* margin-left: autoを使うため */
    margin-left: auto;  /* 右に押し出す役割として活用できる */
    margin-top: 1rem;
    margin-bottom: 4rem;
}
.about-hobbies-wrapper {
    max-width: none;
    margin: 0;
    padding: 0rem;
}
.about main {
    margin-bottom: 14rem;
}

/* works */
.works-wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 3rem;
}
.works-top h2 {
    margin-top: 5rem;
    font-size: 2.5rem;
    font-weight: medium;
    text-align: center;
}
.work-contents {
    margin-top: 5rem;
}
.work-contents li {
    list-style-type: none;
}
.works-wrapper img {
    margin-bottom: 1rem;
    display: block;
    margin: 0 auto
}
.works .works-wrapper img {
    transition: 0.5s ease;
}
.works img:hover {
    transform: scale(1.05); /* 5%拡大 */
}
.work-contents h3 {
    text-align: center;
    font-size: 2.2rem;
}
.work-contents p {
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 8rem;
    font-family: "yu-gothic-pr6n";
    text-align: justify;
}
.work-contents ul li:last-of-type {
    margin-bottom: 14rem;
}

/* works-detail（各作品の詳細ページ） */
.works-wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 2rem;
}
.detail-content {
    margin-bottom: 8rem;
}
.detail-content img {
    margin-top: 10rem;
}
.detail-content .url-site a {
    text-decoration: underline;
}
.detail-content h2 {
    margin-top: 1.2rem;
    font-size: 2.6rem;
    font-weight: medium;
    text-align: center;
    margin-bottom: 6rem;
}
.detail-content h3 {
    font-size: 2rem;
    margin-top: 5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.detail-content .url-site a {
    font-family: "yu-gothic-pr6n";
    font-size: 1.1rem;
    text-decoration: underline;
}

.detail-content .btn-wrap {
    border: none;
    margin-top: 6rem;
}





/* contact */
.contact-top {
    margin-bottom: 7rem;
}
.contact-top h2 {
    margin-top: 5rem;
    font-size: 2.5rem;
    font-weight: medium;
    text-align: center;
    margin-bottom: 4rem;
}
.contact-message {
    text-align: center;
    font-family: "fot-tsukuardgothic-std";
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.mail {
    display: flex;
    background-color: #dff4ff;
    gap: 25px;
    justify-content: center;
    margin-bottom: 12rem;
}
.mail p {
    font-family:  "fot-tsukuardgothic-std";
    font-size: 1.2rem;
    padding: 1rem 1rem 1rem 1.2rem;
    font-weight: bold;
}
.mail img {
    width: 30px;
    margin-right: 1rem;
    cursor: pointer;
}

.success-msg {
    display: none;
    position: fixed;
    width: 300px;
    height: 50px;
    line-height: 50px;              /* 文字を枠の縦真ん中に揃える */
    background-color: #b9e8ff;
    color: #000;
    top: 480px;
    left: 0;                        /* 画面中央に配置 */
    right: 0;
    margin: auto;
    text-align: center;
    border-radius: 5px;
}




/* footer（フッター） */

.to-top{
    width: 70px;
    margin: auto;
    padding-bottom: 1.5rem;
    transition: transform 0.4s;

}
.to-top:hover {
    transform: translateY(-8px);
}

html footer {
    background-image: url(../images/footer-image.webp);
    padding-bottom: 2rem;
    background-size: cover;
}
.footer-flex {
    display: flex;
    padding: 5rem 0.8rem 0;
    justify-content: space-between;
}
footer ul {
    list-style-type: none;
    border-left: solid 1px #545454;
    padding-left: 12%;
}
.footer-logos {
    padding-left: 0.3rem;
}
.footer-logo {
    padding-top: 1.2rem;
}
.sub-stadio-logo {
    width: 90px;
}
.footer-facelogo {
    width: 60px;
    padding-top: 4rem;
    margin: auto;
}
footer ul {
    font-size: 1.5rem;
    font-family: "halcom";
    text-align: left;
}
footer ul li {
    padding-top: 0.5rem;
    padding-bottom: 2.2rem;
}
footer ul li img {
    width: 35px;
    margin-left: 1rem;
    display: inline-block;
    transition: 0.4s;
}
footer ul li img:hover {
    transform: translateX(8px);
}
footer ul li a {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    align-items: center;            /* 高さを揃える */
    text-decoration: none;
    transition: 0.2s;
}
footer ul li a:hover {
    color: #6c6c6c;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
}
.copyright small {
    font-family: "droid-sans";
    font-size: 1rem;
    font-weight: bold;
}


























/* タブレット版 */
@media (min-width: 760px){

/* 共通部分 */
.wrapper {
    padding: 0 4rem ;
}
/* header（ヘッダー） */
.main-studio-logo {
    width: 120px;
    margin-top: 1rem;
}
.main-logo {
    width: 160px;
}
.index-top h3 {
    margin: 12rem 6rem 12rem;
}
.index-top h3 img {
    margin-right: 3rem;
    max-width: 400px;
}

/* nav（ナビゲーションメニュー） */
.main-nav {
    font-size: 1.6rem;
    gap: 2.2rem;
    margin-top: 3.6rem;
    margin-right: 17px;
}

/* btn（ボタン） */
.btn-wrap {
    border-bottom: 2px solid #545454;
    padding-bottom: 8rem;
}
.btn {
    font-size: 2rem;
    border: 3px solid #000;
    padding: 1rem 4.2rem;
    margin-top: 4rem;
}

/* index */
.index-about h4 {
    font-size: 2.8rem;
    border-bottom: 5px solid #c92b2b;
    display: inline-block;
    margin-top: 6rem;
    margin-bottom: 3.2rem;
}
.index-about p {
    font-family: "yu-gothic-pr6n";
    text-align: justify;
    font-size: 1.6rem;
}

.index-works h4 {
    font-size:2rem;
    margin-top: 5rem;
}
.index-works img {
    margin-top: 10rem;
    padding: 0 1.5rem;
}
.index-works p {
    font-size: 2.5rem;
}
.index-works img:nth-of-type(3) {
    margin-bottom: 8rem;
}
.index-works .btn-wrap {
    padding-bottom: 12rem;
}

/* about */
.about-top h2 {
    font-size: 3rem;
}
.about-top-myname {
    margin-top: 1rem;
    margin-left: 1rem;
}
.about-top .myname-ja {
    font-size: 1.5rem;
}
.about-top p {
    font-size: 1.4rem;
}
.about-top h3 {
    font-size: 3.5rem;
}
.about-profile {
    margin-bottom: 8rem;
}

.about h4 {
    font-size: 3rem;
}
.about-skills p {
    font-size: 1.3rem;
    margin-top: 0.5rem;
}
.flex-skill {
    gap: 30px;
}
.about-hobbies {
    margin-bottom: 10rem;
}
.about-hobbies h4 {
    font-size: 3rem;
    margin-top: 7rem;
}
.about-hobbies h5 {
    font-size: 2.5rem;
    padding-top: 4rem;
}
.about-hobbies p {
    margin-right: 12rem;
    font-size: 1.3rem;
}

/* works */
.works-wrapper {
    padding: 0 9rem;
}
.works-top h2 {
    margin-top: 5rem;
    font-size: 3rem;
}
.work-contents {
    margin-top: 5rem;
}
.work-contents img {
    margin-bottom: 1rem;
}
.work-contents h3 {
    font-size: 2.5rem;
}
.work-contents p {
    margin-top: 1.5rem;
    margin-bottom: 10rem;
    font-family: "yu-gothic-pr6n";
    text-align: justify;
    font-size: 1.3rem;
}
.work-contents ul li:last-of-type {
    margin-bottom: 20rem;
}


/* works-detail（各作品の詳細ページ） */
.works-wrapper {
    padding: 0 4rem;
}
.detail-content {
    margin-bottom: 10rem;
}
.detail-content img {
    margin-top: 10rem;
}
.detail-content h2 {
    margin-top: 1.2rem;
    font-size: 3rem;
    margin-bottom: 8rem;
}
.detail-content h3 {
    font-size: 2.5rem;
    margin-top: 7rem;
    margin-bottom: 1rem;
}
.detail-content p {
    font-size: 1.4rem;
}

.detail-content .btn-wrap {
    margin-top: 8rem;
}


/* contact */
.contact-top {
    margin-bottom: 7rem;
}
.contact-top h2 {
    margin-top: 5rem;
    font-size: 3rem;
    margin-bottom: 4rem;
}
.contact-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.mail {
    padding: 1rem;
    gap: 35px;
    margin-bottom: 12rem;
}
.mail p {
    font-size: 1.8rem;
    padding: 1rem 1rem 1rem 1.2rem;
}
.mail img {
    width: 40px;
    margin-right: 1rem;
}
.success-msg {
    top: 590px
}

/* footer（フッター） */
.to-top{
    width: 70px;
    padding-bottom: 2rem;
}

html .index footer {
    padding-bottom: 2.5rem;
    background-size: cover;
}
.footer-flex {
    padding: 7rem 4rem 0;
}
footer ul {
    padding-left: 12%;
}
.footer-logos {
    padding-left: 0.3rem;
}
.footer-logo {
    padding-top: 1.2rem;
}
.sub-stadio-logo {
    width: 90px;
}

.footer-logos {
    padding-left: 0.3rem;
}
.footer-logo {
    padding-top: 1.2rem;
}
.sub-stadio-logo {
    width: 140px;
}
.footer-facelogo {
    width: 80px;
    padding-top: 4rem;
}
footer ul {
    font-size: 1.8rem;
    font-family: "halcom";
    text-align: left;
}
footer ul li {
    padding-top: 1rem;
}
footer ul li img {
    width: 35px;
    margin-left: 1rem;
}
.copyright {
    text-align: center;
    font-family: "droid sans";
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 2.5rem;
}



}













/* PC版 */
@media (min-width: 1000px){


    /* 共通部分 */
.wrapper {
    padding: 0 4rem ;
}
/* header（ヘッダー） */
.main-studio-logo {
    width: 180px;
    margin-top: 1rem;
}
.index-about {
    margin-top: 12rem;
}
.index-top h3 img {
    position: sticky;
    top: 75%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.main-logo {
    width: 180px;
    padding-top: 3rem;
}
.index-top h3 {
    margin: 12rem 8rem 12rem;
    padding-left: 4rem;
}
.index-top h3 img {
    margin-right: 3rem;
    margin-top: 4rem;
    max-width: 450px;
}
.index-works p:last-of-type {
    margin-bottom: 12rem;
}

/* nav（ナビゲーションメニュー） */
.main-nav {
    font-size: 1.8rem;
    gap: 3.5rem;
    margin-top: 5rem;
}

/* btn（ボタン） */
.btn-wrap {
    border-bottom: 2px solid #545454;
    padding-bottom: 10rem;
}
.btn {
    margin-top: 5rem;
}

/* index */
.index-about h4 {
    font-size: 4rem;
    border-bottom: 6px solid #c92b2b;
    display: inline-block;
    margin-top: 6rem;
    margin-bottom: 3.2rem;
}
.index-about p {
    font-family: "yu-gothic-pr6n";
    text-align: justify;
    font-size: 1.6rem;
}


.index-works h4 {
    font-size: 2.5rem;
    margin-top: 7rem;
}
.index-works img {
    margin-top: 15rem;
    padding: 0 5rem;
}
.index-works img:nth-of-type(1) {
    margin-top: 12rem;
}
.index-works img:nth-of-type(3) {
    margin-bottom: 6rem;
}
.index-works .btn-wrap {
    padding-bottom: 18rem;
}



/* about */
.about-top {
    margin-bottom: 12rem;
}
.about-top h2 {
    font-size: 3.5rem;
}
.about-top .myname-ja {
    font-size: 2rem;
}
.about-top p {
    font-size: 1.4rem;
}
.about-top h3 {
    font-size: 4rem;
}
.about-top p {
    font-size: 1.5rem;
}

.about h4 {
    font-size: 3rem;
}
.about-skills {
    margin-bottom: 12rem;
}
.about-skills p {
    font-size: 1.4rem;
}
.flex-skill {
    gap: 30px;
}
.about-hobbies {
    margin-bottom: 10rem;
}
.about-hobbies h4 {
    font-size: 3.2rem;
    margin-top: 7rem;
}
.about-hobbies h5 {
    font-size: 2.6rem;
    padding-top: 4rem;
}
.about-hobbies p {
    margin-right: 15rem;
    font-size: 1.6rem;
}
.about-hobbiies-img {
    margin-left: 30px;
}
.about-hobbies-wrapper {
    max-width: 1120px;
    margin: auto;
}

/* works */
.works-wrapper {
    padding: 0 9rem;
}
.works-top h2 {
    margin-top: 5rem;
    font-size: 3.5rem;
}
.work-contents {
    margin-top: 10rem;
}
.work-contents img {
    margin-bottom: 1rem;
}
.work-contents h3 {
    font-size: 3rem;
}
.work-contents p {
    margin-top: 3rem;
    margin-bottom: 10rem;
    font-size: 1.6rem;
}
.work-contents ul li:last-of-type {
    margin-bottom: 25rem;
}

/* works-detail（各作品の詳細ページ） */
.detail-content {
    margin-bottom: 10rem;
}
.detail-content img {
    margin-top: 15rem;
}
.detail-content h2 {
    margin-top: 1.2rem;
    font-size: 3.5rem;
    margin-bottom: 12rem;
}
.detail-content h3 {
    font-size: 3rem;
    margin-top: 7rem;
    margin-bottom: 1.5rem;
}
.detail-content p {
    font-size: 1.5rem;
}
.detail-content .btn-wrap {
    margin-top: 10rem;
}

/* contact */
.contact-top {
    margin-bottom: 14rem;
}
.contact-top h2 {
    font-size: 3.5rem;
    margin-bottom: 6rem;
}
.contact-message {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
}
.mail {
    padding: 1rem;
    gap: 40px;
}
.mail p {
    font-size: 2.2rem;
}
.mail img {
    width: 40px;
}
.success-msg {
    top: 710px
}



/* footer（フッター） */
.to-top{
    width: 100px;
    padding-bottom: 3rem;
    cursor: pointer;
}
html footer {
    background-image: url(../images/footer-image-l.webp);
    padding-bottom: 2rem;
    background-size: cover;
}
html .index footer {
    padding-bottom: 3rem;
    background-size: cover;
}
.footer-flex {
    padding: 7rem 4rem 0;
}
footer ul {
    padding-left: 12%;
}
.footer-logos {
    padding-left: 0.3rem;
}
.footer-logo {
    padding-top: 1.2rem;
}
.sub-stadio-logo {
    width: 90px;
}

.footer-logos {
    padding-left: 0.3rem;
}
.footer-logo {
    padding-top: 1.2rem;
}
.sub-stadio-logo {
    width: 170px;
}
.footer-facelogo {
    width: 90px;
    padding-top: 4rem;
}
footer ul {
    font-size: 2.2rem;
    font-family: "halcom";
    text-align: left;
}
footer ul li {
    padding-top: 1rem;
}
footer ul li img {
    width: 50px;
    margin-left: 2rem;
}
.copyright {
    text-align: center;
    font-family: "droid sans";
    font-size: 1.9rem;
    font-weight: bold;
    margin-top: 3rem;
}








}










