@charset "UTF-8";

body {
    font-family: 'Zen Kaku Gothic New',
        sans-serif,
        "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo;

    background-color: #FEF4F1;
    color: #333;
    transition: 1s;

    line-height: 1.5;

}

header h1 {
    font-size: 20px;
    width: 280px;
    padding-left: 20px;

}

#fixed {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: first baseline;
    background: rgba(255, 255, 255, 0.7);
    padding: 30px 0px 15px;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 999;
}

#fixed img {
    width: 32px;
}

#pcglobal-nav {
    display: none;
}

/* ハンバーガー↓ */
.menu-trigger {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 2;
    outline: none;
}

.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 50%;
    width: 25px;
    /* 線の幅 */
    height: 3px;
    /* 線の太さ */
    border-radius: 5px;
    /* 線淵丸める */
    background-color: #444;
    /* 線色 */
    transform: translate(-50%, -50%);
}

.menu-trigger span:nth-of-type(1) {
    top: 14px;
}

.menu-trigger span:nth-of-type(2) {
    top: 25px;
}

.menu-trigger span:nth-of-type(3) {
    top: 36px;
}

.menu-trigger.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

#global-nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 95);
    transition: all 0.6s;
}

#global-nav.panelactive {
    top: 0;
    z-index: 1;
}

#global-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#global-nav a {
    background: linear-gradient(transparent 70%, #F9A188 70%);
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1.2em;
}

header li {
    padding: 20px 40px;
}


/* ハンバーガーここまで↑ */
#workdetail {
    width: 90%;
    margin: 0 auto;
}

h2 {
    padding: 100px 0px 30px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    line-height: 70%;
    letter-spacing: 0.1em;
    width: 100%;
}

h3 {
    display: none;
}


h4 {
    font-weight: 600;
    border-bottom: 2px #333 dotted;
    padding: 15px 0px;
    margin: 20px 0px;
}

span {
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 0;
}


.box {
    text-align: center;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.inner img {
    width: 100%;
}


.small {
    width: 13%;
    box-shadow: 6px 6px 4px #d0bfba;
}


dt {
    font-weight: normal;
}

dl:first-of-type {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.underline {
    position: relative;
    font-size: 18px;
    font-weight: 500;
}

.underline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 40%, #f9a188 60%);
    animation: underlineAnim 5s ease-in infinite;
    z-index: -1;
}

/* @keyframes underlineAnim {
    0% {
        right: 100%;
    }

    100% {
        right: 0;
    }
} */

/* お問い合わせボタン↓ */
.btn,
a.btn,
button.btn {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    /* cursor: pointer; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* -webkit-transition: all 0.3s; */
    transition: all 0.3s;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #333;
    border-radius: 0.5rem;
}

a.btn-border-shadow {
    /* padding: calc(1.5rem - 12px) 3rem 1.5rem; */
    padding: 20px 45px;
    background: #fff;
}

a.btn-border-shadow:before {
    position: absolute;
    top: 0px;
    left: 0px;
    /* -0pxにすると白見えなくなる。元は6px */
    width: 100%;
    height: 100%;
    content: "";
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2.5px solid #333;
    border-radius: 0.5rem;
}

a.btn-border-shadow:hover {
    /* padding: calc(1.5rem - 6px) 3rem; */
    padding: 25px 50px;
}

a.btn-border-shadow:hover:before {
    top: 0;
    left: 0;
}

a.btn-border-shadow--color2 {
    border-radius: 100vh;
}

a.btn-border-shadow--color2:before {
    border-radius: 100vh;
    -webkit-box-shadow: 3px 3px 0 #F9A188;
    box-shadow: 3px 3px 0 #F9A188;
}

/* ↑お問合せボタンここまで */
footer {
    text-align: center;
}

/*  スラッシュここから*/
.slash {
    padding-top: 100px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slash::before,
.slash::after {
    content: "";
    width: 20px;
    height: 1px;
    background-color: #000;
    margin: 10px 4px 4px;
}

.slash::before {
    transform: rotate(55deg);
}

.slash::after {
    transform: rotate(-55deg);
}

/*スラッシュここまで  */


footer h1 {
    padding: 50px 0px;
    font-size: 20px;
}

small {
    font-size: 13px;
}

.contact {
    text-align: center;
}

.contact p {
    padding-top: 100px;
    padding-bottom: 10px;
}

@media screen and (min-width:901px) {

    img {
        width: 50%;
        margin: 0 auto;
    }

    header h1 {
        font-size: 28px;
        padding-left: 0px;
    }

    #fixed {
        padding: 30px 0px 15px 135px;
        justify-content: start;
    }

    #fixed img {
        width: 40px;
    }

    .menu-trigger {
        display: none;
    }

    #pcglobal-nav {
        display: block;
        margin-left: 10%;
    }

    #pcglobal-nav li {
        padding: 0.3em 20px;
        font-size: 20px;
    }

    #pcglobal-nav ul {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .flex {
        margin-top: 100px;
        display: flex;
        justify-content: start;
        align-items: center;
        margin-right: 85px;
        width: auto;
    }

    .box {
        margin: 0 auto;
    }

    .box img {
        width: 70%;
    }

    h2 {
        writing-mode: vertical-rl;
        font-size: 50px;
        padding-bottom: 90px;
        width: fit-content;
    }

    h2 span {
        font-size: 20px;
        line-height: 50px;
    }

    #workdetail h3 {
        display: block;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        letter-spacing: 0.1em;
        padding: 50px 0px 10px;
    }

    #workdetail .inner {
        max-width: 700px;
        margin: 0 auto;
        border-bottom: 2px #333 dotted;
    }

    #workdetail img {
        width: 100%;
    }

    #workdetail dl {
        width: 100%;
        flex-wrap: wrap;
    }

    #workdetail dt {
        width: 15%;
    }

    #workdetail dd {
        width: 85%;
        padding-bottom: 16px;
    }

    #workdetail ol li {
        list-style: auto;
        list-style-position: inside;
        padding-bottom: 5px;
    }

    #workdetail ul li {
        list-style: circle;
        list-style-position: inside;
        padding-bottom: 5px;
    }

    #workdetail p {
        padding-bottom: 50px;
    }

    #workdetail p a {
        font-size: 18px;
        font-weight: 500;
        padding-left: 16px;
        color: #F9A188;
    }

    .ta_end {
        font-weight: 500;
        text-align: end;
        display: block;
    }
}

/* 作品ページできたらトップページの背景色変わるの短く設定しなおす(スマホ・ｐｃ共に) */