@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

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

/* 見出し */
.page-title {
    font-size: 3.5rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
}
.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}

/* ボタン */
.button {
    font-size: 1.375rem;
    background: #0bd;
    color: #fff;
    border-radius: 30px;
    padding: 10px 32px;
    margin: 5px;
}
.button:hover {
    background: #0090aa;
}

/* iframe */
iframe {
    width: 100%;
}

/* HEADER
------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 280px;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 10px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}

/* HOME
------------------------------- */
#home {
    background-image: url(../images/454071_m_4.jpg);
    min-height: 120vh;
}
#home .page-title {
    text-transform: none;
}
.home-content {
    text-align: center;
    margin-top: 10%;
}
.home-content p {
    font-size: 1.125rem;
    margin: 10px 0 42px;
}

/* SNS */
#sns {
    background: #FAF7F0;
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 30%;
}
.instagram-gallery {
    max-width: 4005px;
    margin: auto;  
}  
.instagram-gallery__list {
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;  
}  
.instagram-gallery__item {
    min-width: 100.000%;
    width: 100.000%;
    padding: 10px;  
}
/*3*/
section{
    text-align: center;
}
h1{
    margin-top: 3rem;
    margin-bottom: 1em;
    font-size: 2rem;
    font-weight: normal;
}
.flex-container {
    display: flex;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 200px;
  }
  .flex-item {
    display: flex;
    flex-direction: column;
    margin: 20px;
    padding: 10px;
    width: 280px;
    height: 500px; 
  }
  .flex-item img {
    width: 100%;
    height: 100%;
  }

/* WORKS
------------------------------- */
#menu {
    background-image: url(../images/katja-rooke-77JACslA8G0-unsplash.jpg);
    height: 270px;
    margin-bottom: 40px;
}
#menu .page-title {
    text-align: center;
}
.work-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 6%;
  margin-bottom: 50px;
}
.big-box {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.big-box {
    cursor: pointer;
    max-width: 100%;
    width: 100%;
}
.big-box img {
    height: 94%;
    width: 100%;
    object-fit: cover;
 }
 .big-box img {
    height: auto;
    transition: transform .6s ease;/* ゆっくり変化させる */
}
.big-box:hover img {
    transform: scale(1.1);/* 拡大 */
}
.item {
    cursor: pointer;
    max-width: 100%;
    width: 100%;
}
.item img {
    height: 94%;
    width: 100%;
    object-fit: cover;
 }
.item img {
    height: auto;
    transition: transform .6s ease;/* ゆっくり変化させる */
}
.item:hover img {
    transform: scale(1.1);/* 拡大 */
}
.flex-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reform {
    display: grid;
    gap:26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
}
.etc-item img {
    height: auto;
    transition: transform .6s ease;/* ゆっくり変化させる */
}
.etc-item:hover img {
    transform: scale(1.1);/* 拡大 */
}
.etc-item img {
    width: 100%;
    height: 100%;
}
.etc-item {
    cursor: pointer;
}
.ad-reform {
    width: 500px;
    height: 1500px;
}
/* ボタン全体 */
#page_top{
    width: 100px;
    height: 100px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #0bd;
    opacity: 0.6;
    }
  
    /* Font Awesome */
    #page_top::before {
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      content: '\f0d8';
      font-size: 50px;
      color: #ffffff;
      position: absolute;
      width: 30px;
      height: 25px;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      text-align: center;
    }
  
    #page_top::after{
      content: 'PAGE TOP';
      font-size: 13px;
      color: #fff;
      position: absolute;
      top: 30px;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      text-align: center;
    }

/* CONTACT
------------------------------- */
#contact {
    background-image: url(../images/contact2.jpg);
    min-height: 150vh;
}
#contact .page-title {
    text-align: center;
}
/*住所・地図
---------------------------------*/
#location {
    padding: 4% 0;
}
#location .wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}
.location-info {
    width: 40%;
}
.locatio-info p {
    padding: 12px 10px;
}
.location-map {
    width: 55%;
}

/* フォーム */
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* PRIVACY-POLICY
------------------------------- */
#privacy-policy {
    background-image: url(../images/dan-nelson-ah-HeguOe9k-unsplash.jpg);
    height: 270px;
    margin-bottom: 40px;
}
#privacy-policy .page-title {
    text-align: center;
}
.policy-contents p {
    text-align: left;
    margin-bottom: 20px;
}
.policy-contents h3 {
    text-align: left;
    margin-top: 50px;
    margin-bottom: 10px;
}

/* COMPANY
------------------------------- */
#company {
    background-image: url(../images/chuttersnap-Zf64Osndqvc-unsplash.jpg);
    height: 270px;
    margin-bottom: 40px;
}
#company .page-title {
    text-align: center;
}
.timeline {
    list-style: none;
}
.timeline > li {
    margin-bottom: 60px;
    overflow: hidden;
    margin: 0;
    position: relative;
}
.timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
}
.timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
}
.timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #0bd;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
} 
.location-info p {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
} 

/* フッター
------------------------------- */
footer {
    background: #0bd;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* モバイル版
------------------------------- */
@media (max-width: 600px) {
    .page-title {
        font-size: 2rem;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }

    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 2px;
    }
    .main-nav li {
        margin: 0 5px;
    }

    /* HOME */
    .home-content {
        margin-top: 20%;
    }
    h2{
        font-size: 1.1em;
        margin-top: 20px;
    }
    .flex-container{
        flex-direction:column;
        display: flex;
    }
    .flex-item{
        display: flex;
        margin: 70px;
        width: auto;
    }

    /* NEWS */
    .news-contents {
        flex-direction: column;
    }
    #news .page-title {
        margin-top: 30px;
    }
    article,
    aside {
        width: 100%;
    }
    aside {
        margin-top: 60px;
    }
    .post-info {
        margin-bottom: 30px;
    }
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size: 0.875rem;
        padding-top: 2px;
    }
    .post-title {
        font-size: 1.375rem;
    }
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    .post-title,
    .post-cat {
        margin-left: 80px;
    }

    /* WORKS */
    .menu-content {
        margin-top: 20%;
    }
    .work-contents {
        flex-direction:column;
        grid-row: auto;
        width: auto;
    }
    .big-box img {
        height: auto;
    }
    .grid {
        flex-direction:column;
        display: flex;
    }
    .reform {
        flex-direction:column;
        display: flex;
    }
    .ad-reform img {
        display: flex;
        width: 50%;
        height: 100%;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }

    /* 店舗情報・地図 / SNS */
    #location .wrapper,
    #sns .wrapper {
        flex-direction: column;
    }
    .location-info,
    .location-map,
    .sns-box {
        width: 100%;
    }
    .sns-box {
        margin-bottom: 30px;
    }
}
