@charset "UTF-8";

/* 共通部分
----------------------------------------------------------*/
html {
    font-size: 100%;
}
body {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: rgb(48, 39, 30);
    background-color: #F6FAF0;
    
}
a {
    text-decoration: none;
    font-size: 120%;
}
img {
    max-width: 100%;
}

/* HEADER
-----------------------------------------------------------*/
.logo {
    width: 200px;
    margin-top: 14px;
    margin-left: 14px;
}
.main-nav {
    display: inline-flex;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li{
    margin-left: 36px;
}
.main-nav a{
    color: #432;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.main-nav a:hover {
    color: #0bd;
}
.page-header {
    display: flex;
    justify-content: space-between;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* HOME
--------------------------------------------------------------*/
.home-content {
    text-align: center;
    margin-top: 10%;
}

/* 見出し */
.page-title {
    font-size: 5rem;
        font-family: "Hina Mincho", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 70px;
        text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top;
}

#home {
    background-image: url(../images/apples.jpg);
    min-height: 100vh;
}

#home .page-title {
    text-transform: none;
}

/* footer */

footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}

footer p {
    color: #fff;
    font-size: 1rem;
    font-weight: lighter;
}

/* news
-----------------------------------------------------*/
.article-date {
    color: #444;
    font-size: 0.8rem;
}

.news-title span{
    color: #d33;
}

/* about us
-----------------------------------------------------*/

.sub-title {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    /*line-height: 2;*/
    font-size: 2.5rem;
    color: rgb(48, 39, 30);
    padding: 0em 0.5em;
    border-left: solid 7px #0bd;
    /*background-color: #f5deb3;*/
}


.portrait {
    width: 600px;
    margin-top: 14px;
    margin-left: 14px;
}

.about-us-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    text-align: justify;
}

/* access
-----------------------------------------------------*/
.location-info {
    display: block;
    justify-content: space-between;
    margin-bottom: 50px;
    text-align: justify;
}

span {
    color: #0bd;
}

/*ここからカルーセル*/

.carousel {
    position: relative;
    width: 400px;
    margin: 0 auto;
}

.carousel__activator-main {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.carousel__main {
    overflow: hidden;
    position: relative;
}

.carousel__main-track {
    display: flex;
    white-space: nowrap;
    transition: transform 0.3s ease-out;
}

.carousel__main-item {
    flex-shrink: 0;
    width: 100%;
}

.carousel__main-image {
    display: block;
    width: 100%;
}

.carousel__control {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}


/* ボタン */
.carousel__control-item {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.carousel__btn-prev-main,
.carousel__btn-next-main {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.carousel__btn-prev-main {
  position: absolute;
  left: -64px; /* 画像の外に出す */
  top: 50%;
  transform: translateY(-50%);
}

.carousel__btn-next-main {
  position: absolute;
  right: -64px; /* 画像の外に出す */
  top: 50%;
  transform: translateY(-50%);
}

/*ページネーション*/
.pagination label {
    cursor: pointer;
}
.pagination {
    width: 150px;
    margin: 5% auto 0;
    display: flex;
    justify-content: space-around;
}

.pagination-circle {
    width: 20px;
    height: 20px;
    border: 1.5px solid #432;
    border-radius: 50%;
    background-color: #eee;
    display: inline-block;

}


/* ボタンエリア制御　*/
.carousel__activator-main:nth-child(1):checked ~ .carousel__control .carousel__control-item:nth-child(1) {
    display: block;
}
.carousel__activator-main:nth-child(2):checked ~ .carousel__control .carousel__control-item:nth-child(2) {
    display: block;
}
.carousel__activator-main:nth-child(3):checked ~ .carousel__control .carousel__control-item:nth-child(3) {
    display: block;
}
.carousel__activator-main:nth-child(4):checked ~ .carousel__control .carousel__control-item:nth-child(4) {
    display: block;
}
.carousel__activator-main:nth-child(5):checked ~ .carousel__control .carousel__control-item:nth-child(5) {
    display: block;
}
.carousel__activator-main:nth-child(6):checked ~ .carousel__control .carousel__control-item:nth-child(6) {
    display: block;
}

/* ページネーション制御 */
.carousel__activator-main:nth-child(1):checked ~ .pagination label:nth-child(1) .pagination-circle{
    background-color: #432;
}
.carousel__activator-main:nth-child(2):checked ~ .pagination label:nth-child(2) .pagination-circle{
    background-color: #432;
}
.carousel__activator-main:nth-child(3):checked ~ .pagination label:nth-child(3) .pagination-circle{
    background-color: #432;
}
.carousel__activator-main:nth-child(4):checked ~ .pagination label:nth-child(4) .pagination-circle{
    background-color: #432;
}
.carousel__activator-main:nth-child(5):checked ~ .pagination label:nth-child(5) .pagination-circle{
    background-color: #432;
}
.carousel__activator-main:nth-child(6):checked ~ .pagination label:nth-child(6) .pagination-circle{
    background-color: #432;
}

/* スライドエリア制御　*/
.carousel__activator-main:nth-child(1):checked ~ .carousel__main .carousel__main-track {
    transform: translateX(calc(-100% * 0));
}
.carousel__activator-main:nth-child(2):checked ~ .carousel__main .carousel__main-track {
    transform: translateX(calc(-100% * 1));
}
.carousel__activator-main:nth-child(3):checked ~ .carousel__main .carousel__main-track {
    transform: translateX(calc(-100% * 2));
}
.carousel__activator-main:nth-child(4):checked ~ .carousel__main .carousel__main-track {
    transform: translateX(calc(-100% * 3));
}
.carousel__activator-main:nth-child(5):checked ~ .carousel__main .carousel__main-track {
    transform: translateX(calc(-100% * 4));
}
.carousel__activator-main:nth-child(6):checked ~ .carousel__main .carousel__main-track {
    transform: translateX(calc(-100% * 5));
}


/* モバイル版
-----------------------------------------------------*/
@media (max-width: 600px) {
    .logo{
        width: 150px;
    }
    .main-nav {
        font-size: 0.8rem;
        font-weight: bold;
        display: inline-flex;
    }    

    .main-nav li{
        margin-left: 10px;
    }

    .page-title {
        font-size:3rem; 
    }
    .sub-title {
        font-size: 2rem;
    }

    .page-header {
        flex-direction: column;
        align-items: center;
    }

    .about-us-content {
        flex-direction: column;
        align-items: center;
        font-size: 1rem
    }
    .location-info {
        flex-direction: column;
        align-items: center;
    }

    .location-info a {
        color: #0bd;
        font-weight: bold;

    }

    iframe {
        width: 100%;
    }

    .carousel {
        width: 240px;
    }

    .carousel__btn-prev-main,
    .carousel__btn-next-main {
    width: 40px;
    height: 40px;
    }

    .carousel__btn-prev-main {
    left: -48px; /* 画像の外に出す */
    }

    .carousel__btn-next-main {
    right: -48px; /* 画像の外に出す */
    }

    .pagination {
        width: 100px;
    }

    .pagination-circle {
        width: 10px;
        height: 10px;
        border: 1.5px solid #432;
    }

}