*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
}

/* ヘッダーエリア */

header{
    position: fixed;
    z-index: 5;
    width:100%;
}

.header-wrapper{
    z-index: 5;
    display: flex;
    width:85vw;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding:20px 0;
}

.header-wrapper img{
    width:300px;
    height: auto;
}

.header-wrapper ul{
    display: flex;
    align-items: center;
    text-align: center;
    height:100%;
    width:330px;
}

.header-wrapper li{
    list-style: none;
    width:25%;
}

.header-wrapper a{
    text-decoration: none;
    font-size:20px;
    font-family: 'Roboto Slab', serif;
    color:#696969;
}

/* ハンバーガーメニュー */

.hamburger{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    position: relative;
    z-index: 10;
}

.hamburger span{
    display: block;
    width: 100%;
    height: 3px;
    background-color: #696969;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: 0.3s;
}

.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 13px; }
.hamburger span:nth-child(3){ top: 26px; }

.hamburger.active span:nth-child(1){
    top: 13px;
    transform: rotate(45deg);
}
.hamburger.active span:nth-child(2){
    opacity: 0;
}
.hamburger.active span:nth-child(3){
    top: 13px;
    transform: rotate(-45deg);
}

/* フッターエリア */

footer{
    width:100%;
    background-color: #0C4B89;
    padding: 40px 0;
}

