@charset "UTF-8";
@font-face {
  font-family: "ZenMaruGothic";
  font-weight: 500;
  src: url(../fonts/ZenMaruGothic-Medium.woff) format("woff");
}
@font-face {
  font-family: "ZenMaruGothic";
  font-weight: 700;
  src: url(../fonts/ZenMaruGothic-Bold.woff) format("woff");
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 400;
  src: url(../fonts/NotoSansJP-VariableFont_wght.woff) format("woff");
}
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

html,
body {
  margin: 0 auto;
  padding: 0;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "Times New Roman", YuMincho, "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 20px;
  text-align: left;
  color: #333;
  min-width: 840px;
  background-color: #fffeee;
  line-height: 1.8;
}

@media screen and (max-width: 767px) {
  html,
  body {
    font-size: 4vw;
    min-width: 240px;
    max-width: 767px;
  }
}
/*img*/
img {
  border-style: none;
  vertical-align: bottom;
  padding: 0;
  line-height: 0em;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0 auto;
  text-align: center;
}

/*txt*/
p {
  line-height: 1.75em;
  margin: 0 0 1em;
  padding: 0;
}

p:last-child {
  margin: 0;
}

strong {
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.normal {
  font-weight: normal;
}

.under_line {
  text-decoration: underline;
}

.line_through {
  text-decoration: line-through;
}

.white {
  color: #fff;
}

.black {
  color: #333;
}

.gy {
  color: #aaa;
}

.red {
  color: #c83232;
}

.blue {
  color: #326496;
}

.bg_y {
  background: linear-gradient(to bottom, rgba(255, 241, 0, 0) 0%, rgba(255, 241, 0, 0) 74%, rgb(255, 241, 0) 75%, rgb(255, 241, 0) 100%);
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

/*link*/
a {
  color: inherit;
  text-decoration: none;
}

.opa {
  transition: opacity 0.3s;
}

.opa:hover {
  opacity: 0.7;
}

/*メイン*/
#content {
  overflow: hidden;
}

section {
  width: 100%;
  margin: 0 auto;
}

.maincontent {
  padding: 0;
  margin: 0 auto;
  width: 700px;
}

@media screen and (max-width: 767px) {
  .maincontent {
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }
}
/*tit*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "ZenMaruGothic";
  letter-spacing: 0.1em;
  line-height: 1.25em;
}

h2 {
  font-size: 40px;
  text-align: center;
  color: #2c8864;
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 38px;
  }
}
/* ---------------ヘッダー（FV)---------------- */
header {
  background: url(../images/header-bg.webp) no-repeat center center/cover;
}

#FV {
  width: 100%;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  #FV {
    width: 700px;
    margin: 0 auto;
  }
  #FV .logo {
    margin: 0 auto;
    width: 100%;
  }
}

#FV .logo {
  text-align: center;
  padding: 20px 0 20px;
  margin: 0;
  background: #ffffff;
}

#FV .logo img {
  width: 50%;
}

:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #f0f4f8;
  --text-color: #2c3e50;
  --error-color: #e74c3c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 769px) {
  form {
    width: 700px;
    margin: 0 auto;
  }
}

.survey-container {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  width: 95%;
  margin: 20px auto 0px;
  padding: 30px;
  animation: slideIn 0.5s ease;
  position: relative;
  overflow: hidden;
}
.survey-container .question {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.survey-container .question.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.survey-container h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
  position: relative;
}
.survey-container h2 span {
  background: orange;
  color: white;
  padding: 2px 15px;
  display: inline-block;
  margin-bottom: 15px;
}
.survey-container h2::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}
.survey-container .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
}
.survey-container .checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 12px 15px;
  border-radius: 8px;
}
.survey-container .checkbox-group label:hover {
  background-color: rgba(46, 204, 113, 0.1);
}
.survey-container .checkbox-group input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  margin-right: 15px;
  display: grid;
  place-content: center;
  transition: all 0.3s ease;
}
.survey-container .checkbox-group input[type=checkbox]::before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  color: white;
  font-size: 16px;
  transform: scale(0);
  transition: all 0.3s ease;
}
.survey-container .checkbox-group input[type=checkbox]:checked {
  background-color: var(--primary-color);
}
.survey-container .checkbox-group input[type=checkbox]:checked::before {
  transform: scale(1);
}
.survey-container .navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.survey-container button {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.survey-container button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.survey-container .error-message {
  color: var(--error-color);
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  animation: shake 0.5s;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.survey-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* ---------------お悩み--------------- */
#worry {
  background: url(../images/worry-bg.webp) no-repeat center center/cover;
  padding: 20px 0 0;
}

#worry img {
  display: block;
  margin: 0 auto;
}

