@charset "utf-8";

body {
  /***	フォント関連設定	***/
  font-family:
    "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-family:
    "メイリオ",
    Meiryo,
    "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro",
    "A-OTF 新ゴ Pro",
    A-OTF Shin Go Pro,
    Osaka,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;
  font-size: 112.5%;
  /* 18px */
  font-size: 125%;
  /* 20px */
  line-height: 1.7;

  /***	背景＆文字色設定	***/
  background: url(../images/bg02.webp) center center / 100% auto fixed;
  color: #222;

  font-feature-settings: "palt";
  text-align: justify;
}

@media (max-aspect-ratio: 3000/2001) {
  body {
    background: url(../images/bg02.webp) center center / auto 100% fixed;
  }
}

h1 {
}

h2 {
  padding: 2.5em 1em;
  text-align: center;
}

a {
  cursor: pointer;
}

img {
  display: block;
  /*	ブロック要素としてふるまう：中揃えで表示	*/
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: bold;
}

#wrapper {
  margin: 0 auto;
  width: 480px;
  position: relative;
  /* For absolute positioning if needed */
}

/* Header Top Area */
.header_area {
  position: relative;
}

.header_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: url(../images/bk_hd_top.webp) center center / cover no-repeat;
  background-color: #f0f0f0;
  /* Fallback */
}

.header_top_logo {
  width: 45%;
}

.header_top_btn {
  width: 50%;
}

.header_top_btn a {
  display: block;
}

.header_top_btn a:hover {
  opacity: 0.8;
}

footer {
  margin: 0 auto;
  padding: 1em 0;
  background: #f94479;
  color: #fff;
  text-align: center;
  font-size: 75%;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
}

address {
  font-style: normal;
}

address p {
  margin: 0.5em 0;
  line-height: 1.6;
}

address p:first-child {
  margin-top: 0;
}

address p:last-child {
  margin-bottom: 0;
}

.bg_reason {
  background-image: url(../images/reason_bk.png);
  background-position: top center;
  background-repeat: no-repeat;
}

.bg_result {
  background-image: url(../images/result_bk.png);
  background-position: top center;
  background-repeat: no-repeat;
}

.bg_flow {
  background-color: #f1f7ff;
}

.bg_white {
  background-color: #fff;
}

/***	テキスト装飾設定	***/

.large {
  font-size: 120%;
}

.xlarge {
  font-size: 144%;
}

.xxlarge {
  font-size: 172.8%;
}

.small {
  font-size: 82.5%;
}

.xsmall {
  font-size: 62.5%;
}

.xxsmall {
  font-size: 56.25%;
}

.u {
  text-decoration: underline;
}

.red {
  color: red;
}

.highlight {
  background-color: #fff266;
}

.redhigh {
  color: red;
  background-color: #fff266;
}

/***	画像右寄せ設定	***/

