@charset "utf-8";

*, /*p109 HTML内全ての要素を対象に適用*/
::before,
::after {/*p109 *ではカバーできない部分にも適用*/
  padding: 0;/*p100 要素の内側の余白*/
  margin: 0;/*p100 要素の外側の余白（隣り合う要素との距離）*/
  box-sizing: border-box;/*p108 幅と高さの計算方法を簡略化*/
}

.header {
  position: fixed; /*p138 特定の位置に要素を固定する*/
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  height: 50px;
  z-index: 10; /*p141 要素の重なり順（大きい値が手前）*/
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /*p143 影をつける*/
}

ul,/* p85 */
ol{
  list-style: none;/*p109 リストのスタイルを指定*/
}

a {
  color: inherit;/*p109 inherit:親要素のスタイルを継承*/
  text-decoration: none;/*p109 テキストの下線などの装飾*/
}

body {
  font-family: sans-serif;
  font-size: 16px;
  color: #5a331c;
  line-height: 1;
  background-color: #ffffff;
}

img {
  max-width: 100%;/*p111 画像の最大幅を親要素の範囲に収める*/
}

.header-inner {
  max-width: 1200px; /*ブラウザ幅に合わせて可変*/
  height: 50px;
  margin-left: auto;
  margin-right: auto; /*p113 中央揃え*/
  padding-left: 40px;
  padding-right: 40px;
  display: flex;/*p114 ロゴとナビゲーションを横並びに（フレックスボックス・p194）*/
  justify-content: space-between; /*p115 アイテムを均等に配置し、最初のは先頭・最後は末尾に寄せる*/
  align-items: center; /*p116 ロゴとナビゲーションを天地中央に配置（p199）*/
}

.mini-title {
  color: orange;
  text-align: center; 
  margin-top: 40px;
  margin-bottom: 40px;
}

.mini-title-lead {
  color: orange;
  text-align: center; 
  margin-top: 20px;
  margin-bottom: 20px;
}

.mini-title-white {
  color: orange;
  text-align: center; 
  margin-top: 50px;
  margin-bottom: 20px;
}

.plus-title {
  text-align: center; 
  margin-top: -35px;
  margin-bottom: 30px;
  font-weight: bold;
}

.plus-title-white {
  text-align: center; 
  margin-top: -10px;
  margin-bottom: 20px;
  font-weight: bold;
}

.toggle-menu-button {
  display: none; /*p116 ハンバーガーメニューをPCで非表示*/
}

.header-logo {
  display: block; /*p117 HTMLでa要素でマークアップされたものの幅などを変更できるようにする*/
  width: 200px;
}

.site-menu ul {
  display: flex;
}

.site-menu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.site-menu ul li a {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  line-height: 3;
}

.site-menu ul li a:hover {  
  color: orange;
}

.footer {
  color: #ffffff;
  background-color: #573623;
  padding-top: 30px;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column; /*フレックスを縦並びに*/
  align-items: center;
}

.link-button-area {
  text-align: center;
  margin-top: 40px;
  color: #ffffff;
  font-weight: bold;
}

.link-button-area-small {
  text-align: center;
  margin-top: 20px;
  color: #ffffff;
  font-weight: bold;
}

.link-button {
  background-color: #b09d87;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button:hover {  
  background-color: #867867;
}

.link-button-area-footer {
  text-align: center;
  margin-top: 3px;
  color: #ffffff;
  font-weight: bold;
}

.footer-contact {
  display: flex;
  align-items: flex-start; /* 上揃え */
  margin-top: 30px;
}

.footer-contact dl {
  margin-left: 20px;
  margin-right: 20px;
}

.footer-contact p {
  font-size: 14px;
  line-height: 2;
}

.copyright {
  font-size: 14px;
  line-height: 2;
}

.footer-logo {
  display: block; /*p117 HTMLでa要素でマークアップされたものの幅などを変更できるようにする*/
  width: 200px;
  margin-top: -15px;
}

@media (max-width: 800px) { /*p134 この中身は800px以下でモバイル用レイアウト*/
  .site-menu ul {
    display: block; /*p136 flexを解除して初期設定に戻す*/
    text-align: center;
  }

  .site-menu li {
    margin-top: 20px;
  }

  .header-inner{
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  .header-logo  {
    width: 100px;
  }

  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #ffffff;
    background-color: #736E62;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
  }

  .header-site-menu.is-show {
    display: block; /*p152 is-showというクラス名がついたら表示する（jsファイル内にクリックするとis-showを追加と書かれている）*/
  }

  .toggle-menu-button {
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../images/common/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent; /* 透明 */
    border: none;
    border-radius: 0; /*p151 要素の角を丸くする*/
    outline: none;
  }

  .main {
    padding-top: 50px;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact dl {
    margin: 10px 0;
  }

  .copyright {
    margin-top: 50px;
  }
}
