@charset "UTF-8";
/* リセット */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
  font-family: kiwi-maru, puffin-display-soft, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  overflow-x: clip;
  /* overflow-x: hidden; */
  background-color: #fff0f5;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}
ins {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #fff;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}
html {
  margin-top: 0 !important;
}
::-webkit-scrollbar {
  width: 16px; /* 任意の幅を指定 */
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #fff;
  border: 4px solid #f1f1f1; /* 余白（隙間）を作りたい場合 */
  border-radius: 10px;
}
html #wpadminbar {
  display: none;
}
/* リセットここまで */ /* PC SP表示 */
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

h2 {
  font-size: 1.5625rem;
  color: #fff;
  @media screen and (max-width: 768px) {
    font-size: 1.375rem;
    line-height: 30px;
  }
}
.h2-small {
  display: block;
  font-size: 0.75rem;
  margin: 0 20px;
  color: #fff;
  @media screen and (max-width: 768px) {
    line-height: 17px;
  }
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
}
.h2-contents {
  display: flex;
  margin: 0 0 0 auto;
  align-items: baseline;
  margin: 0 auto;
  border-bottom: 5px solid #660000;
  justify-content: space-between;
  position: relative;
  margin: 60px 0 30px;
  @media screen and (max-width: 768px) {
    display: block;
    border-bottom: unset;
    margin-bottom: 20px;
  }
}
.h2-contents:not(.no-after):after {
  content: "";
  border-bottom: 5px solid #660000;
  display: block;
  width: 30%;
  position: absolute;
  bottom: -5px;
  left: 100%;
  @media screen and (max-width: 768px) {
    content: none;
  }
}
.h2-contents h2 {
  display: flex;
  background-color: #660000;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  align-items: center;
  min-width: 35%;
  @media screen and (max-width: 768px) {
    padding: 10px;
    margin-bottom: 20px;
  }
}

/* グローバルメニュー */
header {
  background-color: #fff;
  display: block;
  position: relative;
  z-index: 150;
  width: 100%;
  @media screen and (max-width: 768px) {
    margin-bottom: 50px;
  }
}
.top-slider-wrap {
  margin-top: 75px !important;
  position: relative;
  @media screen and (max-width: 768px) {
    margin-top: 63px !important;
  }
}
.header-top-contents {
  border-top: 15px solid #660000;
  border-bottom: 3px solid #660000;
  background-color: #fff0f5;
  position: fixed;
  z-index: 150;
  width: 100%;
  align-items: center;
  top: 0;
  @media screen and (max-width: 768px) {
    padding: 0;
    align-items: center;
    border-top: 0;
  }
}
.header-top-contents-width {
  width: 95%;
  max-width: 1200px;
  display: flex;
  margin: 0 auto;
  align-items: center;
  height: 60px;
  @media screen and (max-width: 768px) {
    width: 95%;
    margin: 0 0 0 auto;
  }
}
.header-contents-wrap {
  display: flex;
  margin-right: 20px;
  margin: 0 0 0 auto;
  justify-content: space-between;
  align-items: center;
}
.header-contents-wrap.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .header-contents-wrap.pc {
    display: none;
  }
  .header-contents-wrap.sp {
    display: flex;
    margin-right: 0;
    justify-content: flex-end;
  }
}

header .logo {
  margin-right: 25px;
  display: block;

  @media screen and (max-width: 768px) {
    margin-right: 10px;
  }
}
header .logo img {
  max-width: 300px;
  min-width: 200px;
  width: 100%;

  @media screen and (max-width: 768px) {
    min-width: unset;
  }
}
.g-menu-wrap ul {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: end;
}
.g-menu-wrap ul li a {
  word-break: keep-all;
}

.g-menu-wrap .top-menu {
  display: flex;
  justify-content: space-between;
  margin-right: auto;
  align-items: center;
  margin: 0 auto;
}
.g-menu-wrap ul.icon-menu {
  gap: 8%;
  margin-right: 20px;
}

