﻿@charset "utf-8";

/*
本テンプレートのクレジット表示（削除不可）
Template Name: Fumora
Author: ASA
Version: 1.0.0
License URI: https://oshaten10.com/
*/

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html {
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
}

*,
::before,
::after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    line-height: 2;
    color: var(--color-text);
    letter-spacing: .1em;
    text-align: justify;
    background-color: var(--color-pale);
}

/* web font-------------------- */
.webfont {
    font-family: "Libre Baskerville", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* general params-------------------- */
section *:first-child {
    margin-top: 0;
}

section *:last-child {
    margin-bottom: 0;
}

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-text);
    text-underline-offset: .3em;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 1px;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a:hover {
    color: var(--color-accent);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

p {
    margin: 0 0 1em;
}

h4,
h5 {
    margin: 2em 0 0.5em;
}

h2 {
    font-size: 4em;
    line-height: 1;
    margin: 1em 0 0.5em;
}

h3 {
    font-weight: bold;
    font-size: 2em;
    margin: 0.75em 0 0.25em;
}

h4 {
    font-size: 1.25em;
    color: var(--color-accent);
}

h5 {
    font-weight: normal;
    font-size: 1em;
}

hr {
    border: none;
    margin: 4em auto;
    width: 100%;
    height: 0.15em;
    background-color: var(--color-pale);
}

table {
    width: 100%;
    margin: 2rem 0;
    font-size: 0.9em;
    line-height: 2;
    border-collapse: collapse;
    border-spacing: 0;
    border-left: 0.5em solid var(--color-pale);
}

th,
td {
    margin: 0;
    overflow: visible;
    padding: 0.5em;
    vertical-align: top;
}

table td:first-child {
    width: 8em;
    padding-left: 1.5em;
}

table tr:first-of-type td {
    padding-top: 0;
}

table tr:last-of-type td {
    padding-bottom: 0;
}

img {
    max-width: 100%;
    border: none;
    vertical-align: top;
}

ul,
ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

ul li::marker {
    color: var(--color-accent);
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 8px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-wh);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border: none;
}

/* layout-------------------- */
.wrap {
    max-width: 600px;
    margin: 6em auto;
    background-color: var(--color-wh);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1);
}

/* header-------------------- */
header {
    padding: 8em 5em;
}

header h1 {
    font-size: 4em;
    line-height: 1;
}

/* sitename */
.sitename {
    font-size: 0.35em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1em;
}

header h2 {
    margin: 0;
}

.hdr-top {
    padding-bottom: 3em;
}

/* menu-------------------- */
/* ナビゲーションのデザイン */
.menu {
    position: sticky;
    /* スクロールでついてくる */
    top: 0;
    padding: 1.5em;
    background-color: var(--color-pale);
    z-index: 999;
}

.menu ul.gnav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 2em;
}

.menu ul.gnav li a {
    text-decoration: none;
    color: var(--color-text);
    background-color: unset;
}

.menu ul.gnav li a:hover {
    color: var(--color-accent);
}

/* cnt-------------------- */
.cnt {
    width: 100%;
}

.cnt section {
    padding: 8em 5em;
}

.cnt section:last-of-type {
    border-bottom: none;
}

/* 画像ブロック-------------------- */
.imgblock {
    width: 100%;
    height: 40em;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.imgblock_01 {
    background-image: var(--bg-imgblock01);
}

.imgblock_02 {
    background-image: var(--bg-imgblock02);
}

.imgblock_03 {
    background-image: var(--bg-imgblock03);
}

.imgblock_04 {
    background-image: var(--bg-imgblock04);
}

.imgblock_05 {
    background-image: var(--bg-imgblock05);
}

/* 塗りつぶしブロック-------------------- */
.fillblock {
    width: 100%;
    height: 1em;
    background-color: var(--color-pale);
}

/* 更新履歴-------------------- */
.news_area {
    padding: 0 5em 8em;
}

.news_index{
    font-size: 1.25em;
    color: var(--color-accent);
    margin-bottom: 1em;
}

.news_box {
    overflow: auto;
    width: 100%;
    height: 100px;
    padding: 0.5em;
    border: 1px solid var(--color-mgrey);
}

ul.news_list {
    font-size: 0.85em;
    margin-bottom: 0;
    padding: 0;
}

ul.news_list li {
    display: flex;
    gap: 0.4em;
    list-style: none;
}

ul.news_list li span{
    flex-shrink: 0;
}

ul.news_list li span::after {
    content: '・・・';
    padding: 0 6px 0 4px;
    letter-spacing: -0.4em;
}

/* スクロールアイコン-------------------- */
.icn_scroll {
    display: block;
    margin: 0 auto;
}

/* キャプション-------------------- */
.caption {
    padding: 1em;
    font-size: 0.85em;
    line-height: 1.4;
    background-color: var(--color-pale);
}

/* キャプションつきのテキストリスト-------------------- */
ul.cap-list {
    list-style: none;
    padding-left: 0;
}

ul.cap-list li {
    margin-bottom: 1em;
}

ul.cap-list li:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-color: var(--color-accent);
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 999px;
}

ul.cap-list .caption {
    margin-top: 0.6em;
}

/* ギャラリー-------------------- */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 1frが増えると列が増えます */
    gap: 4px;
}

/* リンクボタン-------------------- */
.btn a {
    position: relative;
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 4px;
    color: var(--color-text);
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--color-pale);
    background-color: var(--color-pale);
}

.btn a:hover {
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    background-color: var(--color-wh);
}

/* form setting--------------------*/
input,
textarea,
select,
optgroup,
option,
button {
    font: inherit;
}

button,
input[type="button"],
input[type="submit"] {
    border: none;
    cursor: pointer;
}

form {
    margin-bottom: 1em;
}

input,
textarea {
    color: var(--color-text);
    display: block;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.5em;
    background-color: var(--color-pale);
    border: none;
    border-radius: 4px;
}

span.form-required {
    color: var(--color-accent);
}

button {
    padding: 0.5em 1em;
    border-radius: 4px;
    color: var(--color-text);
    letter-spacing: .1em;
    background-color: var(--color-pale);
}

/* 文章中のアイコン設定-------------------- */
.icn_position {
    width: 13px;
    height: 13px;
    vertical-align: middle;
    margin: 0 3px;
}

/* footer-------------------- */
footer {
    position: relative;
    padding: 1em;
    text-align: center;
    font-size: 0.85em;
}

/* ページトップに戻る-------------------- */
.backtotop {
    position: fixed;
    right: 0;
    bottom: 0;
}

.backtotop a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--color-text);
}

.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 18px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 8px;
    height: 8px;
    border: solid var(--color-wh);
    border-width: 0 0 2px 2px;
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    body {
        font-size: 12px;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

    h2,
    h3 {
        margin: 16px 0 10px;
    }

    .wrap {
        margin: 0;
        box-shadow: none;
    }

    header {
        padding: 5em 2em;
    }

    .news_area {
        padding: 0 2em 5em;
    }

    .cnt section {
        padding: 5em 2em;
    }

    .imgblock{
        height: 28em;
    }
}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */