@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    color: #494949;
    font-family: 'Gowun Batang', serif;
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 300;
}


a {
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}



/* h1タグ用 */
.site-title {
    font-size: 6.25rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-top: 300px;
}

/* h2タグ用 */
.section-title {
    border-bottom: solid 1px #494949;
    /* 下線をテキストと同じ幅にあわせるために設定 */
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 15px;
    padding-bottom: 15px;
}


.section-title2 {
    border-bottom: solid 1px #494949;
    /* 下線をテキストと同じ幅にあわせるために設定 */
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 45px;
    color: #494949;
}

/* コンテンツ幅を設定するための共通クラス */
.wrapper {
    max-width: 1120px;
    padding: 0 30px;
    margin: 0 auto;
    text-align: center;
}

/* MainとFooter全体を囲むクラス */
.container {

    text-align: center;
}

/*
SP ～519px
tab 520px～959px
PC 960px～
*/
/*================
video
================*/
.mv {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
    top: 0;
    left: 0;

}

.mv video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}



/*
サイドボタン
初期状態は「translateY(60px);」で画面の右側に隠しておく
Galleryのタイトルが画面下にきたタイミングで、jQueryでCSSを変更してボタンをスライドしながら表示する
businessのタイトルが画面下にきたタイミングで、jQueryでCSSを変更してボタンをスライドしながら非表示にする
※main.jsの「サイドボタンを表示」を参照
*/
#side-btn {
    border: solid 1px #494949;
    position: fixed;
    right: -144px;
    bottom: 200px;
    transform: rotate(-90deg) translateY(60px);
    transition: 0.6s;
    z-index: 30;
}

#side-btn a {
    width: 165px;
    font-size: 0.875rem;
    display: inline-block;
    letter-spacing: 0.1em;
    padding: 15px 0;
    transition: 0.3s;
    color: #494949;
    text-decoration: none;
}

#side-btn a:last-of-type {
    border-left: solid 1px #494949;
}

#side-btn a:hover {
    opacity: 0.7;
}

/*
businessの背景画像
初期状態は「display: none;」で非表示にしておく
businessのタイトルが画面下にきたタイミングで、jQueryのfadeInで表示する
Contactのタイトルが画面下にきたタイミングで、jQueryのfadeOutで非表示にする
「position: fixed;」で固定し「width: 100vw;」「height: 100vh;」で全画面表示する
※main.jsの「businessの背景画像を表示」を参照
*/
.bg {
    background: url("../img/bgi.jpg") center center repeat !important;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10;
}

/*
フェード表示
InformationとGalleryの画像を下からふわっと表示させるためのクラス
「transform: translate(0, 50%);」で下にさげた状態で、
「opacity: 0;」で非表示にしておく
*/
.fadein {
    opacity: 0;
    transform: translate(0, 50%);
    transition: 1.3s;
}

.bg.fadein {
    transition: 1s;
}

/*
fadeinクラスの要素が画面下にきたタイミングで、jQueryのinviewにてshowクラスを追加して
「transform: translate(0, 0);」と「opacity: 1;」で表示させる
※main.jsの「フェード表示」を参照
*/
.fadein.show {
    transform: translate(0, 0);
    opacity: 1;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/


/*
ヘッダーロゴ
初期状態は「display: none;」で非表示にしておく
所定のスクロール位置にきたらjQueryのfadeInで表示する
※main.jsの「ロゴ、ハンバーガーメニューの表示」を参照
*/
.logo {
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    position: fixed;
    top: 15px;
    left: 35px;
    /* 一番上にくるように設定 */
    z-index: 40;
    display: none;
    width: 20%;
}



.logo a {
    display: block;
    color: #ee9693;
    font-weight: bold;
}



/*
ハンバーガ―メニュー
初期状態は「display: none;」で非表示にしておく
所定のスクロール位置にきたらjQueryのfadeInで表示する
※main.jsの「ロゴ、ハンバーガーメニューの表示」を参照
*/
.hamburger {
    width: 42px;
    height: 42px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 25px;
    /* 一番上にくるように設定 */
    z-index: 40;
    display: none;
}

.hamburger span {
    width: 30px;
    height: 1px;
    background-color: #494949;
    position: absolute;
    left: 6px;
    transition: 0.5s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 11px;
}

.hamburger span:nth-child(2) {
    top: 21px;
}

.hamburger span:nth-child(3) {
    top: 31px;
}

.hamburger.active span:nth-child(1) {
    top: 21px;
    left: 6px;
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 21px;
    transform: rotate(45deg);
}

#navi {
    width: 100%;
    background-color: rgb(255, 255, 255, 0.5);
    color: #494949;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    transform: translateY(-100%);
    transition: 0.6s;
    /* ロゴ、ハンバーガーより下でbusinessページの背景画像よりも上にくるよう設定 */
    z-index: 30;
}

