@charset 'UTF-8';

/*
COLORS
================================================ */
:root {
    --light-blue: #4db1ec;
    --blue: #1665cc;
    --purple: #b473bf;
    --pink: #ffb2c1;
    --orange: #ff9f67;
    --yellow: #ffd673;
    --light-green: #a2e29b;
    --green: #00a2af;
    --grey: #333;
    --white: #fff;
    --light-gray: #e6e6e6;
    --gray: #666666;
    --darkred: #8b0000;
    --m-silver: #999B9B;
    --karatya: #8d6449;
    --kuriiro: #554738;
    --ivory: #f8f4e6;
    --urumi: #e9dacb;
    --akasumi: #3f312b;
}

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    /* スムーズスクロール */
    scroll-behavior: smooth;
}
body {
    color: var(--grey);
    background-color: var(--ivory);
}

.kosugi-maru-regular {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}
img {
    max-width: 100%;
}
h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}
h1,
h2 {
    text-align: center;
}
h4 {
    text-align: left;
}
h5 {
    text-align: center;
}
h6 {
    text-align: right;
}
header,
h1,
h2,
.hero-date {
    font-family: "Kosugi Maru", sans-serif;
}
/* Layout */
.wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: "Kosugi Maru", sans-serif;
}

/*
HEADER
================================================ */
header {
    background: var(--kuriiro);
//    background-image: linear-gradient(var(--grey), var(--m-silver));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}
header .wrapper {
    display: flex;
    justify-content: space-between;
}
header p {
  text-align: right;
}
header a {
    color: var(--white);
    font-size: 2rem;
}
.btn-menu {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white);
    padding: .5rem 1rem;
}
.main-nav {
    background: var(--kuriiro);
    width: 0;
    position: absolute;
    z-index: 2;
    top: 56px;
    right: 0;
    overflow: hidden;
    transition: .5s;
}
.main-nav li {
    text-align: center;
    margin: 2rem 0;
}
.main-nav a {
    display: block;
    font-size: 1rem;
}
.main-nav.open-menu {
    width: 100%;
}

/*
HOME
================================================ */
//#home {
    /* ↓ 省略形だとブラウザーによってうまく表示されない
    background: var(--light-blue) url('../images/home.jpg') no-repeat center / cover; */
    background-color: var(--light-blue);
    background-image: url('../images/home.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: screen;
    animation: bg-color 24s infinite;
    height: 120vh;
    display: flex;
    align-items: center;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* ↓ スライドショー */
.slideshow {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: screen;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);/* 画像をななめに */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* 背景を全画面にフィットさせる [7] */
    background-position: center;
    opacity: 0;
    animation: slideAnimation 12s infinite; /* 全体の時間 */
}

/* 各画像の設定 */
.slide1 { background-image: url('../images/home1.jpg'); animation-delay: 0s; }
.slide2 { background-image: url('../images/home4.jpg'); animation-delay: 4s; }
.slide3 { background-image: url('../images/home5.jpg'); animation-delay: 8s; }

/* アニメーション定義 */
@keyframes slideAnimation {
    0% { opacity: 0; }
    15% { opacity: 1; }
    35% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}


/* ★これが透かし色の部分★ */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(60, 40, 0, 0.4)); /* 色(0,0,0)で透明度40%(0.4) */
    z-index: 1; /* 画像より上に配置 */
}


#home .wrapper h4 {
    position: absolute; /* 親要素に対して絶対配置 */
    top: 20%; /* 上から50% */
    z-index: 2;
    font-size: 5.5rem;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.0); /* 文字を見やすくする背景色 */
    padding: 3px;
    max-width: 800px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 7px #333;
    line-height: 150px;
}
#home .wrapper h5 {
    position: absolute; /* 親要素に対して絶対配置 */
    top: 35%; /* 上から50% */
    z-index: 2;
    font-size: 5.5rem;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.0); /* 文字を見やすくする背景色 */
    padding: 3px;
    max-width: 800px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 7px #333;
    line-height: 150px;
}
#home .wrapper h6 {
    position: absolute; /* 親要素に対して絶対配置 */
    top: 50%; /* 上から50% */
    z-index: 2;
    font-size: 5.5rem;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.0); /* 文字を見やすくする背景色 */
    padding: 3px;
    max-width: 800px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 7px #333;
    line-height: 150px;
}





