body {
    background-color: #e4e4e4;
}

#logoms {
    max-width: 50%;
    display: block;
    margin: 0 auto;
    margin-left: 0px;
    font-size: 30px;
    margin-top: 10px;
}


#logopc {
    display: none;

}

.header {
    justify-content: flex-end;
    align-items: center;
    padding-right: 40px;
}


.nav {
    width: 100%;
    height: 70px;
    position: relative;
    background: #e4e4e4;
    text-decoration: none;
}



.drawer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 70px;
}

/*ナビゲーション部分*/

.menu ul li a {
    display: block;
    font-size: 20px;
    padding: 2em;
    border-bottom: 1px dotted #ccc;
    color: #333;
    text-decoration: none;
}

.right-text {
    margin-right: 286px;
}


/* .menu ul li a:hover
{background-color:#E09654;
color:orange;} */


.menu {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    transition: .5s ease;
    /*滑らかに表示*/
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
    /*左に隠しておく*/
}


/*OPEN時の動き*/
.menu.open {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    /*中身を表示（右へスライド）*/

}



/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: fixed;
    /* bodyに対しての絶対位置指定 */
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
    right: 15px;
    margin-top: 15px;
}

.Toggle span {
    display: block;
    position: absolute;
    width: 50px;
    border-bottom: solid 4px #333;
    -webkit-transition: .35s ease-in-out;
    /*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;
    /*変化の速度を指定*/
    transition: .35s ease-in-out;
    /*変化の速度を指定*/

}

.Toggle span:nth-child(1) {
    top: 5px;
}

.Toggle span:nth-child(2) {
    top: 18px;
}

.Toggle span:nth-child(3) {
    top: 32px;
}



.Toggle.active span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.top.slide {
    background: #fff;
    color: #ff701e;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.top.slide::after {
    background: #ff701e;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.top.slide:hover {
    color: #fff;
}

.top.slide:hover::after {
    transform: scale(1, 1);
}

.top a:hover {
    background-color: #5F67FF;
    opacity: 0.8;
    border: 1px solid #333;
}

.topics a:hover {
    border: 1px solid #333;
    background-color: #9AE054;
    opacity: 0.8;
}

.webactive a:hover {
    border: 1px solid #333;
    background-color: #E09654;
    opacity: 0.8;
}

.access a:hover {
    border: 1px solid #333;
    background-color: #E05488;
    opacity: 0.8;
}

.border {
    border-bottom: 1px solid #333;
    margin-top: 10px;
}

.top {
    margin-top: 55px;
}



/* ヘッダーpc */
#logoms img {
    transform: scale(0.8);
        transition: 0.6s ease;
}


#logoms img:hover {
    transform: scale(1.0);

}

@media screen and (min-width: 600px) {
    #logopc {
        margin-left: 30px;
        margin-top: 50px;
        max-width: 50%;
        display: block;
        font-size: 30px;
    }

    #logopc img:hover {
        transform: scale(1.2);
        transition: 0.6s;
        transition: transform .6s ease;
    }

    .top {
        margin-top: 0;
    }

    header::after {

        display: none;
    }


    nav {
        display: flex;
    }

    .nav a {
        width: 180px;
        height: 32px;
        font-size: 20px;
        text-align: center;
        line-height: 30px;
    }

    .Toggle {
        display: none;
    }

    .menu {
        width: 100%;
        background-color: transparent;
        margin-top: 0;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    .menu ul {
        height: 70px;
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
    }

    .menu ul li a {
        padding: 0 1em;
        border-bottom: none;

    }

    #logoms {
        display: none;
    }

    /* .menu ul li a:hover
{
  background-color:transparent;
} */

    .menu li {
        border: 1px solid #333;
        background-color: #fff;
        border-radius: 20px;
    }

    .top a:hover {
        border: 1px solid #333;
        background-color: #5F67FF;
        border-radius: 20px;
    }

    .topics a:hover {
        border: 1px solid #333;
        background-color: #9AE054;
        border-radius: 20px;
    }

    .webactive a:hover {
        border: 1px solid #333;
        background-color: #E09654;
        border-radius: 20px;
    }

    .access a:hover {
        border: 1px solid #333;
        background-color: #E05488;
        border-radius: 20px;
    }



    .header a:hover {
        text-decoration: underline 1px #333;
    }

    .border {
        border-bottom: 1px solid #333;
        margin-top: 50px;
        margin-bottom: 10px;
    }


}

/* ヘッダーpcここまで */

/* メイン */

/* marquee */

.marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    gap: 1rem;
    font-size: 2rem;
    background-color: black;
    color: white;
}

.marquee-inner {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        translate: 0;
    }

    100% {
        translate: calc(-100% - 1rem);
    }
}

