@charset "UTF-8";

/* すべてのページに適用される設定 */
html {
  font-size: 16px;
  font-family: sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 0 0 0;
}
p,
li,
td {
  line-height: 1.7;
}
a:link {
  color: #f07d34;
  text-decoration: none;
}
a:visited {
  color: #f07d34;
  text-decoration: none;
}
a:hover {
  color: #f07d34;
  text-decoration: underline;
}
a:active {
  color: #f07d34;
  text-decoration: underline;
}
img {
  max-width: 100%;
}

/* すべてのページに適用 - ヘッダ */
.header {
  padding-top: 40px;
  background-image: url(../images/stripe.png);
  background-repeat: repeat-x;
}
.logo {
  text-align: center;
}
.nav ul {
  margin: 30px 0 0 0;
  padding: 0;
  list-style-type: none;

  display: flex;
  justify-content: center;
  gap: 40px;
}
.nav a:link {
  color: #253958;
}
.nav a:visited {
  color: #253958;
}
.nav a:active {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: none;
}

/* すべてのページに適用 - ヒーロー */
.hero {
  padding: 100px 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}
.hero.index {
  padding: 287px 0;
  background-image: url(../images/home-hero.jpg);
}
.hero.bankin {
  background-image: url(../images/bankin-hero.jpg);
}
.hero.hoon_horei {
  background-image: url(../images/hoon_horei-hero.jpg);
}
.hero.gaiso {
  background-image: url(../images/gaiso-hero.jpg);
}
.hero.contact {
  background-image: url(../images/contact-hero.jpg);
}
.hero.link-item {
  background-image: url(../images/link-hero.jpg);
}
.hero.essay {
  background-image: url(../images/essay-hero.jpg);
}

/* すべてのページに適用 - メイン */
main {
  margin: 90px auto 90px auto;
  max-width: 1000px;
}
main h2 {
  margin: 60px 0 20px 0;
  border-bottom: 2px solid #253958;
  padding: 0 0 5px 0;
  color: #253958;
  font-size: 1.3rem;
}
.go_ma {
  line-height: 2.2;
  margin: 20 0 40 0;
}

/* すべてのページに適用 - フッター */
.gotop {
  text-align: center;
}
.copyright {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 75px;
  padding-bottom: 75px;
  background-color: #253958;
  color: #ffffff;
  text-align: center;
}

/* 個別のスタイル */
/* index.html */
.logo-sci {
  text-align: center;
}
.shop-info {
  border-collapse: collapse;
  width: 100%;
}
.shop-info th,
.shop-info td {
  border: 1px solid #dbdbdb;
  padding: 20px;
}
.shop-info th {
  width: 112px;
  text-align: left;
  vertical-align: top;
}
.kakou {
  padding: 20px 0 0 0;
}
.line_sp {
  line-height: 2;
}
.fo {
  font-size: 12px;
}
.fo2 {
  color: #4444447a;
}
.fo3 {
  color: blue;
}
.fo4 {
  margin: 30px 0 30px 0;
}
.fo5 {
  margin: 0 50px 0 50px;
}
.fo6 {
  background-color: #dbdbdb50;
}
.fo7 {
  background-color: #dbdbdb50;
}
.fo8 {
  border-top: 1px solid #cdcecfe0;
  border-left: 3px double #cdcecfe0;
  border-right: 3px double #cdcecfe0;
  border-bottom: 10px solid #cdcecfe0;
}
.fo9 {
  text-align: right;
  color: blue;
}
.fo10 {
  font-family: serif;
  text-align: center; /*動く文字*/
  margin: 0 0 20px 0;
  color: rgb(4, 4, 153);
  font-size: 24px;
  font-weight: bold;
}
.fo11 {
  border-radius: 15px 15px 15px 15px;
}
.fo12 {
  width: 150px;
}
.fo13 {
  max-width: 300px;
  max-height: 500px;
  text-align: center;
}
.witi {
  position: absolute;
  top: 20px;
  left: 50px;
  right: auto;
}
.witi2 {
  margin: 0 5px 0 0;
  max-width: 400px;
}
.box {
  width: 100%; /* 横幅*/
  height: 300px; /* 縦幅*/
  border: 1px solid #8f8b8bc9; /* わかりやすくボーダーを引く */
  overflow-y: scroll; /* 縦方向にスクロール可能にする */
}
/*　bankin&hoon-horei.html */
.items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
/* contact.html */
form {
  margin: 0 auto;
  max-width: 640px;
}
input[type="text"],
textarea {
  padding: 6px;
  width: 100%;
  font-size: 1rem;
}
textarea {
  height: 140px;
}
.submit {
  text-align: center;
}
input[type="submit"] {
  border: none;
  padding: 15px;
  width: 130px;
  background-color: #253958;
  color: #ffffff;
  font-size: 1rem;
}
input[type="reset"] {
  border: none;
  padding: 15px;
  width: 130px;
  background-color: #253958;
  color: #ffffff;
  font-size: 1rem;
}

.g-map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}
.g-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .nav ul {
    flex-wrap: wrap;
    gap: 20px;
  }
  main {
    padding: 0 4%;
  }

  /* index.html */
  .hero.index {
    padding: 28vh 0;
  }

  /*  menu.html */
  .items {
    grid-template-columns: 1fr 1fr;
  }
}

/* 開閉するナビ */
.submenu label {
  margin: 0 0 1em 0;
  color: #f07d34;
  font-size: 16px;
  cursor: pointer;
}
.submenu ul {
  margin: 0 0 1em 0;
  list-style-type: none;
  color: #5e78c1;
}
.hidden {
  display: none;
}
.button_color {
  /*コレ*/
  background: yellow;
}
#photo {
  width: 600px; /*自動切り替えフォト*/
  height: 450px;
  margin: 0 auto;
  text-align: left;
  /*overflow: hidden;*/
  position: relative;
}
#photo img {
  top: 0;
  left: 0;
  position: absolute;
}
.player {
  margin-top: 50px; /*音楽*/
  padding: 20px;
  background: rgb(221, 216, 216);
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  text-align: center;
}

button {
  padding: 5px 10px;
  margin: 10px;
  font-size: 16px;
  background: floralwhite;
  cursor: pointer; /*音楽*/
}

.container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text2 {
  width: 60%;
}

.image2 {
  width: 50%;
  padding: 0 0 0 50px;
}