.pic_right {
  float: right;
  margin: 10px -15px 10px 10px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/***	PC・スマホ改行設定	***/

.pconly {
  display: block;
}

.sponly {
  display: none;
}

/*
 *		class-name
 */

.class-name {
}

.wrap_class-name {
  margin: 0 auto;
  width: 820px;
  max-width: 96%;
}

.con_class-name {
}

.con_class-name p {
}

.content {
  padding: 0 1em 2.5em;
}

.content_carousel {
  padding: 0 0em 2.5em;
}

.content_problem {
  padding: 0 1em 1.5em;
}

.content_problem img {
  padding-bottom: 2em;
  margin: 0 auto;
  max-width: 100%;
}

.content_problem img:last-of-type {
  padding-bottom: 0em;
}

/* カルーセル */
.carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 56px;
  box-sizing: border-box;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.carousel-link {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  /* 画像の下20%をリンクエリアにする */
  z-index: 5;
  cursor: pointer;
  /* background: rgba(255, 0, 0, 0.3);  デバッグ用：リンクエリアを可視化する場合はコメントアウトを外す */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(128, 128, 128, 0.8);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(128, 128, 128, 1);
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.carousel-indicator {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: inline-block;
}

.carousel-indicator .indicator-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 60%;
  transform: scale(0.6);
}

.carousel-indicator.active .active-img {
  display: block !important;
}

.carousel-indicator.active .inactive-img {
  display: none !important;
}

.carousel-indicator:not(.active) .active-img {
  display: none !important;
}

.carousel-indicator:not(.active) .inactive-img {
  display: block !important;
}

/*
 *		cta
 */

.cta01 {
  /***	高さ指定不要：ボタン高さ＋2em	***/
  padding: 1em 0;
  background: #eeeeee;
}

.cta01 a img {
  width: calc(450 / 480 * 100%);
  /***	幅480pxの時、ボタン幅450px	***/
}

.cta02 {
  /***	高さ指定タイプ	***/
  padding-top: calc(101 / 480 * 100%);
  background: url(../images/bg_cta02.png) center center / 100% 100% no-repeat;
  aspect-ratio: 480 / 267;
}

.cta02 a img {
  width: calc(450 / 480 * 100%);
  /***	幅480pxの時、ボタン幅450px	***/
}

.btn {
  display: block;
  animation-name: btn-scale-animation;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
}

.btn:hover {
  animation-duration: 0.8s;
}

/*
 *		pc_objects
 */

.pc_logo {
  position: fixed;
  top: 1em;
  right: 1em;
  width: 180px;
  height: auto;
}

.pc_contents {
  position: fixed;
  top: 0;
  right: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc((100% - 480px) / 2 - 2em);
  height: 100vh;
}

.pc_contents_title {
  font-size: 1.3em;
  font-weight: bold;
  color: #f94479;
  margin: 0 0 0em 0;
  text-align: center;
}

.pc_contents ul {
  list-style: none;
  line-height: 2.5;
  font-size: 1.2em;
  font-weight: bold;
  background: #fff;
  border: 1px solid #f94479;
  border-radius: 8px;
  padding: 1.5em 2em;
  margin: 0;
}

.pc_contents ul a {
  color: #222;
  transition: all 0.3s 0s ease;
}

.pc_contents ul a:hover {
  color: #c00;
}

/*
 *		pc_objright
 */

.pc_objright {
  position: fixed;
  top: 0;
  left: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc((100% - 480px) / 2 - 2em);
  max-width: 100%;
  min-width: 0;
  height: 100vh;
  box-sizing: border-box;
  padding: 0 0.5em;
}

.pc_cta {
  display: block;
  width: fit-content;
  max-width: 480px;
  width: 100%;
}

.pc_cta_logo {
  max-width: 480px;
  width: 100%;
  height: auto;
  padding-bottom: 1em;
}

.pc_cta_logo img {
  max-width: 100%;
  height: auto;
}

.pc_cta .btn img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.pc_cta .btn {
  animation: none;
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
}

.pc_cta .btn:hover {
  opacity: 0.66;
}

/***	常時表示ボタン設定	***/

.flbtn {
  position: fixed;
  bottom: 0.5em;
  right: 0.5em;
  z-index: 9999;
}

.flbtn a {
  display: block;
  width: 240px;
  height: calc(240 / 450 * 142px);
  background: url(../images/button.png) no-repeat;
  background-size: 100%;
  text-indent: -9999px;

  animation-name: btn-animation;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-delay: 0.6s;

  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

@keyframes btn-animation {
  0% {
    transform: translateY(0.75em);
  }

  50% {
    transform: translateY(-0.25em);
  }

  100% {
    transform: translateY(0.75em);
  }
}

@keyframes btn-scale-animation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media screen and (min-width: 980px) {
  /***	幅980px以上（PC）に適用	***/

  #wrapper {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
}

@media screen and (max-width: 1200px) {
  /***	幅1200px以下に適用	***/

  /* .pc_contents {
		width: 40vw;
		height: 40vw;
	} */
}

@media screen and (max-width: 979px) {
  /***	幅979px以下に適用	***/

  footer {
    position: relative;
  }

  .xlarge {
    font-size: 125%;
  }

  .xxlarge {
    font-size: 150%;
  }

  /***	PC・スマホ改行設定	***/

  .pconly {
    display: none;
  }

  .sponly {
    display: block;
  }

  .flbtn {
    display: none;
  }

  .pc_objects,
  .pc_objright {
    display: none;
  }

  /* スマホではパディングを削除してボタンを画像の上に配置 */
  .carousel-wrapper {
    padding: 0 56px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8ßpx;
  }
}

@media screen and (max-width: 479px) {
  footer {
    font-size: 66%;
  }
}

@media screen and (max-width: 599px) {
  /***	幅599px以下に適用：スマホ	***/
}

/*
 *		contact_form
 */

.contact_form {
  padding: 0em 0 2em;
  background-image: url("../images/form_bk.webp");
  background-size: cover;
  background-position: center;
}

.form_header {
  padding: 1.5em 0em;
}

.form_title_hd {
  padding: 0em 1em 1em;
}

.form_header h2 {
  margin: 0 0 0.5em;
  color: #c41e3a;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.5;
}

.form_header h2::before {
  content: "今すぐ";
  display: block;
  font-size: 0.7em;
  font-weight: normal;
}

.form_description {
  margin: 0 0 1em;
  color: #333;
  font-size: 0.9em;
  line-height: 1.6;
}

.form_urgent {
  margin: 0;
  padding: 0.5em;
  background: transparent;
  color: #333;
  font-size: 0.85em;
  font-weight: normal;
  line-height: 1.5;
}

.contact_form_body {
  margin: 0 auto;
  padding: 1.5em 0em;
  max-width: 750px;
  border-radius: 0;
}

.form_group {
  padding: 0 1em;
  margin-bottom: 1.2em;
}

.form_group > label:first-child {
  display: block;
  margin-bottom: 0.5em;
  padding: 0;
  color: #f94479;
  font-size: 1.2em;
  font-weight: bolder;
  border-radius: 0;
}

.form_question_label {
  display: block;
  margin-bottom: 0.5em;
  padding: 0;
  color: #f94479;
  font-size: 110em;
  font-weight: bolder;
  line-height: 1.5;
}

.form_group .required {
  margin-left: 0.3em;
  color: #d93025;
  font-size: 0.9em;
  font-weight: bold;
}

.form_group .optional {
  margin-left: 0.3em;
  color: #999;
  font-size: 0.9em;
  font-weight: normal;
}

.form_note {
  margin: 0.25em 0 0.5em;
  color: #c41e3a;
  font-size: 0.72em;
  font-weight: normal;
  line-height: 1.4;
}

.form_privacy {
  text-align: center;
  margin: 0 0 1em;
  font-size: 0.9em;
}

.zipcode_search_wrapper {
  display: flex;
  gap: 0.5em;
  align-items: center;
}

.zipcode_search_wrapper input {
  flex: 1;
}

.zip_search_btn {
  padding: 0.75em 1.2em;
  background: #333;
  color: #fff;
  font-size: 0.85em;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.zip_search_btn:hover {
  background: #8b6239;
}

.zip_search_btn:active {
  transform: scale(0.98);
}

.zip_search_btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.radio_group {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-top: 0.5em;
}

.radio_label {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-weight: normal;
  transition: none;
  white-space: normal;
  min-height: 24px;
}

.radio_label:hover {
  background: transparent;
}

.radio_label input[type="radio"] {
  margin-right: 0.75em;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #f94479;
}

.radio_label span {
  font-size: 1.2rem;
  color: #f94479;
  white-space: normal;
  line-height: 1.5;
}

/* チェックボックスグループ */
.checkbox_group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 0.5em;
}

.checkbox_label {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.5em 1em;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 40px;
  background-color: #fff;
}

.checkbox_label input[type="checkbox"] {
  margin-right: 0.5em;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #f94479;
}

.checkbox_label span {
  font-size: 1rem;
  color: #333;
  white-space: nowrap;
  line-height: 1.5;
}

.form_group input[type="text"],
.form_group input[type="email"],
.form_group input[type="tel"] {
  width: 100%;
  padding: 0.75em 0.875em;
  font-size: 0.875rem;
  border: 1px solid #dadce0;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  background-color: #fff;
  color: #222;
  margin-top: 0.5em;
}

.form_group input:focus {
  outline: none;
  border-color: #f94479;
  border-width: 2px;
  padding: calc(0.75em - 1px) calc(0.875em - 1px);
}

.form_group input::placeholder {
  color: #80868b;
}

.form_group select {
  width: 100%;
  padding: 0.75em;
  font-size: 0.95em;
  border: 1px solid #333;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%234f4021" d="M6 8L0 0h12z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 12px;
  appearance: none;
  cursor: pointer;
  color: #4f4021;
  font-weight: bold;
}

.form_group select:focus {
  outline: none;
  border-color: #333;
}

.form_group textarea {
  width: 100%;
  padding: 0.75em;
  font-size: 0.95em;
  font-family: inherit;
  border: 1px solid #dadce0;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  resize: vertical;
  background-color: #fff;
  min-height: 120px;
  margin-top: 0.5em;
}

.form_group textarea:focus {
  outline: none;
  border-color: #f94479;
  border-width: 2px;
}

.form_privacy {
  padding: 0em;
}

.privacy_checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.85em;
}

.privacy_checkbox input[type="checkbox"] {
  margin-right: 0.5em;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.privacy_checkbox a {
  color: #333;
  text-decoration: underline;
}

.privacy_checkbox a:hover {
  color: #8b6239;
}

/* プライバシーポリシー同意インラインスタイル */
.privacy_agreement {
  text-align: center;
  padding: 0.3em 1em;
  margin-bottom: 0em;
  /* 上下の余白を調整する場合は、padding と margin-bottom を変更してください */
}

.privacy_inline_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
  gap: 0.5em;
  vertical-align: middle;
}

.privacy_inline_label:hover {
  opacity: 0.8;
}

.privacy_inline_label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  accent-color: #f94479;
  flex-shrink: 0;
  vertical-align: middle;
  align-self: center;
}