.icon-menu img {
  width: 13px;
  height: auto;
  position: absolute;
  margin-left: 4px;
}

.icon-menu li:nth-child(2) img {
  width: 11px;
  padding-left: 1px;
}

.icon-menu a:before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background-color: #660000;
  border-radius: 50px;
  margin-right: 7px;
}
.icon-menu li:first-child a:before {
  background-color: #e94242;
}
.icon-menu li:last-child a:before {
  background-color: #d47a00;
}

.g-menu-wrap .icon-menu li a {
  display: flex;
  align-items: center;
}
.bg-enji.sp {
  @media screen and (max-width: 768px) {
    display: flex;
    gap: 2px;
  }
}

header .bg-enji li a {
  background-color: #660000;
  color: #fff;
  padding: 6px 25px;
  min-height: 23px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    width: 60px;
    height: 40px;
    padding: 10px 3px;
    font-size: 0.625rem;
    text-align: center;
  }
}

.bg-enji img {
  width: 14px;
  padding: 0 3px;
  @media screen and (max-width: 768px) {
    width: 28px;
    padding: 0 0 3px 0;
  }
}

.bg-enji li:last-child img {
  width: 17px;
  height: 17px;
  padding: 3px;
  margin-right: 2px;
  @media screen and (max-width: 768px) {
    width: 30px;
    height: 100%;
    padding: 5px 0 8px 0;
    margin-right: 0;
  }
}

.main-menu {
  background-color: #660000;
}
.main-menu ul {
  display: flex;
  padding: 18px 0;
  margin: 0 auto;
  width: 95%;
  justify-content: space-between;
  max-width: 1200px;
}
.main-menu li {
  border-left: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: stretch;
}
.main-menu li a {
  color: #fff;
  padding: 5px;
  display: block;
  width: 100%;
  text-align: center;
  word-break: auto-phrase;
  line-height: 20px;
}
.main-menu li:last-child {
  border-right: 1px solid #fff;
}
.main-menu.is-fixed {
  position: fixed;
  top: 78px;
  width: 100%;
}
.top-slider-contents {
  object-fit: cover;
  position: relative;
}

.top-slider-contents img {
  width: 100%;
  vertical-align: bottom;
}

.slider-h2-wrap {
  position: absolute;
  bottom: 10%;
  right: 0;
  left: 0;
  margin: auto;
  width: 95%;
  max-width: 1200px;
  line-height: 1.6;
  font-family: "Noto Serif JP", serif;
  @media screen and (max-width: 768px) {
    font-size: calc(1vw + 1.2rem);
    line-height: 1.4;
    bottom: 10%;
  }
}
.slider-h2 {
  margin: 0 0 auto;
  padding: 5px 20px;
  width: fit-content;
  font-weight: 400;
  color: #000;
  /* text-shadow: 2px 1px 3px #000000; */
  font-size: calc(1.2vw + 1.5rem);
  background: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-family: "Noto Serif JP", serif;
  @media screen and (max-width: 768px) {
    font-size: calc(1vw + 1.2rem);
    line-height: 1.4;
  }
}

.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}
/* フッター */

footer {
  /* background-image: linear-gradient(145deg, #2660ac 70%, #28766e); */
  background-color: #660000;
}
footer img {
  @media screen and (max-width: 768px) {
    max-width: 300px;
  }
}
footer section {
  width: 95%;
  max-width: 1200px;
  padding: 50px 0;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    padding: 50px 0 80px;
  }
}
.footer-contents-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  color: #fff;
  @media screen and (max-width: 768px) {
    display: block;
  }
}
footer section p,
footer section a {
  display: block;
  margin-bottom: 25px;
  @media screen and (max-width: 768px) {
    margin-bottom: 15px;
  }
}

footer section p {
  line-height: 20px;
}

footer li a {
  color: #fff;
}
@media (hover: hover) {
  footer li a:hover {
    opacity: 0.7;
  }
}

