/*--------ヘッダースタイリング--------*/

.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 20;
  transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
  /* padding: 0 20px; */
}
.header-inner {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-inner:lang(en) {
  max-width: 100%;
}
.header-inner .logo {
  z-index: 100;
  padding-left: 10px;
  width: auto;
}
.header-inner .logo img {
  width: 240px;
}
.header-inner .logo img:lang(en) {
  width: 240px;
}
/* グローバルメニュー */
.global ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.global ul li {
  font-family: "Noto Serif JP", serif;
  padding: 24px 0;
  position: relative;
}
.global ul li a {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  padding: 24px 18px;
  transition: color 0.3s ease-in-out;
}
.global ul li a:hover {
  color: #e2abc6;
}
/* メガトリガー */
.global ul li.mega-t {
  cursor: default;
  position: relative;
  padding-left: 20px;
  font-weight: 400;
}
.mega-t span {
  position: relative;
  padding-left: 30px;
}
.mega-t span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(225deg);
  width: 6px;
  height: 6px;
  border-top: solid 1px #333;
  border-left: solid 1px #333;
  transition: transform 0.3s ease-in-out;
}
.mega-t:hover span::before {
  transform: translate(-50%, -50%) rotate(405deg);
}
/* 
*/
/* ---------------メガメニューを表示----------------- */
.mega-t:hover .mega-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}
.mega-menu {
  opacity: 0;
  position: absolute;
  background-color: #f8f7f3;
  top: 80px;
  left: 0;
  border-radius: 8px;
  width: 240px;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #f8f7f3; /* 三角形の色 */
}
.global .mega-menu ul {
  display: flex;
  flex-direction: column;
}
.global .mega-menu ul li {
  padding: 0;
}
.global .mega-menu a {
  display: block;
  width: 100%;
  font-size: 16px;
  padding: 20px 20px;
  position: relative;
}
.header-inner .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.btn a {
  text-align: center;
  padding: 6px 24px;
  border-radius: 4px;
  color: #fff;
}
.btn a.lang_btn {
  padding: 0;
}
.btn a.lang_btn img {
  margin-top: 4px;
  width: 24px;
}