.privacy_inline_label span {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.privacy_inline_label a {
  color: #f94479;
  text-decoration: underline;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.privacy_inline_label a:hover {
  opacity: 0.7;
}

.privacy_inline_label .required {
  margin-left: 0.5em;
  color: #d93025;
  font-size: 0.8em;
  font-weight: bold;
}

.form_submit {
  text-align: center;
  padding: 1.5em 0;
  width: 100%;
}

.submit_btn {
  background: none;
  border: none;
  padding: 0 0.5em;
  cursor: pointer;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.submit_btn img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*
 *		特商法
 */

.page_laws #wrapper {
  margin: 0 auto 2em;
  padding: 3em;
  width: 800px;
  max-width: 100%;
  background: #fff;
  font-size: 75%;
}

.page_laws #wrapper h2 {
  margin: 0 auto;
  font-size: 2em;
  text-align: center;
}

.page_laws #wrapper h3 {
  margin-top: 2em;
  font-size: 1.25em;
}

.page_laws #wrapper h4 {
  margin-top: 2em;
}

.page_laws table {
  margin: 1.5em auto;
  width: 720px;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 1px;
  background: #ccc;
}

.page_laws th {
  padding: 0.5em;
  width: 28%;
  border-top: 1px solid #fff;
  background-color: #ebebeb;
}