.anim-box {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}
@keyframes btn_animation {
  0% {
    transform: translate(4px, 0px);
  }
  5% {
    transform: translate(-4px, 0px);
  }
  10% {
    transform: translate(4px, 0px);
  }
  15% {
    transform: translate(-4px, 0px);
  }
  20% {
    transform: translate(4px, 0px);
  }
  25% {
    transform: translate(-4px, 0px);
  }
  30% {
    transform: translate(0px, 0px);
  }
}
.shindan {
  padding: 20px 10px;
}

/* ---------------事務所案内---------------- */
#company {
  padding: 60px 10px;
}

#company h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #015895;
  margin-bottom: 60px;
}

#company .message {
  background: #fff;
  padding: 20px;
}

#company .message dl {
  display: flex;
  align-items: center;
}

#company .message dl dt {
  width: 170px;
  margin-right: 20px;
}

#company .message dl dd {
  width: calc(100% - 190px);
}

#company .message dl dd h4 {
  color: #015895;
  font-size: 1.8rem;
  margin-bottom: 0.75em;
}

#company .message dl dd p {
  font-size: 1.4rem;
  background-color: #fff;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(180deg, #898989 1px, transparent 1px);
  background-size: 0.25em 100%, 100% 1.75em;
  line-height: 1.75em;
  padding-bottom: 1px;
  position: relative;
}

#company .message dl dd p:after {
  content: "";
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
}

@media screen and (max-width: 767px) {
  #company {
    padding: 60px 10px 0;
  }
  #company h2 {
    letter-spacing: 0;
    margin-bottom: 5%;
  }
  #company .message {
    padding: 5%;
  }
  #company .message dl {
    display: block;
  }
  #company .message dl dt {
    width: 60%;
    margin: 0 auto 5%;
  }
  #company .message dl dd {
    width: 100%;
  }
  #company .message dl dd h4 {
    text-align: center;
  }
  #company .message dl dd p {
    text-align: center;
  }
}
#company .company_info h4 {
  background: #015895;
  color: #fff;
  margin: 30px auto 0;
  padding: 0.25em 20px;
  border-radius: 2em;
}

#company .company_info table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

#company .company_info table th {
  width: 220px;
  padding: 0.5em 0.5em 0.5em 50px;
  font-size: 1.2rem;
  line-height: 1.5em;
  font-weight: 600;
  border-bottom: 1px solid #666;
}

#company .company_info table td {
  padding: 0.5em;
  font-size: 1.2rem;
  line-height: 1.5em;
  border-bottom: 1px solid #666;
}

#company .company_info table td a:hover {
  text-decoration: underline;
}

#company .company_info table tr:last-child th,
#company .company_info table tr:last-child td {
  border-bottom: none;
}

@media screen and (max-width: 767px) {
  #company .company_info h4 {
    margin: 7.5% auto 0;
    padding: 0.25em 1em;
  }
  #company .company_info table th {
    width: 7.5em;
    padding: 0.9em;
  }
  #company .company_info table td {
    padding: 0.5em;
  }
}
.muryokakunin {
  padding: 20px 20px 0;
}

@media screen and (min-width: 767px) {
  img {
    margin: auto;
    display: block;
    width: 700px;
  }
}/*# sourceMappingURL=main.css.map */