/* 関谷さん製作用 */

/*---------- ヘッダー ----------*/
body {
  margin: 0;
}

img {
  height: auto;
}

ul,
li {
  list-style: none;
}

.pc {
  display: block;
}
.sp {
  display: none !important;
}

.header {
  color: #ffffff;
  width: 100%;
  background-color: #109f98;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

#site_header {
  display: flex;
  margin: 8px 15px 0 15px;
}

.header_logo {
  align-content: center;
}

@media only screen and (max-width: 430px) {
  .header_logo {
    width: 35%;
  }
}


.header_logo a img {
  vertical-align: baseline;
}

.header_inner1 {
  display: flex;
  justify-content: right;
  margin-bottom: 10px;
}

.header_menus {
  width: 100%;
}

.search-form input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #109f98;
  border-radius: 25px;
  width: 30vw;
  padding-left: 20px;
  height: 36px;
  background-color: #f5f5f5;
  font-weight: 400;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form input:focus {
  outline: 1px solid #109f98; /* アウトラインの色を赤に変更 */
}

.search-form input::placeholder {
  font-size: 14px;
  color: #999999;
}

.search-form-input {
  width: 100%;
}

.search-form-submit {
  position: absolute;
  width: 36px;
  height: 36px;
  top: calc(50% - 18px);
  right: 0;
  border: #fff;
  border-radius: 25px;
  background: #109f98;
}

.search-form-submit::before {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  top: calc(50% - 9px);
  left: calc(50% - 9px);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}

.search-form-submit::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 0px;
  top: calc(50% + 6px);
  left: calc(50% + 2px);
  border-top: solid 3px #fff;
  transform: rotate(45deg);
}

.ec-categoryNaviRole {
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
  color: #525263;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 1130px;
  /*display: none;*/
}

.ec-categoryNaviRole:after {
  content: " ";
  display: table;
}
.ec-categoryNaviRole:after {
  clear: both;
}
.ec-categoryNaviRole textarea {
  /* for chrome fontsize bug */
  font-family: sans-serif;
}
.ec-categoryNaviRole img {
  max-width: 100%;
}
.ec-categoryNaviRole html {
  box-sizing: border-box;
}
.ec-categoryNaviRole *,
.ec-categoryNaviRole *::before,
.ec-categoryNaviRole *::after {
  box-sizing: inherit;
}
.ec-categoryNaviRole img {
  width: 100%;
}
.ec-itemNav {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}
.ec-itemNav__nav {
  display: block;
  margin: 0 auto;
  padding: 0;
  width: auto;
  height: auto;
  list-style-type: none;
  text-align: center;
  vertical-align: bottom;
}
.ec-itemNav__nav li {
  float: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  position: relative;
}
.ec-itemNav__nav li a {
  display: block;
  margin: 0;
  padding: 2px 10px;
  height: auto;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  text-decoration: none;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}
.ec-itemNav__nav li ul {
  display: none;
  z-index: 0;
  margin: 0;
  padding: 0;
  min-width: 200px;
  list-style: none;
  position: static;
  top: 100%;
  left: 0;
}
.ec-itemNav__nav li ul li {
  overflow: hidden;
  width: 100%;
  height: auto;
  transition: 0.3s;
}
.ec-itemNav__nav li ul li a {
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 22px 16px 16px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-align: left;
  background: #118781;
}
.ec-itemNav__nav > li:hover > a {
  background: #fafafa;
  color: #000000;
}
.ec-itemNav__nav > li:hover li:hover > a {
  background: #73beba;
  color: #ffffff;
}
.ec-itemNav__nav li ul li ul {
  top: 0;
  left: 100%;
  width: auto;
}
.ec-itemNav__nav li ul li ul li a {
  background: #7d7d7d;
}
.ec-itemNav__nav li:hover ul li ul li a:hover {
  background: #333;
}

