/* header
--------------------------- */

/* -- 切り替え -- */
.header-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .header-sp {
    display: block;
  }

  .header-pc {
    display: none;
  }
}

/* -- common -- */

/* -- PC -- */

.header-nav-l {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.home .header-global img {
  width: auto;
}

.home .header-global .container {
  padding: 0;
}

.header-global a {
  line-height: 1;
}

.header-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  margin: 10px 0;
}

.header-nav-logo {
  line-height: 2rem;
}

.header-nav-logo span {
  color: #e5ab47;
  font-size: 12px;
}

.header-nav-logo a {
  display: flex;
  align-items: center;
}

.header-nav-logo img {
  width: auto;
  max-width: 100%;
  margin: 0 10px 0 0;
}

.header-nav-logo h1 {
  font-size: 27px;
}

.header-link-t ul,
.header-link-b,
.header-link-b ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-link-t ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 12px;
}

.header-link-t li {
  padding: 0 8px;
  border-right: 1px solid #eee;
}

.header-link-t li:last-child {
  border-right: 0px;
}

.header-link-b-kansai {
  color: #749fc5;
}

.header-link-b {
  margin-top: 15px;
}

.header-link-b ul {
  margin-left: 20px;
}

.header-link-b ul li img {
  margin-right: 5px;
  vertical-align: text-top;
}

.header-link-b ul li {
  margin-left: 10px;
  padding: 5px 8px;
  border: 1px solid #e5ab47;
}

