@charset "UTF-8";

/*===========
  COLOR SET
=============*/
:root {
    --main-bg: rgb(255, 249, 239);
    --sub-bg: #1F1F1F;
    --text: #000000;
    --sub-text: #797979;
    --main-color: #0078d7;
    --sub-color: #30D158;

    --hero-bg: #000000;
}
@media (prefers-color-scheme: dark) {
    :root {
        --main-bg: rgb(255, 249, 239);
        --sub-bg: #1F1F1F;
        --text: #000000;
        --sub-text: #797979;
        --main-color: #0078d7;
        --sub-color: #30D158;
    
        --hero-bg: #000000;
    }
}

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    scroll-behavior: smooth;
    height: 100%;
}
body {
	background-color: var(--main-bg);
	color: var(--text);
	font-family: sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
}
article{
    flex: 1;
}

/*
COMMON
================================================ */
.title {
    font-family: 'Dancing Script', cursive;
    font-size: 7rem;
    margin-bottom: 2rem;
}
main a {
    line-height: 1.0;
	font-family: "Sawarabi Mincho", sans-serif;
    font-size: 1.125rem;
}
p {
	font-family: "Sawarabi Mincho", sans-serif;
    font-size: 1.125rem;
}
span {
	font-family: "Sawarabi Mincho", sans-serif;
    font-size: 1.125rem;
}

/*
body
================================================ */
/*Layout*/
.c{
    display: flex; /*�����̗v�f�����*/
    justify-content: space-between;
    margin-bottom: 4rem;
    padding: 1rem 2.5rem 2.5rem;
}
.main{
    float: left;
    width: 72%;
    padding: 10px;
    height:auto;
}
.sub{
    width: 22%;
    margin: 0 auto;
    padding: 10px;
}
.flex{
    display: grid;
    width: 100%;
    gap: 2vw;
    grid-template-columns: repeat(2,50%);
    justify-content: center;
}
.flex-card{
    display: grid;
    width: 100%;
    gap: 2vw;
    grid-template-columns: repeat(2,50%);
    justify-content: center;
}

/*
HEADER
================================================ */
/*
	��css�Őݒ�
*/

/*
breadcrumb
================================================ */
.breadcrumb {
    font-style: italic;
    margin-left: 1rem;
    padding-top: 70px;
}

/*
HERO
================================================ */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--hero-bg);
    width: 100%;
    height: 7.5rem;
}

/*
TOP
================================================ */
.frame_center{
    width: 100%;
    height: calc(50px * 4);
    padding:0.5rem;
}
.frame_popularity{
    width: 100%;
    height: calc(100px * 5);
    padding:0rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/*
MAIN
================================================ */
h1{
    line-height: 160%;
    font-size: 250%;
    font-weight: 900;
    margin: auto;
    padding: auto;
    color: white;
    text-align: center;
}
h2{
    line-height: 160%;
    font-size: 160%;
    color: white;
    background-color: rgb(61, 61, 61);
    font-weight: 900;       /*���̑���*/
    text-align: center;
    margin: auto;
    padding: auto;
}
h3{
    line-height: 130%;
    font-size: 130%;
    color: white;
    background-color: rgb(61, 61, 61);
    font-weight: 900;
    text-align: left;
    margin: auto;
    margin-bottom: 0.5rem;
    padding: 0.8em 0.5em;/*文字の上下 左右の余白*/
}
h4 {
    padding: 0.8em 0.5em;/*文字の上下 左右の余白*/
    color: #494949;/*文字色*/
    background: #f4f4f4;/*背景色*/
    border-left: solid 5px rgb(61, 61, 61);;/*左線*/
    border-bottom: solid 3px #d7d7d7;/*下線*/
}

.b-img{
    max-width: 95%;
    margin-top: 0rem;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.div-flexCards {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}
.div-flexCards img{
    width: 45%;
    margin: 0.5rem;
}

.marker_yellow {
    background:linear-gradient(transparent 60%, #ffff00 0%); 
}

/*
Scroll To Top
================================================ */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* 初期は非表示 */
    padding: 15px; /* 円形にするために適切なパディング */
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50%; /* 円形にする */
    cursor: pointer;
    font-size: 16px; /* テキストサイズを調整 */
    text-align: center;
    line-height: 1; /* ボタンの高さに合わせてテキストを中央に配置 */
}

#back-to-top:hover {
    background-color: #0056b3;
}

/*
MOBILE SIZE
================================================ */
@media (max-width: 700px) {
    main a {
        font-size: 15px;
    }
    p {
        font-size: 15px;
        padding: 1rem 1rem 0.5rem 1rem;      /* �v�f�F��]�� �E�]�� ���]�� ���]�� */
    }
    span {
        font-size: 15px;
    }
    h1{
        font-size: 25px;
    }
    h2{
        font-size: 22px;
    }
    h3{
        font-size: 20px;
    }
    .c{
        display: contents;
    }
    .main, .sub{
        width: 100%;
        padding: 0;
    }
    .breadcrumb{
        display: none;
    }
    .main{
        padding-top: 70px;
    }
    .frame_center{
        height: calc(55px * 4);
        padding:0rem;
    }
    .flex{
        grid-template-columns: repeat(2,50%);
    }
    .flex-card{
        grid-template-columns: repeat(1,100%);
    }
}
@media (max-width: 350px) {
    .flex{
        grid-template-columns: repeat(1,100%);
    }
}