#navi ul {
    width: 100%;
    background-color: rgb(255, 255, 255, 0.5);
    padding: 80px 0 30px 0;
}

#navi ul li {
    padding: 10px 0;

}

#navi ul li a {
    display: block;
    color: #494949;
}

/*
メニュー表示
ハンバーガーメニューがクリックされた際に、jQueryで#naviにactiveクラスを追加して、
メニューを上から下にスライドさせて表示する
*/
#navi.active {
    transform: translateY(0%);
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
    display: flex;
    justify-content: center;
    /* スクロールで画像を拡大させた際に、横スクロールが出ないよう設定 */
    overflow-x: hidden;
}

/*
スクロールしたタイミングでjQueryにて画像を拡大するが、
その際に画像が縮まないよう「flex-shrink: 0;」を設定する
*/
#mainvisual img {
    width: calc(100%/3);
    height: 100vh;
    flex-shrink: 0;
    object-fit: cover;
}

#mainvisual3 {
    display: none;
}

/*-------------------------------------------
about shiam
-------------------------------------------*/
.aboutshiam {
    margin-top: 150px;
}

/*-------------------------------------------
Information
-------------------------------------------*/
#information {
    margin-top: 150px;
    margin-bottom: 50px;
    text-align: center;
}

#information .info-date-en {
    display: block;
    font-size: 1.5rem;
}

#information .info-time-en {
    display: block;
    font-size: 1.125rem;
}

#information .info-place {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 20px 0;
}



#information {
    margin-bottom: 150px;
    position: relative;
    z-index: 20;
    color: #494949;
}

#information .btn {
    border: solid 1.5px #494949;
    color: #494949;
    display: inline-block;
    padding: 60px 10px;
    transition: 0.2s;
    width: 300px;
    height: 240px;
}

#information .btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

#news .list {
    display: flex;
    justify-content: space-between;
}

/*
  「width: calc(100%/4);」で横幅を3等分する
  */
#news .list li {
    width: calc(100%/3);
}


/*-------------------------------------------
Gallery
-------------------------------------------*/
#gallery {
    margin-bottom: 150px;
}

#gallery .list li {
    margin-bottom: 60px;
    margin-top: 100px;
}

#gallery .list li img {
    width: 48%;
}

/* 奇数のliタグは左寄せ */
#gallery .list li:nth-child(odd) {
    text-align: left;
}

/* 偶数のliタグは右寄せ */
#gallery .list li:nth-child(even) {
    text-align: right;
}

/*-------------------------------------------
business
-------------------------------------------*/
/*
「z-index: 20;」でコンテンツが背景画像の上にくるようにする
※デフォルトのposition（static）では、z-indexを指定できないため。
「position: relative;」設定する
*/
#business {
    position: relative;
    z-index: 20;

}

.info-date-ja {
    font-size: 1.125rem;
    margin-bottom: 100px;
    color: #383838;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#business .info-date-ja {
    color: #494949;
}



.catalog-antique h4 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: -30px;
}

/*-------------------------------------------
Catalog & Antique
-------------------------------------------*/
.catalog-antique {

    padding: 60px 0;
}

.catalog-antique .sec-title {
    margin-bottom: 40px;
}

.catalog-antique .flex-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalog-antique .item {
    width: 48%;
    text-align: center;
}

.catalog-antique .item img {
    width: 100%;
}

.catalog-antique .item p {
    margin-bottom: 30px;
    text-align: center;
}









/*-------------------------------------------
Contact
-------------------------------------------*/
/*
「z-index: 20;」でコンテンツが背景画像の上にくるようにする
*/
#contact2 {
    margin-top: 30px;
    position: relative;
    z-index: 20;
    text-align: center;
    color: #000;
}

#contact2 .btn {
    width: 400px;
    border: solid 1px #747474;
    color: #000000;
    display: block;
    padding: 30px 0;
    margin: 0 auto 20px auto;
    position: relative;
    transition: 0.3s;
    background-color: rgb(255, 255, 255, 0.7);
}

