/* 全体の設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    user-select: none;
    color: black;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}


/* ヘッダ部 */
header {
    width: 100%;
    height: 80px;
}

header nav {
    height: 80px;
    width: 100%;
    text-align: center;
    z-index: 1000;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 5px 3%;
    transition: all 0.6s;
}

header nav .logo-link {
    text-decoration: none;
}

header nav .logo {
    font-family: sans-serif;
    font-size: 2rem;
    font-weight: 1000;
    /* color: black; */
    width: 150px;
    cursor: pointer;
    font-weight: 1000;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: 5%;
}


header nav .logo:hover {
    transform: scale(1.05);
    color: lightskyblue;
}

header nav ul li {
    display: inline-block;
    list-style: none;
    margin: 0 30px;
}

header nav ul li a {
    text-decoration: none;
    /* color: black; */
}

header nav ul li a:hover {
    text-decoration: none;
    color: lightskyblue;
}

header nav ul li .contact {
    display: flex;
    align-items: center;
    height: 36px;
    color: white;
    background-color: black;
    border-radius: 30px;
    padding: 0 12px;
}

header nav ul li .contact:hover {
    background-color: lightskyblue;
    color: white;
}

header nav .menu-icon {
    display: none;
}

@media (max-width: 768px) {
    header {
        height: 60px;
    }

    header nav {
        height: 60px;
    }

    header nav ul {
        display: none;
    }

    header nav .logo {
        font-size: 1.5rem;
    }

    header nav .menu-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
        margin-right: 10px;
    }

    header nav .menu-icon img {
        display: block;
        width: 30px;
        height: 30px;
    }
}

/* 共通 */
body h1 {
    font-size: 2rem;
    font-weight: 800;
    color: black;
    padding-bottom: 10px;
}

.contents-area {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    body h1 {
        font-size: 1rem;
        font-weight: 800;
        /* color: black; */
        padding-bottom: 5px;
    }

    body p {
        font-size: 0.7rem;
    }

    .contents-area {
        padding-bottom: 20px;
    }
}

