@charset "UTF-8";
/*===============
1. Common
===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/*===============
2. Layout
===============*/
.container {
  max-width: 1366px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
@media screen and (max-width: 768px){
.container {
		padding: 0;
	}
	}
.wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  margin: 5px auto 8px;
}

/*===============
3. Navigation
===============*/

.global-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  z-index: 9999;
  border-bottom: 1px solid #e0e0e0;
}


.nav-pc {
  display: block;
}

.nav-pc .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.nav-pc .nav-list li a {
  color: #20855b;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem 0;
  transition: color 0.3s ease;
}

.nav-pc .nav-list li a:hover {
  color: #a8d8b9;
  text-decoration: none;
}

/* お問い合わせボタン（PC） */
.nav-cta a {
  padding: 0.5rem 1.4em !important;
  background-color: #fd7f01;
  color: #fff !important;
  line-height: 1;
  /*margin-left: 1rem;*/
  border-radius: 100vw;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.nav-cta a:hover {
  background-color: #e86f00;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.nav-container {
  display: flex;
  align-items: center;  /* ← 垂直中央揃え */
  justify-content: space-between;
  max-width: 980px;    /* ← ここで幅を制限 */
  margin: 0 auto;      /* ← 中央寄せ */
  padding: 0 20px;     /* ← スマホ用の余白（必要に応じて調整） */
}

.logo {
  display: flex;
  align-items: center;
  height: 80px; /* ナビに合わせて調整 */
  margin-right: 40px; /* ← ここの値で調整 */
  padding-bottom: 10px;
}
.logo img {
  height: 100%;
  display: block;
}

/* --- SPナビゲーション --- */
.nav-drawer,
.nav-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .nav-pc {
    display: none;
  }
  .nav-drawer,
  .nav-toggle {
    display: block;
  }
  .logo {
    margin: 0;
    padding: 0 0 5px 5px; /* ← 上下の余白を狭める */
    height: auto; /* ← 念のため高さ制御を解除 */
  }
  .logo img {
  height: 60px;
  }
  .nav-toggle {
    top: 8px; /* ← 今15pxなら少し上に詰める */
    padding: 0.4rem 0.8rem; /* ← ボタン自体も小さめに調整可能 */
  }
}

/* ハンバーガーボタン */
.nav-toggle {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1001;
  background: #a8d8b9;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

/* ドロワーメニュー */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  padding: 2rem 1rem;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer .nav-list,
.nav-drawer .nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer .nav-list li {
  margin-bottom: 1rem;
}

.nav-drawer .nav-list li a {
  color: #20855b;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

/*===============
4. CTA Buttons
===============*/
.cta {
  text-align: center;
  padding: 40px 20px;
  background-color: #20855b;
}

.cta-top {
  background-color: #a8d8b9;
  padding-top: 10px;
}

.cta p {
  margin-bottom: 15px;
}

.cta img {
  display: block;
  margin: 0 auto;
}

/*===============
5. Footer
===============*/
footer {
  padding: 2rem 0;
  background-color: #008757;
  text-align: center;
}

footer p {
  color: #fff;
  font-size: 1.2rem;
}

/*===============
7. Contact Form
===============*/
#contactform {
  padding: 40px 10px;
  background-color: #ffffff;
}

/* ラベルのサイズ */
.form-item__label {
  font-size: 1.1rem;
  font-weight: 600;
}

/* 必須マーク */
.required-label::after {
  font-size: 0.9rem;
}

/* 補足テキスト（例：郵便番号の下） */
.add-supplement {
  font-size: 0.85rem;
  color: #666;
}

/* 入力欄（PC） */
input,
textarea {
  font-size: 1rem;
}
.container--s {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .form-title img {
    width: 50%;
  }
  .container--s {
    padding: 0 10px;
  }
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}
.form-title img {
  display: block; 
  margin: 0 auto;  
  max-width: 100%;
  height: auto;
}
.form-item {
  margin-top: 2.5rem;
  font-size: 1.25rem;
}

.form-item:first-of-type {
  margin-top: 0;
}

.form-item__label {
  font-size: 1.1rem;
  font-weight: 600;
}

.required-label::after {
  content: "必須";
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  background-color: #fd7f01;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

fieldset{
  padding: 0;
  border: none;
}

fieldset legend {
  font-size: 1.1rem;
  font-weight: 600;
  padding-top: 3rem; 
}

input, textarea {
  margin-top: 0.8rem;
  padding: 1rem 1.25rem;
  border: 1px solid #374f51;
  border-radius: 8px;
  font: inherit;
  width: 100%;
  font-size: 1rem;
  color: #374f51;
  box-sizing: border-box;
}

input::placeholder, textarea::placeholder {
  color: #bccbd3;
}

input:focus, textarea:focus {
  outline-color: #37b8c5;
}

input:user-invalid + .error::before,
textarea:user-invalid + .error::before {
  content: "※指定の形式でご入力ください。";
  display: block;
  margin-top: 0.25rem;
  color: #e76f51;
  font-size: 0.875rem;
}

legend, .add-supplement {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #666;
}

legend.form-item__label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 3rem; 
  margin-bottom: 0.8rem;
  display: block;
}

.privacy {
  margin-top: 2rem;
  text-align: center;
}

.privacy a {
  color: #37b8c5;
  text-decoration: underline;
}

.submit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 0;
  padding: 1rem;
  width: 100%;
  max-width: 460px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background-color: #fd7f01;
  border: 2px solid transparent;
  border-radius: 100vw;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: all 0.4s ease;
  z-index: -1;
}

