/*
Theme Name: Zamami 2nd Style 2025
Author: One Box Design - Sophie
Author URI: https://one-box-design.com/
Description: ZAMAMI 2ND STYLEのためのオリジナルWordPressテーマ
Version: 1.0
*/


html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  text-align: left;
  background-color: #fff;
  font-weight: 300;
}

header {
  background-color: white;
  height: 80px;
}

header img {
  width: auto;
  max-height: 60px;
}

.lang-switcher {
  font-size: 0.9rem;
}

.lang-switcher a {
  text-decoration: none;
  margin: 0 0.25rem;
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-overlay.active {
  right: 0;
}

.menu-btn {
  background: none;
  border: none;
  margin-top:-.8rem;
  font-size: 2rem;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu-list li {
  margin: 1rem 0;
}

.menu-list a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #333;
}

.menu-list a:hover{
  text-decoration: none;
}

.navbar-brand {
  font-weight: bold;
}

h1 {
  margin: 0;
  padding: 0;
}

h2 {
  margin: 0;
  padding: 0;
  display: flex;
  font-size: 1rem;
  line-height: 1.2rem;
  align-items: center;
}

h2::before {
  content: " ";
  display: inline-block;
  height: 1.2rem;
  width: 6px;
  margin-right: .65rem;
  background-color: #5CB9E8;
}

h3{
  font-size: 1.2rem;
  font-weight: 400;
}

a{
  text-decoration: none;
  color: #5CB9E8;
}

a:hover {
  text-decoration: underline;
}

li{
  list-style: none;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0077be;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  background: url('images/hero.JPG') top center / auto 130% no-repeat;
}

.hero>p {
  font-size: 32px;
  text-align: left;
  font-weight: 300;
}

.btn-contact {
  background-color: #ff9900;
  color: white;
  border-radius: 0;
  width: 15rem;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #ff9900d7;
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.arrow {
  content:" ";
  position: relative;
  display: inline-block;
  top: -.35rem;
  right: -40px;
  width: 20px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
}

.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 8px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}

.btn-white {
  border-radius: 35px;
  border: 1px solid #0C0033;
  color: #0C0033;
  width: 15rem;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.btn-white:hover{
  border: 1px solid #0C0033;
  opacity: .7;
  text-decoration: none;
}

.btn-white .arrow {
  background-color: #0C0033;
}

.btn-white .arrow::before {
  background-color: #0C0033;
}

[class^="section-yellow-"] {
  background-color: #ffe100;
  padding: 3rem 1rem;
}
.section-yellow-top{
  background-image: url(images/bg_umigame.svg);
  background-repeat: no-repeat;
  background-position: -10% 150%;
  background-size: 45%;
}

.section-white {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

.section-white p{
  margin-bottom: 0;
}

.section-gray {
  background-color: #f5f5f5;
  padding: 4rem 0;
}


.white-box {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.qa-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.desctiption img {
  width: 300px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.desctiption p,
.desctiption span {
  font-weight: bold;
  display: block;
  text-align: left;
}

.footer-links {
  text-align: center;
  padding: 10px 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: inline-block;
  margin: 0 10px;
}

.footer-links a {
  color: #333;
  text-decoration: none;
}

.icon-grid {
  background-color: #e6f5ff;
  padding: 2rem 1rem;
  max-width: 800px;
  width: auto;
  margin: 20px auto 70px;
}

.icon-grid img {
  max-width: 60px;
}

.container {
  width: 100vw;
  position: relative;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  padding: 0;
}

.container iframe {
  width: 100vw;
  height: 400px;
  border: 0;
  display: block;
}

.banners{
  width: 730px;
  margin: 60px auto 50px;
}


.banners ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.banners li {
  box-sizing: border-box;
  width: 50%;
  padding: 10px 12px;
}

.banners img {
  display: block;
  width: 100%;
  height: auto;
}

.banners a {
  display: block;
  transition: opacity 0.3s ease;
}

.banners a:hover {
  opacity: 0.5;
}

.plan ul{
  padding-left:0;
}

.plan ul li{
  text-indent: -1em;
  padding-left: 1em;
}

.plan ul li::before{
  content: "・";
}

.access h2,
.access div,
.qa-box{
  padding: 0 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.addr {
  border-bottom: 1px dotted #424242;
  padding-bottom: 1rem;
}

.access div p span{
  display: inline-block;
  padding-bottom: 1rem;
}

.accordion-button {
  background-color: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  color: inherit;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
  color: inherit;
}

.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.accordion-item {
  border: none;
}

.accordion-body{
  background-color: #E7F5FC;
}

.accordion img{
  position: relative;
  top: -3px;
  padding-right: 2px;
  width: 27px;
}

.qa-box{
  padding: 3.5rem;
}

.section-yellow-transparent {
  background-image: url(images/bg_kujira.svg);
  background-repeat: no-repeat;
  background-position: 98% -10%;
  background-size: 45%;
}

.contact-box{
  margin: 30px auto;
}

.contact-box p{
  text-align: center;
  margin: 1rem 0;
}

.contact-box h3{
  font-size: 1rem;
  padding-left: 2rem;
  margin-top: 2rem;
}

.contact-box .arrow {
  right: -10px;
}

a.tel{
  font-size: 2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

a.tel:hover {
  opacity: .5;
}

a.tel::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-image: url('images/tel.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: .2rem;
  vertical-align: middle;
}

a.tel:hover{
  text-decoration: none;
}

.sns-box{
  text-align: center;
}

.sns-box .title{
  font-weight: bold;
}

.sns-box .title::before {
  content: "＼";
  margin-right: 0.25em;
}

.sns-box .title::after {
  content: "／";
  margin-left: 0.25em;
}

.sns-box a img{
  width: 50px;
  margin: 20px;
  transition: all 0.3s ease;
}

.sns-box a img:hover{
  opacity: .5;
}

.container-narrow {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #e6f5ff;
}

.info-box{
  padding: 0;
}

.info-box h2{
  display: inline;
  text-align: center;
}

.info-box h2::before{
  background:none;
  padding-left:0;
  margin: 0;
}

.info-box p.text-muted{
  margin: 10px 0 30px;
}

.icon-grid-wrapper {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: stretch;
}


.icon-item {
  position: relative;
  background-color: #fff;
  border: 4px solid #0C0033;
  margin-bottom: 1rem;
  padding: 1.5rem 0;
  max-width: 120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: inherit;
  z-index: 1;
  box-sizing: border-box;
  transition: all 0.3s ease;
  align-self: flex-start;
  height: auto;
}

.icon-item:hover{
  opacity: .6;
  text-decoration: none;
}

.icon-item::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  border: 4px solid #0C0033;
  background: transparent;
  z-index: -1;
  box-sizing: border-box;
}

.icon-item img {
  width: auto;
  height: 50px;
  margin-bottom: 0.5rem;
}

.icon-item .label {
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #0C0033;
  text-align: center;
  max-width: 100px;
  word-break: break-word;
}

.fade-up {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

#page,
#single{
  line-height: 1.8;
  letter-spacing: 1px;
}

#page h1,
#single h1
#news-list h1{
  margin: 4rem 0 1rem;
  font-weight: 400;
}

#page .page-content,
#single .page-content{
  padding:0;
  margin:20px auto 150px;
  max-width: 800px;
}

#page .page-content div,
#single .page-content div{
  width: revert;
}

#page .page-content div p,
#single .page-content div p{
  margin-bottom: 2rem;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-date {
  color: #666;
  font-size: 0.9rem;
}

.post-title {
  font-size: 1rem;
  color: #0C0033;
}


/* mobile */

@media screen and (max-width:768px) {

  header img{
    margin-left: -.8rem;
    margin-top: -.6rem;
  }

  [class^="section-yellow-"]{
      background-color: #ffe100;
      background-image: url(images/bg_umigame.svg);
      background-repeat: no-repeat;
      background-position: -10% 150%;
      background-size: 45%;
      padding: 3rem 1rem;
    }
  .section-yellow-top  div{
    display: block!important;
  }

  .section-yellow-top  div{
    margin: 0;
    text-align: center;
  }

  .news ul{
    text-align: left;
  }

  .banners {
    padding: 40px 0;
    width: 100%;
  }

  .banners li {
  width: 100%;
  padding: 10px;
  }

  .banners a:hover {
  opacity: 1;
  }

  [class^="section-yellow-"] .white-box{
    padding: 3.5rem 1.5rem;
    margin-top: 3.5rem;
  }

  [class^="section-yellow-"].white-box ul{
    padding: 0;
  }

  .white-box{
    padding:3.5rem 0;
  }

  .white-box .row img{
    padding-bottom: .5rem;
  }

  .access h2,
  .access div,
  .qa-box {
    padding: 3.5rem 0;
    max-width: 800px;
    margin: 0 auto;
  }


  #page h1,
  #single h1{
    margin: 0 0 1rem;
}

  #page .page-content,
  #single .page-content {
    padding: 1rem;
    margin: 20px auto;
  }
  .lang-switcher {
    font-size: 0.8rem;
  }
}

/* --- Contact Form Style --- */
/* ラベル全体のスタイル */
.wpcf7-form label,
.label {
  display: block;
  margin-bottom: 1.2em;
  font-weight: 600;
  /* やや太く */
  color: #333;
}

/* 必須マーク（*）の色をオレンジに */
.wpcf7-form label span {
  color: #ff9900;
  margin-left: 0.2em;
}

/* テキスト・メール・電話・日付・セレクトボックス共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select {
  width: 100%;
  padding: 0.6em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
  color: #333;
}

/* テキストエリア（お問い合わせ内容） */
.wpcf7-form textarea {
  width: 100%;
  padding: 0.8em;
  font-size: 1em;
  min-height: 140px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  background-color: #fff;
  color: #333;
}

/* 送信ボタンデザイン：中央寄せ、角丸ボタン */
.wpcf7-form .send {
  border-radius: 35px;
  border: 1px solid #0C0033;
  color: #0C0033;
  width: 15rem;
  display: block;
  margin: 2em auto 0;
  padding: 6px 1.6em;
  font-weight: normal;
  font-size: 1em;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

/* ホバー時のエフェクト：反転カラー */
.wpcf7-form .send:hover {
  background-color: #0C0033;
  color: #fff;
}