@charset "UTF-8";

/* ------------------------------------------
	BASIC　：：　固定のCSS
--------------------------------------------- */

:root {
	--body-font-family: "Noto Serif JP", serif;
    --body-en-font-family:"Inria Serif", serif; 
    --body-font-color: #222;
    --body-font-weight: 400;
	--body-color: #fff;
    --body-font-size: 16px;
	--h-font-size:40px;
    --h-font-weight: 700;
	--sub-h-font-size:32px;
	--sp-h-font-size:20px;
	--sp-h3-font-size:24px;
    --sp-body-font-size: 14px;
	--sub-sp-h-font-size:24px;
}

*, *:before, *:after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

html, body {
    font-family: var(--body-font-family); /* 全体のフォント */
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    color: var(--body-font-color); /* テキストカラー */
    background-color: var(--body-color);
    line-height: 1.6; /* 行間 */
    margin: 0;
    padding: 0;
    position: relative;
}



img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none; /* 下線を削除 */
    transition: background-color 0.3s ease, color 0.3s ease;
    transition: 0.2s;
}

a:hover {
    opacity: 0.6;
    transition: 0.2s;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

main{
    background-color: var(--body-color);
    z-index: 1;
    position: relative;
}
/* セクションのスタイル */
.contents {
    width: 100%;
    margin: 0 auto;
    padding: 160px 0 0;
}
.sub .contents{
    padding-top: 80px;
}

section {
    margin-top: 40px;
    padding-bottom: 80px;
}

.container {
    width: 90%;
    margin: 0 auto ;
    padding: 0;
}

/* flex */
.flex_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

@media (max-width:959px){
    .contents {
        padding-top: 80px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .flex_box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* フェードアップ */

.fade-up {
transition: 0.8s ease-in-out;
transform: translateY(30px);
opacity: 0;
}
.fade-up.on {
transform: translateY(0px);
opacity: 1.0;
}




/* Utility Classes */
.hidden {
    display: none;
}

.visible {
    display: block;
}

.mt-1 {
    margin-top: 10px;
}

.mb-1 {
    margin-bottom: 10px;
}

.p-1 {
    padding: 10px;
}

.pcnone{
    display: none;
}
.b-tubon{
    display: none;
}
@media (max-width:1080px){
    .b-tubon{
        display: block;
    }
    .b-tubnone{
        display: none;
    }
}
@media (max-width:959px){
    .pcnone{
        display: block;
    }
    .spnone{
        display: none;
    }
}