@media only screen and (min-width: 768px) {
  .ec-categoryNaviRole {
    display: block;
    width: 100%;
  }
  .ec-categoryNaviRole a {
    color: inherit;
    text-decoration: none;
  }
  .ec-categoryNaviRole a:hover {
    text-decoration: none;
  }

  .ec-categoryNaviRole {
    display: block;
    width: 100%;
  }
  .ec-categoryNaviRole a {
    color: inherit;
    text-decoration: none;
  }
  .ec-categoryNaviRole a:hover {
    text-decoration: none;
  }
  .ec-itemNav__nav {
    display: inline-block;
  }
  .ec-itemNav__nav li {
    float: left;
    width: auto;
  }
  .ec-itemNav__nav li a {
    text-align: center;
    border-bottom: none;
  }
  .ec-itemNav__nav li ul {
    display: block;
    z-index: 100;
    position: absolute;
  }
  .ec-itemNav__nav li ul li {
    overflow: hidden;
    height: 0;
  }
  .ec-itemNav__nav > li:hover > ul > li {
    overflow: visible;
    height: auto;
  }
  .ec-itemNav__nav li ul li ul:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    color: white;
    position: absolute;
    top: 19px;
    right: auto;
    left: -20px;
  }
  .ec-itemNav__nav li ul li:hover > ul > li {
    overflow: visible;
    height: auto;
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .tabs {
    height: auto !important;
  }

  .ec-itemNav__nav {
    display: flex;
    margin: 0;
  }

  .ec-itemNav__nav li {
    width: fit-content;
    padding: 5px 0;
  }

  .ec-itemNav__nav li a {
    font-size: 14px;
    padding: 5px 5px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    text-align: center;
  }

  .ec-itemNav__nav li:last-child a {
    border-right: 1px solid #fff;
  }

  .ec-itemNav__nav > li > ul {
    display: none;
  }
}

@media screen and (max-width: 490px) {
  .ec-itemNav__nav li a {
    font-size: 12px;
  }
}
@media screen and (max-width: 425px) {
  .ec-itemNav__nav li a {
    font-size: 10px;
  }
}

/* 虫眼鏡 ホバーアクション */

@media (hover: hover) and (pointer: fine) {
  .search-form-submit,
  .search-form-submit::before,
  .search-form-submit::after {
    transition: 0.3s;
  }

  .search-form-submit {
    border: 1px solid transparent;
  }

  .search-form:hover .search-form-submit {
    border: 1px solid #109f98;
    background: #87cfcb;
  }
}

.header_link1 {
  border-left: 1px solid #d5daed;
  margin-left: 1em;
  align-content: center;
}

.link1 {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.link1 li {
  margin-left: 16px;
  padding-left: 0;
}

.link1 li a {
  text-decoration: none;
  font-weight: 700;
  color: #111111;
  display: block;
}

.header_link2 {
  border-left: 1px solid #d5daed;
  margin-left: 16px;
  align-content: center;
  justify-content: center;
}

.link2 {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.link2 li {
  margin-left: 12px;
  padding-left: 0;
}

.link2 li a {
  display: block;
  text-align: center;
  text-decoration: none;
}

.link2 li img {
  background-color: #109f98;
  border-radius: 25px;
  width: 27px;
  height: 27px;
  vertical-align: baseline;
}

.link2 li p {
  font-weight: 700;
  font-size: 0.2em;
  color: #109f98;
  margin: 0;
}

/* PCヘッダーアイコン ホバーアクション */

@media (hover: hover) and (pointer: fine) {
  .link2 li img {
    border: 1px solid transparent;
    transition: 0.3s;
  }

  .link2 li:hover img {
    background-color: #87cfcb;
  }

  .link2 li:hover p {
    color: #87cfcb;
  }
}

.header_inner2 {
  display: flex;
  justify-content: right;
}

.select_btns {
  margin: 0;
  display: flex;
  list-style: none;
  height: 42px;
  align-items: center;
}

.select_btns .btn {
  font-size: 15px;
  font-weight: 700;
  margin-left: 32px;
  cursor: pointer;
}

.select_btns .btn:hover {
  color: #109f98;
}

.select_btns .btn.active {
  color: #109f98;
  position: relative;
}

.select_btns .btn.active::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 50%;
  margin-top: -12px;
  width: 1px;
  height: 20px;
  margin: auto;
  background-color: #109f98;
}

.tabs {
  width: 100%;
  height: 42px;
  background-color: #109f98;
}

.tabs .tabs_inner {
  display: flex;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  justify-content: center;
  margin: 0 auto;
  height: 100%;
}

.tabs .tabs_inner li {
  margin: 10px 0 10px 0;
  padding: 0 1em;
  border-right: 1px solid #f2f8ff;
}

@media screen and (max-width: 768px) {
  .tabs .tabs_inner li {
    padding: 5px 0;
    margin: 0;
    flex: 1 1 auto;
  }
}

.tabs .tabs_inner li span {
  padding: 3px;
}

.tabs .tabs_inner li span:hover {
  color: #109f98;
  background-color: #fff;
  padding: 3px;
  cursor: pointer;
}

.tabs .tabs_inner li:last-child {
  border-right: none;
}

@media screen and (max-width: 500px) {
  .header {
    display: none;
  }
}

/* ---------フッター---------- */
.footer {
  color: #ffffff;
  width: 100%;
  background-color: #109f98;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  z-index: 20;
}

#footer_contents {
  background-color: #109f98;
}