/*
ボタン矢印
*/
#contact2 .btn::before,
#contact2 .btn::after {
    content: "";
    position: absolute;
    right: -40px;
    height: 1px;
    background-color: #000000;
    transition: 0.3s;
}

/*
矢印の直線部分
*/
#contact2 .btn::before {
    width: 120px;
    top: 48px;
}

/*
矢印の先端部分
「rotate(25deg)」で角度をつける
*/
#contact2 .btn::after {
    width: 15px;
    top: 45px;
    transform: rotate(25deg);
}

#contact2 .btn:hover {
    opacity: 0.7;
}

#contact2 .btn:hover::before,
#contact2 .btn:hover::after {
    right: -50px;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    font-size: 0.75rem;
    padding: 50px 100px;
    text-align: left;
    background-color: #ffffff;
    color: #5b5b5b;
}

#footer p {
    line-height: 1.6;
}

#footer .sns {
    display: flex;
    align-items: center;
    margin-top: 30px;

}

#footer .sns li {
    margin-right: 15px;
}

#footer .sns img {
    width: 30px;
}

#footer .copyright {
    display: flex;
    align-items: center;
}



/*-------------------------------------------
customページ
-------------------------------------------*/


#mainvisual2 {
    margin-bottom: 30px;
}

#mainvisual2 img {
    width: 100%;
    max-width: 1920px;
    height: 200px;
    object-fit: cover;
}


.inner2 {
    max-width: 900px;
    margin: 0 auto;
}


#index {
    padding: 60px;
    margin-bottom: 30px;
    color: #494949;
}

#index .index-inner {
    border: solid 1px #494949;
    padding: 30px;
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.7);

}

/*
  「display: table;」と「margin: 0 auto;」で中央に配置。
  ※この方法を使うとテキストの長さに応じて可変で中央配置できる
  */
#index .index-inner .index-list {
    display: table;
    margin: 10px 20px;
    text-align: left;

}

#index .index-inner .index-list li {
    margin-bottom: 20px;
}

/*
  最後のliタグには margin-bottom を設定しない
  */
#index .index-inner .index-list li:last-child {
    margin-bottom: 0;
}

#index .index-inner img {
    width: 80%;
    margin: 30px auto;
}

/*-------------------------------------------
  Image
  -------------------------------------------*/
/*
  flex-wrap: wrap;
  →改行あり
  justify-content: space-between;
  →両端揃えで均等に配置
  */
.list2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 45px;
}

.list2 li {
    width: 49%;
    margin-bottom: 15px;
}

/*
  画像の下にできる隙間を消す
  */
.list2 li img {
    vertical-align: bottom;
}








.btn2 {
    background-color: rgba(112, 112, 112, 0.3);


    display: inline-block;
    font-size: 0.750rem;
    padding: 14px 36px;
    margin-top: 30px;
}


#index .index-inner .btn2 {
    color: #000000;
    transition: 0.2s;
}

#index .index-inner .btn2:hover {
    background-color: rgb(73, 73, 73, 0.5);
}








/*-------------------------------------------
contactページ
-------------------------------------------*/
#about {
    color: #494949;
}

#about .content {
    text-align: center;

}

#about img {
    width: 400px;
    height: 400px;
    margin-right: 80px;
    object-fit: cover;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

#about .text {
    text-align: left;
    margin-bottom: 80px;
    margin-top: 30px;

}



#bicycle ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 250px;
}

#bicycle li {
    width: 32%;
}

#bicycle img {
    width: 200px;
    height: 200px;
}

#bicycle .qr {
    color: #494949;
}


.section-title2 {
    display: inline-block;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: solid 1px #494949;
    margin-top: 60px;

}

.content-title2 {
    font-size: 1rem;
    margin: 10px 0;
}


.wrapper2 {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4%;
    text-align: center;
}

.wrapper3 {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4%;
    text-align: center;
}


#works ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 300px;
}

#works li {
    width: 31%;
    margin-bottom: 23px;
    margin-top: 23px;
}

#index .map iframe {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}


/*-------------------------------------------
余白　　
-------------------------------------------*/
#margin {
    margin-top: 200px;
}






