@charset "utf-8";

header.scroll #nav {
    overflow: hidden;
    clear: both;
    text-align: center;
}

.header{
    margin: 0px auto 0px;
    /*ヘッダーの幅*/
    width: 100%;
    /*ヘッダーの高さ*/
    height: 100px;
    /*ヘッダーの色*/
    background-color: #f2dde0;
}
.nav{
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
  /*ナビゲーションの横位置*/
  justify-content: center;
  /*ナビゲーションの縦位置*/
  padding-top: 20px;
  box-sizing: border-box;
}

ul{
    /*横並び*/
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: center;
}

.rgo{
    width: 108px;
    height: 62px;
}

a{
    /*ナビゲーションの色*/
    color: rgb(139, 73, 29);
    /*ナビゲーションの間隔*/
    margin-right: 60px;
}

body {
  line-height: 1.6;
  font-family: Arial, sans-serif;
}


h2{
    text-align: center;
}

.u-mt-reg70 {
    margin-top: 70px !important;
}

.l-section {
    width: 100%;
    max-width: 1144px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5.3333333333%;
    padding-right: 5.3333333333%;
}

.l-stracture > [class^=c-], .l-stracture > [class^=g-] {
    margin-top: 30px;
}
  
.c-deflist {
    border-bottom: 1px solid var(--color-border);
}

div {
    display: block;
}

main *, main *::before, main *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background: transparent;
    font-weight: inherit;
    font-size: inherit;
    font-style: inherit;
    -webkit-tap-highlight-color: transparent;
}

dl {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.c-deflist__term {
    padding: 18px 0 12px;
    border-top: 1px solid var(--color-prim);
    border-bottom: 1px solid var(--color-border);
    background-color: #fff;
    font-weight: bold;
}

.c-deflist__detail {
    padding: 10px 0;
    background-color: #fff;
}

.c-icontext {
    padding-left: 1.6em;
    text-indent: -1.6em;
    font-weight: bold;
    font-size: 1.3rem;
    line-height: var(--line-height-m);
}

.c-icontext a {
    color: var(--color-txt);
}

.l-stracture > [class^=c-], .l-stracture > [class^=g-] {
    margin-top: 30px;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.hr2{
    padding: 5 0;
    border: none;
    border-top: 3px dotted #673a1b;
}

@media screen and (max-width: 768px) {
  div[class^="md-"] {
    margin-bottom: 20px;
  }
}

/* フッターの基本的なスタイル */
.footer {
  padding: 2rem;
  font-size: 15px;
  color: #4b5564;
  background-color:  #f2dde0; 
}

/* フッターのロゴ部分 */
.footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}


.hover {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 60px;
}

.hover img {
  width: 50px;
  height: 50px;
  vertical-align: middle;
}


/* ナビゲーションメニュー */
.footer__navi {
  list-style-type: none;
  padding-left: 0;
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
}

.footer__navi2 {
  list-style-type: none;
  padding-left: 0;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__navi a {
  color: #8a5216;
  text-decoration: none;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* メディアクエリ - スマートフォンサイズ */
@media (max-width: 767px) {
  .md-flex {
    flex-direction: column;
  }

  .md-justify-between {
    justify-content: center;
  }

  .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    font-size: 12px;
  }
}

/* テーブルタップデバイスサイズ */
@media (min-width: 768px) and (max-width: 1023px) {
  .md-flex {
    flex-direction: column;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 14px;
  }
}

/* デスクトップサイズ以上 */
@media (min-width: 1024px) {
  .md-flex {
    flex-direction: row;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 15px;
  }
}
