@charset "UTF-8";

/* --------------------
    for PC size 
-------------------- */

/* =====  全ページ共通  ===== */

body {
    background-color: #ffffff;
    font-family: 'Open Sans','Noto Sans JP', 'Hiragino Kaku Gothic ProN', Arial, sans-serif;
    color: #333333;
}

.sp-only {
    display: none;
}

/* フォント関連
    300 = light, 400 = reguler, 500 = medium, 600 = semibold, 700 = bold
*/

h1 {
    font-size: 60px;
    font-weight: 600;
    line-height: 1.5;
}

p.h1-subeng {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
}

p.h1-subjp{
    font-size: 32px;
    font-weight: 600;
    line-height: 1.6;
}

h2.h2-eng {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
}

h2.h2-intro {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.6;
}

p.ex-large{
    font-size: 24px;
    font-weight: 600;
    line-height: 1.8;
}

p.large {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
}

.feature-title {
    font-weight: 600;
}

.flow-item dt, p.feature-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 2.0;
}

p.large-num {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.instagram {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

p.normal, .flow-item dd {
    font-size: 16px;
    font-weight: 400;
    line-height: 2.0;
}

.aboutme-detail {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}

p.small, .flow-category span, #aboutme span {
    font-size: 14px;
    font-weight: 400;
}

footer {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 400;
}

/* ヘッダー */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

/* ハンバーガーメニュー */
.hammenu-wrap {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background-color: #ffffff;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hammenu {
    width: 30px;
    height: 30px;
    position: relative;
}

.hammenu span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #374251;
    transition: all .5s;
}

.hammenu span:nth-of-type(1) {
    top: 4px;
}

.hammenu span:nth-of-type(2) {
    top: 14px;
}

.hammenu span:nth-of-type(3) {
    top: 24px;
}

.hammenu.active span:nth-of-type(1) {
    top: 14px;
    left: 0px;
    transform: rotate(-45deg);
}

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

.hammenu.active span:nth-of-type(3) {
    top: 14px;
    left: 0px;
    transform: rotate(45deg);
}

/* Global Navigation */
.gnav {
    background-color: #ffffff;
    color: #374251;
    height: 100%;
    position: fixed;
    z-index: 20;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 100px;
    /* スタートは欄外から */
    right: -300px;
    transition: all 1.0s;
}

.gnav.active {
    right: 0px;
}

.gnav ul{
    display: flex;
    flex-direction: column;
    row-gap: 40px;
} 

.gnav a:hover {
    color: #30ADD1;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #374251;
    opacity: 0.5;
    z-index: 2;
}

/* メインビジュアル */
#mainvisual {
    height: calc(100vh - 0px);
    background-image: url(../images/mainvisual_pc.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    background-color: #374251;
    color: #ffffff;
    width: fit-content;
    padding: 10px 20px;
    margin: 10px auto;
}

.h1-subeng {
    background-color: #374251;
    color: #ffffff;
    width: fit-content;
    padding: 10px 20px;
}

.h1-subjp {
    background-color: #ffffff;
    width: fit-content;
    padding: 15px 20px;
}

/* main共通 */
section {
    max-width: 1050px;
    padding: 50px 25px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

h2 {
    margin-bottom: 10px;
}

/* Introduction */
#intro {
    margin-top: 50px;
}

.problem-wrap{
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
    row-gap: 50px;
    justify-content: center;
}

.problem-item{
    width: 300px;
    height: 160px;
    background-color: #ffffff;
    border: 2px solid #30ADD1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.triangle-sol {
    background-color: #30ADD1;
    height: 20px;
    width: 40px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    margin: 50px auto 30px;
}

.solution {
    text-align: center;
}

/* Service */
.service-top, .service-bottom {
    text-align: center;
}

.service-middle {
    display: flex;
    column-gap: 50px;
    margin: 30px auto;
}

.service-item {
    width: calc((100% - 50px) / 2);
    border: 2px solid #30ADD1;
}

.service-item-title {
    text-align: center;
    padding: 20px;
    background-color: #30ADD1;
    color: #ffffff;
}

.service-item-text {
    padding: 20px 30px;
}

/* Features */
.feature-item-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.feature-title {
    width: calc((100% - 80px) / 2);
}

