@charset "UTF-8";
/* 共通 */
.text-center {
    text-align: center;
}
/* header */
/* fontの色は#232323で統一します */
*[data-text="text-en"] {
    font-family: "Prociono", serif;
    font-weight: 400;
    font-style: normal;
}

*[data-text="text-ja"] {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

*::after, *::before {
    border-style: solid;
    border-width: 0;
}

/* ヘッダー */
.header {
    background-color: #131921;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    color: white;
}

.logo {
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.h-text-align-center {
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar{
    display:none;
}

.index-header {
    width: 100vw;
    height: 100vh;
    background-color: #f0f0f0;
}

.search-header {
    width: 100vw;
    background-color: #f0f0f0;
}

.scroll-bar_container {
    position: fixed;
    right: 0;
    top: 0;
    width: 10px;
    height: 100%;
}

.scroll-bar .js-hide {
    opacity: 0;
    transition: opacity 0.2s;
}

.scroll-bar_item {
    position: absolute;
    width: 6px;
    height: 40px;
    background-color: #232323;
    border-radius: 6px;
    right: 0;
    top: 0;
    transition: width 0.2s;
    cursor: pointer;
}

.header-logo {
    width: 30%;
    margin: 15px 0 0 10px;
}

.header-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

form {
    background-color: initial;
}

.search-box {
    width: 27%;
}

.search-form-5 {
    max-width: initial;
    margin: initial;
    font-size: initial;
    padding: initial;
    border: initial;
    border-radius: initial;
    box-shadow: initial;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 3px;
}

.search-form-5 label {
    display: flex;
    margin-bottom: initial;
    font-weight: initial;
    color: initial;
    align-items: center;
}

.search-form-5 input {
    width: initial;
    border-radius: initial;
    box-shadow: initial;
    transition: initial;
    width: 250px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    border-radius: 3px 0 0 3px;
    box-sizing: border-box;
    background-color: #c1c1c1;
    font-size: 1em;
    outline: none;
}

.search-form-5 input::placeholder {
    color: #777777;
}

.search-form-5 select {
    height: 45px;
    padding: 5px;
    border: none;
    border-left: 1px solid #999;
    background-color: #c1c1c1;
    font-size: 1em;
    outline: none;
    border-radius: 0;
}

.search-form-5 select:focus {
    background-color: #b0b0b0;
}

.search-form-5 button {
    background-color: initial;
    border: initial;
    cursor: initial;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    border-radius: 0 3px 3px 0;
    background-color: #2589d0;
    cursor: pointer;
}

.search-form-5 button:hover {
    background-color: #1e6ea1;
}

.search-form-5 button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

.header-flex .menu-block {
    display: block;
    width: 40%;
}

.header-flex .menu-block .menu-flex {
    display: flex;
    justify-content: flex-end;
}

.menu-flex a {
    text-decoration: none;
    font-size: 30px;
    color: #232323;
    margin: 0 10px;
    border: solid 5px #232323;
    transition: 1s;
}

.menu-flex .login {
    padding: 7px 30px;
}

.menu-flex .signup {
    padding: 7px 16px;
}

.menu-flex .cart {
    padding: 7px 35px;
}

.menu-flex .logout {
    padding: 7px 15px;
}

.menu-flex a:hover {
    color: #f0f0f0;
}

.menu-flex .login:hover p::after {
    content: "LOGIN";
    font-family: "Prociono", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #232323;
    transition: 0.4s;
}

.signup:hover p::after {
    content: "SIGNUP";
    font-family: "Prociono", serif;
    font-weight: 400;
    font-style: normal;
    border: solid 1px #bfac9d;
    background-color: #232323;
    transition: 0.4s;
}

.cart:hover p::after {
    content: "CART";
    font-family: "Prociono", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #232323;
    transition: 0.4s;
}

.logout:hover p::after {
    content: "MYPAGE";
    font-family: "Prociono", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #232323;
    transition: 0.4s;
}


.menu-flex p {
    position: relative;
}

.menu-flex .login p::after, .signup p::after, .cart p::after, .logout p::after {
    padding: 0 8px;
    border: solid 1px #232323;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    transition: 1s;
}

.menu-flex .login p::after {
    padding: 0 23px;
}

.menu-flex .cart p::after {
    padding: 0 28px;
}

.menu-flex .logout p::after {
    padding: 0 7px;
}

.member-flex {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-top: solid 1px #232323;
    border-bottom: solid 1px #232323;
    margin: 8px 10px 0 10px;
    padding: 5px 0;
}

.member-flex .day-font {
    font-size: 20px;
}

.scroll-block {
    position: absolute;
    width: 100%;
    bottom: 0;
    margin-bottom: 1vh;
}

.scroll-block p {
    font-size: 1vw;
    text-align: center;
}

.scroll-block img {
    display: block;
    width: 2vw;
    margin: 0 auto;
    margin-top: 0.5vh;
    animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* 上下に動く距離 */
    }
}

/* footer.html */
.footer-color {
    background-color: #c1c1c1;
}

.footer-width {
    width: 100%;
}
.footer-width .footer-center {
    text-align: center;
}

.footer-width .footer-center .img-center {
    display: block;
    margin: 0 auto;
}

.footer-width .liner {
    width: 1000px;
    height: 300px;
    margin: 0 auto;
    background: linear-gradient(#ddcfc2, #bfac9d);
}

.footer-width p {
    text-align: center;
    font-size: 50px;
}

.login-btn_center {
    text-align: center;
    margin-top: 10px;
}

.login-btn_center a {
    border: 5px solid #232323;
    padding-top: 48px;
    padding-right: 5px;
}

.footer-width a .svg-container object {
    pointer-events: none;
    border:  2px solid #232323;
    margin: 2px 5px 1px 12px;
    transition: 0.7s;
}

.footer-width a:hover .svg-container object{
    background-color: #232323;
    transition: 0.7s;
}

.footer-ring {
    display: flex;
    align-items: center;
    justify-content: flex-end;  /* 右寄せ */
    padding-right: 20px;
    margin: 0;
}

.footer-rotating-image {
    display: inline-block;  /* インラインブロックにする */
    width: 100px;           /* 丸のサイズ */
    height: 100px;          /* 丸のサイズ */
    border-radius: 50%;     /* 丸くする */
    overflow: hidden;        /* はみ出した部分を隠す */
}

.footer-rotating-image img {
    width: 100%;
    height: auto;           /* アスペクト比を保つ */
    border-radius: 50%;     /* 画像自体も丸くする */
    animation: rotate 9s linear infinite;
}

.footer-ring span {
    transition: transform 700ms;
}

.footer-ring .footer-rotating-image:hover {
    transform: scale(1.2) !important; /* ホバー時に画像を拡大 */
}

.footer-block {
    display: block;
    width: 600px;
    margin: 0 auto;
}

.footer-flex {
    display: flex;
}

.footer-flex img {
    margin-right: 80px;
}

.footer-sns-logo a img {
    margin-right: initial;
}

.footer-flex .footer-sns-block {
    margin-top: 40px;
}

.footer-flex .footer-sns-block .footer-sns-logo {
    font-size: 30px;
    margin-top: 8px;
}

.footer-flex .footer-sns-block .footer-sns-logo a {
    margin: 0 5px 0 30px;
}

.footer-flex .footer-sns-block .footer-sns-logo i {
    color: #232323;
}

.copyright {
    margin-top: 5px;
    font-size: 12px;
}

.copyright p {
    text-align: center;
}

.policy {
    text-align: center;
}

.policy a {
    color: #696969;
    margin-right: 5px;
    padding-right: 10px;
    font-size: 10px;
    text-decoration: none;
}

.policy a:hover{
    color: black;
    transition: 0.5s;
}

.policy-line {
    border-right: 1px solid #696969;
}

/* view.php */
.view-form {
    max-width: initial;
    margin: initial;
    font-size: initial;
    padding: initial;
    border: initial;
    border-radius: initial;
    box-shadow: initial;
    background-color: initial;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 以下よりスマホ向けのcssコード */
@media screen and (max-width:415px) { 
    
    .scroll-bar_item {
        display: none;
    }

    .header-logo {
        display: none;
    }

    .search-box {
        width: 95%;
        margin: 10px auto;
    }
    
    .search-form-5 {
        width: 100%;
        max-width: 400px;
    }
    
    .search-form-5 input {
        width: 170px;
        height: 30px;
        font-size: 12px;
    }
    
    .search-form-5 select {
        width: 150px;
        height: 30px;
        font-size: 12px;
    }
    
    .search-form-5 button {
        height: 30px;
    }
    
    .header-flex .menu-block {
        display: block;
        width: 98%;
        flex-wrap: wrap;
        order: 4;
        margin: 0 auto;
        margin-top: 10px;
    }
    
    .header-flex .menu-block .menu-flex {
        display: flex;
        justify-content: space-between;
    }
    
    .menu-flex a {
        text-decoration: none;
        font-size: 4.4444vw;
        color: #232323;
        margin: 0 5px;
        border: solid 3px #232323;
        transition: 1s;
    }
    
    .menu-flex .login {
        padding: 2.666666vw 15.7777vw; /* loginの外枠の幅指定 */
    }
    
    .menu-flex .signup {
        padding: 2.666666vw 13.5555vw;
    }
    
    .menu-flex .cart {
        padding: 2.666666vw 15.6666vw;
    }
    
    .menu-flex .logout {
        padding: 2.666666vw 13.3333vw;
    }
    
    .menu-flex p {
        position: relative;
    }
    
    .menu-flex .login p::after, .signup p::after, .cart p::after, .logout p::after {
        padding: 0 8px;
        border: solid 1px #232323;
        display: block;
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
        pointer-events: none;
        transition: 1s;
    }
    
    .menu-flex .login p::after {
        padding: 1vw 13vw; /* loginの内枠の幅指定 */
    }

    .menu-flex .signup p::after {
        padding: 1vw 11vw;
    }
    
    .menu-flex .cart p::after {
        padding: 1vw 13vw;
    }
    
    .menu-flex .logout p::after {
        padding: 1vw 11vw;
    }
    
    .member-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 2px 8px 0 8px;
        padding: 2px 0;
        order: 3;
    }
    
    .member-flex .day-font {
        font-size: 4vw;
    }

    .member-flex .member-font {
        font-size: 4vw;
    }
    
    .scroll-block p {
        font-size: 15px;
    }
    
    .scroll-block img {
        width: 20px;
        margin: 0 auto;
        margin-top: 0.5vh;
        animation: float 2.5s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-6px); /* 上下に動く距離 */
        }
    }

    /* footer.html */
    .footer-width {
        width: 100%;
    }
    .footer-width .footer-center {
        text-align: center;
    }
    
    .footer-width .footer-center .img-center {
        display: block;
        margin: 0 auto;
        width: 350px;
    }
    
    .footer-width .liner {
        width: 350px;
        height: 160px;
        margin: 0 auto;
        background: linear-gradient(#ddcfc2, #bfac9d);
    }
    
    .footer-width p {
        text-align: center;
        font-size: 30px;
    }
    
    .login-btn_center {
        text-align: center;
        margin-top: 10px;
    }
    
    .login-btn_center a {
        border: 4px solid #232323;
        padding-top: 37px;
        padding-right: 5px;
    }
    
    .footer-width a .svg-container object {
        width: 200px;
        pointer-events: none;
        border:  2px solid #232323;
        margin: 2px 5px 1px 12px;
        transition: 0.7s;
    }
    
    .footer-width a:hover .svg-container object{
        background-color: #232323;
        transition: 0.7s;
    }
    
    .footer-ring {
        display: flex;
        align-items: center;
        justify-content: flex-end;  /* 右寄せ */
        padding-right: 20px;
        margin: 0;
    }
    
    .footer-rotating-image {
        display: inline-block;  /* インラインブロックにする */
        width: 70px;           /* 丸のサイズ */
        height: 70px;          /* 丸のサイズ */
        border-radius: 50%;     /* 丸くする */
        overflow: hidden;        /* はみ出した部分を隠す */
    }
    
    .footer-rotating-image img {
        width: 100%;
        height: auto;           /* アスペクト比を保つ */
        border-radius: 50%;     /* 画像自体も丸くする */
        animation: rotate 9s linear infinite;
    }
    
    .footer-ring span {
        transition: transform 700ms;
    }
    
    .footer-ring .footer-rotating-image:hover {
        transform: scale(1.2) !important; /* ホバー時に画像を拡大 */
    }

    .footer-block {
        display: block;
        width: 240px;
        margin: 0 auto;
        padding-left: 10px;
    }
    
    .footer-flex {
        display: flex;
        align-items: center;
    }
    
    .footer-flex img {
        margin-top: 40px;
        margin-right: 40px;
        width: 100px;
        height: 50px;
    }
    
    .footer-flex .footer-sns-block {
        margin-top: 40px;
        
    }
    
    .footer-flex .footer-sns-block .footer-sns-logo {
        font-size: 20px;
        margin-top: 8px;
    }
    
    .footer-flex .footer-sns-block .footer-sns-logo a {
        padding: 0 10px 0 10px;
        margin: initial;
    }
    
    .footer-flex .footer-sns-block .footer-sns-logo i {
        color: #232323;
    }

    .footer-sns-logo-flex { 
        display: flex;
        justify-content: space-between;
    }

    .logo-sns {
        height: 26px;
        width: 31px;
    }
    
    .copyright {
        margin-top: 5px;
        font-size: 12px;
    }
    
    .copyright p {
        text-align: center;
    }
    
}