/*
NEWS
================================================ */
#news {
//    background-image: linear-gradient(var(--light-green), var(--green));
    padding: 10rem 0;
    -webkit-clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}
#news h2 {
  background: linear-gradient(var(--light-green), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
.news-table {
    color: var(--grey);
    width: 100%;
}
.news-table tr {
    border-bottom: 1px solid rgba(0,0,0,.5);
}
.news-table td {
    display: block;
    line-height: 1.5;
}
.news-date {
    font-size: .875rem;
    padding-top: 1rem;
}
.news-content {
    padding-bottom: 1rem;
}

/*
ABOUT
================================================ */
#about {
    padding: 10rem 0rem;
}
#about h2 {
  background: linear-gradient(var(--yellow), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
#about p {
    margin-bottom: 2rem;
}

blockquote {
    position: relative;
    padding: 2rem;
}
blockquote::before,
blockquote::after {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
}
blockquote::before {
    border-top: 5px double #ccc;
    border-left: 5px double #ccc;
    top: 0;
    left: 0;
}
blockquote::after {
    border-bottom: 5px double #ccc;
    border-right: 5px double #ccc;
    bottom: 0;
    right: 0;
}

/*
MEKKI
================================================ */
#mekki {
    padding: 10rem 1rem;
}
.mekki-list {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.mekki-text {
    margin-left: 1rem;
}
#mekki h2 {
  background: linear-gradient(var(--light-blue), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
#mekki h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}
#mekki img {
    border-radius: 10%;
    width: 15%;
}

/*
ACCESS
================================================ */
#access {
    padding: 10rem 0rem;
}
.access-list {

    margin-bottom: 5rem;
}
.access-text {
    margin-left: 1rem;
}
#access h2 {
  background: linear-gradient(var(--pink), var(--darkred));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
#access h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}


/*
CONTACT
================================================ */
#contact {
    background-image: linear-gradient(var(--urumi), var(--akasumi));
    padding: 10rem 1rem 2rem;
    -webkit-clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
}
#contact h2 {
    color: var(--white);
}
#contact p {
    color: var(--white);
}

.contact-form {
    max-width: 480px;
    margin: 0 auto 5rem;
}
.contact-form label {
    color: var(--white);
    display: block;
    margin-bottom: .5rem;
}
.contact-field {
    background: rgba(255,255,255,.6);
    padding: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
}
.contact-btn {
    background: var(--grey);
    color: var(--white);
    display: block;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

.faq-table {
    color: var(--white);
    width: 100%;
}
.faq-table tr {
    border-bottom: 1px solid rgba(255,255,255,.5);
}
.faq-table td {
    display: block;
    line-height: 1.5;
}
.faq-date {
    font-size: .875rem;
    padding-top: 1rem;
}
.faq-content {
    padding-bottom: 1rem;
}

/*
FOOTER
================================================ */
.footer {
    border-top: 1px solid rgba(255,255,255,0.5);
    padding-top: 2rem;
    text-align: center;
    font-size: .875rem;
    color: var(--white);
}
.footer a {
    text-decoration: underline;
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
/* Common */
    h2 {
        font-size: 5rem;
    }
    a:hover,
    .contact-btn:hover {
        transition: .3s;
    }
    a:hover {
        color: var(--light-blue);
    }
    .contact-btn:hover {
        background: var(--m-silver);
    }

/* Header */
    .btn-menu {
        display: none;
    }
    .main-nav {
        width: 100%;
        position: static;
        display: flex;
    }
    .main-nav li {
        margin: 0 0 0 1.5rem;
    }
/* home */
    #home h1 {
        font-size: 6.875rem;
    }
    .home-date {
        font-size: 3rem;
    }
/* News */
    .news-table td {
        display: table-cell;
    }
    .news-date {
        padding: 1.125rem 0 1rem 1rem;
    }
    .news-content {
        padding: 1rem 1rem 1rem 0;
    }
/* mekki */
    #mekki h2 {
        margin-bottom: 4rem;
    }
    .mekki-list {
        margin-bottom: 3rem;
    }
    .mekki-text {
        margin-left: 2rem;
    }
}