.footer-wrapper{
    display: flex;
    width:85vw;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.footer-wrapper img{
    width:200px;
    opacity:0.9;
}

.footer-wrapper ul{
    display: flex;
    align-items: center;
    text-align: center;
    width:300px;
}

.footer-wrapper li{
    list-style: none;
    width:25%;
}

.footer-wrapper a{
    text-decoration: none;
    font-size:16px;
    font-family: 'Roboto Slab', serif;
    color:#ffffff;
}

/* topエリア */

.top-area{
    text-align: center;
    width:100%;
    height:700px;
    position: relative;
    background-color: #e0ffff;
    overflow: hidden;
    animation: topBackground 35s -3s linear infinite;
}

@keyframes topBackground{
    20% {background-color: #e0ffff;}
    30% {background-color: #ffa500;}
    50% {background-color: #191970;}
    90% {background-color: #191970;}
    100% {background-color: #ffa500;}
}

/* 星 */

.stars{
    width:100%;
    height:300px;
    position:relative;
    margin-top:18vh;
    animation: starsapper 35s  linear infinite;
    transition:all 1s ease;
    opacity:0;
}

.star {
    position:absolute;
    width:fit-content;
    height:fit-content;
}

@keyframes starsapper{
    35%{opacity:0;}
    62%{opacity:1;}
    85%{opacity:0;}
    100%{opacity:0;}
}

.stars img{
    width:15px;
    height:15px;
}

.star1{
    top:90px;
    right:50%;
    animation: shiningstar1 0.6s  linear alternate infinite;
}
.star2{
    top:40px;
    right:30%;
    animation: shiningstar2 0.3s  linear alternate infinite;
}
.star3{
    top:80px;
    right:80%;
    animation: shiningstar3 1s  linear alternate infinite;
}
.star4{
    top:50px;
    right:70%;
    animation: shiningstar4 0.8s  linear alternate infinite;
}
.star5{
    top:100px;
    right:25%;
    animation: shiningstar5 0.4s  linear alternate infinite;
}
.star6{
    top:20px;
    right:40%;
    animation: shiningstar6 0.5s  linear alternate infinite;
}
.star7{
    top:123px;
    right:60%;
    animation: shiningstar7 0.8s  linear alternate infinite;
}
.star8{
    top:17px;
    right:60%;
    animation: shiningstar8 1s  linear alternate infinite;
}
.star9{
    top:93px;
    right:50%;
    animation: shiningstar9 0.7s  linear alternate infinite;
}
.star10{
    top:87px;
    right:15%;
    animation: shiningstar10 0.6s  linear alternate infinite;
}

@keyframes shiningstar1{
    0% {opacity:0;}
    20%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar2{
    0% {opacity:0;}
    60%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar3{
    0% {opacity:0;}
    50%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar4{
    0% {opacity:0;}
    10%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar5{
    0% {opacity:0;}
    70%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar6{
    0% {opacity:0;}
    37%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar7{
    0% {opacity:0;}
    62%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar8{
    0% {opacity:0;}
    56%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar9{
    0% {opacity:0;}
    48%{opacity:0;}
    100% {opacity:1;}
}
@keyframes shiningstar10{
    0% {opacity:0;}
    89%{opacity:0;}
    100% {opacity:1;}
}

/* 太陽と月 */

.sunmoon{
    width:1000px;
    height:800px;
    background-repeat: no-repeat;
    text-align: center;
    position: absolute;
    bottom:-250px;
    left:0;
    right:0;
    margin: auto;
    animation: summoonRotate 35s -3s linear infinite;
    border-radius: 50%;
}

.sunmoon img{
    position: absolute;
    margin:auto;
}

img.sun{
    width:150px;
    height:150px;
    left:0;
    bottom:0;
    top:0;
}
img.moon{
    width:100px;
    height:150px;
    right:0;
    bottom:0;
    top:0;
}

@keyframes summoonRotate{
    0% {transform: rotate(90deg);}
    33% {transform: rotate(180deg);}
    66% {transform: rotate(270deg);}
    100% {transform: rotate(360deg);}
}


/* 波のアニメーション */

.ocean-animation{
    height:100px;
    width:100%;
    position:absolute;
    bottom:0;
    overflow: hidden;
}

.wave{
    background:url(image/wave-animation.svg);
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-position: bottom;
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: wave 18s -3s linear;
    opacity: 0.8;
}

.wave2{
    bottom: 0;
    animation: wave 25s linear reverse infinite;
    opacity: 0.5;
}

.wave3{
    bottom: 0;
    animation: wave 30s -1s linear infinite;
    opacity: 0.5;
}

@keyframes wave {
    0% {transform: translateX(0);}
    50% {transform: translateX(-25%);}
    100% {transform: translateX(-50%);}
}

/* トップエリアの文章 */

.top-catch-copy{
    width:fit-content;
    max-width: 90%;
    height:fit-content;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin: auto;
    padding: 0 5%;
}

.top-catch-copy h1{
    color: #CD3F3F;
    font-size:32px;
    margin-bottom:0.5em;
    animation: topLettercolor 35s -3s linear infinite;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.top-catch-copy p{
    color: #CD3F3F;
    font-size:20px;
    font-weight: 900;
    animation: topLettercolor 35s -3s linear infinite;
    font-family: 'Zen Maru Gothic', sans-serif;
}

@keyframes topLettercolor{
    20% {color: #CD3F3F;}
    30% {color: #ffffff;}
    50% {color: #ffffff;}
    90% {color: #ffffff;}
    100% {color: #CD3F3F;}
}

/* about business */

.about-business{
    width:100%;
    background-color:#ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
}

.business-overview{
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.business-overview h2{
    padding-bottom:50px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size:28px;
    color: #CD3F3F;
}

.business-overview p{
    line-height:2.5em;
}

/* Serviceエリア */

.about-service{
    width:100%;
    padding: 60px 0 80px;
    background-color: #f5f5f5;
}

.about-service h2{
    text-align: center;
    font-size:36px;
    font-weight:900;
    color:#0C4B89;
    padding-bottom:20px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.about-service h2::after{
    content:"Service";
    display: block;
    font-size:16px;
    color: #0C4B89;
    font-family: 'Roboto Slab', serif;
}

.service-overview{
    width:70%;
    max-width:900px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.service-blocks{
    width: 90%;
    max-width:1100px;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px auto 0;
}

.service-block{
    flex: 1;
    max-width: 320px;
    background-color: #ffffff;
    box-shadow: 1px 1px 5px 2px #c0c0c0;
    border-radius:10px;
    text-align: center;
    padding: 0 1.5em 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .2s ease-in;
}

.service-block:hover{
    transform: scale(1.05);
}

.service-block img{
    width:140px;
    padding:20px 0 10px 0;
}

.service-block h3{
    font-size:15px;
    color: #0C4B89;
    margin-bottom:1em;
}

.service-description{
    flex: 1;
}

.service-block p{
    font-size:13px;
    text-align: left;
}

.service-block a{
    display: block;
    width:100%;
    padding: 14px 8px;
    background-color:#0C4B89;
    color: #ffffff;
    text-decoration: none;
    font-size:13px;
    border-radius: 5px;
    margin-top: auto;
    white-space: nowrap;
}

.service-block2 a{
    font-size:11px;
}

/* contact */

.contact{
    width: 100%;
    padding: 80px 5%;
}

.contact h2{
    text-align: center;
    font-size:36px;
    font-weight:900;
    color:#0C4B89;
    padding-bottom:40px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.contact p{
    padding-bottom:40px;
    text-align: center;
}

.contact-form-wrapper{
    width: 100%;
    max-width:700px;
    margin: 0 auto;
}

.contact-form-wrapper form{
    width: 100%;
    max-width: 430px;
    margin:0 auto;
}

.form-item{
    padding-bottom:10px;
}

.form-item label{
    padding-bottom:0.5em;
    font-size:18px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.contact-form-wrapper input{
    height: 40px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea{
    width: 100%;
    border:none;
    box-shadow: 1px 1px 4px 2px #c0c0c0;
}

.contact-form-wrapper textarea{
    height:150px;
}

.form-label{
    display: block;
}

.form-submit{
    width: fit-content;
    margin: 0 auto;
    padding-top: 20px;
}

.form-submit button{
    width: 150px;
    height:60px;
    font-size:18px;
    background:#0C4B89;
    color: #ffffff;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.2em;
    cursor: pointer;
    border: none;
}

/* profile */

.profile{
    width: 100%;
    padding: 60px 5%;
    background-color: #f5f5f5;
}

.profile-wrapper{
    width: 100%;
    max-width:800px;
    margin:0 auto;
}

.profile-blocks{
    width:100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.profile-wrapper h2{
    color:#0C4B89;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 900;
    padding:1.5em 0;
    text-align: center;
}

.profile-wrapper h2::after{
    content:"profile";
    display: block;
    font-size:16px;
    color: #0C4B89;
    font-family: 'Roboto Slab', serif;
}

.profile-content h3{
    text-align: center;
    margin-top:1em;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.profile-photo{
    text-align: center;
}

.profile-photo img{
    width:250px;
    margin-bottom:1em;
    border-radius: 10px;
}

.profile span{
    font-size:20px;
    color:#0C4B89;
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.profile span::before{
    content:"ふくなが　たくみ";
    display: block;
    font-size:12px;
    color:#0C4B89;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
.profile span::after{
    content:"Takumi Fukunaga";
    display: block;
    font-size:12px;
    color:#0C4B89;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.profile-content p{
    text-align: left;
    margin-top:1em;
    line-height: 2em;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.introduction,
.about-work{
    width: 45%;
}

/* thanks messageページ */

.thanks-page{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thanks-page main{
    flex: 1;
}

.thanks-message{
    width:100%;
    padding: 160px 5% 80px;
}

.message-area{
    max-width: 700px;
}

.message-area h1{
    font-size:28px;
    color:#0C4B89;
    font-family: 'Zen Maru Gothic', sans-serif;
    margin-bottom:.7em;
}

.message-area p{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size:16px;
}

/* SEOページ */

.SEO-wrapper{
    width: 100%;
    padding-top: 160px;
}

.SEO-content-container{
    width:100%;
    padding-top:50px;
}

.SEO-heading-part{
    width:100%;
    padding: 40px 0;
    background-color: #0C4B89;
}

.SEO-heading-content{
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    line-height: 2.8em;
}

.SEO-heading-image{
    width: fit-content;
    float: right;
}

.SEO-heading-content h1{
    font-size:36px;
    color:#ffffff;
    letter-spacing: 0.1em;
}

.SEO-heading-content span,
.SEO-heading-desc{
    color: #ffffff;
    font-size:14px;
}

.breadcrumbs-list a{
    color: #ffffff;
    text-decoration: none;
}

.breadcrumbs-list ul{
    display: flex;
    width: 120px;
    justify-content: space-around;
}

.breadcrumbs-list li:first-child::after{
    content: "＞";
    padding-left:.5em;
}

.breadcrumbs-list li{
    color: #ffffff;
    list-style: none;
    font-size: 13px;
    opacity: 0.8;
}

.SEO-item-wrapper{
    width: 90vw;
    margin:0 auto;
    padding: 40px 0;
}

.SEO-item-box{
    width:85%;
    margin: 40px auto;
    padding: 60px 0;
    background-color: #ffffff;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow:  20px 20px 40px #b3b3b3,
             -20px -20px 40px #ffffff;
}

.box-items{
    width: 100%;
}

.SEO-item{
    width: 90%;
    border: 2px solid #0C4B89;
    margin:0 auto 5%;
    border-radius: 14px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* 奇数: 番号左 + テキスト右 */
.SEO-item-odd{
    flex-direction: row;
}

/* 偶数: テキスト左 + 番号右 */
.SEO-item-even{
    flex-direction: row-reverse;
}

.SEO-item-number{
    width: 200px;
    min-width: 200px;
    background-color: #0C4B89;
    color: #ffffff;
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.SEO-item-odd .SEO-item-number{
    border-radius: 10px 0 0 10px;
}

.SEO-item-even .SEO-item-number{
    border-radius: 0 10px 10px 0;
}

.SEO-item-content{
    flex: 1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.SEO-item-content h2{
    font-size: 20px;
    color: #0C4B89;
    margin-bottom: 15px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.SEO-item-content p{
    font-size: 14px;
    line-height: 1.9em;
    color: #333;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* ========================================
   レスポンシブ - タブレット (768px以下)
   ======================================== */

@media screen and (max-width: 768px){

    /* ヘッダー */
    .header-wrapper{
        width: 92%;
        padding: 12px 0;
    }

    .header-wrapper img{
        width: 180px;
    }

    .hamburger{
        display: block;
    }

    header nav{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.97);
        z-index: 9;
    }

    header nav.open{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-wrapper ul{
        flex-direction: column;
        width: auto;
        gap: 40px;
    }

    .header-wrapper li{
        width: auto;
    }

    .header-wrapper a{
        font-size: 24px;
    }

    /* トップエリア */
    .top-area{
        height: 480px;
    }

    .top-catch-copy h1{
        font-size: 22px;
    }

    .top-catch-copy p{
        font-size: 16px;
    }

    .sunmoon{
        width: 550px;
        height: 450px;
        bottom: -130px;
    }

    img.sun{
        width: 100px;
        height: 100px;
    }

    img.moon{
        width: 70px;
        height: 100px;
    }

    /* about business */
    .about-business{
        padding: 50px 5%;
    }

    .business-overview h2{
        font-size: 22px;
        padding-bottom: 30px;
    }

    .business-overview p{
        line-height: 2em;
        font-size: 14px;
    }

    /* サービスエリア */
    .about-service{
        padding: 40px 0 50px;
    }

    .about-service h2{
        font-size: 28px;
    }

    .service-overview{
        width: 90%;
        font-size: 14px;
    }

    .service-blocks{
        flex-direction: column;
        align-items: center;
        width: 90%;
        gap: 25px;
    }

    .service-block{
        max-width: 400px;
        width: 100%;
    }

    .service-block:hover{
        transform: none;
    }

    .service-block a{
        white-space: normal;
    }

    /* コンタクト */
    .contact{
        padding: 50px 5%;
    }

    .contact h2{
        font-size: 28px;
    }

    .contact p{
        font-size: 14px;
    }

    /* プロフィール */
    .profile{
        padding: 40px 5%;
    }

    .profile-blocks{
        flex-direction: column;
        gap: 0;
    }

    .introduction,
    .about-work{
        width: 100%;
    }

    /* フッター */
    .footer-wrapper{
        width: 92%;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-wrapper img{
        width: 150px;
    }

    .footer-wrapper ul{
        width: auto;
        gap: 15px;
    }

    /* thanks message */
    .thanks-message{
        padding: 120px 5% 60px;
    }

    .message-area h1{
        font-size: 22px;
    }

    /* SEOページ */
    .SEO-heading-part{
        padding: 30px 0;
    }

    .SEO-heading-content{
        line-height: 2em;
    }

    .SEO-heading-content h1{
        font-size: 28px;
    }

    .SEO-item-wrapper{
        width: 95%;
    }

    .SEO-item-box{
        width: 95%;
        margin: 30px auto;
        padding: 40px 0;
    }

    .SEO-item{
        width: 92%;
        flex-direction: column !important;
    }

    .SEO-item-number{
        width: 100%;
        min-width: unset;
        height: 80px;
        font-size: 40px;
        border-radius: 10px 10px 0 0 !important;
    }

    .SEO-item-content{
        padding: 20px 25px;
    }

    .SEO-item-content h2{
        font-size: 18px;
    }

    .SEO-item-content p{
        font-size: 13px;
    }
}

/* ========================================
   レスポンシブ - スマホ (480px以下)
   ======================================== */

@media screen and (max-width: 480px){

    .header-wrapper img{
        width: 140px;
    }

    /* トップエリア */
    .top-area{
        height: 380px;
    }

    .top-catch-copy h1{
        font-size: 17px;
    }

    .top-catch-copy p{
        font-size: 13px;
    }

    .sunmoon{
        width: 350px;
        height: 300px;
        bottom: -80px;
    }

    img.sun{
        width: 65px;
        height: 65px;
    }

    img.moon{
        width: 45px;
        height: 65px;
    }

    .stars{
        margin-top: 10vh;
    }

    /* about business */
    .about-business{
        padding: 40px 5%;
    }

    .business-overview h2{
        font-size: 17px;
        padding-bottom: 20px;
    }

    .business-overview p{
        font-size: 13px;
        line-height: 1.8em;
    }

    /* サービス */
    .about-service{
        padding: 30px 0 40px;
    }

    .about-service h2{
        font-size: 22px;
    }

    .service-overview{
        font-size: 13px;
    }

    .service-block img{
        width: 100px;
    }

    .service-block a{
        font-size: 12px;
        padding: 12px 6px;
    }

    .service-block2 a{
        font-size: 10px;
    }

    /* コンタクト */
    .contact{
        padding: 40px 5%;
    }

    .contact h2{
        font-size: 22px;
        padding-bottom: 20px;
    }

    .contact p{
        font-size: 13px;
        padding-bottom: 20px;
    }

    .form-item label{
        font-size: 15px;
    }

    .form-submit button{
        width: 130px;
        height: 50px;
        font-size: 16px;
    }

    /* プロフィール */
    .profile{
        padding: 30px 5%;
    }

    .profile-wrapper h2{
        padding: 1em 0;
    }

    .profile-photo img{
        width: 180px;
    }

    .profile-content p{
        font-size: 14px;
        line-height: 1.8em;
    }

    /* フッター */
    .footer-wrapper img{
        width: 120px;
    }

    .footer-wrapper a{
        font-size: 14px;
    }

    /* thanks message */
    .thanks-message{
        padding: 100px 5% 50px;
    }

    .message-area h1{
        font-size: 18px;
    }

    .message-area p{
        font-size: 14px;
    }

    /* SEO */
    .SEO-heading-content h1{
        font-size: 22px;
    }

    .SEO-heading-content span,
    .SEO-heading-desc{
        font-size: 12px;
    }

    .SEO-item-number{
        height: 60px;
        font-size: 32px;
    }

    .SEO-item-content{
        padding: 15px 20px;
    }

    .SEO-item-content h2{
        font-size: 16px;
        margin-bottom: 10px;
    }

    .SEO-item-content p{
        font-size: 12px;
        line-height: 1.7em;
    }

    .SEO-item-box{
        padding: 25px 0;
    }
}
