@charset "UTF-8";

/* === 全体にかかる設定 =============== */


html {
	overflow-x: hidden;
}

body {
  color: #333;
  font-family: arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
}

/* 左右の余白 */
.container {
  padding: 0 15px;
}

main {
  padding-bottom: 2rem;
}

/* === リンク色 =============== */

/* 標準 */
a:link {
  color: #36f;
  text-decoration: none;
}

a:visited {
  color: #69f;
}

a:hover {
  color: #f30;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

a:active {
  color: #fc0;
}

/* 黒いリンク文字 */
.black_link a:link {
  color: #333;
  text-decoration: none;
}

.black_link a:visited {
  color: #666;
}

.black_link a:hover {
  color: #36f;
}

.black_link a:active {
  color: #f30;
}

/* 白いリンク文字 */
.white_link a:link {
  color: #fff;
  text-decoration: none;
}

.white_link a:visited {
  color: #fff;
}

.white_link a:hover {
  color: #fc0;
}

.white_link a:active {
  color: #f30;
}

/* ボタン リンク色（ホバー時の背景） */

.home_btn a:hover {
  background-color: #dedede;
}

/* === ヘッダー =============== */



/* 追加 */
    .tit_bar {
      display: flex;
      align-items: center;

      padding: 30px 15px 30px 30px;
    }

    .site_name {
      width: 200px;
    }

    .sub_menu ol,.top_btn ol {
      margin-bottom: 0;
    }

    .sub_menu li,.top_btn li {
      display: inline-block;
      margin-left: 0;
      list-style-type: none;
    }

    .sub_menu {
      margin-left: auto;
      margin-right: 1rem;
    }

    .sub_menu a {
      display: block;
      margin-right: 1rem;
      font-size: 1.1rem;
      font-weight: bold;
    }
    .sub_menu a:hover {
		color: #d34c11;
    }


    .top_btn a {
      background-color: #d34c11;
      font-size: 1.1;
      margin-right: 15px;
      padding: 1rem 1.5rem;
      border-radius: 100vh;
		border: 1px solid #d34c11;
    }
    .top_btn a:hover {
      background-color: #fff;
		color: #d34c11;
    }

@media (max-width:1025px) {
	
	.sub_menu,
	.top_btn {
		display: none;
	}
}


/* メインメニュー */
.main_menu {
  text-align: center;
  background-color: #d34c11;
}

.main_menu ol {
  list-style: none;
	padding: 1rem 0;
	max-width: 1200px;
}

.main_menu ol li {
  display: inline-block;
  margin: 0 1rem;
	width: 31%;
}
.main_menu ol li:last-child {
  margin: 0 0 0 0;
}

.main_menu ol li:last-child::after {
  display: none;
}

.main_menu ol li a {
  display: inline-block;
  padding: 0.5rem 1.4rem 0.5rem 1.4rem !important;
	background-color: #fff;
	color: #000 !important;
	font-weight: bold;
	border-radius: 50px;
	font-size: 1.2rem;
	position: relative;
	width: 100%;
}
.main_menu ol li.active a {
	color: #d34c11 !important;
}

.main_menu ol li a:hover {
  background-color: #f4dfd3 !important;
}

/* === スマホ表示時のヘッダー =============== */

/* ハンバーガーボタン */
#hamburger_btn {
  position: fixed;
  display: block;
  right: 0;
  top: 0;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 800000000;
  background-color: #d34c11;
}

#hamburger_btn .menu_icon,
#hamburger_btn .close_icon {
  margin: 15px auto 8px auto;
  width: 32px;
  z-index: 90;
}

/* 固定ヘッダー */
header {
  background-color: rgba(255, 255, 255, 0.9);
}

/* メインメニューを非表示に */
.main_menu {
  display: none;
}

/* 「閉じる」アイコンは消しておく */
#hamburger_btn .close_icon {
  display: none;
}

/* ボタンがチェックされたら（「閉じる」アイコンを表示する）*/
#hamburger_btn.check .close_icon {
  display: block;
}

/* ボタンがチェックされたら（「メニュー」アイコンを消す）*/
#hamburger_btn.check .menu_icon {
  display: none;
}

/* パネル */
#hamburger_panel {
  position: fixed;
  right: -100vw;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: #d34c11;
  transition: all 0.5s ease 0s;
  z-index: 70000000;
}

/* パネルにチェックが付いたら */
#hamburger_panel.check {
  right: 0;
}

/* パネル のデザイン */
#hamburger_panel {
  text-align: center;
  padding-top: 70px;
}

#hamburger_panel ol {
  list-style: none;
}

#hamburger_panel ol li {
  margin-left: 0;
}

#hamburger_panel ol li a {
  display: block;
  padding: 1rem;
  font-size: 1.2rem;
}
#hamburger_panel ol.other_site li a {
	color: #d34c11 !important;
	background-color: #fff !important;
	margin: 20px 20px 20px 35px;
	border-radius: 50px;
}

/* === メディアクエリ =============== */

@media (min-width:1025px) {

/* 外部サイトリンク */
.en_area {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-right: 0;
}



/* サブメニュー
.sub_menu {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-right: 0;
}
*/

  /* メインメニューを表示して、ハンバーガーボタンを消す */
  .main_menu {
    display: block;
  }

  #hamburger_btn {
    display: none;
  }

  /* メインメニュー */
  .main_menu ol {
    margin: 0;
    list-style: none;
  }

  .main_menu ol li {
    display: inline-block;
    margin-left: 0;
  }

  .main_menu ol li a {
    padding: 1rem;
  }
}

/* === フッター =============== */

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
  padding: 50px 0 30px 0;
  background-color: #454545;
}

.footer_bunkatsu {
  display: flex;
  padding-bottom: 50px;
  justify-content: space-between;
  align-items: center;
}

@media (max-width:900px) {
.footer_bunkatsu {
  display: block;
  padding-bottom: 30px;
	text-align: center;
}
footer {
  padding: 30px 0 30px 0;
}
.footer_menu {
  padding: 1rem 0 0 0;
}
.footer_menu ol li {
  display: block;
  margin-left: 0;
	width: 100%;
}
.footer_menu ol li a {
  display: block;
  padding: 0.5rem 1rem;
	width: 100%;
}

.footer_menu ol li::after {
	display: none;
}
}

/* 住所 */
address {
  color: #fff;
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.05rem;
}

.admin_name {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 1.3rem;
}

/* フッターメニュー */
.footer_menu ol {
  margin-bottom: 0;
  list-style-type: none;
}

.footer_menu ol li {
  display: inline-block;
  margin-left: 0;
}

.footer_menu ol li::after {
  content: '/';
  color: rgba(255, 255, 255, 0.3);
}

.footer_menu ol li:last-child::after {
  display: none;
}

.footer_menu ol li a {
  display: inline-block;
  padding: 0.5rem 1rem;
}

/* 著作権 */
.copyright {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* === メディアクエリ =============== */

@media (min-width:600px) {
  body {
    line-height: 2;
  }
}

@media (min-width:1025px) {}

@media (min-width:1200px) {
  .container {
    width: 1200px;
    margin: 0 auto;
  }
}
