/* CSS Document */

:root {
    --color: #c09000;
    --color-accent: #c09000;
    --color-light: #fbce48;
    --color-bg: #322a15;
    --color-bg-secondary: #322a1515;
    --color-secondary: #2e2713;
    --color-secondary-accent: #2e2713;
    --color-shadow: #734338;
    --color-text: hsla(41,100%,97%,1.00);
  
    --width-content: 1080px;
  
    --font-sans-serif: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    --font-serif: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Gothic Pro", "メイリオ", Meiryo, serif;
}

html{
  scroll-padding-top: 40px; /*固定ヘッダー使用時のアンカーずれ補正*/
  scroll-behavior: smooth;
}
body{
  font-family: var(--font-serif);
  font-size: 1.0rem;
}

/* border/paddingを含むサイズ指定 */
*, *::before, *::after {
  box-sizing: border-box;
}

section div.card:hover {
  box-shadow: var(--box-shadow) var(--color-shadow);
}
section div.card {
  width: 100%;
  max-width: var(--width-card);
}

hr{
  background-color: var(--color);
}

img#topimage {
  display: inline;
}

header {
  margin: 50px auto 0;
  padding: 0;
}
header #top-block {
  font-size: 0.9em;
  margin: 1em auto;
  display: flex;
  justify-content: space-between
}
header h1 {
  margin: 8px auto 40px;
  font-size: 2.5rem;
  font-style: italic;
  color: var(--color);
}
header h2 {
  text-align: center;
  /*font-family: var(--font-serif);*/
  font-size: 1.8rem;
  color: var(--color);
}
h2::before {
  content: '';
  position: absolute;
  
  display: inline-block;
  width: 200px;
  height: 2px;
  left: 50%;
  transform: translate(-50%, 1.5em);
  background-color: #E9EE29;
  background: linear-gradient(to right, transparent, #E9EE29, transparent);
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.6em;
}

header img {
  /*position: relative;
  object-fit: cover;
  width: 100%;
  min-height: 25em;
  opacity: 1;*/
}
header nav {
  position: fixed;
  z-index: 990;
  top: 0;
  right: 0;
  height: auto;
  min-height: 40px;
  width: 100%;
  margin-bottom: 0rem;
  background-color: var(--color-secondary);
}
header nav ul {
  margin: 0 auto;
}
header nav a {
  color: var(--color-text);
}
header {
  text-align: left;
}


.copy {
  color: var(--color);
}
.shamei {
  margin: 8px auto 40px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color);
}

section#sct_top_title {
  background-image: url("/img/back_gold.png");
  background-size: cover;
  /*margin-bottom: 80px;*/
}
section#sct_top_title img {
  width: 100%;
  max-width: var(--width-content);
}

section#sct_info header {
  color: var(--color);
  text-align: center;
}
section#sct_info .content {
  margin-bottom: 3em;
}

section#sct_intro .copy {
  font-size: 1.6em;
  font-weight: 800;
  font-style: italic;
}
section#sct_intro header {
  text-align: center;
}
section#sct_intro div.content {
  text-align: start;
}

section#sct_photos div.content {
  display: flex;
}
section#sct_photos div.content img {
  display: block;
  width: 40%;
  aspect-ratio: 3 / 2;
}
section#sct_photos2 div.content {
  display: flex;
}
section#sct_photos2 div.content img {
  display: block;
  width: 25%;
  height: auto;
}
section#sct_photos3 div.content {
  display: flex;
}
section#sct_photos3 div.content img {
  display: block;
  width: 40%;
  aspect-ratio: 3 / 2;
}

section#sct_event {
}
section#sct_event div.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
section#sct_event div.event_title {
  font-family: var(--font-sans-serif);
  font-weight: bold;
  font-size: 1.2em;
}
section#sct_event div.event_date {
  font-style: italic;
}
section#sct_event div.event_photo img {
  width: 100%;
}
section#sct_event div.event_desc {
  font-size: 0.9em;
  text-align: justify;
}
section#sct_event div.event_detail {
  text-align: end;
}
section#sct_event div.event_detail button {
  font-family: var(--font-sans-serif);
  font-size: 0.9em;
  padding: 0.2em 0.8em;
  width: 100%;
}
img#event_photo {
  width: 300px;
}

section#sct_gaiyou {
  display: block;
}
section#sct_gaiyou div.content {
  margin: auto;
}
section#sct_gaiyou table#tbl_gaiyou {
  border: none;
  border-radius: 0;
  border-collapse: collapse;
  margin-bottom: 1em;
  white-space: normal;
}
section#sct_gaiyou table#tbl_gaiyou tr:first-child {
  border-top: 1px solid #999;
}
section#sct_gaiyou table#tbl_gaiyou tr {
  border-bottom: 1px solid #999;
}
section#sct_gaiyou table#tbl_gaiyou th, section#sct_gaiyou table#tbl_gaiyou td {
  text-align: left;
}
section#sct_gaiyou table#tbl_gaiyou th {
  background-color: var(--color-light);
  font-weight: normal;
}
section#sct_gaiyou table#tbl_gaiyou td {
  background-color: #fff;
}

section#sct_gaiyou iframe#gmap {
  width: 100%;
  height: 300px;
  filter: brightness(80%) contrast(120%);
}
section#sct_gaiyou div.card_map {
  width: 100%;
  max-width: var(--width-card-wide);
  border: none;
  box-shadow: none;
}
section#sct_gaiyou figure#access_map {
  display: table;
  margin: auto;
}
section#sct_gaiyou figure#access_map figcaption {
  text-align: right;
  font-size: .9em;
  font-weight: normal;
  font-family: var(--font-sans-serif);
}