.footer-menu-wrap {
  display: flex;
  width: 45%;
  gap: 5%;
  justify-content: end;
  @media screen and (max-width: 768px) {
    display: block;
    width: 100%;
  }
}

.address p {
  margin-bottom: 0;
  line-height: 25px;
}

.address .footer-instagram {
  width: 25px;
  margin-top: 20px;
}

.footer-menu-wrap ul {
  width: 45%;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.copy-right p {
  color: #fff;
  margin-bottom: 5px;
  font-size: 0.875rem;
}

.contents-width {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto 100px;
  @media screen and (max-width: 768px) {
    margin-top: 0;
    margin-bottom: 50px;
  }
}

/* スライダー */

/* .slick-slider::after {
  content: "";
  display: block;
  height: 7px;
  width: 100%;
  background-image: url(../img/top/dummy_border.jpg);
  background-size: contain;
} */

.slick-slide img {
  width: 100%;
  min-height: 300px;
  max-height: 500px;
  object-fit: cover;
  @media screen and (max-width: 768px) {
    min-height: 200px;
  }
}

.slick-list {
  min-height: 300px;
  max-height: 500px;
  @media screen and (max-width: 768px) {
    min-height: 200px;
  }
}
.dots-button-box {
  display: flex;
  align-items: center;
  @media screen and (max-width: 768px) {
    justify-content: center;
  }
}
.dots-wrap {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: end;

  @media screen and (max-width: 768px) {
    width: 45%;
  }
}

.dots-wrap li {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 5px;
  margin: 0 20px 0 5px;
  padding: 0;
  cursor: pointer;
  background: #c7c7c7;
}

.dots-wrap li:hover,
.dots-wrap li.slick-active {
  background: #a03f58;
}
.dots-wrap li button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
  border: none;
  background-color: transparent;
}

.slick_pause {
  margin: 0 0 0 auto;
  width: 100px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid #a03f58;
  background: #fff;
  display: block;
  color: #a03f58;
  font-weight: 900;

  @media screen and (max-width: 768px) {
    margin: 0;
  }
}

@media (hover: hover) {
  .slick_pause {
    transition: 0.3s;
  }
  .slick_pause:hover {
    color: #fff;
    /* background-color: #2561ac; */
    background-color: #a03f58;
  }
}

/* もっと見るボタン */
button.more {
  /* background-color: #2561ac; */
  background-color: #660000;
  border: none;
  border-radius: 45px;
  padding: 0;
  /* display: block; */
  margin: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  max-width: 200px;
  @media screen and (max-width: 768px) {
    position: unset;
    margin: 30px auto 0;
  }
}
@media (hover: hover) {
  button.more:hover {
    opacity: 0.7;
  }
}
button.more a {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  height: 40px;
  max-width: 150px;
  min-width: 110px;
  @media screen and (max-width: 768px) {
    height: 35px;
    font-size: 0.875rem;
  }
}

.more-arrow {
  display: block;
  position: relative;
  display: inline-block;
  width: 25px;
  min-width: 25px;
  height: 2px;
  border-radius: 9999px;
  background-color: #fff;
  @media screen and (max-width: 768px) {
    width: 20px;
    min-width: 20px;
  }
}
.more-arrow::before,
.more-arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 10px;
  height: 2px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: calc(100% - 0px) 50%;
}
.more-arrow::before {
  transform: rotate(45deg);
}

.more-arrow::after {
  transform: rotate(-45deg);
}

/* ニュース */

.contents-width .top-news {
  display: flex;
  justify-content: space-between;
  gap: 5%;
  @media screen and (max-width: 768px) {
    display: block;
  }
}
.top-news .contents-wrap {
  width: 30%;
  max-width: 400px;
  position: relative;
  @media screen and (max-width: 768px) {
    width: 100%;
    display: block;
    word-break: keep-all;
    max-width: unset;
  }
}

