/*
Theme Name: CuriosSation豊中
Author: CurioStaiton豊中
Description: キュリオステーション豊中店のテーマ
Version: 1.0.5
*/

/* 共通設定 */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: calc(100vw - calc(100vw - 100%));
    overflow-x: hidden;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    line-height: 2.8rem;
    animation: loading 2s;
    color: #79584A;
    background: #FAF2E9;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Noto Serif JP", serif;
}

@keyframes loading {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}
/* 共通設定 */

/* ヘッダー */
header {
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 100vh;
}

.eye_catching {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.catch_phrases {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    width: min(1200px, 95%);
    min-height: 450px;
    top:  max(50px, calc(50% - 300px));
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border: 5px solid #FAF2E9;
    border-radius: 25px;
}

.catch_phrases h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 4rem;
}

.catch_phrases p {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    line-height: 2rem;
}

.catch_phrases p span {
    position: relative;
    font-size: 20px;
}

.eye_catching img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toggle_menu {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: rgba(150, 0, 50, 0.9);
}

#icon_space {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    line-height: 1rem;
}

#icon_space img {
    width: 50px;
    height: 50px;
}

nav#nav_menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 5px;
    padding: 10px;
}

nav#nav_menu ul li a {
    display: inline-flex;
    justify-content: space-around;
    position: relative;
    width: 200px;
    font-size: 25px;
    font-weight: 200;
    text-decoration: none;
    line-height: 2rem;
    color: #FAF2E9;
    border-bottom: 1px solid #FAF2E9;
    border-radius: 3px 3px 0 0;
}

nav#nav_menu ul li a::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -5px;
    right: calc(100% - 10px);
    background: #FAF2E9;
    transform: rotate(45deg);
    transition: all 1s ease-out;
}

nav#nav_menu ul li a:hover {
    background-color: rgba(255,255,255,0.3);
}

nav#nav_menu ul li a:hover::after {
    right: 0%;
    transition: all 1s ease-out;
}

.nav_positon {
    position: fixed;
    width: 100%;
    top: 0;
    bottom: auto;
    z-index: 999;
    background: rgba(150, 0, 50, 0.9);
}

.filter {
    filter: blur(5px);
    z-index: -100;
}
/* ヘッダー */

/* ページの上に戻るボタン */
#page_top {
    width: 100%;
    height: 50px;
    margin: 50px auto;
}

#page_top img {
    width: 50px;
    height: 50px;
}

.page_top {
    display: none;
}

.page_end {
	display: flex;
    justify-content: flex-end;
    position: fixed;
    margin: 0;
    top: calc(100vh - 100px);
    right: 1%;
    z-index: 99;
}
/* ページの上に戻るボタン */

/* アクセス */
section#access_table {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 50px;
}

section.access_map {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 50px;
    background: url(./image/access_background.jpg);
    background-size: cover;
}

section.access_map h1 {
    width: 100%;
    font-size: 35px;
    text-align: center;
    font-weight: 800;
}

section.access_map iframe {
    width: 100%;
    height: 500px;
    margin: 20px auto;
}

section.access_overview {
    margin: 100px auto;
    background: rgba(255,255,255,0.7);
}

section.access_overview a {
    color: #d33;
}

section.access_overview table {
    width: min(90%, 850px);
    margin: 50px auto;
}

section.access_overview th,
section.access_overview td {
    border-top: 1px solid #821923;
    border-bottom: 1px solid #821923;
}

section.access_overview th {
    width: 25%;
    vertical-align: middle;
}

section.access_overview td {
    padding-left: 5px;
}
/* アクセス */

/* 無料体験 */
#free_trial {
    padding: 150px 0;
    text-align: center;
    color: #576d65;
    background: url(./image/free_trial_background.jpg);
    background-size: cover;
    background-position: bottom;
}

#free_trial h1 {
    font-size: 38px;
}

.appeal_secretly_text {
    font-size: 18px;
}

.appeal_secretly_text::before {
    content: '＼　';
}

.appeal_secretly_text::after {
    content: '／　';
}

.contact_information {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 25px;
    width: min(1200px, 100%);
    margin: 50px auto;
}

.contact_tel a,
.contact_line a {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 300px;
    height: 300px;
    padding: 62px 0;
    font-size: 30px;
    text-decoration: none;
    color: #FAF2E9;
    border-radius: 100%;
}

