@charset "utf-8";
html {
    font-size: 62.5%;
  }
body {
    background: #f8f5ed 0 0 no-repeat padding-box;
    font-family: "ヒラギノ角ゴシック", "Hiragino Sans", YuGothic, "Yu Gothic";
  }
  span, strong, em, i {
    line-height: inherit;
  }
.inner{
    max-width: 1000px;
    margin: 0 auto;
  }
  .inner p {
    font-size: 16px;
  }
  @media(max-width:1020px){
    .inner{
      max-width: 97%;
    }
  }
  @media (max-width: 390px) {
    .inner {
      max-width: 98%;
    }
  }
  a{
    text-decoration: none;
    list-style: none;
    color: #3f3f3f;
  }
  
  p{
    color: #2E2E2E;
    font-size: clamp(0.875rem, 0.8143rem + 0.2589vw, 1.125rem);
    line-height: 1.5;
  }
  a {
    text-decoration: none;
    font-size: 2rem;
    letter-spacing: normal;
  }
  h2 {
    font-size: clamp(2rem, -0.05rem + 2.54vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.252rem;
    text-align: center;
  }
  h3 {
    font-size: clamp(1.6rem, 0.885rem + 1.35vw, 2.5rem);
    font-weight: 600;
    letter-spacing: normal;
  }
  
  img {
    width: 100%; /* or max-width: 100%; */
    max-width: 100%;
    height: auto;
  }
  li {
    display: inline-block;
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .flexB {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .button {
    max-width: 400px;
    text-align: center;
  }
  .button img {
    filter: drop-shadow(0px 7px 0px #9a511d);
    max-width: 400px;
  }
  .button img:hover {
    transform: translateY(7px);
    filter: none;
    filter: brightness(90%);
  }
  @media (max-width: 768px) {
    .button img {
      max-width: 230px;
    }
  }
  header{
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background-color: #FAF7F4;
  }
  .header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 30px 0 30px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
    background: #f8f5ed 0 0 no-repeat padding-box;
  }
  .header-case{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1200px;
  }
  .header-logo img{
    max-width: 200px;
  }
  .header-button {
    display: inline-block;
    width: 250px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #01478F;
    box-shadow: 5px 5px 0px #023c75;
    transition: .3s;
    border-radius: 25px;
  }
  .header-button:hover {
    box-shadow: unset;
    transform: translate(4px,4px);
  }
  .menu_img img{
    width: 100%;
    height: 90px;
    vertical-align: bottom;
  }
  #menu {
    display: none; /* 初期状態では非表示 */
  }
  
  #menu.hidden {
    display: none; /* ハンバーガーアイコンが閉じているとき */
  }
  
  #menu.open {
    display: block; /* ハンバーガーアイコンが開いているとき */
  }
  
  @media (min-width: 769px) {
    #menu {
      display: flex; /* PC表示時は常に表示 */
    }
  }
  
  #gnav > ul {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
  }
  #gnav > ul > li {
    display: table-cell;
    margin-right: 2em;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
  }
  #gnav > ul > li:hover {
    background-color: #FAF7F4;
  }
  #gnav > ul > li:hover .menu {
    max-height: 9999px;
    opacity: 1;
  }
  #gnav > ul > li > a {
    display: block;
    padding: 10px 15px;
    transition: all .2s ease-in;
    border-radius: 5px;
  }
  #gnav > ul .menu {
    transition: all .2s ease-in;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    width: 1200px;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    position: absolute;
    background: #FAF7F4;
    border-radius: 18px;
  }
  #gnav > ul .menu_inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    padding: 50px 100px 30px;
    gap: 10px;
  }
  #gnav > ul .menu_inner li {
    width: calc((100% - 20px * 3)/ 4);
    box-sizing: border-box;
    text-align: center;
    background-color: #fff;
    border: 1px solid #3f3f3f;
    border-radius: 8px;
    height: 90px;
    position: relative;
    overflow: hidden;
  }
  #gnav > ul .menu_inner li p {
    color: #3f3f3f;
    text-decoration: none;
    margin-left: 16px;
    font-size: 16px;
  }
  #gnav > ul .menu a {
    color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: 0.3s ease;
  }
  .menu_img{
    width: 90px;
    height: 90px;
    overflow: hidden;
  }
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 30px;
    z-index:6;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #3f3f3f;
    transition: all 0.3s;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  .bg-cover{
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .3;
    transition: background-color 0.3s ease;
  }
  .bg-cover:hover{
    background-color: #3f3f3f;
  }
  
  #gnav > ul {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  #gnav > ul.hidden {
    visibility: hidden;
    opacity: 0;
  }
  .hamburger {
    display: none;
  }
  
  #gnav > ul > li:last-child{
    display: none;
  }
  .pc-none-menu{
    display: none;
  }
  #gnav > ul .menu .pc-none-menu a{
    color: #3f3f3f;
    text-align: center;
  }
  
  @media(max-width:1380px){
    #gnav > ul .menu{
      width: 90%;
    }
    #gnav > ul .menu_inner{
      padding: 30px 50px 20px;
    }
  }
  @media(max-width:1021px){
    #gnav > ul .menu_inner{
      padding: 30px 50px 20px;
    }
  }
  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    header {
      position: inherit;
    }
    .header {
      justify-content: space-around;
      width: 100%;
      padding: 15px 30px 15px 30px;
    }
    .header-logo img {
      max-width: 150px;
    }
    .hamburger {
      display: flex;
      position: fixed;
    }
    .header-button {
      width: 200px;
    }
    #gnav > ul > li {
      padding: 0;
    }
    #gnav > ul > li:last-child > a {
      transition: .3s;
      border-radius: 25px;
      padding: 0;
    }
    #gnav > ul > li:last-child {
      display: block;
    }
    .sp-none {
      display: none;
    }
    #gnav > ul {
      display: flex;
      flex-direction: column;
      padding-left: 0;
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      background-color: #FAF7F4;
      overflow-y: auto;
      height: 100%;
      padding-top: 50px;
      padding-bottom: 30px;
      z-index: 1;
    }
  
    #gnav > ul.hidden {
      display: none;
    }
  
    #gnav > ul > li {
      display: block;
      width: 100%;
      margin: 0 auto;
    }
  
    #gnav > ul > li > a {
      text-align: center;
      margin: 0 auto;
    }
  
    #gnav > ul .menu {
      position: static;
      opacity: 1;
      max-height: none;
      transform: none;
      margin: 0 auto;
      width: 100%;
    }
  
    #gnav > ul .menu_inner {
      display: none;
      padding: 10px;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    #gnav > ul .menu_inner.open {
      display: flex;
    }
  
    #gnav > ul .menu_inner li {
      width: calc((100% - 10px * 2) / 2);
      box-sizing: border-box;
      text-align: center;
      height: auto;
    }
  
    .menu_img {
      width: 90px;
      height: 90px;
      overflow: hidden;
    }
    #gnav > ul .menu .pc-none-menu{
      display: contents;
      padding: 10px 30px 30px 30px;
    }
    #gnav > ul .menu .pc-none-menu a{
      display: block;
      width: 100%;
      text-align: center;
      padding: 10px 30px 15px;
    }
  }
  @media (min-width: 769px) {
    #gnav > ul {
      display: table;
      visibility: visible;
      opacity: 1;
    }
    #gnav > ul .menu_inner li p{
      font-size: 14px;
    }
  }
  @media(max-width:540px){
    .menu_img{
      height: 50px;
      width: 50px;
    }
    .menu_img img{
      height: 50px;
    }
  }
  .header_inner {
    max-width: 1075px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 1% 2%;
  }
  @media (max-width: 850px) {
    .header_inner {
      max-width: 95%;
      position: relative;
    }
  }
  
  .logo {
    max-width: 250px;
    padding-left: 1.8rem;
  }
  
  .c-button {
    max-width: 165px;
  }
  
  .c-button a img {
    vertical-align: bottom;
  }
  /* ----- footer ----- */
