@charset "utf-8";
/* CSS Document */
/*共通*/

.padding-md {
    padding: calc(var(--space) * 1.8);
}

.bg_primary {
    background: var(--primary);
}

.bg_white {
    background: #FFF;
}

.bg_gray {
    background: var(--gray);
}

.bg_lightgray {
    background: var(--lightgray);
}

.bg_title {
    backface-visibility: var(--title);
}

.txt_primary {
    color: var(--primary);
}

.txt_accent {
    color: var(--accent);
}

.txt_text {
    font-size: 1.8em !important;
}

.txt_center {
    text-align: center;
}

p {
    margin-bottom: 2em;
    padding-left: 0.2rem;
}

/*背景*/
.bg_primary {
    background: var(--primary);
}

.bg_primary-dark {
    background: var(--primary-dark);
}

.bg_accent {
    background: var(--accent);
}

.bg_white {
    background: #FFF;
}

.bg_note {
    background: var(--note);
}

.bg_gray {
    background: var(--gray);
}

.bg_lightgray {
    background: var(--lightgray);
}

.bg_title {
    background: var(--title);
}

.bg_base {
    background: var(--base);
}

.bg_sub {
    background: var(--sub-light) !important;
}

/*動画*/
.youtube {
    margin: 1em auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

/*レイアウト*/
section {
    padding-top: 5em;
    padding-bottom: 5em;
    margin-bottom: 5em;
}

section:last-child {
    margin-bottom: 0;
}

section:nth-child(2n) {
    background: url(./bg_dot.svg), var(--base);
    background-size: 50px, 100%;
}

aside {
    margin: 10px auto 0px;
    padding: 3em 0.5rem 0rem;
}

.container {
    width: calc(100% - 1.25em);
    margin-left: auto;
    margin-right: auto;
    padding: var(--space);
}

.in_box {
    width: 100%;
    border-radius: 15px;
    max-width: 1100px;
    margin: 3em auto 0;
}

.note {
    margin: 2em auto;
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 400;
}

.note ul {
    margin: 0.5rem auto;
}

.note li {
    margin-left: 1rem;
    list-style: disc;
}

@media screen and (max-width:700px) {
   .note{
    font-size:0.95em;
   } 
}

section:first-child {
    margin-top: 0 !important;
}

section:last-child {
    margin-bottom: 0 !important;
}


.note ul {
    margin: .5rem auto
}

.note li {
    margin-left: 1rem;
    font-size: 0.9em;
}

.w300 {
    width: 100%;
    max-width: 300px;
}

.flex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.fig_padding {
    padding: 10px;
}

.flex-center {
    align-items: center;
    -ms-align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/*見出し*/
h2 {
    font-size: 2.1rem;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 1.1rem;
    font-weight: 500;
    background: var(--title);
    margin-bottom: 1em;
    padding: 0.2rem 0.5rem;
    color: var(--primary);
    border-radius: 4px;
}

h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 1em;
    padding: 0.3rem 0;
    border-bottom: dotted 2px var(--primary);
}

h5 {
    font-size: 1.5rem;
    text-align: center;
}

h6 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--primary);
}

@media screen and (min-width: 768px) {}

/*リンク*/
a {
    transition: color 0.3s;
}

a:link {
    color: var(--gray);
}

a:visited {
    color: var(--gray);
}

a:hover {
    color: var(--primary);
}

li a {
    text-decoration: none !important;
}

span a {
    display: inline-block;
    padding: 0.5rem 1rem;
    width: 100%;
    height: 100%;
}

/*ボタン*/
.btn {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    margin: 1.5rem auto;
    width: calc(100% - 2rem);
    transition: 0.5s;
    box-shadow: 3px 6px 15px -2px rgba(194, 189, 135, 0.6);
}

.btn:hover {
    opacity: 0.7;
}

.btn_entry a:link,
.btn_entry a:visited,
.btn_entry a:hover {
    text-decoration: none;
    color: #FFF;
}

.btn_sub a:link,
.btn_sub a:visited,
.btn_sub a:hover {
    text-decoration: none;
    color: var(--gray);
}

.btn_entry {
    background: var(--accent);
}

.btn_sub {
    background: var(--sub);
}

@media screen and (min-width: 768px) {}

/*遅延読み込み*/
.fade {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/*ヘッダー*/
#header a:link,
#header a:visited {
    color: var(--lightgray);
}

#header a:hover {
    color: var(--primary-light);
}

/*フッター*/
#footer a:link,
#footer a:visited {
    color: var(--base);
}

#footer a:hover {
    color: var(--primary-light);
}

/*トップへ戻る*/
#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: var(--text);
    opacity: 0.8;
    border-radius: 50%;
}

#page_top::before {
    content: "";
    background: url(./angle-up-solid.svg) no-repeat center center;
    background-size: 100%;
    position: absolute;
    width: 20px;
    height: 20px;
    top: -4px;
    bottom: 0;
    right: 0;
    left: 2px;
    margin: auto;
    text-align: center;
}

/*レスポンシブ*/
.sp {
    display: none !important;
}

.pc {
    display: inline-block !important;
}

@media screen and (max-width:1024px) {

    html,
    body {
        font-size: 15px;
    }
}

@media screen and (max-width:810px) {

    html,
    body {
        font-size: 14px;
    }
    .w300 {
	width: calc(100% / 2 - 1em);
}
.btn {
	font-size: 1.1rem;
	padding: 0.2rem 0.5rem;
	margin: 1.3rem auto;
	box-shadow: 0px 3px 10px -2px rgba(194, 189, 135, 0.6);
}
}

@media screen and (max-width:620px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: inline-block !important;
    }

    .container {
        width: calc(100% - 0.5em);
    }

    .padding-md {
        padding: calc(var(--space) * 1.3);
    }

    @media screen and (max-width:600px) {
        .btn {
            margin: 0.5rem auto;
        }
    }
}

@media screen and (max-width:400px) {

    html,
    body {
        font-size: 14px;
    }

}