.contact_tel a {
    background: linear-gradient(#ffc14e,#ff7626);
    line-height: 1.5rem;
}

.contact_line a {
    background: linear-gradient(#2c2,#8e8);
}

.contact_tel a:hover {
    box-shadow: rgb(255, 118, 38) 0px 0px 10px 2px;
    transition: all 0.5s ease;
}

.contact_line a:hover {
    box-shadow: rgb(120, 226, 125) 0px 0px 10px 2px;
    transition: all 0.5s ease;
}

.contact_tel a img, 
.contact_line img {
    width: 100px;
    height: 100px;
}

.contact_tel a img {
    margin-top: 15px;
}

.box_type_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 80%;
    font-size: 20px;
    line-height: 2.8rem;
    color: #79584A;
    background-color: #FAF2E9;
    border-radius: 10px;
}

.box_type_text::after {
    content: '\025bc';
    position: absolute;
    bottom: -25px;
    font-size: 16px;
    color: #FAF2E9;
}
/* 無料体験 */

/* フッター */
footer ul {
    display: flex;
    flex-wrap: wrap;
    padding: 25px 50px;
    font-weight: 300;
}

footer ul li {
    width: 33%;
    font-size: 16px;
    line-height: 1.5rem;
}

footer ul li a {
    text-decoration: none;
    color: #821923;
}

footer ul li a:hover {
    color: rgba(255,255,255,0);
    text-shadow: 2px 2px #821923;
}

footer .copyright_area {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    line-height: 1rem;
    text-align: center;
    background: #960032;
    color: #FAF2E9;
}
/* フッター */

/* リンクボタン */
.details_link a {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    margin: 0 auto;
    padding: 15px;
    text-decoration: none;
    z-index: 50;
    color: #FAF2E9;
    background: rgba(255, 0, 0, 0.3);
    border: 2px solid #960032;
    transition: all 0.5s;
}

.details_link a::before {
    content:'';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -50;
    background: #960032;
    transition: all 0.5s;
}

.details_link a:hover {
    color: #960032;
    transition: all 0.5s;
}

.details_link a:hover::before {
    width: 0;
    transition: all 0.5s;
}
/* リンクボタン */

/* 404 */
.error404 {
    text-align: center;
}

.error404 h1 {
    font-size: min(30px, 12vw);
    font-weight: 800;
}

/* width 768px以下 */
@media screen and (max-width:768px) {	
    .catch_phrases {
        padding: 0;
        width: 95%;
        top: calc(2% + 48px);
        height: calc(95% - 48px);
    }

    .catch_phrases h1 {
		font-size: 10vw;
        margin-top: 48px;
        padding: 10px;
    }

    /* menu */
    nav#nav_menu {
        position: fixed;
        width: 100%;
        height: 48px;
        top: 0;
        z-index: 999;
        background-color: rgba(255, 154, 154, 0.8);
    }

    #arrange_menu {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 5px;
        height: 48px;
        margin: 0 5px;
    }

    #arrange_menu p {
        width: calc(100% - 90px);
        max-width: 450px;
        border-left: 1px solid #960032;
        border-right: 1px solid #960032;
    }

    #home_image {
        position: relative;
        width: 40px;
        height: 40px;
        z-index: 5;
        line-height: 1rem;
    }

    #home_image a {
        display: flex;
        width: 100%;
        height: 100%;
    }

    #home_image a::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        top: 0;
        left: 0;
        background: url(./image/home_icon.png);
        background-size: cover;
    }

    #click_menu {
        position: relative;
        width: 40px;
        height: 40px;
        z-index: 5;
        line-height: 1rem;
        cursor: pointer;
    }

    #click_menu::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        top: 0;
        left: 0;
        background: url(./image/menu_icon.png);
        background-size: cover;
    }

    #arrange_menu p a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 48px;
        color: #FAF2E9;
        background-color: #960032;
        text-decoration: none;
    }

    #nav_menu ul::after {
        content: '\02715';
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0 12px;
        background: rgba(0, 0, 0, 0.5);
    }

    nav#nav_menu ul {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        z-index: 99;
        line-height: 2rem;
        text-align: center;
        background: rgba(130, 25, 35, 0.8);
    }

    .toggle_menu ul {
        margin-left: 100%;
    }
    /* menu */

    .page_top {
        padding: 0.5%;
        right: 0;
        bottom: 0;
        line-height: 1rem;
    }
  
    .appeal_secretly_text { 
        font-size: 16px;
    }

    .summ_intro{
        min-width: 100%;
        width: 100%;
    }

    .contact_line a {
        font-size: 18px;
    }

    footer ul {
        width: 90%;
        margin: 0 auto;
        padding: 25px 0;
    }

    footer ul li {
        width: 50%;
    }
}

/* height 700px以下 */
@media screen and (max-height:700px) {
    .eye_catching {
        height: max(100vh, 700px);
    }
}

/* height 585px以下 */
@media screen and (max-height:585px) {
    /* menu */
    nav#nav_menu {
        position: fixed;
        width: 100%;
        height: 48px;
        top: 0;
        z-index: 999;
        background-color: rgba(255, 154, 154, 0.8);
    }

    #arrange_menu {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 5px;
        height: 48px;
        margin: 0 5px;
    }

    #arrange_menu p {
        width: calc(100% - 90px);
        max-width: 450px;
        border-left: 1px solid #960032;
        border-right: 1px solid #960032;
    }

    #home_image {
        position: relative;
        width: 40px;
        height: 40px;
        z-index: 5;
        line-height: 1rem;
    }

    #home_image a {
        display: flex;
        width: 100%;
        height: 100%;
    }

    #home_image a::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        top: 0;
        left: 0;
        background: url(./image/home_icon.png);
        background-size: cover;
    }

    #click_menu {
        position: relative;
        width: 40px;
        height: 40px;
        z-index: 5;
        line-height: 1rem;
        cursor: pointer;
    }

    #click_menu::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        top: 0;
        left: 0;
        background: url(./image/menu_icon.png);
        background-size: cover;
    }

    #arrange_menu p a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 48px;
        color: #FAF2E9;
        background-color: #960032;
        text-decoration: none;
    }

    #nav_menu ul::after {
        content: '\02715';
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0 12px;
        background: rgba(0, 0, 0, 0.5);
    }

    nav#nav_menu ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: space-evenly;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        z-index: 99;
        line-height: 2rem;
        text-align: center;
        background: rgba(130, 25, 35, 0.8);
    }

    .toggle_menu ul {
        margin-left: 100%;
    }
    /* menu */
}