.feature-title-space {
    width: 20px;
}

.before-item {
    background-color: #F2F2F2;
    padding: 20px;
    border-radius: 5px;
    width: calc((100% - 80px) / 2);
}

.after-item {
    background-color: #30ADD1;
    color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    width: calc((100% - 80px) / 2);
}

.feature-item-wrap span {
    color: #ffff00;
}

.feature-arrow {
    background-color: #30ADD1;
    height: 20px;
    width: 15px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    margin-left: 5px;
}

/* Flow */
.flow-top {
    text-align: center;
    margin-bottom: 30px;
}

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

.flow-item {
    display: flex;
    flex-direction: column;
    width: 210px;
}

.flow-item p.normal {
    background-color: #30ADD1;
    color: #ffffff;
    padding: 10px;
    text-align: center;
}

.flow-item p.small {
    background-color: #EAF7FB;
    padding: 15px 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.flow-arrow {
    background-color: #30ADD1;
    height: 18px;
    width: 14px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    margin: auto 5px;
}

/* Price */
#price {
    text-align: center;
}

.price-detail {
    background-color: #30ADD1;
    color: #ffffff;
    padding: 20px;
    margin-bottom: 30px;
}

.price-ref {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    column-gap: 30px;
    align-items: center;
}

.price-ref-left, .price-ref-right {
    background-color: #EAEBED;
    padding: 20px;
}

/* Contacts */
.contact-wrap {
    text-align: center;
}

.googleform {
    color: #ffffff;
    display: inline-block;
    background-color: #374251;
    border-radius: 5px;
    margin-top: 20px;
    padding: 20px 50px;
}

.googleform:hover {
    background-color: #30ADD1;
}

/* Works */
.pf_item_wrap {
    width: 600px;
    margin: 0 auto;
}


.pf_item {
    width: fit-content;
    margin: 0 auto;
}

.pf_item img {
    height: 450px;
    width: auto;
    text-align: center;
}

.pf_text_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 15px;
    padding: 0 5px;
}

.pf_text_bottom{
    margin: 10px 0;
    padding: 10px 5px;
}

.pf_large {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.pf_normal {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: end;
}

.instagram-wrap {
    text-align: center;
}

.instagram-wrap p{
    padding-top: 30px;
}

.instagram {
    margin-top: 20px;
    color: #E1306C;
    border: 1px solid #E1306C;
    display: inline-block;
    padding: 15px 50px;
    background-color: #ffffff;
    border-radius: 5px;
}

.instagram:hover {
    color: #ffffff;
    border: #ffffff;
    background: linear-gradient(to bottom left, #833AB4, #E1306C, #FCAF45);
}

/* slick */
.slick-dots li button:before{
    font-size: 10px;
}

.slick-prev:before, .slick-next:before {
    color: #333333;
    font-size: 28px;
}

.slick-prev{
    left: -40px;
}

.slick-next {
    right: -30px;
}

/* About Me */
#aboutme p {
    text-align: center;
}

.aboutme-detail {
    width: fit-content;
    margin: 30px auto 50px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    list-style-type: circle;
    padding: 20px 20px 20px 40px;
    /* ↓374521の10% */
    background-color: #EAEBED;
}

/* フッター */
footer {
    background-color: #374251;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
}

/* PageTop*/
.pagetop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    opacity: 0;
    transform: translateY(100px);
}
  
.pagetop a{
    width: 40px;
    height: 40px;
    background-color: #374251;
    border-radius: 5px;
    display: block;
    transition: all 0.3s;
    position: relative;
}
  
.pagetop a::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 15px;
    left: 13px;
    transform: rotate(-45deg);
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-radius: 2px;
}
  
.pagetop a:hover{
    background-color: #30ADD1;
    color: #ffffff;
}

/*　上に上がる動き　*/
.pagetop.pt-up{
    animation: ptupAnime 1.0s forwards;
}
@keyframes ptupAnime{
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
.pagetop.pt-down{
    animation: ptdownAnime 1.0s forwards;
}
@keyframes ptdownAnime{
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(50px);
    }
}

/* ふわっと表示 */

.fade-block {
	opacity: 0;
	transform: translateY(100px);
	transition: all 0.8s ease-out;
}