.top-news .contents-wrap img {
  width: 100%;
  margin: 30px 0;

  @media screen and (max-width: 768px) {
    max-width: 145px;
    margin-top: -70px;
    object-fit: contain;
    margin: -90px 0 0 auto;
    z-index: 100;
    position: relative;
    display: block;
  }
}
@media (hover: hover) {
  .news-contents:hover {
    opacity: 0.7;
  }
}

.top-news .news-contents-wrap {
  width: 65%;
  @media screen and (max-width: 768px) {
    width: 100%;
    margin-top: -33px;
  }
}
.top-news .news-contents {
  justify-content: space-between;
  border-bottom: 1px solid #660000;
  border-radius: 10px 0 0 0;
  margin: 0 0 30px 0;
  @media screen and (max-width: 768px) {
    margin: 0 0 15px 0;
  }
}

.top-news .news-contents:last-child {
  margin: 0;
}
.top-news .news-contents a {
  padding-bottom: 30px;
  display: block;
  @media screen and (max-width: 768px) {
    padding-bottom: 15px;
  }
}

.top-news .news-contents div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-news .news-contents .more-arrow {
  /* background-color: #2561ac; */
  background-color: #660000;
}

.top-news .news-contents .more-arrow::before,
.top-news .news-contents .more-arrow::after {
  /* background-color: #2561ac; */
  background-color: #660000;
}
.under.news .cate-wrap,
.under.archive .cate-wrap,
.top-news .cate-wrap {
  color: #fff;
  margin-right: 15px;
  font-size: 0.75rem;
  padding: 3px;
  width: 80px;
  display: flex;
  max-height: 20px;
  align-items: center;
  justify-content: center;
  @media screen and (max-width: 768px) {
    margin-bottom: 10px;
  }
}
.under.news .cate-wrap.jimu,
.under.archive .cate-wrap.jimu,
.top-news .cate-wrap.jimu {
  /* background-color: #2561ac; */
  background-color: #e94242;
  width: 125px;
}
.under.news .cate-wrap.hoken,
.under.archive .cate-wrap.hoken,
.top-news .cate-wrap.hoken {
  background-color: #d47a00;
  width: 125px;
}
.under.news .cate-wrap.school,
.under.archive .cate-wrap.school,
.top-news .cate-wrap.school {
  background-color: #40476d;
  width: 125px;
}
.under.news .cate-wrap.other,
.under.archive .cate-wrap.other,
.top-news .cate-wrap.other {
  background-color: #477b64;
  width: 125px;
}
.top-news .news-contents a .title {
  display: flex;
  align-items: center;
  line-height: 20px;
  margin-right: 5px;
  @media screen and (max-width: 768px) {
    display: block;
  }
}
.top-news .news-contents a .day {
  margin-bottom: 15px;
  @media screen and (max-width: 768px) {
    margin-bottom: 10px;
  }
}