section #contact-block {
  font-size: 0.9em;
  margin: 3em auto;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}


section#sct_contact {
  /*background-color: var(--color-light);*/
  padding-bottom: 100px;
}
section#sct_contact form {
  background-color:  #ffffff;
}
section#sct_contact input[type="text"], section#sct_contact textarea {
  width: 30em;
  margin: auto;
}
section#sct_contact textarea {
  height: 6em;
}
section#sct_contact table {
  width: 100%;
  white-space: normal;
}
section#sct_contact table th {
  background-color: var(--color-accent);
  text-align: left;
  white-space: nowrap;
}
section#sct_contact table td {
  background-color: #fff ;
  color: var(--color-bg);
  text-align: left;
}
section#sct_contact input[type="button"],
section#sct_contact input[type="submit"] {
    border-radius: var(--border-radius);
    display: inline-block;
    font-size: medium;
    font-weight: bold;
    line-height: var(--line-height);
    margin: 0.5rem 0;
    padding: 1rem 2rem;
    font-family: var(--font-family);
    background-color: var(--color);
    border: 2px solid var(--color);
    color: var(--color-bg);
}
section#sct_contact input[type="button"]:hover,
section#sct_contact input[type="submit"]:hover {
    cursor: pointer;
    filter: brightness(var(--hover-brightness));
}


section#sct_footer {
  border-top: 2px solid var(--color-secondary);
}

footer {
  background-color: var(--color-accent);
  max-width: 100%;
  width: 100%;
  margin: 0 ;
  padding: 1em;
  color: #fff;
  font-size: 0.8em;
}
footer #ftr_copyright{

}

div.content {
  width: 100%;
  max-width: var(--width-content);
  padding: 0 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.marker {
  display:inline-block;
  width: 5em;
  text-align: center;
  background:linear-gradient(transparent 50%, var(--color-light) 50%);
}
.tel_box {
  font-size: 0.9em;
  line-height: 1.5em;
  margin-bottom: 0.9em;
}
.phone {
  font-size: 0.9em;
  color: var(--color);
}
.sns {
  margin: 1.5em 0;
  font-family: var(--font-sans-serif);
  font-size: 1.2em;;
  line-height: 1.5em;
}
.sns a i {
  font-size: 1.2em;
  margin: 0;
  border: 0;
  padding: 0;  
}
.ilb {
  display: inline-block;
}
button {
    padding: .5rem 2rem;
}

/* ハンバーガーメニュー */
.bgr-menu {
  position: fixed;
  top: 0px;
  right: 0px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: start;
  align-items: center;
  z-index: 999;
  background-color: var(--color-accent);
}
.bgr-menu-btn span,
.bgr-menu-btn span:before,
.bgr-menu-btn span:after {
  margin-left: 8px;
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}
.bgr-menu-btn span:before {
  margin-left: 0;
  bottom: 8px;
}
.bgr-menu-btn span:after {
  margin-left: 0;
  top: 8px;
}
#bgr-menu-btn-check:checked ~ .bgr-menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}
#bgr-menu-btn-check:checked ~ .bgr-menu-btn span:before {
    bottom: 0;
    transform: rotate(45deg);
}
#bgr-menu-btn-check:checked ~ .bgr-menu-btn span:after {
    top: 0;
    transform: rotate(-45deg);
}
#bgr-menu-btn-check {
    display: none;
}
/* /ハンバーガーメニュー */


@media (max-width: 700px) { /* 700px 以下の時 */
  html {
    scroll-padding-top: 0; /*固定ヘッダー使用時のアンカーずれ補正 クリア*/
    font-size: 1.2em;
  }
  body {
    overflow-x: hidden;
  }

  header, section, footer {
    /*overflow:hidden;*/
  }
  header #top-block {
    display: none;
  }
  header nav {
    top: 40px;
    display: none;
  }
  .bgr-menu {
    display: flex;
  }
  section#sct_top_title .copy {
    font-size: 1.3em;
  }
  header h1 {
    font-size: 2rem;
  }
  #bgr-menu-btn-check:checked ~ nav {
    display: block;
  }
  
  section#sct_event div.card_event {
    max-width: calc(100% - 1em);
  }
  
  section#sct_gaiyou table#tbl_gaiyou th,
  section#sct_gaiyou table#tbl_gaiyou td {
    display: block;
  }

  section#sct_contact input,
  section#sct_contact input[type="text"],
  section#sct_contact label,
  section#sct_contact select,
  section#sct_contact textarea {
    width: 90%;
  }
  section#sct_contact textarea {
    height: 8em;
  }
  
  section#sct_contact form {
    margin: .5em;
  }
  section#sct_contact table#tbl_contact,
  section#sct_contact table#tbl_contact tbody,
  section#sct_contact table#tbl_contact tr,
  section#sct_contact table#tbl_contact th,
  section#sct_contact table#tbl_contact td {
    display: block;
  }
  section#sct_contact table#tbl_contact tr {
    background-color: white;
  }

  section #contact-block {
    display: block;
  }
  section #contact-block-left {
    margin-bottom: 1.5em;
  }
  
  div.content {
    padding: 0 .5em;
  }
  section div.card {
    margin: 1em 0;
    padding: .8em;
  }
}