/*
/*
/* -------------ささゆりテーマのボタンホバーアクション---------- */
.hvr1 {
  position: relative;
  display: block;
  width: 100%;
  font-family: "Noto Serif JP", serif; /*ここは臨機応変にかえる*/
  transition: color 0.3s ease-in-out;
}
.hvr1::after {
  content: "";
  position: absolute;
  top: 55%;
  right: 12px;
  transform: translate(-50%, -50%) rotate(135deg);
  width: 6px;
  height: 6px;
  border-top: solid 1px #333;
  border-left: solid 1px #333;
  transition: right 0.3s ease-in-out;
}
.hvr1:hover {
  color: #e2abc6;
}
.hvr1:hover::after {
  right: 0px;
}
.hvr2 {
  position: relative;
  display: block;
  width: auto;
  font-family: "Noto Serif JP", serif; /*ここは臨機応変にかえる*/
  transition: color 0.3s ease-in-out;
}
.hvr2:hover {
  color: #e2abc6;
}
.web_btn {
  background: #e2abc6;
  font-weight: 400;
}
.line_btn {
  background: #2cce2c;
  font-weight: 400;
}
.web_btn.hvr1:hover,
.line_btn.hvr1 {
  color: #fff;
}
.web_btn,
.line_btn {
  font-family: "Noto Sans JP", serif;
}
.web_btn.hvr1::after,
.line_btn.hvr1::after {
  border-top: solid 1px #fff;
  border-left: solid 1px #fff;
}
/*
/*
/* ------------------ハンバーガーボタン------------------ */
.dd_nav {
  display: block;
  z-index: 100;
}
.nav-btn {
  display: none;
}
.nav-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 33px 20px 10px 0;
}
.humberger {
  background: #e2abc6;
  display: block;
  height: 2px;
  width: 30px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.humberger::before {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  background: #e2abc6;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.humberger::after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  background: #e2abc6;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.humberger::before {
  bottom: 18px;
}
.humberger::after {
  bottom: 9px;
}
.nav-btn:checked ~ .nav-icon .humberger {
  transform: rotate(45deg); /* 中央の線の回転 */
  top: -7px;
}
.nav-btn:checked ~ .nav-icon .humberger::after,
.nav-btn:checked ~ .nav-icon .humberger::before {
  top: 0px; /* 上と下の線が中央に移動 */
  transform: rotate(270deg); /* 必要に応じて調整 */
}
.nav-btn:checked ~ .nav-icon .humberger::before {
  background: #fff; /* 必要に応じて背景色を変更 */
  opacity: 0; /* 上の線を非表示にする（✕マークを形成するため） */
}

/*
/*
/* ------------------ドロップダウンメニュー------------------ */

.dd_menu {
  display: none;
  width: 100%;
  z-index: 10;
  background: #f8f7f3;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  padding: 80px 20px;
  overflow-y: scroll;
}
.ddm1 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 30px;
  gap: 12px;
}
.ddm1 .btn {
  width: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ddm1 .web_btn {
  width: 200px;
  padding: 6px 24px;
  background: #e2abc6;
  border-radius: 4px;
  color: #fff;
}
.ddm1 .line_btn {
  width: 200px;
  padding: 6px 24px;
  background: #2cce2c;
  border-radius: 4px;
  color: #fff;
}
.line_btn.hvr1::after {
  border-top: solid 1px #fff;
  border-left: solid 1px #fff;
}
.ddm1 .tel {
  text-align: center;
  width: 200px;
  font-weight: 400;
  padding: 6px 24px;
  background: #333;
  border-radius: 4px;
  color: #fff;
}
.ddm1 .tel:hover {
  color: #fff;
}
.dd_menu .ttl h2 {
  padding-top: 30px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
}
.ddm2,
.ddm4 {
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 40px 0;
  border-bottom: #333 solid 1px;
}
.ddm3 {
  padding: 40px 20px 80px 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 40px 0;
  border-bottom: #333 solid 1px;
}
.ddm2 a,
.ddm3 a,
.ddm4 a {
  flex-basis: 33.333%;
}
.ddm4-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
.ddm4-banner img {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
}
.ddm4-banner img:hover {
  transition: 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.ddm5 {
  padding: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ddm6 {
  padding: 0px 20px 40px 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sns-icon img {
  width: 32px;
}
/* --------デバイス最適化------- */

@media screen and (max-width: 1023px) {
  .header {
    position: fixed;
    width: 100%;
  }
  .header-inner {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .global {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .header-inner .logo {
    padding-left: 0px;
  }
  .header-inner .lang_btn {
    display: none;
  }
  .header-inner .web_btn {
    display: none;
  }
  .nav-icon {
    padding: 33px 10px 10px 0;
  }
  /* ------------------ドロップダウンメニュー------------------ */
  .ddm1 {
    justify-content: center;
    padding: 10px;
    flex-direction: column;
  }
  .ddm1 .btn {
    gap: 10px;
  }
  .ddm1 .web_btn {
    width: 120px;
  }
  .ddm1 .line_btn {
    width: 120px;
  }
  .ddm1 .tel {
    justify-content: center;
    gap: 10px;
    width: 250px;
  }
  .dd_menu .ttl h2 {
    padding-top: 30px;
    font-size: 20px;
  }
  .ddm2,
  .ddm4 {
    padding: 40px 20px;
    flex-direction: column;
    gap: 20px 0;
  }
  .ddm3 {
    padding: 40px 20px 40px 20px;
    flex-direction: column;
    gap: 20px 0;
  }
  .ddm2 a,
  .ddm3 a,
  .ddm4 a {
    flex-basis: 33.333%;
  }
  .ddm6 {
    padding: 00px 20px 0px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hvr2 {
    font-size: 13px;
  }
  .sns-icon img {
    width: 32px;
  }
}
/* 
*/
/* -------------- フッターのスタイリングs------------*/

.br-sp {
  display: none;
}

footer .s_info {
  width: 100%;
  padding: 30px 40px;
}
footer .w_info {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 24px;
  background: #f8f7f3;
}

footer .ttl h2 {
  display: flex;
  flex-direction: column;
}
footer .ttl h2 span {
  font-size: 15px;
  color: #cbbf8b;
}

footer .info {
  display: flex;
  margin-top: 30px;
  gap: 40px;
}
footer .l {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .l p {
  font-family: "Noto Serif JP", serif;
}
footer .l p:nth-child(1) {
  font-size: 20px;
}
footer .l p:nth-child(2) {
  font-size: 16px;
}
footer .l p:nth-child(3) {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}
footer .l p:nth-child(4) {
  font-size: 14px;
  font-weight: 400;
}
footer .btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 90%;
}
footer .btn a {
  text-align: center;
  padding: 12px 24px;
}
footer table {
  font-size: 14px;
  width: 90%;
  border-spacing: 0;
  font-weight: 400;
}
footer th {
  font-size: 14px;
  font-weight: 400;
  width: 90px;
  padding: 10px 0 10px 0;
  border-bottom: #cbbf8b solid 1px;
}
footer td {
  text-align: center;
  width: 30px;
  padding: 10px 0 10px 0;
  border-bottom: #cbbf8b solid 1px;
}
.gold-bar {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #cbbf8b;
}
.gold-round {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #cbbf8b;
  border-radius: 50%;
}
.gold-sankaku {
  display: inline-block;
  width: 0;
  height: 0;
  border-bottom: 16px solid #cbbf8b;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}
footer .r {
  width: 50%;
}

/* バナー */
.footer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-banner img {
  width: 100%;
  max-width: 320px;
}

/* footer一番した */
.s_footer {
  width: 100%;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #f8f7f3;
}
.s_footer .logo {
  width: 240px;
  height: 60px;
}
.s_footer .logo img {
  width: 100%;
}
.s_footer .sns-icon {
  display: flex;
  gap: 12px;
  align-items: center;
}
.s_footer .sns-icon a img {
  width: 32px;
}
.s_footer p {
  font-size: 13px;
}
/* --------デバイス最適化------- */

@media screen and (max-width: 1023px) {
  footer .s_info {
    padding: 30px 20px;
  }
  footer .w_info {
    padding: 10px;
    border-radius: 24px;
    background: #f8f7f3;
  }
  footer .ttl h2 span {
    font-size: 15px;
  }
  footer .info {
    display: flex;
    margin-top: 30px;
    gap: 10px;
  }
  footer .l {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  footer .l p:nth-child(1) {
    font-size: 18px;
  }
  footer .l p:nth-child(2) {
    font-size: 16px;
  }
  footer .l p:nth-child(3) {
    font-size: 14px;
    font-weight: 400;
  }
  footer .btn {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 90%;
  }
  footer th {
    font-size: 14px;
  }
  footer table {
    font-size: 14px;
    width: 90%;
    border-spacing: 0;
  }
  footer td {
    padding: 10px 0 10px 0;
  }
  .gold-round {
    width: 16px;
    height: 16px;
  }
  .gold-sankaku {
    border-bottom: 14px solid #cbbf8b;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
  }
  .s_footer {
    width: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #f8f7f3;
  }
  .s_footer .sns-icon {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .s_footer .sns-icon a img {
    width: 32px;
  }
  .s_footer p {
    font-size: 12px;
  }
}
@media screen and (max-width: 667px) {
  .br-sp {
    display: block;
  }
  footer .s_info {
    padding: 30px 20px;
  }
  footer .w_info {
    padding: 10px;
    border-radius: 24px;
    background: #f8f7f3;
  }
  footer .ttl {
    text-align: center;
  }
  footer .ttl h2 span {
    font-size: 13px;
  }
  footer .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
  }
  footer .l {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  footer .l p:nth-child(2) {
    font-size: 14px;
  }
  footer .l p:nth-child(3) {
    font-size: 14px;
  }
  footer th {
    font-size: 14px;
  }
  footer table {
    font-size: 14px;
    width: 98%;
    border-spacing: 0;
  }
  footer td {
    padding: 10px 0 10px 0;
  }
  .gold-round {
    width: 16px;
    height: 16px;
  }
  .gold-sankaku {
    border-bottom: 14px solid #cbbf8b;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
  }
  footer .r {
    width: 100%;
  }
  footer .r iframe {
    height: 300px;
  }
  .s_footer {
    width: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #f8f7f3;
  }
  .s_footer .sns-icon {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .s_footer .sns-icon a img {
    width: 32px;
  }
  .s_footer p {
    font-size: 12px;
  }
}