footer {
    background: #5a4c41 0 0 no-repeat padding-box;
    color: #ffffff;
  }
  .info {
    background: #5a4c41 0 0 no-repeat padding-box;
  }
  .info_box {
    padding: 7.5rem 0 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .info_box_2 {
    padding: 0 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f8f5ed;
  }
  .info_box p {
    color: #ffffff;
  }
  .f_logo img {
    max-width: 165px;
  }
  .footer_contact p {
    font-size: clamp(1.4rem, 0.947rem + 0.71vw, 1.8rem);
    letter-spacing: 0.133rem;
    line-height: 0;
    padding: 32px 0 23px;
    font-weight: 500;
  }
  .footer_tell {
    font-size: clamp(1.6rem, 1.044rem + 1.05vw, 2.3rem);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.2rem;
    border-bottom: 1px solid;
  }
  .footer_tell img {
    max-width: 27px;
    margin-right: 9px;
  }
  .mail {
    font-size: clamp(1.4rem, 0.947rem + 0.71vw, 1.8rem);
    letter-spacing: 0.133rem;
    color: #ffffff;
    text-align: left;
    font-weight: 500;
  }
  .fo_sp {
    background: linear-gradient(transparent 0, #ffffff 0);
    color: #000;
    padding: 3px;
  }
  .mail img {
    max-width: 18px;
    margin-right: 1.4rem;
  }
  .footer_company p {
    font-size: clamp(1.4rem, 0.833rem + 0.89vw, 1.9rem);
    line-height: 2;
    letter-spacing: 0.236rem;
    font-weight: 600;
    color: #FFF;
  }
  .footer_company a {
    display: block;
    font-size: clamp(1.4rem, 0.833rem + 0.89vw, 1.9rem);
    color: #ffffff;
    letter-spacing: 0.236rem;
    line-height: 2;
    font-weight: 600;
  }
  .wrapper_company {
    max-width: 75%;
    margin: 0 auto 2%;
  }
  .company {
    padding: 15% 0;
  }
  .company .line_common_title {
    padding-bottom: 5%;
  }
  .line_common_title {
    text-align: center;
    align-items: center;
    font-size: clamp(2rem, 2.5vw, 5rem);
    letter-spacing: 1.1rem;
    font-weight: 600;
    padding-bottom: 12%;
  }
  .company table {
    width: 100%;
  }
  .company th {
    background-color: #ed6c0e;
  }
  .company th, td {
    font-size: clamp(1.3rem, 1.5vw, 2rem);
    border-bottom: solid 1px #afd9e9;
    border-width: 1px 0;
    height: auto !important;
    padding: 2%;
    background-color: #f4f4f4;
  }
  .company td {
    text-align: left;
  }
  iframe {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .footer {
    padding: 7rem 0 40px;
  }
  .footer img {
    max-width: 77px;
  }
  .footer_box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 40px;
  }
  .footer_box p {
    font-size: clamp(1.2rem, 0.747rem + 0.71vw, 1.6rem);
    font-weight: 500;
  }
  small {
    display: block;
    text-align: center;
    font-size: clamp(1rem, 0.914rem + 0.38vw, 1.2rem);
    letter-spacing: 0.149rem;
  }
  .footer_text {
    display: contents;
    text-align: center;
  }
  .footer_text p {
      color:#FFF;
  }
  @media (min-width: 769px) {
    .center {
      display: contents;
    }
  }
  @media (max-width: 768px) {
    .info_box {
      flex-direction: column;
      padding: 3.5rem 0;
    }
      .info_box_2{
          padding: 0 0 2rem 5rem;
      }
    .f_logo img {
      max-width: 84px;
    }
    .footer_contact {
      text-align: left;
      padding-top: 5rem;
    }
    .footer_contact p {
      padding: 2rem 0;
    }
    .footer_tell img {
      width: 18px;
      height: 14px;
      margin-right: 7px;
    }
    .mail img {
      width: 13px;
      height: 10px;
      margin-right: 7px;
    }
    .company {
      padding-top: 3.5rem;
    }
    .footer_text img {
      max-width: 54px;
    }
    .footer_box {
      flex-direction: column;
    }
    .footer {
      padding: 4rem 0 20px;
    }
  }
  .footer_sns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.footer_sns .sns_link img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer_sns .sns_link img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.footer_text a {
	color: #fff;
}