.new-amsterdam-regular {
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.onkyo {
    color: #E05488;
}

.computer {
    color: #6254E0;
}

.game {
    color: #9AE054;
}

.design {
    color: #E09654;
}


@media screen and (min-width: 600px) {

    .marquee {
        display: flex;
        white-space: nowrap;
        overflow: hidden;
        gap: 1rem;
        font-size: 3rem;
        background-color: black;
        color: white;
    }

    .marquee-inner {
        animation: marquee 20s linear infinite;
    }

    @keyframes marquee {
        0% {
            translate: 0;
        }

        100% {
            translate: calc(-100% - 1rem);
        }
    }

    .new-amsterdam-regular {
        font-family: "New Amsterdam", sans-serif;
        font-weight: 400;
        font-style: normal;
    }

    .onkyo {
        color: #E05488;
    }

    .computer {
        color: #6254E0;
    }

    .game {
        color: #9AE054;
    }

    .design {
        color: #E09654;
    }
}

/* メインビジュアル */

.mainvisual-ms {
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
    transform: scale(0.9);
    z-index: -15;
    position: relative;
}

.mainvisual-pc {
    display: none;
}

@media screen and (min-width: 600px) {
    .mainvisual-pc {
        display: block;
        margin: 0 auto;
        margin-top: 50px;
        text-align: center;
    }

    .mainvisual-ms {
        display: none;
    }
}



/* トピックス */
.font-Lemon {
    font-family: "Lemon", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 0 auto;
    font-size: 24px;
    color: #6254E0;
}

.font-ruby {
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    margin-top: 50px;
}

.topics-image-ms {
    text-align: center;
    margin: 0 auto;
    margin-right: 15px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.topics-image-pc {
    display: none;
}


.zoom-img {
    z-index: -10;
}

.zoom-img img {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.8s ease;
}

.zoom-img.show img {
    transform: scale(1);
    opacity: 1;
}

/* .zoom-img:hover {
    transform: scale(1.2);
    transition: 0.3s;
} */


@media screen and (min-width: 600px) {



    .font-Lemon {
        font-family: "Lemon", serif;
        font-weight: 400;
        font-style: normal;
        text-align: center;
        margin: 0 auto;
        font-size: 70px;
        margin-top: 100;

        color: #6254E0;
    }

    .font-ruby {
        font-size: 20px;
        text-align: center;
        margin: 0 auto;
        margin-top: 100px;
    }

    .topics-image-pc {
        text-align: center;
        margin: 0 auto;
        margin-right: 40px;
        align-items: center;
        justify-content: center;
        display: flex
    }



    .topics-image-ms {
        display: none;
    }



    .zoom-img img {
        transform: scale(0.8);
        opacity: 0;
        transition: transform 0.8s ease, opacity 0.8s ease;
    }



    .zoom-img.show img {
        transform: scale(1);
        opacity: 1;
    }


}





/* 点線 */

.dot-line {
    width: 80%;
    height: 8px;
    margin: 40px auto 0px;
    background-image: radial-gradient(circle, #000 3px, transparent 3px);
    background-size: 18px 8px;
    background-repeat: repeat-x;
}

@media screen and (min-width: 600px) {

    .dot-line {
        width: 80%;
        height: 8px;
        margin: 100px auto 0px;
        background-image: radial-gradient(circle, #000 3px, transparent 3px);
        background-size: 18px 8px;
        background-repeat: repeat-x;
    }

}
/* WEB ARCHIVE */
.web-image-ms {
    margin-top: 20px;
    text-align: center;
}

.web-image-pc {
    display: none;
}

@media screen and (min-width: 600px) {
    .web-image-pc {
        display: block;
        margin: 100px auto 0;
        text-align: center;
    }

    .web-image-ms {
        display: none;
    }
}

/* マップ */

.koutuu{
    display: inline-block;
    background-color:rgb(255, 255, 255);
    width:350px;
    height:120px;
    border-radius: 80px; /*角丸*/
    border: solid thin;
    box-shadow: 5px 5px; /*ドロップシャドウ*/
}
.koutuu-moji{
    position: relative;
    top: 35px;
    left: 40px;
}
.access-a{
    position: relative;
    left: 140px;
    font-weight: bold;
}
.access-b{
    position: relative;
    left: 130px;
    font-weight: bold;
}
.access-naiyou{
    display: flex;
}

 

  .box {
    padding: 5px 10px;
    border-radius: 5px;
        margin: 20px;
  }

  p{
    margin: 0 auto;
  }
  
  /*レスポンシブ*/
 .container {
    display: flex;              /* 横並びにする */
    align-items: center;        /* 縦位置を中央に */
    gap: 50px;     /* 要素間の余白 */
    padding: 10px;
    justify-content: center;
    margin: 50px 50px 50px;
  }
  .map img{
   border-radius: 10px;
    flex: 1; /* 左側は必要に応じて広がる */
}
.right {
    display: column; /* 右側の2つを縦並びに */
    gap: 10px;     /* 要素間の余白 */
  }
@media screen and (max-width:600px) {
    .container{
        flex-direction: column;
        margin-top: 0;
        padding-top: 0;
        gap: 0;
    }

    .map img{
        transform: scale(0.8);
        border-radius: 20px;
    }

}

/* フッター */

footer {
    background-color: #fff;
    margin-top: 30px;
}

footer ul {
    margin: 20px;
}

footer li {
    list-style-type: none;
    line-height: 1.7;
}

footer li:before {
    content: '';
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100%;
    background: #000000;
    position: relative;
}

.copy {
    font-size: large;
    text-align: center;
    padding: 8px;
}

.footer3 {
    padding-bottom: 20px;
}

/* ダミーページ */

main {
    height: 60vh;
}

.cms {
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    padding-top: 200px;
}