@charset "utf-8";

/* オリジナルCSS
==================== */
html {
    scroll-behavior: smooth;
}

/* Bodyの設定 */
body {
    font-family: "Playfair Display", "Noto Serif JP", serif;
    font-size: 16px;
    line-height: 1.8;
    color: #745523;
}

/* 各セクションのタイトル アルファベット表示 */
.ffPlayfair {
    font-family: "Playfair Display", serif;
    padding: 5px 10px 10px;
}

/* 共通デザイン */
.innerWrap {
    width: 1140px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Mainの設定
-------------------------------- */
main h2 {
    width: 81vw;
    margin: 0 auto;
    font-size: 2em;
    font-weight: bold;
    text-align: left;
    letter-spacing: 0.05em;
    border-top: 3px solid gold;
    border-bottom: 3px solid gold;
    border-image: linear-gradient(to right, gold 20%, white 40%, #745523 100%) 2;
}

/* Headerの設定 */
header {
    width: 100%;
    height: 100vh;
    background-image:
        url(../images/illust.png), url(../images/pattern.png);
    background-repeat: no-repeat, repeat;
    background-position: center right 45px, center center;
    background-size: 550px, auto;
}

header h1 {
    padding: 0 0 10px;
    font-size: 9em;
    line-height: 1.2em;
    text-shadow: 4px 4px rgb(255 255 255 / 0.9);
}

.logoMenu {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 200px;
    margin-left: 120px;
    margin-top: 10px;
}

.menu {
    width: 570px;
    margin-right: 60px;
}

header nav ul {
    display: flex;
    justify-content: space-evenly;
    padding: 10px auto;
}

header nav ul li {
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.3em;
    text-shadow: 1px 1px rgb(255 255 255 / 0.9);
}

header nav ul li a:hover {
    text-decoration: underline dotted green;
    text-underline-offset: 5px;
}

.katch {
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 1px 3px rgb(255 255 255 / 0.9);
    padding: 10px 0 30px;
}

#supplement {
    font-size: 0.9em;
    font-weight: lighter;
    padding-top: 20px;
    text-shadow: 1px 2px rgb(255 255 255 / 0.9);
}


/* About meの設定
-------------------------------- */
.profileArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 0;
}

.profileImg img {
    width: 300px;
    border-radius: 50%;
    margin-top: 40px;
}

.profileWord {
    width: 600px;
    text-align: left;
    padding-bottom: 30px;
}

.name {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 0 30px;
}

/* ++++++++++Veiw moreの設定++++++++++ */
.smBtn {
    display: block;
    width: 130px;
    position: relative;
    border: none;
    border-bottom: 2px solid gold;
    margin: 5px 0 15px;
    padding: 5px 0;
    transition: .3s;
    transform: translateY(10px);
    color: green;
}

.smBtn::before {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: gold;
    rotate: 40deg;
    position: absolute;
    right: -3px;
    bottom: 9px;
}

.details-summary::-webkit-details-marker {
    display: none;
}

.pro ul {
    list-style: disc;
    margin: 5px 10px;
    padding: 5px 5px 0 10px;
}

#viewmoreWord {
    margin: 5px 0;
    padding: 5px 0;
}


/* Productの設定
-------------------------------- */
#productAppeal {
    font-size: 1.2em;
    text-align: center;
    margin: 50px auto;
}

.works {
    margin: 0 10px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    background-color: gold;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 215, 0, 0.7));
}

.works section {
    width: 240px;
    padding: 10px;
    border: 3px solid gold;
    border-image: linear-gradient(to right, gold 20%, white 40%, silver 100%) 2;
    text-align: center;
}

.works img {
    width: 200px;
    padding: 5px 10px;
}

.works h3 {
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
}

.works p {
    text-align: left;
    font-size: 0.9em;
}

#product {
    margin-bottom: 90px;
}