.header-nav-type {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.header-nav-type p {
  margin-bottom: 0;
  margin-left: 6px;
}

@media screen and (max-width: 767px) {
  .header-global {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    background-color: #fff;
  }

  .header-link-sp a {
    display: block;
    padding: 15px 0 12px 0;
  }

  .header-nav-type p {
    margin: 11px 0px 5px 10px;
    font-size: 13px;
  }

  .header-nav-type a {
    font-size: 18px;
  }

  .header-nav-type {
    margin-top: 0;
  }

  .header-nav-logo h1 {
    margin: 5px 0 5px 0;
  }
}

/* */
.globalmenu {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.globalmenu > li {
  float: left;
  width: 100%;
  text-align: center;
}

.globalmenu > li a {
  display: block;
  height: 100%;
}

ul.menu__second-level {
  z-index: 1;
  visibility: hidden;
  opacity: 0;
}

ul.menu__third-level {
  visibility: hidden;
  opacity: 0;
}

.globalmenu > li:hover {
  background: #e5ab47;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.menu__second-level li {
  border-top: 1px solid #eee;
}

.menu__third-level li {
  border-top: 1px solid #eee;
}

.menu__second-level li a {
  color: #fff;
}

.menu__second-level li a:hover {
  opacity: 0.8;
}

.menu__third-level li a:hover {
  opacity: 0.8;
}

/* floatクリア */
.menu:before,
.menu:after {
  display: table;
  content: ' ';
}

.menu:after {
  clear: both;
}

.globalmenu {
  *zoom: 1;
}

.globalmenu > li.menu__single {
  position: relative;
}

li.menu__single ul.menu__second-level {
  position: absolute;
  top: 40px;
  width: 100%;
  color: #fff;
  background: #e5ab47;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

li.menu__single:hover ul.menu__second-level {
  top: 46px;
  display: flex;
  flex-direction: column;
  visibility: visible;
  opacity: 1;
}

.nav-cram a {
  color: #fff;
}
.home .nav-cram img {
  width: auto;
  vertical-align: text-top;
}

.nav-cram .menu__second-level {
  background-color: #51a1a2;
}

.nav-cram .menu__second-level a:hover {
  background-color: #51a1a2;
}

/* */
.drawer-menu {
  background-color: #e5ab47;
}

.drawer-menu a {
  color: #fff;
}

.drawer-menu-item {
  border-bottom: solid 1px #fff;
}

.drawer-menu-item:hover {
  text-decoration: none !important;
}

.drawer-dropdown-menu li {
  background-color: #fdf8f1;
  border-bottom: solid 1px #ccc;
}

.drawer-dropdown-menu li a {
  color: #333;
}

.header-link-sp ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #fdf8f1;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.header-link-sp li {
  text-align: center;
  border-right: 1px solid #ccc;
}

.header-link-sp li:nth-child(1),
.header-link-sp li:nth-child(2) {
  width: 50%;
}

.header-link-sp li:nth-child(3),
.header-link-sp li:nth-child(4) {
  width: 15%;
}

.header-link-sp li:last-child {
  border-right: 0px;
}

@media screen and (min-width: 768px) {
  .is-sp-visible {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header-nav {
    margin: 5px 10px;
  }

  .header-nav-logo h1 {
    margin: 10px 0 5px 0;
  }
}

/* footer */

footer a {
  text-decoration: none;
}

.footer-nav-flex-other-sp {
  display: none;
}

.footer-nav {
  margin-top: 0;
  background-color: #e5ab47;
}

.footer-nav-flex-other-sp {
  display: none;
}

.footer-nav-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  padding: 2% 0 5%;
}

.footer-nav-flex a,
.footer-nav-flex p {
  color: #fff;
}

.footer-nav-flex ul {
  padding-left: 1rem;
}

.footer-nav-flex-other ul {
  padding-left: 0;
}

.footer-ac-menu-report {
  margin-top: 20px;
}

.footer-list {
  background-color: #fcf1e4;
}

.footer-list-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-list-flex ul {
  display: flex;
  flex-direction: row;
  padding: 5px 0;
}

.footer-list-flex ul li {
  padding: 0 1em;
}

.footer-list-flex span {
  font-size: 12px;
}

/* */
.accordion2 p {
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  footer {
    min-width: 1200px;
  }
}

@media screen and (max-width: 767px) {
  .accordion2 p {
    pointer-events: all;
  }

  .accordion2 .footer-ac-inner {
    display: none;
  }

  .accordion2 p {
    margin: 0;
    padding: 10px;
    cursor: pointer;
  }

  .footer-nav .container {
    padding: 0 !important;
  }

  .footer-nav-flex {
    display: block;
  }

  .footer-nav-flex-other {
    display: none;
  }

  .footer-nav-flex-other-sp {
    display: block;
  }

  .footer-nav {
    background-color: #fff;
  }

  .footer-nav-flex {
    padding: 0;
  }

  .footer-nav-flex li {
    margin: 1px 0 0;
    background-color: #e5ab47;
  }

  .footer-ac-menu-report {
    border-top: 1px solid #fff;
  }

  .footer-ac-inner,
  .footer-ac-inner li {
    background-color: #fefaf6;
  }

  .footer-nav-flex ul {
    padding-left: 0;
  }

  .footer-ac-inner li a {
    color: #333;
  }

  .footer-ac-inner li {
    margin: 0;
    padding: 10px 0 10px 2rem;
    border-bottom: 1px solid #ccc;
  }

  /* */
  .footer-list-flex {
    flex-direction: column;
  }

  .footer-list-flex ul {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .footer-list-flex ul li {
    width: 50%;
    text-indent: 1rem;
  }
}

/* フッターバナー
--------------------------- */
.footer-banner-box {
  margin-top: 40px;
}


/* ヘッダー Google検索フォーム */
.heder-search-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 15px;
}
.google-search-form {
  margin-right: 15px;
}
.google-search-form table.gsc-search-box td.gsc-input {
  padding-right: 0;
}
.google-search-form .gsc-control-cse {
  padding: 0;
  background-color: transparent !important;
  border-color: transparent !important;
}
.google-search-form .gsc-search-button {
  margin-left: 0;
}
.google-search-form form.gsc-search-box {
  margin-bottom: 0;
}
.google-search-form table.gsc-search-box {
  margin-bottom: 0;
}
.google-search-form .gsc-input-box {
  width: 250px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.google-search-form .gsc-search-button-v2 {
  padding: 6px 10px !important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.google-search-form .gsc-search-button-v2 {
  border-color: #e5ab47;
  background-color: #e5ab47;
}
.google-search-form .gsst_a .gscb_a {
  color: #9E9E9E;
}

@media screen and (max-width: 767px) {
  .google-search-form {
    margin-top: 15px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .google-search-form form.gsc-search-box {
    max-width: 100% !important;
  }
  .google-search-form .gsc-input-box {
    width: auto;
  }
  .google-search-form .gsc-search-button-v2 {
    padding: 0 10px !important;
  }
}

/* Footer SNS Banner */
.footer-sns-banner {
  margin-top: 50px;
  background-color: #fdf8f1;
  padding: 20px 0;
}
.footer-sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.footer-sns-list::before {
  content: "公式SNS";
  position: absolute;
  right: calc(50% + 80px);
  color: #e5ab47;
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}
.header-sns-list-sp .header-sns-btn {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: #777 !important;
  visibility: visible !important;
  padding: 0 !important;
  border: 1px solid #e5ab47 !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
}
.footer-sns-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  background-color: #fff !important;
  border: 1px solid #e5ab47 !important;
  font-size: 26px;
  transition: opacity 0.3s ease;
}
.footer-sns-btn svg {
  width: 34px !important;
  height: 34px !important;
}
.footer-sns-btn:hover {
  opacity: 0.8;
}
.footer-sns-btn.insta-btn svg {
  fill: url(#insta-grad-footer) !important;
}
.footer-sns-btn.yt-btn svg {
  fill: #ff0000 !important;
}

/* Header SNS Links */
.header-sns-list-pc {
  display: flex;
  margin-right: 15px;
  align-items: center;
}
.header-sns-list-pc::before {
  content: "公式SNS";
  color: #e5ab47;
  font-weight: bold;
  font-size: 14px;
  margin-right: 15px;
}
.header-sns-list-pc li {
  margin-right: 10px;
}
.header-sns-list-pc li:last-child {
  margin-right: 0;
}
.header-sns-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #777;
  transition: all 0.3s;
  border: 1px solid #e5ab47;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}
.header-sns-btn svg {
  width: 24px;
  height: 24px;
}
.header-sns-btn.header-yt-btn svg {
  fill: #ff0000;
}
.header-sns-btn.header-insta-btn svg {
  fill: url(#insta-grad-pc);
}
.header-sns-list-sp .header-sns-btn.header-insta-btn svg {
  fill: url(#insta-grad-sp);
}
.header-sns-btn:hover {
  opacity: 0.7;
}

/* For SP Menu */
.header-sns-list-sp {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 15px 0 0 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
}
.header-sns-list-sp::before {
  content: "公式SNS";
  position: absolute;
  right: calc(50% + 72px);
  color: #e5ab47;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}
.header-sns-list-sp li {
  margin: 0 4px !important;
  display: block !important;
  visibility: visible !important;
  border-bottom: none !important;
}
.header-sns-list-sp .header-sns-btn {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: #777 !important;
  visibility: visible !important;
  padding: 0 !important;
  border: 1px solid #e5ab47 !important;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  background-color: #fff !important;
}
.header-sns-list-sp .header-sns-btn svg {
  width: 32px !important;
  height: 32px !important;
}

@media screen and (max-width: 767px) {
  .footer-sns-banner {
    padding: 10px 0 10px 0 !important;
    margin-bottom: 0 !important;
  }
  .footer-sns-list {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    gap: 8px;
  }
  .footer-sns-list::before {
    right: calc(50% + 75px);
  }
  .footer-sns-banner .container,
  .footer-nav .container {
    padding: 0 !important;
  }
  .footer-nav {
    margin-top: 0 !important;
  }
}