.fade-block.blockIn {
	opacity: 1;
	transform: translateY(0);
}

/* --------------------
    for SP size 
-------------------- */
@media screen and (max-width: 768px){

    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    /* フォント関連 */

    h1 {
        font-size: 40px;
    }
    
    p.h1-subjp, h2.h2-intro {
        font-size: 24px;
    }

    h2.h2-eng {
        font-size: 28px;
    }
    
    p.ex-large{
        font-size: 20px;
    }

    p.large, .flow-item dt, p.feature-title {
        font-size: 16px;
        line-height: 1.6;
    }

    p.h1-subeng, p.large-num {
        font-size: 16px;
    }

    .instagram {
        font-size: 14px;
    }

    p.normal, .flow-item dd {
        font-size: 14px;
        line-height: 1.8;
    }

    .aboutme-detail, p.small, .flow-category span, #aboutme span {
        font-size: 12px;
    }

    /* main共通 */

    .linebreak {
        display: block;
    }

    section {
        padding: 30px 25px 40px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    /* メインビジュアル */
    #mainvisual {
        background-image: url(../images/mainvisual_sp.png);
    }

    /* Introduction */
    #intro {
        margin-top: 30px;
    }

    .problem-wrap{
        column-gap: 20px;
        row-gap: 20px;
    }
    
    .problem-item{
        height: 110px;
    }

    .triangle-sol {
        height: 15px;
        width: 30px;
        margin: 30px auto 20px;
    }

    /* Service */
    .service-middle {
        row-gap: 20px;
        margin: 20px auto;
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 100%;
    }

    .service-item-title {
        padding: 10px 20px;
    }

    .service-item-text {
        padding: 15px 30px;
    }

    /* Features */ 
    .feature-item-wrap {
        column-gap: 15px;
        margin-bottom: 15px;
    }

    .feature-title {
        width: calc((100% - 42px) / 2);
    }

    .before-item, .after-item {
        width: calc((100% - 42px) / 2);
        padding: 10px;
    }

    .triangle-flow {
        background-color: #30ADD1;
        height: 15px;
        width: 10px;
        margin-left: 2px;
    }

    /* Flow */
    .flow-wrap {
        flex-direction: column;
    }

    .flow-item {
        width: 100%;
    }

    .flow-item p.normal {
        padding: 5px;
    }
    
    .flow-item p.small {
        padding: 10px 20px;
    }

    .flow-arrow {
        height: 12px;
        width: 15px;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        margin: 10px auto;
    }

    /* Price */
    .price-detail {
        margin-bottom: 20px;
    }

    .price-ref {
        margin-top: 10px;
        column-gap: 10px;
    }

    .price-ref-left, .price-ref-right {
        padding: 15px;
    }
    
    /* Works */
    .pf_item_wrap {
        width: 100%;
    }

    .pf_item img {
        height: auto;
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    .pf_large {
        font-size: 16px;
    }

    .pf_normal {
        font-size: 12px;
    }

    .pf_text_bottom {
        margin: 5px 0 0;
        padding: 10px 5px 0;
    }

    .instagram {
        padding: 15px 40px;
    }

    .instagram-wrap p{
        padding-top: 20px;
    }

    /* slick */
    .slick-prev:before, .slick-next:before {
        font-size: 18px;
    }

    .slick-prev{
        left: -15px;
    }

    .slick-next {
        right: -15px;
    }

    /* About Me */
    .aboutme-detail {
        margin: 20px auto;
    }

    /* フッター */
    footer {
        padding: 20px 0px;
    }

    /* ふわっと表示テンプレ */

    .fade-block, .fade-block-delay {
        transform: translateY(50px);
    }

    .fade-right1, .fade-right2, .fade-left1, .fade-left2 {
        opacity: 1;
        transform: translateX(0);
        transition: none;
    }

    .fade-right3 {
        transform: translateX(800px);
        transition: all 1.2s ease-out;
        transition-delay: 0.2s;
    }

    .fade-left3 {
        transform: translateX(-800px);
        transition: all 1.2s ease-out;
        transition-delay: 0.2s;
    }

    .fade-right3.blockIn,
    .fade-left3.blockIn {
        opacity: 1;
        transform: translateX(0);
    }
}