.productSec .worksViewMore {
    display: inline-block;
    margin: 5px 0;
    padding: 5px 0;
    font-weight: 700;
    font-size: 1.2em;
}

.letterSpacing {
    letter-spacing: -1.5px;
}

/* Read More設定 */
.productImage {
    position: relative;
    overflow: hidden;
}

.productImage::before,
.productImage::after {
    content: "";
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    margin: auto;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    opacity: 0;
}

.productImage::before {
    background: rgb(244, 171, 23, .6);
    width: 100%;
    height: 100%;
}

.productImage::after {
    color: #fff;
    content: "Read More";
    font-size: 22px;
    font-weight: bold;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    bottom: 0;
    right: 0;
}

.productImage:hover::before,
.productImage:hover::after {
    opacity: 1;
}

/* skillの設定
-------------------------------- */
.skillbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px auto;
    padding: 10px;
    text-align: center;
}

.skillbox section {
    width: 158px;
    padding: 20px 5px;
}

.skillbox section h3 {
    font-size: 1.2em;
    font-weight: bold;
    padding: 30px 0;
}

.skillbox img {
    width: 95px;
    padding-bottom: 10px;
    filter: drop-shadow(3px 3px 3px rgba(158, 158, 158, 0.6));
}

.skillbox section p {
    text-align: left;
    line-height: 1.5;
}

.officeSoft {
    font-size: 0.85em;
}

.appeal {
    text-align: center;
    font-size: 1.1em;
    width: 100%;
    margin-top: 20px;
    padding: 30px 0 0;
    border-top: 3px dotted gold;
}

/* お問い合わせの設定
-------------------------------- */
#inquiry {
    width: 100%;
    margin: 0 auto;
}

form {
    width: 600px;
    margin: 0 auto;
}

dt {
    padding: 10px 0 2px;
}

input[type="text"],
input[type="email"],
textarea {
    border: 1px solid #745523;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 4px 8px;
}

textarea {
    height: 150px;
    margin-bottom: 20px;
    resize: none;
}

form>p {
    margin-bottom: 10px;
    background-image: url(../images/pattern.png);
}

input[type="submit"] {
    background-color: #745523;
    color: #ffffff;
    padding: 20px 80px;
    transition: .5s ease;
    margin: 10px 0;
}

.submitBtn {
    text-align: center;
}

.submitBtn :hover {
    color: #745523;
    background-color: gold;
    border: 2px dotted #ffffff;
}

/* Footerの設定
-------------------------------- */
footer {
    background-color: #745523;
    color: #ffffff;
    padding: 20px auto;
    text-align: center;
    font-size: 0.65em;
}

/* スクロールダウンの設定 */
.scrollDown {
    position: absolute;
    bottom: 1%;
    right: 50%;
    animation: arrowmove 1s ease-in-out infinite;
}

.scrollDown a {
    position: absolute;
    left: -24px;
    bottom: 10px;
    color: green;
    font-size: 14px;
    font-family: "Cormorant", 'Noto Serif JP', serif;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
    text-decoration: none;
    text-transform: uppercase;
}

.scrollDown:before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: gold;
    transform: skewX(-31deg);
}

.scrollDown:after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 2px;
    height: 85px;
    background: gold;
}

@keyframes arrowmove {
    0% {
        bottom: 1%;
    }

    50% {
        bottom: 5%;
    }

    00% {
        bottom: 1%;
    }
}

/* PageTopボタンの設定
-------------------------------- */
#page-top {
    bottom: 24px;
    right: 24px;
    position: fixed;
}

.pageTop a {
    padding: 0;
    text-align: center; 
}

.pageTop a:hover {
    border: 2px dotted green;
    border-radius: 50%;
}


/* パララックスの設定*/
.parabefore,
.paraafter {
    background-image: url(../images/pattern.png);
    padding: 30px 0 50px;
}

.para {
    margin-bottom: 400px;
}