/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {
    .site-title {
        width: 70%;
        margin: 50px auto;
    }

    .section-title {
        font-size: 1.5rem;
        width: 80%;
    }

    .logo a {
        width: 80%;
        font-size: 1.4rem;
    }


    #mainvisual {
        display: none;
    }

    #mainvisual3 {
        display: block;
    }


    /*-------------------------------------------
  Information
  -------------------------------------------*/
    #information {
        margin-bottom: 80px;
        margin-top: 70px;
    }

    #information .info-date-en,
    #information .info-time-en,
    #information .info-date-ja {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    #information .info-place {
        font-size: 2rem;
    }

    #side-btn {
        display: none;
    }

    /*-------------------------------------------
about shiam
-------------------------------------------*/

    .aboutshiam {
        margin-top: 100px;
    }


    .aboutshiam .info-date-ja {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9em;
        margin-top: 0px;
        margin-bottom: 0;
        text-align: left;

    }

    /*-------------------------------------------
  Gallery
  -------------------------------------------*/
    #gallery {
        margin-bottom: 100px;
    }

    #gallery .list li {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    #gallery .list li img {
        width: 100%;
    }

    /*-------------------------------------------
  Catalog & Antique
  -------------------------------------------*/
    .catalog-antique {
        padding: 30px 0;
    }

    .catalog-antique .flex-item {
        flex-direction: column;
    }

    .catalog-antique .flex-item img {
        margin-bottom: 50px;
    }

    .catalog-antique .item {
        width: 95%;
    }

    .catalog-antique .item h2 {
        text-align: center;
    }

    .catalog-antique .item p {
        text-align-last: left;
    }


    .catalog-antique .flexdirection {
        flex-direction: column-reverse;
    }

    .flexdirection .sec-title {
        padding-top: 50px;
    }

    /*-------------------------------------------
  business
  -------------------------------------------*/


    #business .info-date-ja {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.85em;
    }

    #news {
        margin-bottom: 90px;

    }

    #news .list {
        flex-direction: column;
    }

    #news .list li {
        width: 100%;
        border-right: none;
        padding: 10px 0;
        margin-bottom: 20px;
    }



    /*-------------------------------------------
  Contact
  -------------------------------------------*/
    #contact2 .btn {
        width: 100%;
    }

    /*
  スマホの時は矢印を消す
  */
    #contact2 .btn::before,
    #contact2 .btn::after {
        content: none;
    }

    /*-------------------------------------------
  Footer
  -------------------------------------------*/
    #footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 30px;
    }

    #footer .sns {
        margin-bottom: 30px;
    }

    .inner2 {
        padding: 0 20px;
    }

    /*-------------------------------------------
  Index
  -------------------------------------------*/
    #index {
        padding: 30px 10px;
    }

    #index .index-inner img {
        width: 90%;

    }

    #index h2 {
        text-align: center;
    }

    #index p {
        text-align: center;
    }

    /*-------------------------------------------
  Image
  -------------------------------------------*/
    /*
  画像を縦に並べる
  */
    .list2 {
        flex-direction: column;

    }

    .list2 li {
        width: 100%;
        text-align: center;
    }

    /*-------------------------------------------
shopページ
  -------------------------------------------*/
    #mainvisual2 img {
        height: 100px;
    }

    #index .index-inner {

        padding-left: 10px;
        padding-right: 10px;
    }

    /*-------------------------------------------
 aboutページ
  -------------------------------------------*/
    #works ul {
        flex-direction: column;
    }

    #works li {
        width: 100%;
    }

    /*-------------------------------------------
      About
      -------------------------------------------*/
    #about .content {
        flex-direction: column;
        margin-top: 30px;
    }

    #about img {
        margin-right: 0;
        width: 85%;
        object-fit: cover;
    }

    #about .text {

        margin-top: 30px;
        margin-left: 20px;
        margin-right: 20px;
        font-size: 0.9rem;
        margin-bottom: 50px;
    }

    /*-------------------------------------------
      Bicycle
      -------------------------------------------*/
    #bicycle ul {
        flex-direction: column;
    }

    #bicycle li {
        width: 100%;
        margin-bottom: 30px;
    }

    .text3 {
        margin-left: 50px;
        margin-right: 50px;
    }


    .skill_inner img {
        width: 330px;
        height: 330px;
        object-fit: cover;
    }

    .sec-title {
        text-align: center;
    }

    .underline {
        width: 400px;
    }

    .catalog-antique .image img {
        height: 500px;
    }

    #mail {
        font-size: 1rem;
    }

    .bg {
        background: url("../img/bgi.png") center center repeat !important;


    }
}