.submit:hover {
  color: #e76f51;
}

.submit:hover::before {
  left: 0;
}

#address {
  border: 1px solid #374f51;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: #374f51;
}

/*----------------------
mail.php
-------------------------*/
form > button {
  margin-inline: auto;
  cursor: pointer;
}

.sec-ttl {
  font-family: "Noto Serif JP", serif;
  font-size: calc(34 / 1364 * 100vw);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .sec-ttl {
    font-size: calc(34 / 750 * 100vw);
  }
}

.confirm {
  margin-block: 2.5rem;
}
.confirm .sec-ttl {
  margin-bottom: 10.6666666667dvw;
}
@media screen and (min-width: 768px) {
  .confirm .sec-ttl {
    margin-bottom: 2.0833333333dvw;
  }
}
.confirm p {
  text-align: center;
}

.confirm-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.confirm-list dt {
  width: 40%;
  padding-block: 2.1333333333dvw;
  padding-left: 1.0666666667dvw;
}
.confirm-list dt:nth-of-type(even) {
  background-color: #d4e8dc;
}
.confirm-list dd {
  width: 60%;
  padding-block: 2.1333333333dvw;
}
.confirm-list dd:nth-of-type(even) {
  background-color: #d4e8dc;
}
@media screen and (min-width: 768px) {
  .confirm-list dt {
    padding-block: 0.8333333333dvw;
    padding-left: 0.8333333333dvw;
  }
  .confirm-list dd {
    padding-block: 0.8333333333dvw;
  }
}

.back {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 10.6666666667dvw;
  margin-inline: auto;
  color: #333;
  text-decoration: underline;
}
@media screen and (min-width: 768px) {
  .back {
    margin-top: 1.25dvw;
  }
}

/*----------------------
thanks.php
-------------------------*/
.complete {
  margin-top: 2.5rem;
}
.complete .sec-ttl {
  margin-bottom: 10.6666666667dvw;
}
@media screen and (min-width: 768px) {
  .complete .sec-ttl {
    margin-bottom: 2.0833333333dvw;
  }
}
.complete p {
  text-align: center;
}

/*===============
8. Section Backgrounds
===============*/
#fv {
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, #a8d8b9 100%);
  padding-top: 65px; /* ← ハンバーガーの高さ＋余裕分 */
}

#trouble {
  background: linear-gradient(to bottom, #eaeef0 0%, #eaeef0 70%, #ffffff 100%);
}

#reason {
  background: linear-gradient(to bottom, #ffffff 0%, #f2f7d9 100%);
  margin-top: -4px;
}

#product_main {
  background: linear-gradient(to bottom, #f2f8f4 0%, #f2f8f4 70%, #ffffff 100%);
}

#product_more {
  background: linear-gradient(to bottom, #ffffff 0%, #f2f8f4 100%);
}

#voice_01,
#plan_option,
#company {
  background-color: #f2f8f4;
}

#plan {
  background-color: #f8f8f8;
}

#security_upgrades {
  background-color: #e9f7ed;
}

#flow {
  background-color: #fcfaf7;
}

#voice_02 {
  background-color: #f5f7f9;
}

#area {
  background-color: #fcfaf7;
}

#faq {
  background-color: #a8d8b9;
}

/*fixed-cta*/
/* ▼ PC表示（幅769px以上） */
@media screen and (min-width: 769px) {
  .fixed-cta {
    width: auto;
    bottom: 20px;
    right: 20px;
    left: auto;
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: none;
    background: transparent;
  }

  .fixed-cta a {
    display: block;
    width: 200px;
    border-radius: 8px;
  }
}

/* ▼ SP表示（幅768px以下） */
@media screen and (max-width: 768px) {
  .fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
	left: 0;
    right: 0;
    justify-content: center;
    gap: 3px;
	z-index: 1000;
  }
  .fixed-cta a {
  display: block;
  width: 100%;
}

  .fixed-cta img {
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}
