/*
Theme Name: Minamitsu Portfolio
Theme URI: https://www.minamitsu.com/
Description: WEDデザイナー×Shopifyの皆光のポートフォリオサイト
Version: 1.0.0
Author: Minamitsu
Author URI: https://www.minamitsu.com/
*/

/* 全体 */
body {
    background-color: #ffffff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
}

p {
    font-size: 16px;
    line-height: 24px;
}

h2,
.h2_wh {
    font-size: 40px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    text-align: center;
    padding: 50px 0px 30px;
}

h2 {
    color: #0000CD;
}

.h2_wh {
    color: #fff;
}

.h2_subtitle {
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    text-align: center;
    font-style: normal;
}

h3 {
    font-size: 20px;
    text-transform: capitalize;
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

h4 {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-top: 20px;
}

.ma_bt20 {
    margin-bottom: 20px;
}

input,
textarea,
select {
    background: #D9D9D9;
    width: 340px;
}

.wpcf7-submit {
    background: #0000CD;
}


.policy-consent input {
    width: auto;
}

select {
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
}

.contact-policy {
    padding: 30px 0;
}

.contact-policy p {
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

.wrapper {
    max-width: 1440px;
    /* min-width: 1024px; */
    margin: 0 auto;
}

.center {
    margin: 0 auto;
}

.contact-input {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

.contact-inputname{
    margin-bottom: 5px;
}

.required-label {
    background-color: #ff4500;
    color: white;
    padding: 2px 10px;
    font-size: 12px;
    margin-left: 30px;
}

.center_text {
    margin: 0 auto;
    padding: 25px;
    padding-bottom: 45px;
    text-align: center;
    max-width: 500px;
}

/* .fadeUpTrigger {
    opacity: 0;
} */

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ヘッダー部分（FV) */
.wavify {
    transform: rotate(180deg);
}

@import url('https://fonts.googleapis.com/css?family=Merienda');

svg {
    height: 700px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

header {
    height: 100%;
}

.wrapper h1 {
    padding: 10px 40px 10px 10px;
    text-align: left;
    padding-left: 100px;
    position: relative;
    top: 30px;
    left: 0;
    z-index: 1;
}

.hd_menu h1 {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;


}

.pc-nav>ul>li>a {
    text-transform: uppercase;
    font-family: "Josefin Sans", sans-serif;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

.pc-nav {
    width: 100%;
    display: flex;
    padding: 25px 0px;
    gap: 30px;
    position: relative;
    top: 0;
    right: 0;
    z-index: 200;
}

.pc-nav ul {
    margin-left: auto;
    display: flex;
    padding-right: 100px;
    align-items: center;
}

.pc-nav ul li {
    margin-left: 30px;
}

/* スマートフォン用ハンバーガーメニュー */
.sp-nav {
    display: none;
}


.menu {
    background-color: #0000cd;
    height: 100%;
    align-items: center;
}

.hd_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hd_menu img {
    margin-left: 100px;
    width: auto;
    height: 70px;
    padding: 10px 0 10px 0;
}

/* .sp-nav{
    display: none;
} */

#wave_sp {
    display: none;
}

/* はじめに */

.first_text {
    width: 620px;
    color: black;
    font-size: 20px;
    line-height: 30px;
    word-wrap: break-word;
    padding: 50px 0;
    margin-left: auto;
    padding-right: 100px;
    position: relative;
    z-index: 100;
    margin-top: 20px;
}


/* トップのサービス部分 */

#service {
    width: 100%;
    background-color: #0000cd;
    color: #fff;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    text-align: center;
    font-size: 24px;
    color: #fff;
}


.service p {
    width: 300px;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    height: 110px;
    flex-shrink: 0;
}

.service h3 {
    width: 300px;
    height: 50px;
    flex-shrink: 0;
    border-bottom: 1px solid white;
}

.service img {
    width: 50%;
}

.services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    padding-bottom: 100px;
}

/* トップの制作実績の部分 */
.work_ex {
    width: 530px;
    display: flex;
    align-items: center;
    height: 30px;
    flex-shrink: 0;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.work_category {
    width: 530px;
    display: flex;
    color: gray;
    align-items: center;
    height: 30px;
    flex-shrink: 0;
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin-bottom: 10px;
}

.work-item h3 {
    width: 530px;
    color: black;
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    text-transform: capitalize;
    word-wrap: break-word;
    font-weight: 700;
    margin-bottom: 10px;
}

.work-item img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
}

.work-item {
    width: 42%;
    margin-bottom: 50px;
}

.work-items {
    max-width: 1440px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 100px;
    display: flex;
}

/* Aboutの部分 */
.about img {
    width: 350px;
    position: relative;
    height: 350px;
    object-fit: cover;

}

.about {
    display: flex;
    margin: 0 auto 100px auto;
    align-items: center;
    width: 100%;
    justify-content: space-evenly;

}

#about {
    width: 100%;
    padding: 0 100px;

}