.para::before {
    content: "";
    background-image: url(../images/parallaxbg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -1;
}

/* subPageの設定 */
/* +++++++ 背景 +++++++ */
.subPage {
    background-image: url(../images/pattern.png);
}

.subHeader {
    width: 100%;
    height: 100px;
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
    background-position: center center;
    background-size: auto;
}

.subHeader>h1 {
    font-size: 2.5em;
    margin: 30px 100px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* SubPage共通デザイン */
.subWrap {
    width: 1100px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
}

.sectionTitle {
    font-size: 1.5em;
    width: 81vw;
    margin: 0 auto;
    padding: 5px 20px 10px;
}

.subPage dl {
    margin: 10px auto;
    padding: 10px 0;
}

/* Section内image設定 */
.subWrap .image {
    width: 300px;
}

.productimg {
    width: 300px;
    border: 1px solid #745523;
    filter: drop-shadow(3px 3px 3px rgba(158, 158, 158, 0.6));
    margin: 20px 0;
}

.smallimg {
    width: 300px;
}

.sectiondt {
    font-size: 1.2em;
    font-weight: bold;
}

.subWrap .text {
    width: 650px;
}

.subWrap .text>p {
    margin-bottom: 10px;
}

.backToTop {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 50px auto;
    padding: 20px auto;
}

.backToTop a:hover {
    text-decoration: underline dotted green;
    text-underline-offset: 5px;
}

/* 配色用円形 */
.circle {
    width: 450px;
    display: flex;
    justify-content: space-around;
}

.circleWrap {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 10px;
}

/* Portfolio */
.circle_pf-1 {
    background: #f5dd61;
}

.circle_pf-2 {
    background: #f6d060;
}

.circle_pf-3 {
    background: #f4ab17;
}

.circle_pf-4 {
    background: silver;
}

.circle_pf-5 {
    background: green;
}

.circle_pf-6 {
    background: #745523;
}

/* カフェバナー */
.circle_w2-1 {
    background: #ffff1b;
}

.circle_w2-2 {
    background: #efaa0b;
}

.circle_w2-3 {
    background: #4eb00b;
}

.circle_w2-4 {
    background: #503e7b;
}

/* SNS広告バナー */
.circle_w3-1 {
    background: #fea9a9;
}

.circle_w3-2 {
    background: #db4f61;
}

.circle_w3-3 {
    background: #70ae6d;
}

.circle_w3-4 {
    background: #93614a;
}

/* ロゴデザイン1*/
.circle_w4-1 {
    background: #f5b72f;
}

.circle_w4-2 {
    background: #dae000;
}

.circle_w4-3 {
    background: #247234;
}

.circle_w4-4 {
    background: #e60012;
}

.circle_w4-5 {
    background: #745523;
}

/* ロゴデザイン2*/
.circle_w5-1 {
    background: #f8b62c;
}

.circle_w5-2 {
    background: #966cac;
}

.circle_w5-3 {
    background: #535453;
}

.circle_w5-4 {
    background: #83c4be;
}

.circle_w5-5 {
    background: #8ac66b;
}

.circle_w5-6 {
    background: #e71f23;
}

/* 名刺デザイン*/
.circle_w6-1 {
    background: #745523;
}

.circle_w6-2 {
    background: #ffffff;
}

.circle_w6-3 {
    background: #000000;
}

/* Section一部の数字 */
.number {
    font-size: 1.5em;
}

/* ThanksPageの設定 */
/* +++++++ 背景 +++++++ */
.ThanksPage {
    background-image: url(../images/pattern.png);
}

.ThanksPage h1 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.ThanksPage .innerWrap {
    width: 1140px;
    height: 50vh;
    margin: 50px auto 0;
    text-align: center;
}

.ThanksPage .logo {
    width: 300px;
}

.imgbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 50px;
}

/* ================
   レスポンシブ 
=================*/

@media (min-width: 639px) and (max-width: 1024px) {

    .innerWrap,
    .ThanksPage .innerWrap {
        max-width: 100%;
        height: auto;
    }

    /* Header */
    header {
        max-width: 100%;
        height: auto;
        background-image:
            url(../images/illustSP.png), url(../images/pattern.png);
        background-repeat: no-repeat, repeat;
        background-size: 98vw, auto;
        background-position: top 100px center, center center;
        padding-bottom: 120px;
    }

    .logoMenu {
        display: grid;
        grid-template-columns: 1fr 4fr;
    }

    .logo {
        width: 20vw;
        margin-left: 20px;
        margin-top: 30px;
    }

    .menu {
        width: 100%;
        font-size: 1em;
        margin: 20px 0px 10px;
    }

    header nav ul li {
        padding: 10px;
        font-weight: bold;
        font-size: 1.1em;
        text-shadow: 1px 1px rgb(255 255 255 / 0.9);
    }

    header h1 {
        font-size: 9em;
        line-height: 1.3em;
        margin-top: 100px;
        text-align: center;
    }

    .katch {
        font-size: 1.7em;
        padding: 50px 0;
        text-align: center;
    }

    #supplement {
        font-size: 1em;
        margin-top: 10px;
        font-weight: 700;
        text-align: center;
        text-shadow: 1px 2px rgb(255 255 255 / 0.9);
        padding: 60px 0;
    }

    /* About me */
    .name {
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
        margin: 20px auto;
    }

    /* +++ Product +++ */
    #productAppeal {
        width: 100%;
        font-size: 1.1em;
        text-align: center;
        margin: 30px auto;
    }

    .productSec .works {
        width: 100%;
        height: auto;
        display: grid;
        margin: 0 auto;
        padding: 0 35px;
        gap: 30px;
        grid-template-columns: 1fr 1fr;
        text-align: center;
        background-image: url(../images/pattern.png);
    }

    .productSec .works section {
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 10px auto;
        border: 3px solid gold;
        border-image: linear-gradient(to right, gold 20%, white 40%, silver 100%) 2;
        text-align: center;
    }

    .works img {
        max-width: 50vw;
        padding: 10px;
    }

    .productText {
        font-size: 1.2em;
    }

    #product {
        margin-bottom: 50px;
    }

    .productSec .worksViewMore {
        display: inline-block;
        margin: 5px 0;
        padding: 5px 0;
        font-weight: 700;
    }

    .letterSpacing {
        letter-spacing: none;
    }

    /* +++ skill +++ */
    .skillbox {
        width: 100%;
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 50px;
        padding: 10px 20px;
    }

    .skillbox section {
        width: 100%;
        margin: 0 auto;
        padding: 5px;
    }

    .item01 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .item02 {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .item03 {
        grid-column: 5 / 7;
        grid-row: 1 / 2;
    }

    .item04 {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .item05 {
        grid-column: 4 / 7;
        grid-row: 2 / 3;
    }

    .skillbox section h3 {
        font-size: 1.2em;
        font-weight: bold;
        padding: 10px 0;
    }

    .appeal {
        text-align: center;
        font-size: 1em;
        margin-top: 20px;
        padding: 30px 0 0;
        border-top: 3px dotted gold;
    }

    .para {
        margin-bottom: 400px;
    }

    /* Subpage */
    .subPage .subWrap {
        width: 100%;
        display: grid;
        justify-items: center;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 auto;
    }

    .subWrap .image,
    .subWrap .productimg,
    .subWrap .smallimg {
        width: 70vw;
    }

    .subWrap .circle {
        width: 70vw;
    }

    .subWrap .text {
        width: 80vw;
    }

    .subWrap .circleWrap {
        width: 8vw;
        margin: 5px;
    }

    /* ThanksPage */
    .ThanksPage .logo {
        width: 50vw;
        margin: 0 auto;
    }

    .imgbox {
        margin: 20px auto;
    }

}

@media (max-width: 640px) {

    .innerWrap,
    .ThanksPage .innerWrap {
        max-width: 100%;
        height: auto;
    }

    /* Header */
    header {
        max-width: 100%;
        height: auto;
        background-image:
            url(../images/illustSP.png), url(../images/pattern.png);
        background-repeat: no-repeat, repeat;
        background-size: 95vw, auto;
        background-position: top 60px center, center center;
    }

    .logoMenu {
        display: grid;
        grid-template-columns: 1fr 4fr;
    }

    .logo {
        width: 20vw;
        margin-left: 20px;
        margin-top: 0;
    }

    .menu {
        width: 100%;
        font-size: 0.6em;
        margin-right: 0px;
    }

    header nav ul li {
        padding: 10px;
        font-weight: bold;
        font-size: 1.1em;
        text-shadow: 1px 1px rgb(255 255 255 / 0.9);
    }

    header h1 {
        font-size: 4.5em;
        line-height: 1.1em;
        margin-top: 80px;
        text-align: center;
    }

    .katch {
        font-size: 1em;
        padding: 30px 0;
        text-align: center;
    }

    #supplement {
        font-size: 0.8em;
        margin-top: 10px;
        font-weight: 700;
        text-align: center;
        text-shadow: 1px 2px rgb(255 255 255 / 0.9);
        padding: 60px 0;
    }

    /* +++ Main +++ */
    main h2 {
        font-size: 1.4em;
        width: 90%;
        text-align: center;
    }

    /* +++ About me +++ */
    .profileArea {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
        text-align: center;
    }

    .profileImg img {
        max-width: 40vw;
        height: auto;
        border-radius: 50%;
        margin: 20px auto;
    }

    .name {
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
        margin: 0 auto 20px;
    }

    .profileWord {
        width: 100%;
        text-align: left;
        margin: 0 auto;
    }


    /* +++ Product +++ */
    #productAppeal {
        width: 100%;
        font-size: 1.1em;
        text-align: center;
        margin: 30px auto;
    }

    .productSec .works {
        width: 100%;
        height: auto;
        display: grid;
        margin: 0 auto;
        padding: 0;
        gap: 50px;
        grid-template-columns: 1fr;
        text-align: center;
        background-image: url(../images/pattern.png);
    }

    .productSec .works section {
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 10px auto;
        border: 3px solid gold;
        border-image: linear-gradient(to right, gold 20%, white 40%, silver 100%) 2;
        text-align: center;
    }

    .works img {
        max-width: 50vw;
        padding: 10px;
    }

    .productText {
        font-size: 1em;
    }

    #product {
        margin-bottom: 50px;
    }

    .letterSpacing {
        letter-spacing: -1.5px;
    }

    /* +++ skill +++ */
    .skillbox {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .skillbox section {
        width: 100%;
        margin: 0 auto;
        padding: 5px 0;
    }

    .skillbox section h3 {
        font-size: 1.2em;
        font-weight: bold;
        padding: 10px 0;
    }

    .appeal {
        text-align: center;
        font-size: 1em;
        margin-top: 20px;
        padding: 30px 0 0;
        border-top: 3px dotted gold;
    }

    .para {
        margin-bottom: 300px;
    }

    /* +++ contact +++ */
    form {
        width: 100%;
        margin: 0 auto;
    }

    /* Subpage */
    .subPage .subWrap {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 auto;
    }

    .subWrap .image,
    .subWrap .productimg,
    .subWrap .smallimg {
        width: 70vw;
    }

    .subWrap .circle,
    .subWrap .text {
        width: 100%;
    }

    .subWrap .circleWrap {
        width: 10vw;
        margin: 5px;
    }

    /* ThanksPage */
    .ThanksPage .logo {
        width: 50vw;
        margin: 0 auto;
    }

    .imgbox {
        margin: 20px auto;
    }

}