/* トップインスタ */
.top-instagram h2 {
  font-size: 1.8rem;
}
.top-instagram .h2-contents::after {
  content: unset;
}
.top-instagram .contents-wrap {
  width: 90%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
}
.bg-white-instagram {
  padding: 25px 0;
  background-color: rgba(255, 255, 255, 0.5);
}
.top-instagram .h2-contents {
  border-bottom: unset;
  display: flex;
  align-items: baseline;
  margin: 0 auto;
  position: relative;
  padding: 25px 0;
  @media screen and (max-width: 768px) {
    padding: 15px 0;
  }
}
.top-instagram {
  background-image: url(../img/top/Instagram-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}
/* .top-instagram .h2-contents::after {
  content: "";
  background-image: linear-gradient(90deg, #5d17fe, #dd00b6);
  width: 100vw;
  height: 60px;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: unset;
  z-index: -10;
} */
.top-instagram .h2-contents h2 {
  background-color: unset;
  @media screen and (max-width: 768px) {
    margin-bottom: 0;
  }
}
.top-instagram .instagram-img {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  justify-content: space-between;
  gap: 3%;
  @media screen and (max-width: 768px) {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.top-instagram .instagram-img img {
  display: block;
  width: 100%;
  max-width: 270px;
  min-width: 100px;
  height: auto;
  object-fit: contain;
  @media screen and (max-width: 768px) {
    margin-bottom: 20px;
  }
}
.contents-width.top-instagram {
  position: relative;
}

.contents-width.top-instagram::after {
  content: "";
  background-image: linear-gradient(90deg, #ff9101, #ffd503 42%, #ef2351);
  width: 100vw;
  height: 10px;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: unset;
  z-index: -10;
  bottom: -5%;
}
/* もっと見るボタン */
.more-text {
  display: flex;
  align-items: center;
  justify-content: right;
  color: #660000;
  white-space: nowrap;
  margin-left: 5px;

  @media screen and (max-width: 768px) {
    flex-wrap: wrap;
  }
}
.top-instagram .more-text {
  color: #fff;
  width: fit-content;
  margin: 30px 0 0 auto;
  padding: 0 5% 30px 0;

  padding-right: 5%;
  @media screen and (max-width: 768px) {
    margin-top: 20px;
    padding-bottom: 20px;
  }
}

@media (hover: hover) {
  .more-text:hover {
    opacity: 0.7;
  }
}
.more-circle {
  display: block;
  position: relative;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  /* background-color: #2561ac; */
  background-color: #660000;
  margin-left: 5px;
  top: 2px;
}
.top-instagram .more-circle {
  background-color: #fff;
}

.more-circle::before,
.more-circle::after {
  content: "";
  display: block;
  border: 1px solid #fff;
  width: 5px;
}
.top-instagram .more-circle::before,
.top-instagram .more-circle::after {
  border: 1px solid #660000;
}
.more-circle::before {
  transform: rotate(45deg);
  position: absolute;
  top: 6px;
  left: 6px;
}
.more-circle::after {
  transform: rotate(-45deg);
  position: absolute;
  bottom: 6px;
  left: 6px;
}

/* 長野南高校について、生徒会について */
.top-contents-text {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 768px) {
    display: block;
  }
}
.top-contents-text p {
  font-weight: 800;
  line-height: 35px;
  margin: 40px 0;
  @media screen and (max-width: 768px) {
    margin: 20px 0;
    line-height: 30px;
  }
}

.top-contents-text.section-text p {
  white-space: nowrap;
  @media screen and (max-width: 768px) {
    text-align: center;
  }
}
.top-contents-text img {
  width: 100%;
  min-width: 120px;
  max-width: 490px;
  object-fit: contain;
  @media screen and (max-width: 768px) {
    display: block;
    margin: 0 auto;
  }
}
.top-contents-flex {
  display: flex;
  justify-content: space-between;
  gap: 4%;
  margin-top: 30px;
  @media screen and (max-width: 768px) {
    display: inline-block;
    text-align: center;
    width: 100%;
  }
}
@media (hover: hover) {
  .top-contents-flex li:hover {
    opacity: 0.7;
  }
}
.top-contents-flex img {
  width: 100%;
  max-width: 380px;
  min-width: 120px;
  background-color: #fff;
}
.top-contents-flex span {
  position: relative;
  font-size: 0;
  display: inline-block;
  line-height: 0;
}
.top-contents-flex span::before {
  content: "";
  display: block;
  width: 30%;
  background-size: contain;
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(../img/top/top-contents-bgredarrow.png);
  background-repeat: no-repeat;
  aspect-ratio: 1.65 / 1;
}

.top-contents-flex h3 {
  display: flex;
  align-items: center;
  margin-top: 20px;
  @media screen and (max-width: 768px) {
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 10px;
  }
}
.top-about .top-contents-flex li:last-child h3,
.top-council .top-contents-flex li:last-child h3 {
  margin-bottom: 0;
}
.top-contents-flex h3::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 20px;
  /* background-color: #2561ac; */
  background-color: #e3433f;
  margin-right: 10px;
}

/* 中学生・保護者 */
.top-jhs .top-contents-flex {
  @media screen and (max-width: 768px) {
    margin-top: 0;
  }
}
.top-jhs li {
  @media screen and (max-width: 768px) {
    margin-bottom: 10px;
  }
}
.top-jhs .top-contents-flex span::before {
  content: unset;
}
.top-council .top-contents-flex span::before {
  width: 94px;
  height: 57px;
}
/* アクセス */
.top-access {
  padding: 70px 0;
  border-bottom: 7px solid #660000;
  @media screen and (max-width: 768px) {
    padding: 50px 0;
    margin-bottom: 50px;
  }
}
.top-access .contents-width {
  margin: 0 auto;
  /* display: flex;
  justify-content: space-between; */
  @media screen and (max-width: 768px) {
    display: block;
  }
}

.top-access .contents-wrap {
  width: 30%;
  min-width: 300px;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.top-access .address {
  line-height: 30px;
  width: 100%;
  font-weight: 400;
}
.top-access .map {
  width: 65%;
  max-width: 630px;
  margin-left: 20px;
  display: inline-flex;
  padding: 30px;
  background-color: #fff;
  @media screen and (max-width: 768px) {
    width: 90%;
    margin-top: 20px;
    display: block;
    margin: 20px auto 0;
    max-width: unset;
    padding: 15px;
  }
}
.top-access button.more {
  position: relative;
  margin: 50px 0 0;
  background-color: #660000;
  border: 1px solid #660000;
  bottom: 0;
  right: unset;
  @media screen and (max-width: 768px) {
    margin: 20px auto 0;
    height: 100%;
  }
}
.top-access button.more a {
  color: #fff;
  max-width: 300px;
  min-width: 150px;
}
.top-access .more-arrow {
  /* background-color: #2561ac; */
  background-color: #fff;
}
.top-access .more-arrow::before,
.top-access .more-arrow::after {
  /* background-color: #2561ac; */
  background-color: #fff;
}

.top-access .map iframe {
  width: 100%;
  aspect-ratio: 2 / 1;
}

/* バナー集 */
.top-banner-flex {
  gap: 3%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  @media screen and (max-width: 768px) {
    justify-content: center;
  }
}
.top-banner-flex li {
  /* width: 22.5%; */
  text-align: center;
  margin-bottom: 20px;
  /* @media screen and (max-width: 768px) {
    width: 40%;
  }
  @media screen and (max-width: 450px) {
    width: 48%;
  } */
}

.top-banner-flex li img {
  width: auto;
  border: 1px solid #c6c6c6;
  height: 73px;
  object-fit: contain;
}

/* ハンバーガー */
/* ハンバーガーメニュー */
@media screen and (max-width: 768px) {
  .sp-hmenu {
    display: flex;
  }

  .c-header {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: end;
    padding: 1rem;
    width: 100%;
  }

  .c-header__logo {
    color: #000;
    width: 22%;
    min-width: 170px;
    text-decoration: none;
    margin-right: 20px;
  }

  .c-header__list {
    box-sizing: border-box;
    display: flex;
    margin: 0;
    padding: 0;
  }

  .c-header__list-item {
    list-style: none;
    text-decoration: none;
    width: 90%;
    margin: 0 auto;
  }

  .c-header__list-item.icon-menu-wrap {
    margin-top: 30px;
  }
  .c-header__list-item.icon-menu-wrap li {
    margin-bottom: 20px;
  }
  .c-header__list-item.icon-menu-wrap li a {
    display: flex;
    align-items: center;
    color: #fff;
    width: fit-content;
  }
  .c-header__list-link {
    color: #fff;
    display: block;
    text-decoration: none;
    padding: 10px 0px 20px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 1.125rem;
    width: fit-content;
  }

  .c-header__list-link:hover {
    filter: opacity(0.6);
  }

  .c-hamburger-menu {
    position: unset;
    padding: 0;
    width: auto;
  }
  .c-hamburger-menu__list {
    background-color: #660000;
    color: #fff;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 2rem 0;
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s;
    top: 100%;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 999;
    min-height: 100vh;
  }
  .c-hamburger-menu__list ul {
    width: 100%;
  }
  .c-hamburger-menu__list.open {
    transform: translateX(0%);
    transition: 0.3s;
  }

  .c-hamburger-menu__input {
    display: none;
  }

  .c-hamburger-menu__bg {
    background-color: #a03f58; /* カスタマイズしてください */
    cursor: pointer;
    display: none;
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
    transform: translateX(-100%);
  }

  .c-hamburger-menu__bg.open {
    display: block;
  }

  .c-hamburger-menu__button {
    display: none;
  }

  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    cursor: pointer;
    background-color: #660000;
    width: 60px;
    height: 60px;
    margin-left: 2px;
  }

  .c-hamburger-menu__button-mark {
    background-color: #fff;
    display: block;
    height: 2px;
    transition: 0.3s;
    width: 30px;
  }

  .c-hamburger-menu__button.open .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(5px, -5px) rotate(45deg);
    transform-origin: 0%;
  }
  .c-hamburger-menu__button.open .c-hamburger-menu__button-mark:nth-of-type(2) {
    transform: translate(5px, 6px) rotate(-45deg);
    transform-origin: 0%;
  }
  .hamburger-ul {
    display: none;
    margin-bottom: 0;
  }
  .hamburger-ul li {
    font-size: 0.9375rem;
    margin-bottom: 12px;
  }

  .hamburger-ul li {
    display: flex;
    font-size: 0.9375rem;
  }

  .hamburger-ul li::before {
    content: "";
    width: 10px;
    height: 1px;
    background-color: black;
    margin: 9px 5px auto 0;
  }
  .hamburger-clickbtn {
    position: relative;
    padding: 15px 0;
    background-color: #fff;
    cursor: pointer;
  }

  .faq-content {
    display: none;
    margin-top: 10px;
    margin-left: 0;
    padding: 10px 15px;
  }
  .sp-en-search {
    display: flex;
    margin-top: 40px;
    justify-content: center;
    gap: 5%;
    padding-bottom: 120px;
  }

  /* 「+」を追加 */
  .hamburger-clickbtn::before,
  .hamburger-clickbtn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4%;
    width: 12px;
    height: 1px;
    margin: auto;
    background-color: #000;
  }
  .hamburger-clickbtn::after {
    transform: rotate(90deg);
  }
  /* クリックしたときに「+」を「−」に変更 */
  .hamburger-clickbtn.open-close::after {
    transform: rotate(180deg);
  }
}

/* トップに戻るボタン */
footer section {
  position: relative;
}
.top-btn {
  position: absolute;
  bottom: 10%;
  right: 0;
}

.top-btn button {
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background-color: #fff;
  color: #660000;
  cursor: pointer;
  border: 2px solid #660000;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  @media screen and (max-width: 768px) {
    width: 55px;
    height: 55px;
  }
}

.top-btn button .arrow {
  position: relative;
  display: inline-block;
  width: 3px;
  height: 27px;
  margin: 0 27px;
  border-radius: 9999px;
  background-color: #660000;
  @media screen and (max-width: 768px) {
    margin: 0 18px;
  }
}

.top-btn button .arrow::before,
.top-btn button .arrow::after {
  content: "";
  position: absolute;
  top: -1px;
  left: calc(50% - 1px);
  width: 3px;
  height: 14px;
  border-radius: 9999px;
  background-color: #660000;
  transform-origin: 50% 2px;
}

.top-btn button .arrow::before {
  transform: rotate(45deg);
  left: -1px;
}

.top-btn button .arrow::after {
  transform: rotate(-45deg);
  left: 1px;
}

/* クラス付与時の指定 */
.js-backToTop.is-active {
  opacity: 1;
  visibility: visible;
}