#footer_links {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0 2.5rem;
  padding: 0 16px;
  margin-bottom: 25px;
}

#footer_links div {
  position: relative;
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

#footer_links .title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}

#footer_links .title a {
  color: #fff;
  text-decoration: none;
}

.links1,
.links2,
.links3,
.links4,
.links5 {
  padding-top: 50px;
  line-height: 2;
  font-size: 14px;
  font-weight: 600;
}

.links4,
.links5 {
  font-weight: 700;
  font-size: 16px;
  line-height: 2.5em;
}

.links1 ul li span,
.links2 ul li span,
.links3 ul li span {
  font-weight: 500;
}

#footer_links .links1::after {
  content: "";
  position: absolute;
  top: 0;
  left: -4%;
  width: 1px;
  height: 80px;
  margin: auto;
  background-color: #fff;
}

#footer_links .links2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -4%;
  width: 1px;
  height: 80px;
  margin: auto;
  background-color: #fff;
}

#footer_links .links3::after {
  content: "";
  position: absolute;
  top: 0;
  left: -4%;
  width: 1px;
  height: 80px;
  margin: auto;
  background-color: #fff;
}

#footer_links .links4::after {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  width: 1px;
  height: 100%;
  margin: auto;
  background-color: #fff;
}

#footer_links .links5::after {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  width: 1px;
  height: 100%;
  margin: auto;
  background-color: #fff;
}

#footer_links .links1 span,
.links2 span,
.links3 span,
.links4 span,
.links5 span {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

#footer_links .links1 span::before {
  position: absolute;
  content: "";
  top: 50%;
  width: 11px;
  height: 1px;
  left: -15px;
  cursor: auto;
  background-color: #fff;
}
#footer_links .links2 span::before {
  position: absolute;
  content: "";
  top: 50%;
  width: 11px;
  height: 1px;
  left: -15px;
  cursor: auto;
  background-color: #fff;
}
#footer_links .links3 span::before {
  position: absolute;
  content: "";
  top: 50%;
  width: 11px;
  height: 1px;
  left: -16px;
  cursor: auto;
  background-color: #fff;
}
.links4 ul li span::before,
.links5 ul li span::before {
  position: absolute;
  content: "";
  top: 50%;
  width: 11px;
  height: 1px;
  left: -15px;
  cursor: auto;
  background-color: #fff;
}

#footer_links .links1 span:hover::before,
#footer_links .links2 span:hover::before,
#footer_links .links3 span:hover::before,
#footer_links .links4 ul li span:hover::before,
#footer_links .links5 ul li span:hover::before {
  width: 17px;
  transition: 0.3s;
}

#footer_links ul {
  list-style: none;
  /*padding-left: 1em;*/
  margin-top: 0;
}

#footer_links .links1 ul,
.links2 ul,
.links3 ul {
  margin-left: 1.3em;
}

#footer_links ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

#footer_comp {
  text-align: end;
  width: 65%;
  margin: 0 auto;
}

.f_company_name {
  color: #fff;
  text-align: right;
  margin-bottom: 50px;
  display: inline-block;
}

.f_company_name p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.f_company_name .name {
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
}

.f_company_name .name span:nth-child(1) {
  font-size: 14px;
}

.f_company_name .name span:nth-child(3) {
  font-size: 18px;
}

.f_company_name .address {
  font-size: 8px;
  font-weight: 400;
  padding-top: 5px;
}

.f_company_name .address span {
  font-weight: 400;
}

.footer_copyright {
  padding: 20px;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: #111111;
}

/* spまでの幅縮小対策 */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  #footer_links {
    height: 23.769vw;
  }

  #footer_links .title {
    font-size: 1.334vw;
  }

  .links1,
  .links2,
  .links3,
  .links4,
  .links5 {
    font-size: 1.167vw;
  }

  /*
  .links3,
  .links4 {
    font-size: 1.334vw;
  }
  */

  #footer_links .links1::after {
    height: 7.089vw;
  }

  #footer_links .links2::after {
    height: 7.089vw;
  }

  #footer_links .links3::after {
    height: 7.089vw;
  }

  #footer_links .links4::after {
    height: 15.429vw;
  }

  #footer_links .links5::after {
    height: 15.429vw;
  }

  #footer_links .links1 span::before,
  .links2 span::before,
  .links3 ul li span::before,
  .links4 ul li span::before,
  .links5 ul li span::before {
    left: -1.35vw;
  }

  .f_company_name .name span:nth-child(1) {
    font-size: 1.167vw;
  }

  .f_company_name .name span:nth-child(3) {
    font-size: 1.501vw;
  }

  .f_company_name .address {
    font-size: 0.834vw;
  }
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

/* ハンバーガーボタンの3本線 */
.hamburger span {
  display: block;
  width: 1.8em;
  height: 1px;
  margin: 8px auto;
  background: #109f98;
  transition: all 0.3s;
}

.hamburger span:last-child {
  margin-right: 1.7em;
  width: 1.08em;
}

/* 変形時（メニュー開いたとき）のアニメーション */
.hamburger.active {
  background-color: #109f98;
}

.hamburger.active span:nth-child(1) {
  width: 40px;
  transform: translateY(9px) rotate(45deg);
  background-color: #fff;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  width: 40px;
  margin: 8px auto;
  transform: translateY(-10px) rotate(-45deg);
  background-color: #fff;
}

.menus {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .menus {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
    /* padding: 20px; */
    box-sizing: border-box;
  }
}

.menus ul {
  list-style: none;
  padding: 0;
  line-height: 2.2em;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.menus .menu-item a {
  color: #109f98;
  text-decoration: none;
  font-size: 16px;
  display: block;
}

.menus ul.hamburger-tabs li {
  padding: 5px 10px;
  color: #215f9a;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid #8ca8cb;
}

/* spメニューリスト「フォトパブ堂書店」以降に下矢印追加 (カラー青指定) */
.menus .menu-item:nth-child(n + 2) a::after {
  content: "";
  width: 16px;
  height: 16px;
  right: 0.75em;
  padding: 8px;
  float: right;
  transition: 0.3s;
  -webkit-mask-image: url("/html/user_data/assets/img/btn_ic_arrow_btm.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: #215f9a;
}

/* spメニューリスト「-フォトパブ堂書店」以降に下矢印変更 */
.menus .menu-item:nth-child(n + 2) .submenu li a::after {
  -webkit-mask-image: url("/html/user_data/assets/img/btn_ic_arrow.svg");
}

/* 展開された項目のみ矢印回転 */
li.menu-item.active > a::after {
  transform: rotate(180deg);
}

/* 「フォトハブ堂書店」下矢印のみ色変更 */
.menus .menu-item:nth-child(2) a::after {
  background-color: #109f98;
}

/* 「ストックフォト」下矢印のみ色変更 */
.menus .menu-item:nth-child(3) a::after {
  background-color: #109f98;
}

/* 「自費出版サービス」下矢印のみ色変更 */
.menus .menu-item:nth-child(4) a::after {
  background-color: #d43d44;
}

/* 「自費出版サービス - 詳細情報」のみ色変更 */
.menus .menu-item:nth-child(4) .submenu li a::before {
  background-color: #d43d44;
}

/* 青 下線 */
.menus ul.hamburger-tabs li {
  padding: 0 10px;
  color: #215f9a;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid #8ca8cb;
}

.menus ul.hamburger-tabs .menu-item:nth-child(n + 2) {
  padding: 0;
  text-indent: 10px;
}

.menus ul.hamburger-tabs .menu-item:nth-child(n + 2) .submenu li {
  padding-right: 0;
}

/* サブメニュー項目内の最後の要素のみ上線追加（サブメニュー1つの場合も当てはまる） */
.menus ul.hamburger-tabs .menu-item .submenu li:first-child {
  border-top: 1px solid #8ca8cb;
}

/* サブメニュー項目内の最後の要素のみ下線非表示（サブメニュー1つの場合も当てはまる） */
.menus ul.hamburger-tabs .menu-item .submenu li:last-child {
  border-bottom: none;
}

/* 緑「フォトパブ堂書店」下線のみ色変更 */
.menus ul.hamburger-tabs .menu-item:nth-child(2),
.menu-item:nth-child(2) .submenu li,
.menus ul.hamburger-tabs .menu-item:nth-child(2) .submenu li:first-child {
  border-color: #84c286;
}

/* 水色「自費出版サービス」下線のみ色変更 */
.menus ul.hamburger-tabs .menu-item:nth-child(3),
.menu-item:nth-child(3) .submenu li,
.menus ul.hamburger-tabs .menu-item:nth-child(3) .submenu li:first-child {
  border-color: #a6eae7;
}

/* 赤「自費出版サービス」下線のみ色変更 */
.menus ul.hamburger-tabs .menu-item:nth-child(4),
.menu-item:nth-child(4) .submenu li,
.menus ul.hamburger-tabs .menu-item:nth-child(4) .submenu li:first-child {
  border-color: #ec9899;
}

.menus .menu-item:nth-child(1) a {
  color: #215f9a;
  text-decoration: none;
  font-size: 16px;
}
.menus .menu-item:nth-child(2) a {
  color: #09860d;
  text-decoration: none;
  font-size: 16px;
}
.menus .menu-item:nth-child(3) a {
  color: #109f98;
  text-decoration: none;
  font-size: 16px;
}
.menus .menu-item:nth-child(4) a {
  color: #d43d44;
  text-decoration: none;
  font-size: 16px;
}
.menus .menu-item:nth-child(5) a {
  color: #215f9a;
  text-decoration: none;
  font-size: 16px;
}
/* 青「各種募集」 */
.menus .menu-item:nth-child(6) a {
  color: #215f9a;
  text-decoration: none;
  font-size: 16px;
}

/* サブメニュー */
.submenu {
  display: none;
  list-style: none;
  padding-left: 20px;
}

/* サブメニュー左 縦線追加 (span:beforeは一旦削除 カラー緑) */
.submenu li a {
  color: #109f98;
  font-size: 1em;
  border-left: 5px solid #a6eae7;
  background-clip: padding-box;
}

.menus .menu-item:nth-child(2) li a {
  color: #09860d;
  font-size: 1em;
  border-left: 5px solid rgba(9, 134, 13, 0.5);
  background-clip: padding-box;
}

.menus .menu-item:nth-child(3) .submenu li a {
  color: #109f98;
  font-size: 1em;
  border-left: 5px solid #a6eae7;
  background-clip: padding-box;
}

/* 赤「自費出版サービス - 詳細情報」縦線のみ色変更 */
.menus .menu-item:nth-child(4) .submenu li a {
  border-color: 5px solid rgba(212, 61, 68, 0.5);
  border-left: 5px solid rgba(212, 61, 68, 0.5);
  background-clip: padding-box;
}

/* 青「イベント情報」以降の縦線のみ色変更 */
.menus .menu-item:nth-child(n + 5) .submenu li a {
  border-color: rgba(33, 95, 154, 0.5);
}

.submenu li span {
  position: relative;
  opacity: 0.8;
}

/* 「ストックフォト - 詳細情報」縦線のみ色変更 */
.menus .menu-item:nth-child(3) .submenu li::before {
  border-left: 3px solid #109f98;
}

/* 「自費出版サービス - 詳細情報」縦線のみ色変更 */
.menus .menu-item:nth-child(4) .submenu li::before {
  border-left: 3px solid #d43d44;
}

/* 「イベント情報」以降の縦線のみ色変更 */
.menus .menu-item:nth-child(n + 5) .submenu li::before {
  border-left: 3px solid #215f9a;
}

.submenu li a::before {
  content: "";
  position: relative;
  display: block;
  width: 12px;
  height: 1px;
  margin: 16px 0;
  float: left;
  top: 2px;
  left: -4px;
  background-color: #629649;
}

.submenu li a {
  text-indent: -2px;
}

/* 「ストックフォト - 詳細情報」横線のみ色変更 */
.menus .menu-item:nth-child(3) .submenu li a::before {
  background-color: #109f98;
}

/* 「自費出版サービス - 詳細情報」横線のみ色変更 */
.menus .menu-item:nth-child(4) .submenu li a::before {
  background-color: #d43d44;
}

/* 「イベント情報 - イベント一覧」以降横線のみ色変更 */
.menus .menu-item:nth-child(n + 5) .submenu li a::before {
  background-color: #215f9a;
}

.menus ul.hamburger-links {
  margin: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.menus ul.hamburger-links li {
  width: 38%;
  position: relative;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 20px 3px 5px;
  border: 1px solid #215f9a;
}

/* ハンバーガーリンクボタン調整 */
.menus ul.hamburger-links li:nth-child(n + 5) {
  font-size: 12px;
}

.menus ul.hamburger-links li:nth-child(n + 5)::after {
  font-size: 1.08em;
}

.menus ul.hamburger-links li a .br_linkbox {
  display: none;
}

@media screen and (max-width: 420px) {
  .menus ul.hamburger-links li:nth-child(n + 5) {
    line-height: 16px;
  }

  .menus ul.hamburger-links li:nth-child(n + 5) a::after {
    line-height: 16px;
  }

  .menus ul.hamburger-links li a .br_linkbox {
    display: inline;
  }

  .menus ul.hamburger-links li:nth-child(n + 5)::after {
    bottom: 11px;
  }
}

.menus ul.hamburger-links li::after {
  content: "→";
  position: absolute;
  margin-left: 5px;
  font-size: 1em;
  right: 10px;
  color: #215f9a;
}

.menus ul.hamburger-links li a {
  text-decoration: none;
  color: #215f9a;
}

.menus ul.hamburger-sns {
  margin: 15px;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  background-color: #f8f9fc;
  gap: 0 32px;
}

.menus ul.hamburger-sns li {
  width: 32px;
  margin: 10px 0;
}

.menus ul.hamburger-sns li a img {
  width: 100%;
  height: 100%;
  display: block;
}

@media screen and (max-width: 768px) {
  img {
    width: 100%;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block !important;
  }

  /* ヘッダー */
  .header {
    width: 100%;
  }

  #site_header {
    margin: 3px 5px 0 5px;
  }

  .hamburger-menu {
    z-index: 999;
    padding: 0 0 0 5px;
  }

  .hamburger {
    display: block;
  }

  #footer_contents {
    padding: 25px 0;
  }

  .header_link2 {
    border-left: none;
    margin-left: 0;
  }

  .link2 {
    margin-top: 8px;
    margin-left: 0;
  }

  .sp-search-form {
    z-index: 1;
  }
  .search-form input {
    width: 370px;
  }

  .search-form.sp {
    display: flex !important;
    justify-content: center;
    margin: 10px auto;
    max-width: 340px;
  }

  .tabs .tabs_inner {
    font-size: 2vw;
    padding: 0;
  }

  .tabs .tabs_inner li {
    align-content: center;
  }

  .tabs .tabs_inner li:not(:last-child) {
    border-right: none;
  }

  /* フッター */
  .footer {
    width: 100%;
  }

  .f_company_name .name {
    display: flex;
    align-items: end;
    border-bottom: solid 1px #fff;
    padding-bottom: 10px;
    margin-bottom: 0;
  }

  .f_company_name .name span:last-child {
    margin-left: 5px;
    letter-spacing: 5px;
  }

  .f_company_name .address {
    text-align: left;
    padding-top: 10px;
    margin-top: 0;
  }

  #footer_links {
    /*height: 134px;*/
    margin: 0;
  }

  #footer_links div {
    height: auto;
  }

  #footer_comp {
    width: 80%;
    text-align: center;
  }

  .f_company_name {
    margin: auto 0;
  }
}

.link1 {
  font-size: 14px;
}

/* -----------ページ上部に戻る---------- */
.page-top {
  position: fixed;
  bottom: 2em;
  right: 2em;
  width: 3.2em;
  height: 3.2em;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 50%;
  border: 1px solid #fff;
  /* transition: all 0.3s; */
  z-index: 1000;
  color: transparent;
  text-indent: -9999px;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;

  &:hover {
    background-color: rgba(0, 0, 0, 0.6);
  }

  &::before {
    content: "";
    position: absolute;
    width: 1.2em;
    height: 1.2em;
    top: 50%;
    left: 50%;
    background: url("/html/user_data/assets/icon/btn_circle_arrow.svg") center /
      3.6em no-repeat;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: transform 0.3s ease;
  }

  &:hover::before {
    transform: translate(-50%, -60%) rotate(-90deg);
  }
}
