@charset "utf-8";

/* 背景：#0e0e1f 文字：#fafafa 濃紫#551a8b 黄土：#999966 */
/* サイト全体の設定 */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: serif;
    line-height: 1.6;
    color: #fafafa;
    scroll-behavior: smooth;
}

body {
    background-color: #0e0e1f;
    margin: 0;
}

/* 画像のレスポンシブ対応 */
img {
    max-width: 100%;
    height: auto;
}

/* 画像のレスポンシブ対応ここまで */

/* リンクの設定 */
a:link {
    color: #999966;
    text-decoration: none;
}

a:visited {
    color: #999966;
    text-decoration: none;
}

a:hover {
    color: #999966;
    text-decoration: underline;
}

a:active {
    color: #999966;
    text-decoration: underline;
}

/* リンクの設定ここまで */

/* 見出し・本文の設定 */

h1 {
    font-size: 2.6rem;
    border-bottom: 1px solid #fafafa;
    text-align: center;
}

h2 {
    font-size: 1.6rem;
    border-bottom: 1px solid #fafafa;
    text-align: center;
}

h3 {
    font-size: 1.6rem;
    background-image: url(../images/h1_bg_y.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 50%;
    text-align: center;
}

h4 {
    font-size: 1.6rem;
    background-image: url(../images/h1_bg_p.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 75%;
    text-align: center;
}

/* 見出し・本文の設定ここまで */

/* サイト全体の設定ここまで */

/* ヘッダーの設定 */

header {
    max-width: 1030px;
    margin: 0 auto 0 auto;
    /* border: 2px solid #ff0000; */
}

.logo {
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 60px;
}

/* ヘッダー・ナビゲーションリンクの設定 */

nav ul li a:link {
    color: #fafafa;
    text-decoration: none;
}

nav ul li a:visited {
    color: #fafafa;
    text-decoration: none;
}

nav ul li a:hover {
    color: #fafafa;
    text-decoration: none;
}

nav ul li a:active {
    color: #fafafa;
    text-decoration: none;
}

/* ヘッダー・ナビゲーションリンクの設定ここまで */

/* ヘッダーの設定ここまで */

/* トップに戻るボタン */
.back-top{
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 1rem;
    width: 54px;
    height: 54px;
    background-color: #999966;
    border-radius: 50%;
}

.triangle{
    width: 30px;
    height: 24px;
    clip-path: polygon(100% 100%, 50% 0%, 0% 100%);
    margin: 14px auto 0;
    background-color: #0e0e1f;
}

/* キービジュアルの設定 */
.index_keyvisual {
    background-image: url(../images/indextop.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 200px 0;
}

.index_keyvisual h1 {
    font-size: 24px;
    border-bottom: none;
    background: rgba(25, 25, 25, 1);
    padding: 1rem;
    display: block;
}

.machinami_keyvisual {
    background-image: url(../images/machinamitop.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 200px 0;
}

.machinami_keyvisual h1 {
    color: #551a8b;
    border-bottom: none;
    background: rgba(255, 255, 255, .5);
    padding: 1rem;
    display: block;
}

.archive_keyvisual {
    background-image: url(../images/archivetop.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 200px 0;
}

.archive_keyvisual h1 {
    color: #551a8b;
    border-bottom: none;
    background: rgba(255, 255, 255, .5);
    padding: 1rem;
    display: block;
}

/* キービジュアルの設定ここまで */

/* メイン領域の設定 */
main {
    max-width: 1032px;
    margin: 0 auto;
    /* border: 2px solid #ff0000; */
}

section {
    margin: 120px 0 0 0;
    /* border: 2px solid #0000ff; */
}

.contents {
    max-width: 1032px;
    margin: 60px auto;
}

.contents p,.contents small{
    padding:0 1rem;
}

.links {
    margin: 60px 0;
}

.links p {
    text-align: center;
}

/* .links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 60px
} */

.links ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    list-style-type: none;
    padding: 0;
}

.links ul li {
    border: 1px solid #999966;
    border-radius: 10px;
    color: #999966;
    font-weight: bold;
    margin: 1em;
    padding: 0.5em;
    text-align: center;
}

/* メイン領域の設定ここまで */

/* フッターの設定 */
footer {
    max-width: 1030px;
    margin: 0 auto 0 auto;
    /* border: 2px solid #ff0000; */
}

.gotop {
    text-align: center;
    padding: 1rem;
}

.gotop a {
    background-color: #999966;
    font-weight: bold;
    color: #0f0f0f;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.copyright {
    text-align: center;
}

/* フッターの設定ここまで */

/* 小須戸の町並みのページ設定 */
/* slick-slider */
.slider{
    display: none; /* 最初は非表示に */
  }
  .slider.slick-initialized{
    display: block; /* slickが実行完了したら表示 */
  }
 
.slider img{
    width: 400px;
    height: 20vh;
    object-fit: cover;
    /* aspect-ratio: 3/4; */
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    gap: 10px;
    /* border: 2px solid #00ff00; */
}

.machinami_nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    list-style-type: none;
    padding: 0;
}

.machinami_nav ul li {
    border: 1px solid #999966;
    border-radius: 10px;
    color: #999966;
    font-weight: bold;
    margin: 1em;
    padding: 0.5em;
    text-align: center;
}

.c-text {
    max-width: 70%;
    /* border: 2px solid #0000ff; */
}

.c-img {
    max-width: 30%;
    height: auto;
    /* border: 2px solid #f00; */
}

.two_c_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.c-text2 {
    max-width: 60%;
    /* border: 2px solid #00f; */
}

.c-img2 {
    /* max-width: 30%; */
    height: auto;
    /* border: 2px solid #f00; */
}

figure {
    margin: 0;
    padding: 0;
}

figcaption {
    font-size: 10px;
}

.reference table {
    margin: 0 auto;
}

thead {
    background-color: #333333;
    text-align: center;
    font-size: 1.4em;
}

tbody tr:nth-child(even) {
    background-color: #222222;
}

thead td:nth-child(1) {
    width: 50%;
}

thead td:nth-child(2) {
    width: 20%;
}

thead td:nth-child(3) {
    width: 20%;
}

thead td:nth-child(4) {
    width: 20%;
}

/* 小須戸の町並みのページ設定ここまで */

/* 活動アーカイブのページ設定 */

.year {
    width: 90vw;
    padding: 10px 0;
    background-color: #333333;
    color: #fafafa;
}

.datelist {
    width: 100%;
    padding: 1em;
    line-height: 200%;
}

.date {
    width: 7em;
}

/* 活動アーカイブのページ設定ここまで */

/* 活動レポートのページ設定 */
.reportmain {
    display: flex;
}

aside {
    width: 15%;
}

.sidemenu {
    position: sticky;
    top: 20px;
    padding-right: 2rem;
}

.reportcontents {
    width: 85%;
}

.report_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    gap: 10px;
    /* border: 2px solid #00ff00; */
}

.goarchive a {
    border: 1px solid #999966;
    font-weight: bold;
    color: #999966;
    padding: 0.5em;
    margin: 2rem 3rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

/* 活動レポートのページ設定ここまで */

/* レポートページの設定 */
.timestamp {
    text-align: right;
}

/* レポートページの設定ここまで */

/* レスポンシブ対応 */
@media (max-width:767px) {
    main {
        margin: 0 4%;
    }

    .index_keyvisual h1{
        font-size: 18px;
    }

    nav ul {
        gap: 20px;
    }

    .wrapper {
        display: block;
    }

    .links ul,.machinami_nav ul {
        display: block;
    }

    .links ul li,.machinami_nav ul li {
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #999966;
        margin-top: 20px 0;
        color: #999966;
        font-weight: bold;
        text-align: center;
    }

    .c-text {
        max-width: 100%;
    }

    .c-img {
        max-width: 100%;
        text-align: center;
    }

    .c-text2 {
        max-width: 100%;
    }

    .c-img2 {
        max-width: 100%;
        text-align: center;
    }

    .reportmain {
        display: block;
    }

    .sidemenu {
        display: none;
    }

    .reportcontents {
        width: 100%;
    }

    .report_wrapper {
        display: block;
    }

    .goarchive a {
        display: block;
    }

}