.about-text {
    width: 50%;
}

.about-text h3 {
    color: black;
    font-size: 32px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 30px;
    margin-bottom: 33px;
}

.about-text p {
    font-size: 16px;
    line-height: 30px;
    display: inline-block;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #000;
    text-align: left;
    margin-bottom: 10px;
}

/* Contactの部分 */

#contact {
    width: 100%;
    position: relative;
    background-color: #0000cd;
    color: #fff;
    padding-bottom: 50px;
}

#contact p {
    max-width: 480px;
    color: white;
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 30px;
    word-wrap: break-word;
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* ページ */
.page_text {
    max-width: 800px;
    padding: 0 50px;
    margin: 0 auto 100px auto;
}

.page_text ul {
    list-style: square;
    list-style-position: inside;
}

.page_text h3 {
    font-weight: bold;
}

/* ボタン */

.btn {
    cursor: pointer;
    outline: none;
    overflow: hidden;
    position: relative;
    color: #ffffff;
    background-color: #0000CD;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 18px;
    display: flex;
    width: 200px;
}

.btn::after {
    content: url('../images/send.svg'); /* 擬似要素に画像を追加 */
    position: absolute; /* 絶対位置 */
    right: 15px; /* ボタンの右側に位置 */
    top: 50%; /* 垂直中央に位置 */
    transform: translateY(-50%); /* 垂直中央に整列 */
    width: 25px; /* 画像の幅 */
    height: 25px; /* 画像の高さ */
}

div.wpcf7 .wpcf7-spinner {
    display: none !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {/* 送信ボタン下未入力警告 */
    background-color: #D9D9D9 !important;
    border-color: #D9D9D9 !important;
    color: red;
    text-align: center;
}

.btn_bl {
    cursor: pointer;
    outline: none;
    overflow: hidden;
    position: relative;
    color: #0000cd;
    border: 2px solid #0000CD;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 18px;
    display: flex;
    font-family: "Zen Kaku Gothic New", sans-serif;
    width: 280px;
}

.btn_wh {
    cursor: pointer;
    outline: none;
    overflow: hidden;
    position: relative;
    color: #fff;
    border: 2px solid #fff;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 18px;
    display: flex;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.btn_wh:after,
.btn_bl:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 700%;
    width: 120%;
    background: #FF4500;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
}

.btn_wh:hover:after,
.btn_bl:hover:after {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

button span {
    position: relative;
    z-index: 1;
}

/* フッター */
footer {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    box-sizing: border-box;
    text-align: left;
    font-size: 14px;
    color: #0000cd;
    font-family: "Josefin Sans", sans-serif;
}

/* TOPに戻る */
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 2px solid #0000CD;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #0000CD;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: bold;
    font-family: "Josefin Sans", sans-serif;
    transition: all 0.3s;
}

#page-top a:hover {
    background: #777;
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/

#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

/* 制作実績詳細ページ */
.workdetailSec {
    padding: 0 100px;
}

.intro {
    margin-top: 140px;
    margin-bottom: 20px;
}

.workTitle {
    text-align: left;
    line-height: 60px;
    color: #000;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 40px;
    font-weight: normal;
    padding: 0;
    margin-bottom: 30px;
}

.workdetailSec img {
    width: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 50px;
}

.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.detail-item {
    width: 28%;
    margin-top: 50px;
}

.detail-item h3 {
    color: #727272;
    font-size: 16px;
    font-weight: normal;
    border-bottom: 1px solid #727272;
    margin: 0;
    padding: 16px 0;
    margin-bottom: 20px;
}

.detail-item p {
    height: auto;
}

.commentSec {
    margin: 100px auto;
    max-width: 800px;
}

.workComment p {
    line-height: 30px;
    margin-bottom: 8px;
}

.worksubImg {
    margin: 50px auto;
}

.workdetailBtn {
    margin-bottom: 200px;
}

/* SP用CSS */
@media screen and (max-width: 960px) {
    .wrapper {
        max-width: 100%;
    }

    p {
        font-size: 16px;
    }

    .pc-nav {
        display: none;
    }

    .drawer__nav ul {
        display: block;
    }

    .padding_lr {
        padding: 0 50px;
    }

    .mt_50 {
        margin-top: 50px;
    }

    #wave {
        display: none;
    }

    #wave_sp {
        display: block;
    }

    .sp-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #0000CD;
        z-index: 10000;
        height: 60px;
        display: flex;
    }

    .hd_menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #0000CD;
        z-index: 10000;
        height: 60px;
    }

    /* ハンバーガーメニュー */
    .sp-nav__inner {
        padding: 0.5rem 1rem;
    }

    /* ハンバーガーボタンのデザイン */
    .drawer__button {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 3rem;
        height: 3rem;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 9999;
        /* メニューを開いている時もクリックできるよう設定 */
    }

    /* ハンバーガーボタン内の線 */
    .drawer__button>span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2rem;
        height: 2px;
        background-color: rgb(255, 255, 255);
        transform: translateX(-50%);
    }

    .drawer__button>span:first-child {
        transform: translate(-50%, calc(-50% - 0.5rem));
        transition: transform 0.3s ease;
    }

    .drawer__button>span:nth-child(2) {
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }

    .drawer__button>span:last-child {
        transform: translate(-50%, calc(-50% + 0.5rem));
        transition: transform 0.3s ease;
    }

    /* 展開時のデザイン */
    .drawer__button.active>span {
        background-color: #0000CD;
    }

    .drawer__button.active>span:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .drawer__button.active>span:nth-child(2) {
        opacity: 0;
    }

    .drawer__button.active>span:last-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    /* メニューのデザイン */
    .drawer__nav {
        position: fixed;
        /* 追従ヘッダーなどでも表示できるよう設定しておく */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .drawer__nav__inner {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: white;
        padding: 4rem 1.5rem 1rem;
        margin: 0 0 0 auto;
        overflow: scroll;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .drawer__nav__menu {
        list-style: none;
        padding-left: 0;
    }

    .drawer__nav__link {
        display: block;
        color: #0000CD;
        text-decoration: none;
        padding: 1rem 1rem;
        text-align: center;
    }

    /* 展開時のデザイン */
    .drawer__nav.active {
        opacity: 1;
        visibility: visible;
    }

    .drawer__nav.active .drawer__nav__inner {
        transform: translateX(0);
    }

    .hd_menu img {
        margin-left: 3px;
    }

    .wrapper h1 {
        padding: 10px 40px 10px 10px;
        position: relative;
        top: 50px;
        left: 0;
        z-index: 100;
    }

    .hd_menu h1 {
        position: relative;
        top: 0;
        left: 0;
        z-index: 100001;
    }

    .wrapper h1 img {
        width: 80%;
    }

    .first_text {
        margin: 150px auto 50px auto;
        padding: 30px;
        width: 100%;
    }

    @import url('https://fonts.googleapis.com/css?family=Merienda');

    svg {
        height: 65vh;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

    /* 下層ページ共通 */
    .h2_title {
        margin-top: 50px;
    }

    /* TOPのSERVICE部分 */
    .service h3 {
        margin: 0;
        height: 0;
        padding-bottom: 35px;
    }

    .works {
        width: 100%;
    }

    .work-items {
        display: block;
        width: 100%;
        padding: 0 40px;
        margin: 0 auto;
    }

    .work-item {
        width: 100%;
    }

    .work-item img {
        width: 100%;
    }

    .work-item h3,
    .work-item p {
        width: 100%;
    }

    .about {
        display: block;
        margin: 0;
        padding: 0 40px;
        width: 100%;
    }

    .about img {
        width: 100%;
        height: 100%;
    }

    #about {
        padding: 0;
    }

    .about-text {
        width: 100%;
        margin-bottom: 50px;
    }

    .about-text h3 {
        width: 100%;
        text-align: center;
    }

    .about-text p {
        width: 100%;
        font-size: 14px;

    }

    #contact p {
        font-size: 14px;
        width: 80%;
    }

    /* 制作実績詳細 */
    .workdetailSec {
        padding: 0;
    }

    .workdetailSec .details {
        display: block;
    }

    .detail-item {
        width: 100%;
        margin-top: 30px;
    }

    .intro {
        margin-left: 10px;
        margin-bottom: 20px;
        font-weight: 500;
        padding: 10px 0;
    }

    .intro h2 {
        font-size: 18px;
        line-height: 36px;
        font-weight: 500;
        margin-bottom: 0;
    }

    .intro p {
        font-size: 12px;
    }

    .workdetailSec img {
        margin-bottom: 20px;
    }

    .worksubImg {
        margin: 20px auto;
    }
    
.contact-input {
    display: block;
}

    input,
textarea,
select {
    width: 100%;
}

}