/* メインエリア */
body .main-area {
    background-image: url(../assets/images/青森の海.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

body .main-area a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    body .main-area {
        height: 40vh;
        text-align: left;
    }
    body .main-area a {
        font-size: 2.5rem;
    }
}

body .view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    height: 50px;
    width: 200px;
    color: lightskyblue;
    border: 1.5px solid lightskyblue;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

body .view-more:hover {
    color: lightskyblue;
    font-weight: bold;
    border: 2px solid lightskyblue;
}

body .app-area {
    text-align: center;
}

body .app-area .app-item-area {
    display: flex;
    justify-content: center;
}

body .app-area .app-item-area .app-item {
    width: 30vh;
    display: flex;
    /* Flexboxを適用 */
    flex-direction: column;
    /* 縦方向に要素を配置 */
    align-items: center;
    /* 子要素を中央揃え */
    transition: transform 0.3s ease, border 0.3s ease;
    margin: 1% 1%;
    /* 外側の余白 */
    text-align: center;
    /* テキスト中央揃え */
}

body .app-area .app-item-area .app-item .img-container {
    display: flex;
    align-items: center;
    width: 25vh;
    height: 25vh;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin: 0 auto;
}

body .app-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

body .app-area .aokizi {
    object-position: center 31%;
}

body .app-area .app-item-area a {
    text-decoration: none;
    /* color: black; */
}

body .app-area p {
    text-decoration: none;
    color: black;
    padding-top: 10px;
    padding-bottom: 10px;
}

body .app-area .app-item:hover {
    transform: scale(1.01);
}

body .app-area .app-item h3 {
    color: balck;
    font-size: 1rem;
    font-weight: 800;
    padding-top: 10px;
}

body .app-area .app-item p {
    color: black;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    body .app-area .app-item-area .app-item .img-container {
        width: 10vh;
        height: 10vh;
    }

    body .app-area .app-item h3 {
        font-size: 0.7rem;
    }

    body .app-area .app-item p {
        font-size: 0.7rem;
    }
}

/* ブログエリア */

body .blog-area {
    text-align: center;
}

body .blog-area .blog-item-area {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

body .blog-area .blog-item {
    transition: transform 0.3s ease, border 0.3s ease;
    margin: 1% 1%;
}

body .blog-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

body .blog-area .aokizi {
    object-position: center 31%;
}

body .blog-area .blog-item-area a {
    text-decoration: none;
    /* color: black; */
}

body .blog-area p {
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

body .blog-area .blog-item-area .blog-item .img-container {
    width: 40vh;
    height: 20vh;
    position: relative;
    transition: transform 0.1s ease, border 0.1s ease;
}

body .blog-area .blog-item:hover {
    transform: scale(1.01);
}

body .blog-area .blog-item h3 {
    color: balck;
    font-size: 1rem;
    font-weight: 800;
    padding-top: 10px;
}

body .blog-area .blog-item p {
    /* color: black; */
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    /* body .blog-area .blog-item-area .blog-item .img-container {
        width: 15vh;
        height: 8vh;
    } */
    body .blog-area .blog-item h3 {
        font-size: 0.8rem;
    }

    body .blog-area .blog-item p {
        font-size: 0.7rem;
    }
}

/* お問い合わせ */
body .contact-area {
    width: 100%;
    text-align: center;
}

body .contact-area h2 {
    font-size: 1.5rem;
    font-weight: 800;
    /* color: black; */
    padding-top: 10px;
    padding-bottom: 10px;
}

body .contact-area p {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 2%;
    margin-bottom: 2%;
}

body .contact-area p a {
    text-decoration: none;
    /* color: black; */
}

body .contact-area p a:hover {
    text-decoration: none;
    color: lightskyblue;
}

body .contact-area .social-icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    margin: 5px 40%;
}

body .contact-area .icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

body .contact-area .icon img {
    width: 80%;
    height: auto;
}

body .contact-area .icon:hover {
    transform: scale(1.05);
}


/* フッター部 */
footer {
    width: 100%;
    color: white;
    background-color: #000;
    background-position: center;
    background-size: cover;
    text-align: center;

}

footer nav {
    width: 100%;
    text-align: center;
    z-index: 1000;
    top: 0;
    left: 0;
    align-items: center;
    padding: 5px 3%;
    transition: all 0.6s;
}

footer .logo-link {
    display: flex;
    text-decoration: none;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 5px 3%;
}

footer .logo {
    font-size: 2rem;
    font-weight: 1000;
    color: white;
    width: 150px;
    cursor: pointer;
    text-align: center;
    transition: all 100s ease;
    z-index: 0;
}

footer .logo:hover {
    transform: scale(100);
    font-weight: 1000;
}

footer nav ul li {
    display: inline-block;
    list-style: none;
    margin: 20px 30px;
}

footer nav ul li a {
    text-decoration: none;
    color: white;
}

footer nav ul li a:hover {
    text-decoration: none;
    color: lightskyblue;
}

footer p {
    font-size: 0.8rem;
    padding: 15px 3%;
}

@media (max-width: 768px) {
    footer {
        height: 30px;
    }

    footer nav {
        display: none;
    }

    footer .logo-link {
        display: none;
    }

    footer p {
        font-size: 0.8rem;
        padding: 5px;
    }
}


/* ブログ記事用 */
.blog-content {
    .text {
        padding: 20px 20%;
    }

    h1 {
        text-align: center;
        color: black;
        padding-top: 20px;
        padding-bottom: 20px;
        font-family: 'Helvetica Neue', Arial, sans-serif;
        font-size: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
        background: linear-gradient(to right, #0f0fc5, #000);
        background-clip: text;
        color: transparent;
    }

    h2 {
        text-align: left;
        color: black;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 2rem;
        color: #555;
        border-bottom: 2px solid #05056d;
        padding-bottom: 0.5rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    h3 {
        text-align: left;
        color: black;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 1.5rem;
        color: #777;
        margin-top: 1.5rem;
        margin-bottom: 1rem;

    }

    p {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 1rem;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    li {
        padding: 10px 20px;
        margin: 10px 0;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;
    }

    li:hover {
        background-color: #e0e0e0
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        background-color: #fff;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    th {
        background-color: #333;
        color: #fff;
        text-align: left;
        padding: 10px;
        font-weight: bold;
    }

    td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    tr:hover {
        background-color: #f0f0f0;
    }

    tr:nth-child(odd) {
        background-color: #f9f9f9;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 500px;

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }

    .bubble-area {
        display: flex;
        align-items: flex-end;
    }

    .icon {
        width: 70px;
        height: 70px;
        margin-right: 10px;
        margin-left: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 50%;
        object-fit: cover;
    }

    .bubble {
        font-size: 15px;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
        background-color: transparent;
        color: #333;
        position: relative;
        border: 2px solid #333;
        border-radius: 30px;
        font-weight: bold;
        width: 50%;
    }

    .bubble.up:after {
        content: "";
        position: absolute;
        border-style: solid;
        border-width: 0 10px 10px 10px;
        border-color: transparent transparent #333 transparent;
        display: block;
        width: 0;
        z-index: 1;
        top: -10px;
        left: 20px;
    }

    .bubble.down:after {
        content: "";
        position: absolute;
        border-style: solid;
        border-width: 10px 10px 0 10px;
        border-color: #333 transparent transparent transparent;
        display: block;
        width: 0;
        z-index: 1;
        bottom: -10px;
        left: 20px;
    }

    .bubble.right {
        margin-left: auto;
        margin-right: 0;
    }

    .bubble.right:after {
        content: "";
        position: absolute;
        border-style: solid;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #333;
        display: block;
        width: 0;
        z-index: 1;
        right: -10px;
        bottom: 20px;
    }

    .bubble.left:after {
        content: "";
        position: absolute;
        border-style: solid;
        border-width: 10px 10px 10px 0;
        border-color: transparent #333 transparent transparent;
        display: block;
        width: 0;
        z-index: 1;
        left: -10px;
        bottom: 20px;
    }
}