@media screen and (max-width: 767.99px) {
  :root {
    --spacing: 0.12em;
  }
  * {
    letter-spacing: var(--spacing);
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: "Noto Sans JP", serif;
    margin: 0;
    padding: 0;
    position: relative;
    background: #f5f3f1;
  }
  .pc {
    display: none !important;
  }
  img {
    max-width: 100%;
  }
  .infant {
    font-family: "Cormorant Infant", serif;
  }
  .noto_serif {
    font-family: "Noto Serif JP", serif;
  }
  .link_button {
    width: 160px;
    height: 40px;
    border-radius: 100vh;
    letter-spacing: 0.08em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 24px;
    background: #1b434d;
    color: #ffffff;
    font-size: 13px;
    position: relative;
    text-decoration: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 1, 1);
  }
  .link_button::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translateY(-50%);
    position: absolute;
    inset: 50% 20px auto auto;
  }
  .link_button:hover {
    opacity: 0.8;
    text-decoration: none !important;
  }
  header {
    padding: 20px;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 1000;
  }
  header .logo {
    margin: 0;
    position: relative;
  }
  header .logo img {
    width: 70px;
    height: auto;
  }
  header #header_menu_trigger {
    position: fixed;
    inset: 25px 20px auto auto;
    z-index: 1100;
    width: 95px;
    height: 30px;
    padding: 0 15px;
    border-radius: 100vh;
    background: #d46a0d;
    color: #ffffff;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  header #header_menu_trigger p {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.04em;
  }
  header #header_menu_trigger .icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 3px;
    width: 18px;
    height: 11px;
    position: relative;
  }
  header #header_menu_trigger .icon span {
    transition: 0.4s transform ease;
    display: block;
    width: 16px;
    height: 1px;
    background: #ffffff;
  }
  header #header_menu {
    display: none;
  }
  header.active .logo {
    z-index: -1;
  }
  header.active #header_menu_trigger .icon span {
    position: absolute;
  }
  header.active #header_menu_trigger .icon span:nth-of-type(1) {
    transform: rotate(17deg);
    top: 50%;
  }
  header.active #header_menu_trigger .icon span:nth-of-type(2) {
    display: none;
  }
  header.active #header_menu_trigger .icon span:nth-of-type(3) {
    transform: rotate(-17deg);
    top: 50%;
  }
  header.active #header_menu {
    display: block;
    background: url("../img/common/gradation/sp/bg_menu_gradation.jpg") no-repeat;
    background-size: cover;
    position: fixed;
    inset: 0 0 auto;
    z-index: 500;
    padding: 95px 32px;
    height: 100%;
    overflow-y: scroll;
  }
  header.active #header_menu .header_slide {
    display: none;
  }
  header.active #header_menu #header_menu_wrapper .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
  }
  header.active #header_menu #header_menu_wrapper .menu > li {
    width: 100%;
    border-bottom: 1px solid #ffffff;
    padding: 19px 36px;
    position: relative;
    box-sizing: border-box;
  }
  header.active #header_menu #header_menu_wrapper .menu > li::before {
    content: "";
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 100%;
    background: #d46a0d;
    position: absolute;
    inset: 31px auto auto 17px;
  }
  header.active #header_menu #header_menu_wrapper .menu > li > a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
  }
  header.active #header_menu #header_menu_wrapper .menu > li:nth-of-type(1) {
    border-top: 1px solid #ffffff;
  }
  header.active #header_menu #header_menu_wrapper .menu > li .sub-menu {
    font-family: "Noto Sans JP", serif;
    list-style: none;
    margin: 9px 0 0 0;
    padding: 0;
  }
  header.active #header_menu #header_menu_wrapper .menu > li .sub-menu li {
    padding: 0px 0 5px 25px;
  }
  header.active #header_menu #header_menu_wrapper .menu > li .sub-menu li a {
    color: #1b434d;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
  }
  header.active #header_menu #header_menu_wrapper .menu > li .sub-menu li:nth-last-of-type(1) {
    padding-bottom: 0;
  }
  header.active #header_menu #header_menu_wrapper .menu > li.smaller {
    font-family: "Noto Sans JP", serif;
    width: calc((100% - 20px) / 2);
    border: none;
    padding: 0;
    margin-bottom: 13px;
  }
  header.active #header_menu #header_menu_wrapper .menu > li.smaller a {
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 400;
  }
  header.active #header_menu #header_menu_wrapper .menu > li.smaller::before {
    display: none;
  }
  header.active #header_menu #header_menu_wrapper .menu > li.smaller.smaller_first {
    margin-top: 44px;
  }
  header.active #header_menu #header_menu_wrapper .menu > li.smaller.smaller_first + .smaller {
    margin-top: 44px;
  }
  header.active #header_menu #header_menu_wrapper .menu > li:nth-last-of-type(1) {
    border-bottom: none;
  }
  .decoration_wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 150px;
    margin: 20px 0 -20px;
  }
  .decoration_wrap .text_for_decoration {
    position: absolute;
    display: flex;
    z-index: -1;
    bottom: 0;
    column-gap: 73px;
  }
  .decoration_wrap .text_for_decoration p {
    font-size: 80px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin: 0;
    width: max-content;
    color: #f5f3f1;
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px -1px 0 #ffffff, 0px 1px 0 #ffffff, -1px 0 #ffffff, -1px 0 0 #ffffff, 1px 0 0 #ffffff;
    animation: infinity_scroll 70s infinite linear 0.5s;
  }
  @keyframes infinity_scroll {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
    }
  }
  #contact_before_footer {
    margin: 0 20px;
    position: relative;
    bottom: -61px;
  }
  #contact_before_footer .breadcrumbs {
    width: 100%;
    margin-bottom: 25px;
    white-space: nowrap;
    overflow: scroll;
  }
  #contact_before_footer .breadcrumbs .spread {
    color: #d9d4ce;
    margin: 0 12px;
  }
  #contact_before_footer .breadcrumbs [property=itemListElement] {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  #contact_before_footer .breadcrumbs [property=itemListElement]:not(:has(a)) {
    color: #b7ada0;
  }
  #contact_before_footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
  }
  #contact_before_footer ul li {
    background: #ffffff;
    display: flex;
    width: 100%;
    border-bottom: 2px solid #f5f3f1;
  }
  #contact_before_footer ul li:nth-last-of-type(1) {
    border-bottom: none;
  }
  #contact_before_footer ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    text-decoration: none;
    width: 100%;
    gap: 45px;
    padding: 29px 32px;
  }
  #contact_before_footer ul li a p {
    font-size: 18px;
    color: #1b434d;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
  }
  #contact_before_footer ul li a p .sub {
    color: #d46a0d;
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-top: 10px;
  }
  #contact_before_footer ul li a .arrow {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background: #1b434d;
    position: relative;
  }
  #contact_before_footer ul li a .arrow::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(50%, -50%);
    position: absolute;
    inset: calc(50% + 2px) 3px auto 0;
    margin: 0 auto;
  }
  footer {
    background: url("../img/common/gradation/sp/bg_footer_gradation.jpg") no-repeat;
    background-size: cover;
    padding: 0 20px;
  }
  footer .footer_main {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding: 108px 12px 0;
    column-gap: 40px;
  }
  footer .footer_main .left_side {
    padding-bottom: 56px;
  }
  footer .footer_main .left_side .name {
    font-weight: 500;
    font-size: 24px;
    color: #1b434d;
    letter-spacing: 0.08em;
    margin: 0 auto 19px;
  }
  footer .footer_main .left_side .address {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: #1b434d;
    margin: 0 auto 10px;
    font-weight: 500;
  }
  footer .footer_main .left_side .map_link {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #1b434d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  footer .footer_main .left_side .map_link .arrow {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background: #1b434d;
    position: relative;
  }
  footer .footer_main .left_side .map_link .arrow::after {
    content: "";
    width: 5px;
    height: 5px;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    transform: rotate(-45deg) translate(50%, -50%);
    position: absolute;
    inset: 55% 2px auto 0;
    margin: 0 auto;
  }
  footer .footer_main .right_side #menu-footer_menu {
    margin: 0 auto 50px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
  }
  footer .footer_main .right_side #menu-footer_menu li {
    width: 50%;
    padding-left: 12px;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 9px;
    white-space: nowrap;
    font-weight: 500;
  }
  footer .footer_main .right_side #menu-footer_menu li a {
    color: #1b434d;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.08em;
    font-weight: 500;
  }
  footer .footer_main .right_side #menu-footer_menu li::before {
    content: "";
    width: 4px;
    height: 4px;
    display: block;
    border-radius: 100%;
    background: #d46a0d;
    position: absolute;
    inset: 12px auto auto 0;
  }
  footer .copyright {
    border-top: 1px solid #ffffff;
    width: 100%;
    text-align: center;
    line-height: 1;
    padding: 15px 0;
    margin: 0;
    font-size: 11px;
    color: #ffffff;
    letter-spacing: 0.08em;
  }
  .contents_404 {
    text-align: center;
    padding: 100px 20px 0;
  }
  .contents_404 h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .contents_404 p {
    font-size: 13px;
    font-feature-settings: "palt";
  }
  .contents_404 .link_button {
    margin: 50px auto 0;
  }
}
