@charset "utf-8";

html {
    scroll-behavior: smooth;
}

body {
    font-family: "yu-gothic-pr6n", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 1.2px;
    color: #4d5156;
    min-width: 320px;
}

/* -----------font-----------*/
/* -----------jp-----------*/
.yu-gothic {
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.noto-sans-jp {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.WanpakuRuika {
    font-family: "wanpaku-ruika", sans-serif;
    font-weight: 100;
    font-style: normal;
}


/* -----------en-----------*/
.comfortaa {
    font-family: "Comfortaa", "yu-gothic-pr6n", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

img {
    width: 100%;
    height: auto;
}

.sp {
    display: block;
}

.pc {
    display: none;
}

/* * {
    transition: .5s;
} */

/* -----------共通-----------*/

.page_mainvisual {
    display: block;
    object-fit: cover;
    height: 500px;
    margin-bottom: 50px;
}

.main_content {
    padding-left: 40px;
}

.page_content {
    padding: 0px 10px 0 35px;
    margin: auto;
}


.page_content h1 {
    margin: 0 0 50px;
}

.page_message_box {
    margin: 0 0 100px;
}

.page_h2 {
    font-size: 50px;
    font-weight: bold;
}

.law_h2 {
    font-size: 25px;
    font-weight: bold;
}


/* -----------パンくずリスト-----------*/
.pankuzulist-box {
    margin-bottom: 50px;
}

.pankuzulist-box li {
    display: inline-block;
}

.pankuzulist-box li a,
.pankuzulist-box li span {
    text-decoration: none;
    color: #4D5156;
}


/* -----------content_left-----------*/

.content_left {
    color: #2B00FF;
}

.content_left_history {
    writing-mode: vertical-lr;
    width: fit-content;
    position: fixed;
    left: 10px;
    top: 20px;
    z-index: 900;
}

.content_left_daytimebox {
    writing-mode: vertical-lr;
    width: fit-content;
    height: fit-content;
    position: fixed;
    left: 10px;
    top: 210px;
    margin: auto;
    z-index: 900;
    display: flex;
}

#content_left_day,
#content_left_time {
    margin-top: 10px;
}

.content_left_time_box {
    display: flex;
    width: fit-content;
    margin: 10px auto 0;
    z-index: 900;
}

.content_left_message::before {
    content: "";
    writing-mode: vertical-rl;
    height: 100px;
    width: fit-content;
    position: fixed;
    top: 610px;
    left: 10px;
    margin: auto;
    animation: contentLeftMessage 10s 0s linear infinite;
    z-index: 900;
}

@keyframes contentLeftMessage {
    0% {
        content: "WEBDESIGN";
        opacity: 1;
    }

    10% {
        opacity: 0;
    }

    20% {
        content: "SYSTEM";
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    40% {
        content: "PROTECT";
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    60% {
        content: "EVENT";
        opacity: 1;
    }

    70% {
        opacity: 0;
    }

    80% {
        content: "SILK PRINT";
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
        content: "WEBDESIGN";
        opacity: 1;
    }
}



/* -----------content_h2-----------*/

.top_box h2 {
    font-size: 32px;
    letter-spacing: 6px;
    padding-left: 35px;
}

.SmileH2classname0,
.SmileH2classname1,
.SmileH2classname2,
.SmileH2classname3,
.SmileH2classname4,
.SmileH2classname5 {
    display: inline-block;
    /* inline-blockを入れないと横並び且つtransformが効かない */
}

.SmileH2classname0 {
    animation: alh2pattern0 2s 0s forwards;
}

.SmileH2classname1 {
    animation: alh2pattern1 2s 0s forwards;
}

.SmileH2classname2 {
    animation: alh2pattern2 2s 0s forwards;
}

.SmileH2classname3 {
    animation: alh2pattern3 2s 0s forwards;
}

.SmileH2classname4 {
    animation: alh2pattern4 2s 0s forwards;
}

.SmileH2classname5 {
    animation: alh2pattern5 2s 0s forwards;
}

@keyframes alh2pattern0 {
    0% {
        transform: rotate(-1585deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes alh2pattern1 {
    0% {
        transform: rotateX(-185deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes alh2pattern2 {
    0% {
        transform: rotateY(-2385deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes alh2pattern3 {
    0% {
        transform: scale(10);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes alh2pattern4 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes alh2pattern5 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateY(0);
    }
}

/* -----------SP header-----------*/
.header_logo {
    background-image: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    background-size: 600%;
    animation: gradation_logo 5s linear infinite;
    border: solid 1px #0055FF;
    display: block;
    width: 30px;
    height: 30px;
    padding: 10px;
    border-radius: 20px;
    position: fixed;
    left: 40px;
    top: 10px;
    transition: 1s;
    z-index: 1000;
}

.header_logo:hover {
    background: #0055FF;
    border: solid 1px #fff;
}


#header_menu_button {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    background-image: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    background-size: 600%;
    animation: gradation_logo 5s linear infinite;
    border: solid 1px #0055FF;
    display: block;
    position: fixed;
    right: 10px;
    top: 10px;
    cursor: pointer;
    z-index: 1000;
}

@keyframes gradation_logo {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#header_menu_button:hover {
    background: #0055FF;
    border: solid 1px #fff;
}

#header_menu_button span {
    display: block;
    width: 30px;
    height: 2px;
    background: #0055FF;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
}

.header_menu_line1 {
    top: 15px;
    animation: headerLine 3s 0s linear infinite;
}

.header_menu_line2 {
    top: 25px;
    animation: headerLine 3s 1s linear infinite;
}

.header_menu_line3 {
    top: 35px;
    animation: headerLine 3s 2s linear infinite;
}

@keyframes headerLine {
    25% {
        background: #2B00FF;
    }

    50% {
        background: #0055FF;
    }

    75% {
        background: #00D4FF;
    }

    100% {
        background: #4d5156;
    }
}


#header_menu_button.active .header_menu_line1 {
    transform: rotate(-585deg);
    height: 4px;
    top: 22px;
}


#header_menu_button.active .header_menu_line2 {
    transform: rotate(1000deg);
    opacity: 0;
}


#header_menu_button.active .header_menu_line3 {
    transform: rotate(585deg);
    top: 22px;
    height: 4px;
}


#header_all {
    width: 100%;
    max-width: 500px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    transition: 1s;
    transform: translateX(100%);
    padding: 80px 10px 10px;
    box-sizing: border-box;
    background: #E5EEFF;
    z-index: 999;
    overflow: scroll;
    -ms-overflow-style: none;
    /* IE(Internet Explorer)・Microsoft Edgeでスクロールバーを非表示にする */
}

/* Google Chrome・Safariでスクロールバーを非表示にする */
#header_all::-webkit-scrollbar {
    display: none;
}

#header_all.active {
    transform: translateX(0%);
}

.header_menu_box li {
    margin: 10px 0;
}

.header_menu_cat {
    font-weight: bold;
    font-size: 25px;
    margin-top: 30px;
}

.header_menu_box a {
    text-decoration: none;
    color: #2B00FF;
    font-weight: bold;
    font-size: 16px;
    transition: .5s;
    display: block;
}

.header_menu_box a:hover {
    opacity: 0.8;
}

/* -----------footer-----------*/

.footer_menu {
    margin: 50px 10px 30px 0;
    overflow: hidden;
    padding-left: 35px;
}

.footer_menu ul {
    padding: 10px 0;
    border-top: solid 1px #0055FF;
    border-bottom: solid 1px #0055FF;
    position: relative;
}


.footer_menu ul::before,
.footer_menu ul::after {
    content: "";
    width: 30px;
    height: 1px;
    position: absolute;
}

.footer_menu ul::before {
    top: -1px;
    animation: footerLine 4s 0s linear infinite;
}

.footer_menu ul::after {
    bottom: -1px;
    animation: footerLine 4s 2s linear infinite;
}

@keyframes footerLine {
    0% {
        left: 0;
        background: #FF0000;
    }

    100% {
        left: 100%;
        background: #FF0000;
    }

}


.footer_menu ul:hover::before,
.footer_menu ul:hover::after {
    height: 1px;
    animation: footerLines 7s 0s linear infinite;
    background: #FF0000;
}


@keyframes footerLines {
    0% {
        left: 0;
    }

    100% {
        left: 100%;
    }

}

.footer_menu li a {
    color: #4d5156;
    text-decoration: none;
    display: block;
    margin: 20px 0;
    transition: 0.5s;
}

.footer_menu li a::before {
    content: "";
    width: 0;
    height: 0;
    transition: 0.5s;
}

.footer_menu li a:hover {
    color: #FF0000;
    position: relative;
}

.footer_menu li a:hover::before {
    width: 20px;
    height: 20px;
    background: #FFF;
    filter: blur(10px);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.copyright {
    font-size: 10px;
    text-align: center;
    display: block;
    margin: 0 0 10px;
}


/* -----------top-----------*/

.top_main_visual {
    position: relative;
    width: 100%;
    height: 100vh;
}

.top_main_visual_content_bg {
    background-image: radial-gradient(circle at left bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0));
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    transition: .5s;
}

.top_main_visual_content {
    padding-right: 10px;
    position: absolute;
    left: 50px;
    bottom: 30px;
    margin: auto;
    height: fit-content;
    z-index: 1;
}

.top_main_visual video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.main_visual_alcuesto {
    font-size: 35px;
    font-weight: bold;
    line-height: 1.5;
}

.main_visual_alcuesto span {
    font-size: 14px;
    font-weight: initial;
    display: block;
}

.top_main_visual_content h1 {
    font-size: 25px;
    line-height: 1.2;
    margin: 20px 0;
}

.top_main_visual_content h1 span {
    color: #0055FF;
}

.top_main_visual_content h1 br {
    display: none;
}

.top_main_visual_text {
    max-width: 565px;
    font-size: 18px;
    font-weight: bold;
}

.top_main_visual_link {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: solid 1px #FF0000;
    background: #FF0000;
    padding: 20px 20px;
    width: fit-content;
    max-width: 315px;
    box-sizing: border-box;
    border-radius: 20px;
    margin: 30px auto;
    box-shadow: 0 3px 10px #4d5156;
}

.top_main_visual_link:hover {
    color: #FF0000;
    background: #fff;
}

.top_message1 {
    text-align: center;
    max-width: 700px;
    margin: 100px auto;
    padding: 0 10px 0 0;
    font-weight: bold;
}

.top_message1 span {
    color: #0055FF;
    font-size: 20px;
    margin: 0 5px;
}

.top_visual1 video {
    display: block;
    width: 100%;
    object-fit: cover;
    max-height: 600px;
}

.top_service {
    margin: 50px 0 0 0;
}

.top_service_images {
    padding-left: 35px;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}


.scroll-service {
    margin-top: 50px;
}

.top_service_img_all {
    padding-top: calc((100vh - 80vh) / 2);
    width: 1400px;
    display: flex;
    flex-wrap: wrap;
    padding: 100px 0 0 !important;
}

.top_service_img_box {
    display: flex;
    flex-direction: column;
}

.top_service_img_box a {
    animation: service_img_anime 2s 0s linear infinite;
    transition: .5s;
}

.top_service_img_box a:hover {
    opacity: 0.5;
    box-shadow: 0 0 10px #FF0000 !important;
}

@keyframes service_img_anime {
    0% {
        box-shadow: 0 0 10px #2B00FF;
    }

    25% {
        box-shadow: 0 0 10px #0055FF;
    }

    50% {
        box-shadow: 0 0 10px #00D4FF;
    }

    75% {
        box-shadow: 0 0 10px #0055FF;
    }

    100% {
        box-shadow: 0 0 10px #2B00FF;
    }
}


.top_service_item {
    width: 180px;
    height: 250px;
    border-radius: 20px;
    margin: 10px;
    box-shadow: 0px 0px 5px #4d5156;
    display: flex;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #4d5156;
}

.top_service_item img,
.top_service_item video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.top_service_item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    top: 0;
}

.top_service_img_box:nth-child(even) {
    margin-top: 50px;
}

.top_service_img_box p {
    font-size: 25px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    margin: auto auto 5px;
    width: fit-content;
    height: fit-content;
    z-index: 1;
}



.top_websitetype {
    margin: 100px 0 0 0;
}


.top_web_message a {
    display: block;
    text-decoration: none;
    color: #fff;
    background: #FF0000;
    border: solid 1px #FF0000;
    width: 280px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 3px 7px #4d5156;
    transition: .5s;
}

.top_web_message a:hover {
    color: #FF0000;
    background: #fff;
    box-shadow: 0 3px 7px #FF0000;
}

/* Achievement セクション：他要素にそろえた最大幅・リストスタイル */
/* サブ見出し（Achievement 下の日本語・FAQ 下の日本語） */
.top_achievement_sub {
    display: block;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin: 0.2em 0 0;
    opacity: 0.9;
}

.top_box h2.top_achievement_sub {
    font-size: 14px;
}

.top_achievement_list {
    list-style: disc;
    padding-left: 1.5em;
    margin: 1em 0;
}

/* FAQ セクション：左揃え */
.top_faq_message {
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

/* FAQ アコーディオン */
.faq_accordion {
    max-width: 720px;
    margin: 0 0 2em 0;
    text-align: left;
}

.faq_accordion_item {
    border-bottom: 1px solid #0055FF;
}

.faq_accordion_item:first-child {
    border-top: 1px solid #0055FF;
}

.faq_accordion_trigger {
    display: block;
    padding: 1em 1.2em 1em 0;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.faq_accordion_trigger::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #0055FF;
    border-bottom: 2px solid #0055FF;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s;
}

.faq_accordion_item[open] .faq_accordion_trigger::after {
    transform: translateY(-40%) rotate(-135deg);
}

.faq_accordion_content {
    padding: 0 0 1em 0;
    line-height: 1.7;
    text-align: left;
}

.top_web_site_example {
    display: flex;
}


.top_website_images {
    box-sizing: border-box;
    overflow: hidden;
    padding-left: 35px;
}

.top_web_site_box {
    padding: 0 20px;
}

.top_web_site_box a {
    max-width: 500px;
    display: block;
    margin: 0 auto 70px;
    text-align: center;
    text-decoration: none;
    color: #4d5156;
    transition: .5s;
}

.top_web_site_box:last-child a {
    margin: 0 auto;
}

.top_web_site_box a:hover {
    opacity: .5;
}

.top_web_site_box a img {
    margin-top: 5px;
}

.top_web_message{
    padding-left: 35px;
}

.top_about {
    padding: 50px 20px;
    background-image: linear-gradient(270deg, #0055FF, #00d4ff);
    background-size: 600%;
    animation: gradation_contentcenter 15s linear infinite;
    color: #fff;
}


@keyframes gradation_contentcenter {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.top_about_imageyoutube_box {
    margin-bottom: 100px;
}

.top_about_img {
    margin: 20px 0 0;
}

/* 下記でYoutubeのサイズ16:9固定できる */
.youtube_iframe {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 比率 (9/16 = 0.5625 * 100%) */
    height: 0;
    overflow: hidden;
    margin-top: 10px;
}

.youtube_iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.top_about_box {
    margin-bottom: 100px;
    padding-left: 35px;
}

.top_about_box:last-child {
    margin-bottom: 0;
}

.top_about_box h3 {
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: bold;
}

.top_about_box p {
    margin-bottom: 10px;
}


.top_contact {
    padding: 50px 20px;
    background: #4D5156;
    color: #fff;
}


.top_contact_flex {
    padding-left: 35px;
}

.top_contact_box {
    padding: 20px;
    background: #fff;
    color: #4d5156;
    margin: 30px 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.top_contact_box a {
    background: #0055FF;
    border: solid 1px #0055FF;
    color: #fff;
    border-radius: 20px;
    display: block;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    margin: 20px 0 0;
    transition: .5s;
}

.top_contact_box a:hover {
    background: #fff;
    color: #0055FF;
}

.top_plusa {
    margin: 100px 0 0 0;
}

.top_plusa_content {
    padding-left: 35px;
}

.top_plusa_flex {
    display: flex;
    flex-wrap: wrap;
}

.top_plusa_box {
    width: 100%;
    max-width: 400px;
    padding: 0 10px;
    margin: 30px auto;
    transition: .5s;
    text-align: center;
}


.top_plusa_box:hover {
    opacity: .5;
}


.top_plusa_item {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    margin: 10px auto;
    box-shadow: 0px 0px 5px #4d5156;
    display: flex;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #4d5156;
}

.top_plusa_item img {
    position: absolute;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    z-index: -1;
}

.top_plusa_item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    top: 0;
}

.top_plusa_item p {
    font-size: 25px;
    line-height: 1;
    font-weight: bold;
    margin: auto auto 5px;
    width: fit-content;
    height: fit-content;
    z-index: 1;
}



/* -----------About-----------*/

.about_history {
    margin: 100px 10px;
}

.about_history_h2_box {
    margin-bottom: 20px;
}

.about_history_h2_box h2 {
    font-size: 50px;
    display: inline-block;
    margin-right: 20px;
}

.about_history_box_all {
    width: 85%;
    margin-left: auto;
    border-left: solid 1px #0055FF;
    padding-left: 8%;
    position: relative;
}

.about_history_box {
    margin: 0 0 50px;
    border-bottom: solid 1px #0055FF;
    padding-bottom: 50px;
    position: relative;
}

.about_history_box:last-child {
    border: none;
}

.about_history_box_all::before,
.about_history_box_all::after,
.about_history_box::before {
    content: "";
    width: 10px;
    height: 10px;
    border: solid 1px #0055FF;
    border-radius: 50%;
    position: absolute;
}


.about_history_box:last-child:before {
    display: none;
}

.about_history_box_all::before,
.about_history_box_all::after {
    background: #FF0000;
    position: absolute;
    left: -6px;
    opacity: 0;
}

.about_history_box_all::before {
    animation: historyleftcircle 10s 0s linear infinite;
}

.about_history_box_all::after {
    animation: historyleftcircle 10s 5s linear infinite;
}

@keyframes historyleftcircle {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
        background: #FFD500;
    }

    100% {
        top: 100%;
        opacity: 0;
    }

}


.about_history_box::before {
    background: #2B00FF;
    position: absolute;
    bottom: -6px;
}

.about_history_box:nth-child(odd):before {
    animation: historycircle 8s 0s linear infinite;
}

.about_history_box:nth-child(even):before {
    animation: historycircle 14s 0s linear infinite;
}


@keyframes historycircle {
    0% {
        left: 0;
    }

    70% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }

}


/* -----------Chee7arch-----------*/

.cheer7arch_box {
    margin: 100px 0 25px;
    font-size: 20px;
    font-weight: bold;
}

.cheer7arch_heading {
    text-align: center;
    line-height: 1.2;
}

.cheer7arch_mov_box {
    margin: 120px auto 0;
    max-width: 500px;
    position: relative;
}

.cheer7arch_click {
    position: absolute;
    top: -95px;
    right: 0;
}

.cheer7arch_mov_box::before {
    content: "";
    width: 2px;
    background: #0055FF;
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    margin: auto;
    animation: cheer7archmovLine 3s 0s linear infinite;
}

@keyframes cheer7archmovLine {
    0% {
        height: 0;
    }

    100% {
        height: 70px;
    }
}

.cheer7arch_mov_box video {
    max-width: 350px;
    width: 100%;
    margin: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 0 15px 5px #0055FF;
    transition: 1s;
}

.cheer7arch_mov_box:hover video {
    box-shadow: 0 0 15px 5px #FF0000;
}


/* -----------Event goods-----------*/

.event_goods_img_box {
    margin: 50px 0 0;
    position: relative;

    display: flex;
    flex-wrap: wrap;
}

.event_goods_img_box img {
    border-radius: 20px;
    width: 47%;
    margin: 10px auto;
}

.event_goods_link {
    font-weight: bold;
    display: block;
    text-decoration: none;
    background: #0055FF;
    border: solid 1px #0055FF;
    color: #fff;
    margin: 20px auto 100px;
    width: 150px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 20px;
    z-index: 2;
    transition: 1s;
}

.event_goods_link:hover {
    border-radius: 50%;
    background: #FFF;
    border: solid 1px #FF0000;
    color: #FF0000;
}

/* -----------law privacy-----------*/

.law_box {
    margin: 50px 0 0;
    border-bottom: solid 1px #0055FF;
    padding-bottom: 50px;
}


.law_box:last-child {
    border-bottom: none;
    animation: none;
}

.law_content_title {
    font-size: 22px;
    font-weight: bold;
    color: #4D5156;
}

.law_content a {
    color: #4D5156;
    font-weight: bold;
}


/* -----------work-----------*/
.work_box {
    margin-bottom: 100px;
}

.work_box h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.work_content_flex {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.work_content {
    width: 47.6%;
    margin: 20px calc(1.2%);
    position: relative;
}

.work_content img{
    aspect-ratio: 16/9;
    object-fit: cover;
}


.work_title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.work_content_link {
    font-weight: bold;
    color: #0055FF;
}

.work_content_link:hover {
    color: #FF0000;
}


/* -----------web-----------*/

.web_service {
    margin: 50px 0;
    background: #FFF;
    padding: 20px;
}

.web_service h2 {
    text-align: center;
    position: relative;
    margin: 30px auto 0;
    width: fit-content;
    max-width: 1100px;
}

.web_service h2::before,
.web_service h2::after {
    content: "";
    width: 20px;
    height: 2px;
    background: #2B00FF;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto
}

.web_service h2::before {
    transform: rotate(70deg);
    left: -25px;
}

.web_service h2::after {
    transform: rotate(-70deg);
    right: -25px;
}

.web_service_box {
    margin: 50px auto;
}

.web_service_plan_box {
    margin: 50px auto;
    padding: 0 0 20px;
    border-bottom: dotted 5px #0055FF;
}

.web_service_box img {
    animation: WEBSeviceIMG 5s 0s linear infinite;
}

@keyframes WEBSeviceIMG {
    0% {
        border-radius: 50px 10px 10px 10px;
    }

    25% {
        border-radius: 10px 50px 10px 10px;
    }

    50% {
        border-radius: 10px 10px 50px 10px;
    }

    75% {
        border-radius: 10px 10px 10px 50px;
    }

    100% {
        border-radius: 50px 10px 10px 10px;
    }
}

.web_service_plan_example {
    margin: 30px 0;
}

.web_service_plan_example p {
    margin: 0 0 10px;
    text-align: center;
    color: #4D5156;
}

.web_service_plan_example_item_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.web_service_plan_example_item {
    width: 100%;
    margin: 10px;
    border: solid 1px #0055FF;
    background: #E5EEFF;
    padding: 10px;
    transition: .5s;
}

.web_service_plan_example a {
    text-decoration: none;
    display: block;
    text-align: center;
}

.web_service_plan_example img {
    margin-top: 10px;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}


.web_service_plan_box h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    border-bottom: solid 1px #2B00FF;
    padding-bottom: 20px;
}

.web_site_link {
    margin: 20px 0;
}

.web_site_link li {
    list-style: none;
}

.web_site_link a {
    text-decoration: none;
    color: #4D5156;
    border: solid #333333 1px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    margin: 0 10px 10px 0;
    display: inline-block;
    width: fit-content;
    font-size: 14px;
}

.web_site_link a:hover {
    opacity: 0.8;
}

.web_plan_list {
    overflow-x: scroll;
    border-radius: 20px;
}

.web_plan_list table {
    position: relative;
    width: 720px;
}

.web_plan_list tr {
    border-bottom: solid 1px #707070;
}

.web_plan_list tr td {
    text-align: center;
    padding: 20px 5px;
    width: 200px;
    box-sizing: border-box;
    background-color: #FFF;
    vertical-align: middle;
    box-sizing: border-box;
    font-weight: bold;
}

.web_plan_list_heading:nth-child(2) {
    background: #f0bbff;
}

.web_plan_list_heading:nth-child(3) {
    background: #BBF8FF;
}

.web_plan_list_heading:nth-child(4) {
    background: #FFFFBB;
}

.web_plan_list_heading:nth-child(5) {
    background: #DBFFBB;
}

.web_plan_list tr td:first-child {
    background: #BBD9FF;
    left: 0;
    position: sticky;
    position: -webkit-sticky;
    width: 120px;
}

.web_plan_breakdown_list {
    margin: 30px 0;
}

.web_plan_breakdown {
    margin-top: 50px;
    padding: 30px 10px 20px;
    border: solid 1px #009FFF;
    position: relative;
}

.web_plan_breakdown::before {
    content: "ページ内訳イメージ";
    background: #FFF;
    padding: 5px;
    border: solid 1px #009FFF;
    position: absolute;
    top: -18.5px;
    left: 10px;
    font-size: 13px;
    font-weight: bold;
}

.web_online a {
    display: block;
    max-width: 300px;
    margin-bottom: 20px;
}

.web_online a img {
    box-shadow: 0 0 15px 5px #fff;
    border-radius: 10px;
    transition: 1s;
}

.web_online a:hover img {
    box-shadow: 0 0 15px 5px #FF0000;
}



/* -----------ipad-----------*/

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

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    /* -----------共通-----------*/
    /* -----------content_h2-----------*/

    .top_box h2 {
        font-size: 52px;
        letter-spacing: 6px;
        padding-left: 35px;
    }



    /* -----------SP header-----------*/
    #header_all {
        border-radius: 20px 0 0 20px;
        padding: 80px 20px 20px;
    }

    /* -----------top-----------*/

    .top_main_visual_content {
        top: 0;
        bottom: 0;
    }

    .top_main_visual_content h1 br {
        display: block;
    }

    .top_main_visual_link {
        margin: 30px auto 0 0;
    }

    .top_service_image_message {
        margin: 50px 0 0 0;
    }

    .top_service_img_all {
        width: 1890px;
        padding: initial !important;
    }

    .top_service_item {
        width: 250px;
        height: 250px;
        border-radius: 20px;
        margin: 10px;
        box-shadow: 0px 0px 5px #4d5156;
        display: flex;
        position: relative;
        overflow: hidden;
    }


    .top_websitetype {
        margin: 100px 0 0 0;
    }

    .top_website_images {
        display: flex;
        padding-left: 0;
    }

    .top_web_site_box {
        padding: 0 10px;
    }

    .top_web_message{
        padding: 0 10px 0 35px;
    }

    .top_web_message a {
        margin: 50px auto 50px 0;
    }

    .top_contact_flex {
        padding-left: 35px;
        display: flex;
        align-items: flex-start;
        margin: 20px auto;
        max-width: 1200px;
    }

    .top_contact_box {
        width: 45%;
        margin: auto 15px;
        height: 290px;
        position: relative;
        box-sizing: border-box;
    }

    .top_contact_box a {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        margin: auto;
        width: 70%;
        max-width: 220px;
    }

    .top_plusa_box {
        width: 43.6%;
        margin: 30px calc(1.2%);
        max-width: 400px;
        padding: 0 10px;
    }

    /* -----------Chee7arch-----------*/

    .cheer7arch_mov_box {
        max-width: 600px;
    }

    .cheer7arch_mov_box video {
        max-width: 500px;
    }

    /* -----------Event goods-----------*/

    .event_goods_img_box img {
        width: 23%;
        margin: 10px auto;
    }

    /* -----------work-----------*/
    .work_content {
        width: 30.6%;
    }

    .work_box h3 {
        font-size: 20px;
    }



    /* -----------web-----------*/

    .web_service_box_flex {
        display: flex;
    }

    .web_service_box_flex img {
        width: 30%;
        max-width: 400px;
        margin-right: 10px;
        object-fit: cover;
    }

    .web_service_box_flex h3 {
        margin: 0 0 10px;
        padding-bottom: 10px;
    }


    .web_service_plan_example_item {
        flex: 1 1 calc(30% - 40px);
        max-width: calc(29%);
        border: solid 1px #0055FF;
        background: #E5EEFF;
        padding: 10px;
    }


}



/* -----------PC-----------*/

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


    body {
        font-size: 15px;
    }

    .sp {
        display: none;
    }

    .pc {
        display: block;
    }


    /* -----------共通-----------*/

    .page_content {
        padding: 0 10px 0 155px;
        margin: auto;
    }

    /* -----------content_left-----------*/

    .content_left_history {
        left: 62px;
        top: 100px;
    }

    .content_left_daytimebox {
        writing-mode: initial;
        display: block;
        text-align: center;
        top: 320px;
    }

    .content_left_time_box {
        display: block;
        width: fit-content;
        margin: auto;
    }

    #content_left_day, #content_left_time {
        margin: auto;
    }

    .content_left_message::before {
        left: 62px;
        top: 450px;
    }

    /* -----------content_h2-----------*/

    .top_box h2 {
        font-size: 84px;
        letter-spacing: 6px;
        padding-left: 0;
    }

    /* -----------PC header-----------*/
    .header_logo {
        left: 50px;
    }

    /* -----------footer-----------*/

    .footer_menu li {
        display: inline-block;
    }

    .footer_menu li a {
        margin: 10px 20px;
    }

    /* -----------top-----------*/
    .top_main_visual_content_bg {
        background-image: radial-gradient(circle at center left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0));
    }


    .top_main_visual_content {
        left: 250px;
    }

    .main_visual_alcuesto {
        font-size: 50px;
    }

    .main_visual_alcuesto span {
        font-size: 25px;
    }

    .top_main_visual_content h1 {
        font-size: 40px;
    }

    .top_message1 {
        font-size: 25px;
        max-width: fit-content;
    }

    .top_message1 span {
        color: #0055FF;
        font-size: 30px;
        margin: 0 5px;
    }

    .top_service,
    .top_websitetype,
    .top_plusa {
        margin: 100px 0 0 155px;
    }

    .top_service_images {
        padding-left: 0;
    }

    .top_web_site_box a,
    .top_web_site_box:last-child a {
        margin: 10px 20px 10px 0;
    }

    .top_about,
    .top_contact {
        padding-left: 155px;
    }

    .top_about_flex {
        display: flex;
    }

    .top_about_imageyoutube_box {
        width: 300px;
        height: fit-content;
        position: sticky;
        position: -webkit-sticky;
        top: 10px;
        margin-bottom: 0;
    }

    .top_about_img img {
        display: block;
        width: 300px;
        object-fit: contain;
    }

    .top_about_content {
        height: fit-content;
    }


    .top_contact_box {
        height: 245px;
    }

    .top_plusa_box {
        width: 28%;
    }


    /* -----------web-----------*/

    .web_service {
        padding: 20px 0;

        max-width: 1100px;
    }

    .web_service_box_flex {
        display: flex;
    }

    .web_service_box_flex img {
        width: 35%;
        max-width: 500px;
        margin-right: 30px;
        object-fit: cover;
    }


    .web_plan_list {
        overflow-x: hidden;
        border-radius: 20px;
    }

    .web_plan_list table {
        position: relative;
        width: 100%;
        margin: auto;
    }


}


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


    .sp {
        display: none;
    }

    .pc {
        display: block;
    }

    /* -----------共通-----------*/

    /* -----------PC header-----------*/


    /* -----------footer-----------*/


    /* -----------top-----------*/
}