.page_laws td {
  padding: 0.5em;
  font-size: 0.8em;
  background-color: #ffffff;
}

@media screen and (max-width: 599px) {
  /*特商法*/

  .page_laws #wrapper {
    padding: 0;
  }

  .page_laws table {
    margin-top: 0;
    width: 98vw;
  }

  .page_laws th,
  .page_laws td {
    display: block;
    width: 100%;
  }
}

/*
 *		みらい社保 セクションスタイル
 */

/* セクション共通スタイル */
.strengths_section,
.reasons_section,
.voices_section,
.faq_section {
  position: relative;
}

.strengths_section {
  background-color: #ffffff;
}

.reasons_section {
  background: linear-gradient(to bottom, #e3f2fd 0%, #ffffff 100%);
}

.reasons_img_wrapper {
  position: relative;
  display: block;
}

.reasons_note {
  position: absolute;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 0.8em 1.5em;
  margin: 0;
  font-size: 1em;
  color: #222;
  border-radius: 4px;
  width: calc(100% - 2em);
  max-width: 450px;
  box-sizing: border-box;
}

.reasons_link {
  text-decoration: underline;
  color: #f94479;
  transition: opacity 0.3s ease;
}

.reasons_link:hover {
  opacity: 0.7;
}

.voices_section {
  background-color: #f5e6d3;
}

.faq_section {
  background: linear-gradient(to bottom, #e3f2fd 0%, #ffffff 100%);
}

/* CTAボタンセクション */
.cta_section {
  padding: 2em 1em;
  text-align: center;
  background-color: transparent;
}

.cta_button {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.cta_button:hover {
  opacity: 0.8;
}

.cta_button img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* セクション内の画像スタイル */
.strengths_section img,
.reasons_section img,
.voices_section img,
.faq_section img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* ヘッダーエリアのスタイル調整 */
.header_area {
  background: linear-gradient(to bottom, #e3f2fd 0%, #ffffff 100%);
  position: relative;
}

.header_area h1 {
  margin: 0;
  padding: 0;
  position: relative;
}

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

/* ヘッダー画像上に重ねるボタン */
.form_header_top {
  background-color: #fef4f7;
  padding: 0 1em 2em;
  text-align: center;
  z-index: 10;
}

.form_header_top .header_overlay_btn {
  display: block;
  width: 100%;
  max-width: 456px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

.form_header_top .header_overlay_btn:hover {
  opacity: 0.8;
}

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

/* フォームヘッダーのスタイル調整 */
.form_header {
  padding: 6.5em 0 0em;
}

.form_header .btn {
  margin-top: 1em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 479px) {
  .cta_section {
    padding: 1.5em 0.5em;
  }

  .cta_button img {
    width: calc(100% - 2em);
    max-width: 450px;
  }

  .form_header_top {
    padding: 0 0.5em 1.5em;
  }

  .form_header_top .header_overlay_btn {
    max-width: calc(100% - 1em);
  }
}
