@charset "utf-8";

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", 
               "Hiragino Sans", "ヒラギノ角ゴシック", 
               "Noto Sans JP", "Meiryo", sans-serif;
}

header {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 0;
}

header .hd-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

@media screen and (max-width:768px) {
    header .hd-flex {
        padding: 0px;
    }
}

header .hd-flex .hd-img {
    height: 53px;
    margin: 5px 0 0 15px;
    max-width: 300px;
    width: 362px;
}
@media screen and (max-width:768px) {
    header .hd-flex .hd-img {
        height: 31px;
        width: 174px;
    }
}

header .hd-flex .hd-btn nav ul {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  margin-top: 5px;
  align-items: center;
}

header .hd-flex .hd-btn nav ul li a {
  display: block;
  color: #212121;
  border: 1px solid #909090;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}

footer {
  background-color: #cedcee;
  width: 100%;
  padding: 32px 0 16px;
}

footer ul {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

footer ul li {
  flex: initial;
  flex: 1;
  text-align: center;
  border-right: 1px solid #909090;
}

footer ul li:last-child {
  border-right: none;
}

footer ul li a {
  color: #3f3f3f;
}

footer ul li a:hover {
  text-decoration: underline;
}

footer .copy {
  color: #3f3f3f;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 24px;
}

@media screen and (max-width:499px) {
  footer {
    padding: 0;
  }

  footer ul {
    display: block;
  }

  footer ul li {
    border-bottom: 1px solid #b1aad5;
    border-right: none;
    padding: 15px;
  }

  footer ul li::after {
    color: #3f3f3f;
    content: "＞";
    margin-left: 1rem;
  }

  footer ul li:last-child {
    border-bottom: none;
  }

  footer .copy {
    background-color: #707070;
    color: #ffffff;
    padding: 10px;
  }
}

.language-layout {
  display: flex;
}
@media screen and (max-width:768px) {
  .language-layout {
    display: none;
  }
}

#language-dropdown-toggle, #language-dropdown-toggle-sp {
    display: none;
}

#language-dropdown-toggle:checked + label + .language-dropdown-list {
    display: flex;
}
#language-dropdown-toggle:checked + label + .language-dropdown-list + div {
    display: block;
}
#language-dropdown-toggle-sp:checked + label + .language-dropdown-list-sp {
    display: flex;
}

#language-dropdown-toggle + label div div:last-of-type img:first-of-type, #language-dropdown-toggle-sp + label div div:last-of-type img:first-of-type {
    display: block;
}

#language-dropdown-toggle:checked + label div div:last-of-type img:first-of-type, #language-dropdown-toggle-sp:checked + label div div:last-of-type img:first-of-type {
    display: none;
}

#language-dropdown-toggle + label div div:last-of-type img:first-of-type + img, #language-dropdown-toggle-sp + label div div:last-of-type img:first-of-type + img, .language-dropdown-list-space, #language-dropdown-toggle-sp:checked + label + div + div + div {
    display: none;
}

#language-dropdown-toggle:checked + label div div:last-of-type img:first-of-type + img, #language-dropdown-toggle-sp:checked + label div div:last-of-type img:first-of-type + img, .language-dropdown-list-space, #language-dropdown-toggle-sp:checked + label + div + div + div {
    display: block;
}

.language-dropdown-list, .language-dropdown-list-sp {
    display: none;
}

#language-dropdown-toggle-sp + label div div div img {
    height: 19px;
    width: 19px;
}

.language-btn {
    align-items: center;
    background-color: #e8effc;
    border-radius: 20px;
    display: flex;
    height: 40px;
    margin-right: 50px;
    width: 240px;
}

.language-btn div:first-of-type {
    display: flex;
}

.language-btn div:first-of-type div:first-of-type {
    position: relative;
    left: 35px;
}

.language-btn div:first-of-type div:last-of-type {
    color: #2f2f2f;
    font-family: Montserrat;
    font-size: 1rem;
    font-weight: bold;
    left: 45px;
    position: relative;
    top: 2px;
}

.language-btn div:last-of-type {
    left: 80px;
    position: relative;
}

.language-dropdown-list {
    background-color: #ffffff;
    border-radius: 20px;
    display: none;
    justify-content: center;
    position: absolute;
    width: 240px;
    z-index: 30;
}

.language-dropdown-list ul {
    margin: 0;
    padding: 0
}

.language-dropdown-list li {
    border-color: rgba(47, 47, 47, 0.5);
    border-style: dashed;
    border-width: 0 0 1px 0;
    font-family: Montserrat;
    font-size: 1rem;
    font-weight: bold;
    list-style: none;
    padding: 8px 0 8px 0
}

.language-dropdown-list li:last-child {
    border-style: none;
}

.language-dropdown-list-inside {
    background-color: #ffffff;
    color: #2f2f2f;
    text-align: center;
    width: 200px;
}

.language-btn-sp {
    align-items: center;
    background-color: #e8effc;
    border-radius: 15px;
    display: flex;
    height: 30px;
    width: 185px;
}

.language-btn-sp div:first-of-type {
    display: flex;
}

.language-btn-sp div:first-of-type div:first-of-type {
    position: relative;
    left: 35px;
}

.language-btn-sp div:first-of-type div:last-of-type {
    color: #2f2f2f;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-weight: bold;
    left: 40px;
    letter-spacing: 0.1rem;
    position: relative;
}

.language-btn-sp div:last-of-type {
    left: 55px;
    position: relative;
}

.language-dropdown-list-sp {
    background-color: #ffffff;
    border-radius: 15px;
    justify-content: center;
    width: 185px;
}

.language-dropdown-list-sp-inside {
    background-color: #ffffff;
    color: #2f2f2f;
    letter-spacing: 0.09rem;
    text-align: center;
    width: 155px;
}

.language-dropdown-list-sp ul {
    margin: 0;
    padding: 0
}

.language-dropdown-list-sp li {
    border-color: rgba(47, 47, 47, 0.5);
    border-style: dashed;
    border-width: 0 0 1px 0;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-weight: bold;
    list-style: none;
    padding: 6px 0 6px 0
}

.language-dropdown-list-sp li:last-child {
    border-style: none;
}

.language-dropdown-list-space {
    height: 120px;
}

#ham-toggle {
    display: none;
}

#ham-toggle:checked + div.ham-overlay {
    display: grid;
}

#menu {
    display: none;
}
@media screen and (max-width:768px) {
    #menu {
        display: block;
        margin-right: 15px;
    }
}

.ham-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,53,99,.78);
    display: none;
    height: 406px;
    place-items: center;
    padding: 30px 20px;
    z-index: 30;
}

.ham-logo {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: .78rem;
    color: rgba(255,255,255,.85);
    letter-spacing: .02em;
}

.ham-close {
    position: absolute;
    top: 19px;
    right: 30px;
    width: 22px;
    height: 14px;
    display: block;
}

.ham-close img {
    width: 100%;
}

.ham-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.ham-btn {
    width: 185px;
    height: 45px;
    background: #fff;
    color: #18375d;
    border: none;
    border-radius: 5.69px;
    margin-bottom: 28px;
    line-height: 1.2;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    text-align: center;
}

.sp_br {
    display: none;
}

@media screen and (max-width:769px) {
    .sp_br {
        display: block;
    }
}

#click-catcher {
    background: transparent;
    display: none;
    inset: 0px;
    pointer-events: auto;
    position: fixed;
    z-index: 2147483646;
}

#click-catcher-sp {
    background: transparent;
    display: none;
    inset: 0px;
    pointer-events: auto;
    position: fixed;
    z-index: 2147483645;
}
