@charset "UTF-8";
/* 基本色 */

:root {
  --main-color: #014747;
  --accent-color: #993759;
  --dark-main-color: #001B1D;
  --text-bright-color: #C2B87F;
  --large-width: 1000px;
  --middle-width: 800px;
}

/* 基本設定: フォントサイズ */

@media (max-width: 599px) {
    :root {
        font-size: 14px;
    }
}

@media (min-width: 600px) and (max-width: 799px) {
    :root {
        font-size: 16px;
    }
}

@media (min-width: 800px) {
    :root {
        font-size: 18px;
    }
}

/* 基本設定： ページ全体 */

body {
  margin: 0;
  font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}

/* コンテンツA: ヒーローイメージ */

.conA {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 450px;
  background-image: url(img/coususellier.jpg);
  background-position: center;
  background-size: cover;
  color: #C2B87F;
  color: var(--text-bright-color);
  text-align: center;
}

.conA h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: 'Charm', cursive;
  font-size: 14vw;
}

.conA h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 6vw;
}

@media (min-width: 768px) {
  .conA h2 {
    font-size: 120px;
  }
  .conA h3 {
    font-size: 24px;
  }
}

/* コンテンツB: Cousu Sellierとは(テキスト) */

.conB {
  background-color: #014747;
  background-color: var(--main-color);
  color: #C2B87F;
  color: var(--text-bright-color);
}

.conB .text {
  padding: 20px;
}

.conB h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 19px;
}

.conB p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}
.conB .photo {
  min-height: 350px;
  background-image: url(img/hand.jpg);
  background-position: center;
  background-size: cover;
}
@media (min-width: 768px) {
  .conB .container {
    display: flex;
    max-width: 1000px;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
  }
  .conB .photo {
    flex: 2;
  }
  .conB .text {
    flex: 2;
    padding: 30px;
  }
}

/* コンテンツC: ナビゲーションメニュー */

.conC {
  background-color: #014747;
  background-color: var(--main-color);
  color: #C2B87F;
  color: var(--text-bright-color);
  text-align: center;
}

.conC .container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  max-width: var(--large-width);
  margin: 30px auto;
  margin-top: 0;
}

/* ヘッダー */

header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}

.nohero header {
  position: static;
  border-bottom: solid 1px #014747;
  border-bottom: solid 1px var(--main-color);
}

/* ヘッダーA: サイト名 */

h1 {
  display: inline-block;
  margin-bottom: 0;
  margin-top: 15px;
}

/* ヘッダーB: ナビゲーションメニュー */

.headB ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.headB a {
  display: block;
  padding: 15px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.headB a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
  }
  .headB ul {
    display: flex;
  }
}

/* ヘッダーC: トグルボタン */

@media (max-width:767px) {
  /* 小さい画面用の設定 */
  header .container-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .headC {
    margin-right: 10px;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    font-size: 28px;
    opacity: 0.5;
    cursor: pointer;
  }
  .headC:hover {
    opacity: 0.3;
  }
  .headB {
    display: none;
  }
}

@media (min-width:768px) {
  /* 大きい画面用の設定 */
  .headC {
    display: none;
  }
  .headB {
    display: block !important;
  }
}

/* フッター */

footer {
  color: #C2B87F;
  color: var(--text-bright-color);
  background-color: #001B1D;
  background-color: var(--dark-main-color);
}

@media (min-width: 768px) {
  footer .containerA {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
  }
}

/* フッターA: サイト情報 */

.footA {
  margin-bottom: 30px;
}

.footA h2 {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 20px;
  font-family: 'Charm', cursive;
  font-size: 30px;
}

.footA a {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 20px;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
}

/*フッターB: フッターメニュー */

.footB div {
  padding: 15px;
  list-style: none;
}

.footB a {
  display: block;
  padding: 5px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
}

.footB a:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

@media (min-width: 768px) {
  .footB {
    display: flex;
  }
}

/* フッターC: コピーライト */

.footC {
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 12px;
  text-align: center;
  font-family: sans-serif;
}

/* コンテンツページ: 記事 */

.post .container {
  max-width: 1000px;
  max-width: var(--large-width);
  margin-left: auto;
  margin-right: auto;
  padding: 30px 10px;
}

.post h2 {
  padding-left: 0.5rem;
  border-left: solid 0.75rem #993759;
  border-left: solid 0.75rem var(--accent-color);
  font-size: 1.6rem;
}

/* お問い合わせページ: お問い合わせ先 */

.contact {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  border: solid 1px #014747;
  border: solid 1px var(--main-color);
  text-align: center;
}

.contact span {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 2.2rem;
  width: 2em;
  line-height: 2em;
  border-radius: 50%;
  text-align: center;
  background-color: #014747;
  background-color: var(--main-color);
  color: #fff;
}

.contact h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.contact a {
  font-size: 1.2rem;
  color: inherit;
  text-decoration: none;
}

.contact a:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

@media (min-width:768px) {
  .contact-wrap {
    display: flex;
  }
  .contact {
    flex: 1;
  }
}

/* お問い合わせページ: 地図 */

.location {
  max-width: 1000px;
  max-width: var(--large-width);
  margin-left: auto;
  margin-right: auto;
}

.location iframe {
  width: 100%;
  height: 600px;
  vertical-align: bottom;
}

.location h2 {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #014747;
  background-color: var(--main-color);
  color: #C2B87F;
  color: var(--text-bright-color);
  font-size: 1.5rem;
  text-align: center;
}

/* Gallery */

.gallery .container {
  max-width: 1000px;
  max-width: var(--large-width);
  margin-left: auto;
  margin-right: auto;
  padding: 30px 10px;
}

.gallery .conG {
  display: flex;
  flex-wrap: wrap;
}

.gallery article {
  flex: 1 1 260px;
  display: flex;
}

.gallery h2 {
  padding-left: 0.5rem;
  margin-bottom: 50px;
  border-left: solid 0.75rem #993759;
  border-left: solid 0.75rem var(--accent-color);
  font-size: 1.6rem;
}

.gallery a {
  flex: 1;
  margin: 10px;
  display: block;
  border: solid 1px #014747;
  border: solid 1px var(--main-color);
  color: inherit;
  text-decoration: none;
}

.gallery a:hover {
  opacity: 0.8;
}

.gallery .photo {
  min-height: 230px;
  background-position: center;
  background-size: cover;
}

.gallery .text {
  margin: 10px;
}

.gallery .text h3 {
  font-size: 0.9rem;
  text-align: center;
}

/* 手縫い鞄教室 */

.post .class p {
  margin-top: 50px;
}

.post .photo {
  min-height: 500px;
  background-image: url(img/tools.jpg);
  background-position: center;
  background-size: cover;
}

/* 個別Gallery */

@media (min-width: 768px) {
    .gal {
        display: flex;
        flex-wrap: wrap;
    }
    
    .gal .photo {
        flex: 1 1 350px;
        margin: 10px;
    }
}

.gal .photo {
  min-height: 400px;
  background-position: center;
  background-size: cover;
}
