/*
Theme Name: Re Life不動産株式会社様
*/

@charset "UTF-8";

@import url("./css/reset.css");
@import url("./css/spmenu.css");

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mukta&family=Noto+Serif+JP:wght@200;300;400;500;600&display=swap");
/********** カスタムプロパティ（変数） **********/
:root {
  --basebkcolor: #fff;
  --basebkcolor-text: #333333;

  --keycolor: #1C2951;
  --white: #fff;
  --keycolor-sub: #829C9E;

  --accent: #D7999A;

  --keycolor-light: #E5EEEF;

  --gray: #a7a7a7;

  --sidebar-width: 260px;
  /* サイドバーのwidthを固定幅とする */
}

/********** ページ内リンク位置調整 **********/
.page_scroll {
  padding-top: 230px;
  margin-top: -300px;
}

@media (max-width: 1200px) {
  .page_scroll {
    padding-top: 340px;
  }
}

.serv_scroll {
  padding-top: 100px;
  margin-top: -100px;
}

/********** 共通タグ設定 **********/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans CJK JP", "noto-sans-cjk-jp", "Noto Sans JP",
    sans-serif;
  font-size: 16px;
  color: var(--basebkcolor-text);
  word-break: break-all;

  min-width: 360px;
  line-height: 2rem;
  letter-spacing: 0.1rem;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

body::before {
  content: "";
  display: block;
  /*width: 530px;*/
  width: 28%;
  height: 490px;
  background: var(--keycolor-light);
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: -1;
}

body::after {
  content: "";
  display: block;
  /*width: 530px;*/
  width: 28%;
  height: 1600px;
  background: var(--keycolor-light);
  position: absolute;
  top: 750px;
  left: 0px;
  z-index: -1;
}

a,
a:hover {
  color: var(--basebkcolor-text);
  text-decoration: none;
}

img {
  vertical-align: bottom;
  width: 100%;
}

h1 {
}

h2 {
}

h3 {
}

h4 {
}

ul {
}

ul li {
}

.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 960px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

p,
li,
h3 {
  line-break: normal;
}

/********** 共通クラス **********/
.inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.br_768 {
  display: none;
}

.content {
  margin-bottom: 180px;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.nowrap {
  white-space: nowrap;
}

.faq_item {
  border-top: 1px solid var(--keycolor);
}

.text,
.faq_list dt,
.faq_list dd {
  color: var(--basebkcolor-text);
}

.h2_title,
.title {
  font-family: "Noto Serif JP", serif;
  color: var(--basebkcolor-text);
  font-weight: bold;
}

.faq_list dt,
.faq_list dd {
}

.top_link {
  text-align: right;
  padding-right: 20px;
  position: fixed;
  bottom: 80px;
  right: 20px;
}

.top_link a {
  color: var(--keycolor);
  position: relative;
  padding: 80px 13px 20px;
}

.top_link a::before {
  content: "";
  width: 1px;
  height: 60px;
  background-color: var(--keycolor);
  position: absolute;
  bottom: 40px;
  right: 50%;
}

.green_link {
  color: var(--keycolor);
  border-bottom: 1px solid var(--keycolor);
}

/* スクロールしたら動く */
.fade-out,
.fade-down {
  opacity: 0;
}

.fade-left {
  animation-name: fadeLeft;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-280px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-up {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(80px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1300px) {
  .inner {
    padding: 0 20px;
  }
}

.sp_block {
  display: none;
}

@media screen and (max-width: 980px) {
  .page_scroll {
    padding-top: 110px;
  }
}


@media screen and (max-width: 768px) {
  .content {
    margin-bottom: 100px;
  }

  .br_768 {
    display: block;
  }

  .sp_none {
    display: none;
  }
  .sp_block {
    display: block;
  }

  .page_scroll {
    margin-bottom: 110px;
    padding-top: 240px;
  }
}

/********** ヘッダー（共通） **********/
header {
  background: var(--basecolor);
  color: var(--basebkcolor-text);

  text-align: center;
}

header .h_logo {
  padding: 20px 10px;
  margin-inline: auto;
  background-color: #111B39;
}

header .h_logo a {
  display: block;
  width: 130px;
  margin-inline: auto;
}

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

  header .h_logo{
    padding: 10px;
  }

  header .h_logo a {
    width: 140px;
    margin-inline: unset;
    margin-left: 20px;
  }
}


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

  header .h_logo a {
    width: 110px;
  }
}
/********** メインコンテンツ（共通） **********/
main {
}

#contents {
  width: 100%;
  margin: 0;
  /*padding: 20px;*/
  padding: 0;
}

main.col2 {
  display: flex;
  justify-content: space-between;
}

main.col2 #contents {
  width: 76%;
}

/********** サイドバー（共通） **********/
aside {
  background: var(--white);
  color: var(--keycolor-pink);
  width: 24%;
  margin: 0;
  padding: 20px;
}

@media screen and (max-width: 960px) {
  main.col2 {
    flex-direction: column;
  }

  main.col2 #contents {
    width: 100%;
  }

  aside {
    width: 100%;
  }
}

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

/********** フッター（共通） **********/
footer {
  background: var(--keycolor);
  color: var(--basebkcolor);
  padding: 50px 0 0;
}

#top_contact .h2_title{
  color: var(--basebkcolor);
}

footer .ft_content .ft_left {
  width: 40%;
}

footer .ft_content .ft_left .h_logo {
  margin-bottom: 20px;
  width: 180px;
}

footer .ft_content .ft_left .h_logo a {
  display: block;
  width: 100%;
}

footer .ft_content .ft_left .ft_text {
  text-align: left;
  width: 100%;
}

footer .ft_content .ft_box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .ft_content .ft_box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .ft_content .ft_sns {
  width: 100%;
  margin-top: 20px;
  font-size: 14px;
  color: var(--basebkcolor-text);
  justify-content: flex-end;
  gap: 24px;
}

footer .ft_content .ft_sns li a {
  color: var(--basebkcolor);
}

footer .ft_content .ft_sns .ft_sns_icon{
  width: fit-content;
}

.ft_linke_link {
  display: block;
  width: 149px;
  height: 46px;
}

footer .ft_content .ft_sns span {
  display: inline-block;
}

footer .ft_content .ft_nav {
  display: flex;
  flex-direction: column;
  width: 60%;
}

footer .address {
  font-size: 14px;
  margin: 50px 0 10px 0;
}

.ft_nav_item {
  color: #555555;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .ft_content .ft_nav_item {
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .ft_content .ft_nav ul li {
  margin-bottom: 10px;
}

footer .ft_content .ft_nav ul li a {
  display: block;
  color: var(--basebkcolor);
}

footer .ft_content .ft_nav ul li a:hover {
  opacity: 0.6;
}

footer .ft_content .os_link img {
  display: inline-block;
  width: 11px;
  height: 11px;
}

footer .copyright {
  font-size: 12px;
  text-align: center;
  padding: 10px 0 20px;
}

footer .ft_content .ft_nav ul li .os_link {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 960px) {
  footer {
    padding-bottom: 10px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  footer .ft_content {
    flex-wrap: wrap;
  }

  footer .h_logo {
    margin: 0 auto;
  }

  footer .ft_content .ft_left .h_logo {
    margin-bottom: 20px;
    width: 140px;
  }

  footer .ft_content .ft_left {
    width: 100%;
  }

  footer .ft_content .ft_left .ft_sns {
    justify-content: center;
  }

  footer .ft_content .ft_nav {
    width: 100%;
    flex-direction: column;

    /*display: none;*/
  }

  footer .address {
    font-size: 14px;
    margin: 0px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .ft_content .ft_nav ul {
    width: 100%;
    margin-top: 20px;
    flex-direction: column;

    align-items: center;
  }
}

/******************* ヘッダーナビゲーション ******************/
.h_nav {
  margin: 20px 0;
  letter-spacing: 0.1em;
}

.h_nav ul {
  column-gap: 80px;
  justify-content: center;
}

.h_nav ul a:hover {
  opacity: 0.6;
}

/******************* トップページ ******************/
/* ローディング画面 */
#splash {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #fff;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
}

.splash_logo {
  width: 240px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -50%);
  z-index: 100;
}

@media screen and (max-width: 390px) {
  .splash_logo {
    width: 200px;
  }
}

/* メインビジュアル */
#eye_top {
  position: relative;
}

.eye_bk img {
  border-radius: 30px;
}

#eye_top .eye_layer {
  width: 480px;
  position: absolute;
  bottom: 70%;
  left: 40px;
}

#eye_top .eye_box_bottom {
  width: 100%;
  padding-right: 36px;
  padding-bottom: 30px;
  display: flex;
  column-gap: 24px;
  justify-content: flex-end;
  align-items: flex-end;
  color: #fff;

  position: absolute;
  bottom: 0;
  right: 0;
}

#eye_top .eye_box_bottom .eye_photo {
  width: 30%;
  position: relative;
  padding: 0 20px;
}

#eye_top .eye_box_bottom .eye_item {
  max-width: 125px;
}

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

}

@media screen and (max-width: 980px) {
  #eye_top .eye_box_bottom p {
    width: 100px;
    height: 100px;
    font-size: 24px;
    line-height: 27px;
    letter-spacing: 0.2rem;
  }

  .h2_title {
    font-size: 30px;
  }

  #eye_top{
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  #eye_top {
    margin-bottom: 100px;
  }

  #eye_top .eye_box_bottom .eye_item {
    width: 27%;
  }

  #eye_top .eye_box_bottom p {
    width: 80px;
    height: 80px;
    font-size: 20px;
    line-height: 24px;
  }

  #eye_top .eye_layer {
    bottom: 70%;
    transform: translateY(-50%);
    width: 50%;
  }

  .eye_bk > img {
    height: 640px;
    object-fit: cover;
    object-position: 65%;
  }

  #eye_top .eye_copy {
    align-self: flex-start;
    margin: 25% 0 0 40px;
    color: var(--basebkcolor);
    font-size: 40px;
    font-weight: normal;

    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }

  #eye_top .eye_copy span {
    font-size: 70%;
  }

  .eye_list {
    /*flex-direction: column;*/

    width: 100%;
    justify-content: center;
  }

  #eye_top .eye_box_bottom .eye_list li {
    width: 80px;
    height: 80px;
    font-size: 14px;
    /*margin-right: 10px;*/
    margin-top: 10px;
  }

  #eye_top .eye_box_bottom .eye_photo {
    width: 50%;
    padding: 0;
    margin-bottom: 20px;
  }

  #eye_top .eye_box_bottom .eye_photo_text {
    font-size: 12px;
    bottom: -40px;
    padding: 2px 2px;
    border-radius: 5px;
  }
}

@media screen and (max-width: 768px) {
  #eye_top .eye_box_bottom {
    padding-right: 0;
    column-gap: 14px;
    padding-bottom: 0;
    bottom: 30px;
    justify-content: center;
  }
}

@media screen and (max-width: 390px) {
  #eye_top .eye_layer {
    width: 60%;
  }

  .eye_bk > img {
    height: 500px;
    object-fit: cover;
    object-position: 55%;
  }

  #eye_top .eye_box_bottom p {
    font-size: 18px;
    line-height: 20px;
  }

  #eye_top .eye_copy {
    align-self: flex-start;
    margin: 40% 0 0 40px;
    color: var(--basebkcolor);
    font-size: 30px;
    font-weight: normal;

    display: flex;
    flex-direction: column;
  }

  #eye_top .eye_box_bottom p {
    font-size: 16px;
  }
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);

  text-align: center;
  color: var(--keycolor);
  font-weight: normal;
}

@media screen and (max-width: 1200px) {
  .scroll {
    bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .scroll {
    bottom: -30px;
  }
}

@media screen and (min-width: 769px) {
  #eye_top {
    margin-bottom: 220px;
  }
}
/*}*/

/* 線の描写 */
.scroll::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  left: 50%;
  /*線の形状*/
  width: 1px;
  height: 60px;
  background: var(--keycolor);
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 2s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 20px;
    opacity: 0;
  }

  30% {
    height: 60px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 96px;
    opacity: 0;
  }
}

.link_btn {
  text-align: center;
}

.link_btn a {
  display: inline-block;
  color: var(--white);
  position: relative;
  min-width: 240px;
  box-sizing: border-box;
  background: var(--keycolor);
  border: 1px solid var(--keycolor);
  padding: 8px 10px;
  transition: 0.5s;
}

.link_btn a::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 4px;
  border-bottom: 1px solid var(--white);
  transition: 0.5s;
}

.link_btn a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 1px;
  transform: rotate(45deg);
  border-bottom: 1px solid var(--white);
  transition: 0.5s;
}

.link_btn a:hover {
  background: var(--white);
  color: var(--keycolor);
  transition: all 0.5s;
}

.link_btn a:hover::before,
.link_btn a:hover::after {
  border-bottom: 1px solid var(--keycolor);
  transition: all 0.5s;
}

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

.h2_title {
  font-size: 38px;
  text-align: center;
  position: relative;
  margin-bottom: 80px;
}

.h2_title::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.h2_title.left::before {
  left: 5px;
  right: initial;
}

@media screen and (max-width: 768px) {
  .h2_title {
    font-size: clamp(22px, 4vw, 30px);
  }
}

@media screen and (max-width: 510px) {
  .h2_title {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 390px) {
  .h2_title {
    font-size: 24px;
  }
}

#top_news {
  position: relative;
}

#top_news .h2_title {
  width: 20%;
  font-size: 30px;
  text-align: left;
  align-self: flex-start;
}

#top_news .news_list {
  width: 70%;
}

#top_news .news_btn {
  width: 30%;
  text-align: right;
  align-self: flex-end;
}

#top_news .news_list li {
  padding: 10px 0;
}

#top_news .news_list li a {
  display: flex;
  line-height: 1.8em;

}

#top_news .news_list li a:hover{
  opacity: 0.6;
}

#top_news .news_list li span {
  font-family: "Noto Sans CJK JP", "noto-sans-cjk-jp", "Noto Sans JP",
    sans-serif;
  display: block;
}

#top_news .news_list li span.date {
  font-weight: 500;
  display: inline-block;
  padding-right: 20px;
}

#top_news .news_list li span.title {
  color: var(--basebkcolor-text);
  width: 80%;
}

#top_news .news_list li span.text a {
  color: var(--keycolor);
  text-decoration: underline var(--keycolor);
}

#top_news .news_img img {
  border: 1px solid #d3d3d3;
}

/* #top_news .news_img {
	width: 80%;
} */

#top_news .news_img p {
  font-size: 12px;
}

#top_news .news_imgbox {
  display: flex;
  gap: 20px;
}

#top_news .news_img {
  width: 30%;
  min-width: 200px;
}

#top_news .news_list li:nth-child(n + 5) {
  padding-top: 40px;
}

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

  #top_news .news_list li:nth-child(n + 5) {
    border-bottom: 0px;
    padding-top: 40px;
  }

  #top_news .news_img {
    width: 30%;
    min-width: 150px;
  }

  #top_news .flex {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  #top_news .h2_title {
    margin-bottom: 40px;
    width: 100%;
  }

  #top_news .news_list {
    width: 100%;
    margin: 20px 0 40px;
    border-top: 1px solid #f5f5f5;
  }

  #top_news .news_list li {
    border-bottom: 1px solid #f5f5f5;

  }

  #top_news .news_list li {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  #top_news .news_list li a{
    display: flex;
    flex-direction: column;
  }

  #top_news .news_list li span.date {
    width: 100%;
    margin-bottom: 5px;
  }

  #top_news .news_list li span.title {
    width: 100%;
  }

  #top_news .news_btn {
    text-align: center;
    width: 100%;
  }
}

#top_suport {
  max-width: 800px;
}

#top_suport .h2_title span {
  background: linear-gradient(transparent 75%, #57b1a097 75%);
}

#top_suport .box_img {
  margin: 80px 0;
}

#top_suport p.text {
  line-height: 3em;
  margin-bottom: 50px;
  text-align: center;
}

.about_list {
  max-width: 770px;
  margin-bottom: 80px;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 20px;
}

.about_list ul li {
  padding-left: 36px;
  font-size: 20px;
  position: relative;
  text-align: left;
}

.about_list ul li:not(:last-of-type) {
  margin-bottom: 20px;
}

.about_list ul li::before {
  content: "";
  width: 26px;
  height: 22px;
  background-image: url(img/check_orenge.svg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: absolute;
  top: 4px;
  left: 0;
}

.home_top_txt {
  color: var(--keycolor);
}

.home_top_txt {
}

@media screen and (max-width: 768px) {
  #top_suport p.text {
    line-height: 2.4em;
    text-align: left;
  }

  .about_list {
    padding: 20px;
  }

  .about_list ul li {
    padding-left: 36px;
    font-size: 18px;
  }

  .about_list ul li:not(:last-of-type) {
    margin-bottom: 16px;
  }

  .about_list ul li::before {
    content: "";
    width: 17px;
    height: 14px;
  }
}

#top_jirei {
  text-align: center;
}

#top_jirei p.text {
  line-height: 2em;
  margin: 50px 0;
}

#top_jirei .jirei_list {
  margin-bottom: 50px;
}

#top_jirei .jirei_list .jirei_box {
  width: 24%;
  display: block;
  padding: 40px 20px;
  background: var(--basebkcolor);
  border: 1px solid var(--keycolor);
  border-radius: 20px;
  transition: all 0.5s;
  position: relative;
}

#top_jirei .jirei_list .jirei_box::before {
  content: "";
  display: block;
  width: 24px;
  height: 9px;
  background: url(img/link_arr.svg) top center / cover no-repeat;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

#top_jirei .jirei_list li a:hover {
  opacity: 0.6;
  transition: all 0.5s;
}


#top_jirei .box_img {
  margin: 0 auto;
  width: 80px;
  height: 80px;
}

#top_jirei .box_img img {
  width: 100%;
}

#top_jirei .jirei_list li a h3 {
  margin: 40px 0 20px;
}

#top_jirei .jirei_list .jirei_item h3 {
  margin-top: 32px;
  font-size: 20px;
  font-weight: bold;
}

#top_jirei .jirei_list p {
  margin-top: 24px;
  text-align: left;
  line-height: 1.8em;
  font-size: 16px;
}

#top_jirei .jirei_list p .box {
  display: block;
  margin-inline: auto;
  width: 200px;
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
  padding: 4px 10px;
  background-color: #57b1a1;
  color: #fff;
}

#top_jirei a {
  transition: all 0.5s;
}

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

@media screen and (max-width: 980px) {
  #top_jirei .jirei_list {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  #top_jirei .jirei_list .jirei_box {
    width: 48%;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 768px) {
  #top_jirei .jirei_list {
    flex-wrap: wrap;
  }

  #top_jirei .jirei_list li {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 510px) {
  #top_jirei .jirei_list .jirei_box {
    width: 100%;
  }
}

@media screen and (max-width: 390px) {
  #top_jirei p.text {
    text-align: left;
  }
}

.top_about .inner {
  max-width: 1035px;
}

.top_about .top_about_img {
  margin-bottom: 40px;
}

.top_about .top_about_text {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 40px;
  line-height: 2.2rem;
}

@media screen and (max-width: 768px) {
  .top_about .top_about_text {
    text-align: left;
  }
}

#top_message {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#top_message .box_img {
  max-width: 520px;
  width: 46%;
}

#top_message .top_message_text {
  width: 52%;
}

#top_message .top_message_text h3 {
  font-size: 34px;
  margin-bottom: 20px;
}

@media screen and (max-width: 980px) {
  #top_message .top_message_text h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  #top_message .box_img,
  #top_message .top_message_text {
    width: 100%;
  }

  #top_message .box_img {
    margin-bottom: 20px;
    margin-inline: auto;
  }
}

/* マップ */
#top_map iframe {
  width: 100%;
  height: 360px;
}

#top_blog {
  margin-bottom: 180px;
}

#top_blog ul {
  margin-bottom: 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#top_blog ul::before,
#top_blog ul::after{
  content: "";
  display: block;
  width: 24%;
  max-width: 280px;
}

#top_blog ul::before{
  order: 1;
}

#top_blog ul li {
  width: 24%;
  max-width: 280px;
}

#top_blog ul li .img_box {
  margin-bottom: 8px;
  overflow: hidden;
}

#top_blog ul li .img_box img{
    width: 100%;
    height: auto;
    aspect-ratio: 56/36;
    object-fit: cover;
    object-position: center;
}

#top_blog ul li .blog_title {
  font-weight: normal;
  margin-bottom: 2px;
}

#top_blog ul li .date {
  color: var(--gray);
  text-align: right;
  font-size: 12px;
}

@media screen and (max-width: 1028px) {
  #top_blog ul {
    row-gap: 40px;
  }

  #top_blog ul::before,
  #top_blog ul::after{
    width: 48%;
  }

  #top_blog ul li {
    width: 48%;
    max-width: unset;
  }
}

@media screen and (max-width: 520px) {
  #top_blog {
    margin-bottom: 80px;
  }

  #top_blog ul::before,
  #top_blog ul::after{
    content: none;
  }

  #top_blog ul li {
    width: 100%;
    max-width: unset;
  }
}

#top_contact {
  background: url(./img/footer.webp) no-repeat center top;
  background-size: cover;
  padding: 130px 0;
  text-align: center;
}

#top_contact .h2_title::before {
  background-color: var(--basebkcolor);
}

#top_contact .text {
  margin: 80px 0 60px;
  line-height: 2em;
  font-size: 18px;
  color: var(--basebkcolor);
}

#top_contact .text span {
  display: inline-block;
  border-bottom: 1px solid var(--basebkcolor);
}

#top_contact .contact_list {
  justify-content: space-evenly;
}

#top_contact .contact_list li {
  width: 48%;
  max-width: 400px;
  font-weight: normal;
}

#top_contact .contact_list li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 130px;
  padding: 15px 40px;
  background: var(--keycolor-sub);
  font-size: 16px;
  color: var(--white);
  box-shadow: 0 3px 6px #00000040;
  position: relative;
  transition: all 0.5s;
}

#top_contact .contact_list li a h3 {
  font-size: 30px;
  font-weight: normal;
}

#top_contact .contact_list li a p {
  margin-top: 10px;
}

#top_contact .contact_list li a:hover {
  color: var(--keycolor-sub);
  background: var(--white);
  transition: all 0.5s;
}

#top_contact .contact_list li a:hover::before {
  content: "";
  width: 30px;
  height: 30px;
  background: url(img/common/sample_logo_icon.svg) no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  transition: all 0.5s;
}

@media screen and (max-width: 980px) {
  #top_contact .contact_list li a h3 {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  #top_contact {
    background: url(./img/footer.webp) no-repeat left 40% top;
    background-size: cover;
    padding: 130px 0;
    text-align: center;
    margin-top: 80px;
     background: url(./img/footer_sp.webp) no-repeat left 40% top;
  }

  #top_contact .inner {
  }

  #top_contact .contact_list {
    flex-wrap: wrap;
  }

  #top_contact .contact_list li {
    width: 100%;
    margin-bottom: 40px;
  }

  #top_contact .contact_list li a {
    width: 80%;
    margin-inline: auto;
    font-size: 18px;
  }

  #top_contact .contact_list li a h3 {
    font-size: 24px;
  }

  #top_contact .contact_list li a::before {
    content: "";
    width: 30px;
    height: 30px;
    background: url(img/common/sample_logo_icon_white.svg) no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    transition: all 0.5s;
  }
}

@media screen and (max-width: 390px) {
  #top_contact {
    margin-top: 20px;
    padding: 70px 0;

  }

  #top_contact .inner {
    padding-top: 40px;
  }

  #top_contact .contact_list li a {
    width: 100%;
    height: auto;
    padding: 30px 0;
    font-size: 16px;
  }

  .top_link {
    text-align: right;
    padding-right: 20px;
    position: fixed;
    bottom: 80px;
    right: -8px;
  }

  #top_contact .text {
    margin: 50px 0 20px;
  }
}

@media screen and (max-width: 768px) {
  #top_suport,
  #top_jirei {
    margin-bottom: 80px;
    padding: 0 14px;
  }
}

/******* 下層ページ ********/

/* 下層のcss */

/***** 共通 *****/
a {
  word-wrap: break-word;
}

.page_link {
  padding-top: 200px;
  margin-top: -200px;
}

#lw_main {
  margin-bottom: 100px;
}

#lw_main,
#lw_mv_title {
  margin-inline: auto;
}

.s_nav {
  margin-top: 8px;
  display: flex;
  column-gap: 12px;
  font-size: 12px;
  flex-wrap: wrap;
}

.s_nav li {
  color: var(--basebkcolor-text);
  display: flex;
  align-items: center;
  position: relative;
}

.s_nav li:not(:last-of-type)::after{
  content: ">";
  position: absolute;
  top: 1px;
  right: -10px;
}

.s_nav li a {
  display: block;
  font-size: 12px;
  color: #707070;
}

.lw_mv_title {
  display: block;
  width: 100%;
  height: 240px;
  background-image: url(img/lw_main_v.webp);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lw_mv_title h2 {
  font-size: 30px;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
  color: var(--keycolor);
  display: flex;
  row-gap: 4px;
  flex-direction: column;
  letter-spacing: 0.2rem;
  text-align: center;
}

.lw_mv_title span {
  font-size: 14px;
}

.lw_title {
  font-size: 30px;
  color: #572108;
  font-weight: normal;
  text-align: center;
}

#about_catch .wrapper,
#features .wrapper,
#staff .wrapper,
#access .wrapper {
  text-align: center;
}

#staff .wrapper .section_title span,
#access .wrapper .section_title span {
  margin-top: 8px;
  font-size: 16px;
  color: #707070;
  display: flex;
  flex-direction: column;
}

.title_cacth {
  margin-bottom: 60px;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

.sp_br {
  display: none;
}

@media screen and (max-width: 960px){
  #lw_main {
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .lw_mv_title {
    background-position: top left 20%;
  }

  .lw_mv_title h2 {
    font-size: 24px;
  }

  #lw_main {
    margin-bottom: 60px;
  }

  .title_cacth {
    font-size: 16px;
  }
}

@media screen and (max-width: 390px) {
  .lw_mv_title {
    height: 200px;
  }
}

/********** [about] **********/
/* 代表あいさつ */
#comment .inner {
  max-width: 1000px;
  margin-inline: auto;
}

#comment .inner .text {
  line-height: 2rem;
}

.comennt_name {
  margin-top: 60px;
  display: block;
  text-align: right;
}

#comment .profile {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#comment .img_box {
  width: 37%;
  max-width: 370px;
}

#comment .profile_box {
  width: 60%;
}

#comment .profile_box h3 {
  font-size: 25px;
  margin-bottom: 20px;
}

#comment .profile_box h3 span {
  display: inline-block;
  margin-left: 20px;
  font-size: 18px;
}

#comment .profile_box .profile_skill li:not(:last-of-type) {
  margin-bottom: 20px;
}

#comment .about_message h3 {
  margin-bottom: 12px;
  font-weight: normal;
  font-size: 24px;
  color: var(--keycolor);
}

#comment .about_message:not(:last-of-type) {
  margin-bottom: 60px;
}

/* 事業所案内 */
.tb_achieve {
  width: 80%;
  margin-inline: auto;
  table-layout: fixed;
}

.tb_achieve th {
  width: 25%;
  vertical-align: middle;
  font-weight: normal;
  white-space: nowrap;
  color: var(--basebkcolor-text);
}

.tb_achieve td {
  width: 75%;
}

.tb_achieve th:first-of-type,
.tb_achieve td:first-of-type {
  border-top: 1px solid #70c1b263;
}

.tb_achieve th,
.tb_achieve td {
  line-height: 1.8rem;
  text-align: left;
  border-bottom: 1px solid #70c1b263;
  letter-spacing: 0.16rem;
  padding: 20px;
  color: var(--basebkcolor-text);
}

/* 相談 */
#Features .inner {
  counter-reset: num 0;
}

.fea_ttl {
  margin-bottom: 100px;
  text-align: center;
}

.fea_ttl p {
  color: var(--basebkcolor-text);
  line-height: 40px;
}

.feat_block {
  display: flex;
  align-items: center;
}

.feat_texts {
  position: relative;
}

.feat_texts::before {
  counter-increment: num 1;
  content: "0" counter(num);
  font-family: "Mukta", sans-serif;
  position: absolute;
  color: var(--keycolor-pink-light);
  font-size: 120px;
  top: -80px;
  right: 50px;
  z-index: -1;
}

.feat_block:nth-child(3n):before {
  top: 0;
  right: 50%;
}

.feat_block {
  margin-top: 100px;
}

.feat_block02 {
  flex-direction: row-reverse;
}

.feat_img,
.feat_texts {
  width: 50%;
}

.feat_texts {
  padding: 0 50px;
  color: var(--basebkcolor-text);
}

.feat_sttl {
  margin-bottom: 40px;
  display: inline-block;
  font-size: 25px;
  font-weight: normal;
  letter-spacing: 0.1rem;
  background: linear-gradient(transparent 60%, var(--keycolor-light) 60%);
}

.feat_txt {
  line-height: 40px;
}

/* アクセス */
.access_item {
  display: flex;
}

.access_map,
.access_txt {
  width: 50%;
}

.access_map iframe {
  width: 80%;
  height: auto;
  aspect-ratio: 1/0.8;
}

.access_txt {
  padding-left: 80px;
  color: var(--basebkcolor-text);
}

.access_txt li {
  line-height: 1.8;
}

.access_txt li:not(:last-of-type){
  margin-bottom: 12px;
}

.access_txt li h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

@media screen and (max-width: 980px) {
  .feat_block {
    flex-direction: column;
  }

  .feat_img,
  .feat_texts {
    width: 80%;
  }

  .feat_texts {
    padding: 0 0;
    height: 100%;
  }

  .feat_texts::before {
    top: -120px;
    right: 0;
    z-index: 1;
  }

  .feat_sttl {
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .emp_name {
    display: flex;
    flex-direction: column;
  }

  .emp_name span {
    margin-left: 0;
  }

  .sp_br {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #comment .inner .text {
    line-height: 2rem;
  }

  .tb_achieve {
    width: 100%;
  }

  .emp_intor {
    width: 60%;
  }

  .access_item {
    flex-direction: column;
  }

  .access_map,
  .access_txt,
  .access_map img {
    width: 100%;
  }

  .access_map {
    margin-bottom: 16px;
  }

  .access_txt {
    padding-left: 0;
  }

  .tb_achieve th,
  .tb_achieve td {
    padding: 20px 0;
  }

  .tb_achieve th {
    width: 25%;
  }

  .tb_achieve td {
    width: 75%;
    padding-left: 20px;
  }

  .access_map iframe {
    width: 100%;
  }

  #comment .profile .img_box,
  #comment .profile .profile_box {
    width: 100%;
  }

  #comment .profile .img_box {
    margin-inline: auto;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 390px) {
  .tb_achieve th {
    width: 35%;
  }

  .tb_achieve td {
    width: 65%;
    padding-left: 10px;
  }

  #comment .profile .img_box {
    width: 80%;
  }
}

/**********  service.html-事務内容- **********/
.top_jirei_ttl {
  margin-bottom: 50px;
}
.course_exp {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: 28px;
  font-weight: bold;
  line-height: 40px;
  background: linear-gradient(transparent 65%, #57b1a1d0 65%);
}

.course_exp:first-of-type {
  margin-bottom: 12px;
}

.service_page #top_jirei .jirei_list .jirei_box {
  width: 24%;
}

.service_page #top_jirei .jirei_list .jirei_box::before {
  content: none;
}

.service_page #top_jirei.fp_link .jirei_list .jirei_box::before {
  content: "";
}

.service_page #top_jirei.fp_link .jirei_list .jirei_box {
  padding: 40px 15px;
}

.service_page #top_jirei.fp_link .jirei_list .jirei_box p {
  text-align: left;
}

.service_page:not(:last-of-type) {
  margin-bottom: 280px;
}

.ser_plan_ttl {
  margin-bottom: 140px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1rem;
  position: relative;
  z-index: 2;
}

.ser_plan_ttl::after {
  content: "";
  width: 3px;
  height: 30px;
  background-color: var(--accent);
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.plan_img img {
  width: 60%;
}

.ser_plan_ttl::before {
  width: 100%;
  font-size: 70px;
  line-height: 100px;
  font-family: "Work Sans", sans-serif;
  font-weight: bold;
  color: #E6EBEC;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.ser_plan01::before {
  content: "Service01";
}

.ser_plan02::before {
  content: "Service02";
}

.ser_plan03::before {
  content: "Service03";
}

.ser_plan04::before {
  content: "Service04";
}

#service_plan01 .inner,
#service_plan03 .inner {
  display: flex;
  justify-content: flex-end;
}

.plan_ttl {
  width: 60%;
  position: relative;
}

.plan_text01,
.plan_text03 {
  position: absolute;
  bottom: -200px;
  width: 100%;
}

.plan_text02,
.plan_text04 {
  position: absolute;
  bottom: -200px;
  width: 100%;
}

.event_photo,
.wedding_photo {
  right: 0;
}

.family_photo {
  left: 0;
}

.b_ttl h2 {
  font-size: 100px;
}

.b_ttl h2 span {
  font-size: 150px;
  padding-right: 46px;
}

.ser_box {
  padding: 40px 50px;
  box-shadow: 0 2px 15px -10px;
  border-radius: 20px;
  background-color: var(--basebkcolor);
}

.lw_ser_ttl {
  margin-bottom: 50px;
  font-weight: bold;
  text-align: center;
}

.plan_list_sp {
  display: none;
}

.plan_sodan01 {
  margin-bottom: 12px;
}

.plan_img_content {
  margin-bottom: 40px;
}

.plan_option {
  width: 60px;
  margin-inline: auto;
}

.life_plan {
  overflow-x: scroll;
}

.life_plan img {
  width: 900px;
}

.att_gig {
  font-weight: bold;
}

.plan_text_att li:not(:last-of-type) {
  margin-bottom: 4px;
}

.course_text_att .line {
  background: linear-gradient(transparent 60%, #fbebcf 60%);
}

.plan_text_att .border {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--keycolor);
}

.life_plan,
.other_support {
  margin-bottom: 20px;
}

.course_text_att li:not(:last-of-type) {
  margin-bottom: 20px;
}

.plan_course_title {
  display: block;
  margin-bottom: 4px;
  padding-left: 20px;
  position: relative;
}

.course_text_att.plan_img_content {
  margin-bottom: 60px;
}

.plan_course_title::before {
  content: "";
  display: block;
  width: 8px;
  height: 9px;
  background-color: var(--keycolor);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.service_page .worries_jirei .jirei_list .jirei_box {
  width: 32% !important;
}

/* 2023.10.23 add.mori */
@media screen and (max-width: 1200px) {
  .service_page #top_jirei .jirei_list {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .service_page #top_jirei .jirei_list .jirei_box {
    width: 49%;
  }

  .service_page .worries_jirei .jirei_list .jirei_box {
    width: 49% !important;
  }

  .service_page #top_jirei.fp_link .jirei_list .jirei_box {
    width: 49%;
  }
}

@media screen and (max-width: 768px) {
  .lw_ser_ttl {
    font-size: 22px;
  }

  .lw_ser_ttl {
    margin-bottom: 50px;
    font-size: 20px;
  }

  .plan_list_pc {
    display: none;
  }

  .plan_list_sp {
    display: block;
  }

  #pran_service {
    font-size: 16px !important;
  }

  .service_page .worries_jirei .jirei_list .jirei_box {
    width: 100% !important;
  }

  .service_page #top_jirei.fp_link .jirei_list .jirei_box {
    width: 100%;
  }
}

@media screen and (max-width: 580px) {
  .service_page #top_jirei .jirei_list .jirei_box {
    width: 100%;
  }

  .life_plan img {
    width: 700px;
  }
}

.ser_items {
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.ser_items li {
  width: fit-content;
  margin-inline: auto;
  padding: 4px 20px;
  display: block;
  font-size: 18px;
  color: var(--basebkcolor);
  text-align: center;
  letter-spacing: 0.1rem;
  border-radius: 8px;
  background-color: var(--keycolor);
}

.ser_box p {
  font-size: 16px;
  line-height: 2.4rem;
  color: var(--basebkcolor-text);
}

.ser2_pln li {
  position: relative;
  padding-left: 32px;
}

.ser2_pln li:first-child {
  margin-bottom: 16px;
}

.ser2_pln li::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(img/common/check_ponk.svg) no-repeat;
  background-size: 100%;
  background-position: center center;

  position: absolute;
  top: 0;
  left: 0;
}

#service_plan02 .plan_img,
#service_plan04 .plan_img {
  text-align: right;
}

#service_plan04 {
  margin-bottom: 30%;
}

/* 料金プラン */
.course_plan:not(:first-of-type) {
  margin-top: 40px;
}

.course_plan .course_tilte {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: normal;
  color: var(--keycolor-sub);
}

.plan_text04 .text {
  margin-bottom: 20px;
}

.plan_text04 ul {
  margin-bottom: 20px;
}

.service:not(:last-of-type) {
  margin-bottom: 280px;
}

.course_plan p:not(:last-of-type) {
  margin-bottom: 20px;
}

/* service -業務内容レスポンシブ-*/
@media screen and (max-width: 1800px) {
  .plan_text01 {
    position: absolute;
    bottom: -220px;
  }

  .plan_text02,
  .plan_text04 {
    position: absolute;
    bottom: -160px;
  }
}

@media screen and (max-width: 1200px) {
  .service:not(:last-of-type) {
    margin-bottom: 120px;
  }

  .plan_img {
    max-width: 800px;
    margin-inline: auto;
  }

  .plan_img img {
    width: 100%;
  }

  .plan_ttl {
    width: 100%;
  }

  .ser_items{
    flex-direction: column;
  }

  .ser_items li {
    padding: 8px;
    font-size: 16px;
    border-radius: 8px;
  }

  .ser_items li br{
    display: none;
  }

  .plan_text01,
  .plan_text02,
  .plan_text03,
  .plan_text04 {
    margin-top: 40px;
    position: inherit;
    bottom: 0;
  }

  #service_plan01 .inner,
  #service_plan02 .inner,
  #service_plan03 .inner {
    display: flex;
    justify-content: center;
  }

  #service_plan04 {
    margin-bottom: 180px;
  }
}

@media screen and (max-width: 768px) {
  .ser_box {
    padding: 40px 20px;
  }

  .ser_items {
    margin-bottom: 24px;
    row-gap: 8px;
  }

  .ser_items li {
    width: 100%;
  }

  .ser_items li br {
    display: block;
  }

  .ser_plan_ttl {
    font-size: 34px;
  }

  .ser_plan_ttl::before {
    font-size: 50px;
    line-height: 70px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }

  .ser_box p {
    font-size: 16px;
    line-height: 2rem;
    color: var(--basebkcolor-text);
  }

  .course_plan .course_tilte {
    font-size: 18px;
  }
}

@media screen and (max-width: 520px) {
  .ser_plan_ttl {
    font-size: 24px;
  }
}

/********** Privacypolicy **********/
#privacypolicy {
  color: var(--basebkcolor-text);
}

#privacypolicy .inner {
  margin-bottom: 100px;
}

#privacypolicy p {
  line-height: 24px;
}

.privacy_text,
.ol_basic {
  margin-top: 8px;
}

.h3_rules {
  margin-top: 32px;
  font-size: 20px;
  letter-spacing: 0.1rem;
}

#privacypolicy .inner {
  counter-reset: rules 0;
}

#privacypolicy .h3_rules::before {
  counter-increment: rules;
  content: "第" counter(rules, decimal) "条";
  padding-right: 8px;
}

.ol_basic {
  position: relative;
  counter-reset: num 0;
}

.ol_basic li::before {
  counter-increment: num 1;
  content: counter(num, lower-roman) ".";
  padding-right: 4px;
}

.ol_basic li {
  padding-left: 1.2rem;
  text-indent: -1.2rem;
  line-height: 28px;
}

#privacypolicy ul li {
  line-height: 24px;
}

.privacy_contact a {
  color: var(--keycolor);
  border-bottom: 1px solid var(--keycolor);
}

/* プライバシーポリシー_sp */
@media screen and (max-width: 390px) {
  #privacypolicy .wrapper {
    margin-bottom: 40px;
  }

  .h3_rules {
    margin-top: 32px;
    font-size: 20px;
    line-height: 24px;
  }
}

/* 選ばれる理由 */
.reason #top_jirei .jirei_list .jirei_box::before {
  content: none;
}

#reason .reason_item li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#reason .reason_item li:nth-child(even) {
  flex-direction: row-reverse;
}

#reason .reason_item li:not(:last-of-type) {
  margin-bottom: 100px;
}

#reason .reason_item li .img_box {
  width: 50%;
}

#reason .reason_item li .reason_text {
  width: 46%;
  position: relative;
}

#reason .reason_item li .reason_text h3 {
  margin-bottom: 40px;
  font-size: 25px;
  position: relative;
  z-index: 3;
}

#reason .reason_item li .reason_text .reason_num {
  color: #F9F1F1;
  font-size: 120px;
  font-weight: normal;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 0;
  z-index: -1;
}

#reason .reason_item li .reason_text h3 span{
  background:linear-gradient(transparent 60%, #F9F1F1 60%);
}

@media screen and (max-width: 820px) {
  #reason .reason_item li .img_box,
  #reason .reason_item li .reason_text {
    width: 100%;
  }

  #reason .reason_item li .img_box {
    margin-bottom: 20px;
  }

  #reason .reason_item li .reason_text span {
    z-index: 2;
    top: -20px;
  }

  #reason .reason_item li:not(:last-of-type) {
    margin-bottom: 60px;
  }
}

/* 事業所案内 */
.about #top_jirei.vision_jirei .jirei_list .jirei_box {
  width: 24%;
}

.about #top_jirei .jirei_list .jirei_box::before {
  content: none;
}

@media screen and (max-width: 980px) {
  .about #top_jirei.vision_jirei .jirei_list .jirei_box {
    width: 48%;
  }

  #reason .reason_item li .reason_text h3{
    font-size: 22px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 520px) {
  .about #top_jirei.vision_jirei .jirei_list .jirei_box {
    width: 100%;

  }
}


/* 代表挨拶*/
.profile{
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.profile .img_box{
  width: 370px;
}

.profile .profile_box{
  width: calc(100% - 400px);
}

.profile .profile_box h3{
  font-size: 24px;
  margin-bottom: 20px;
}

.profile .profile_box h3 span{
  display: inline-block;
  margin-left: 14px;
  font-size: 16px;
}

.profile .post{
  margin-bottom: 20px;
}

.message_text h3{
  margin-bottom: 10px;
  font-size: 20px;
  padding-left: 10px;
  border-left: 1px solid var(--accent);
}

@media screen and (max-width: 768px){
  .profile .img_box,
  .profile .profile_box{
        width: 100%;
  }

  .profile .img_box{
    max-width: 370px;
    margin-inline: auto;
    margin-bottom: 20px;
  }

}

@media screen and (max-width: 520px){
  .profile .profile_box h3 span{
    display: block;
    margin-left: 0;
  }
}


/* よくあるご質問 */
#faq_link {
  margin-bottom: 120px;
}

#faq_link ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 40px;
}

#faq_link ul li {
  width: 260px;
}

#faq_link ul li a {
  display: block;
  width: 100%;
  padding: 16px 10px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: var(--basebkcolor);
  background-color: var(--keycolor);
  border: 1px solid var(--keycolor);
  position: relative;
  transition: all 0.3s;
}

#faq_link ul li a::before {
  content: "";
  display: block;
  width: 14px;
  height: 8px;
  background: url(img/faq_arr.svg) top center / cover no-repeat;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: all 0.3s;
}

#faq_link ul li a:hover {
  color: var(--keycolor);
  background-color: var(--basebkcolor);
  transition: all 0.3s;
}

#faq_link ul li a:hover::before {
  background: url(img/faq_arr_hover.svg) top center / cover no-repeat;
}

.faq_box {
  max-width: 1000px;
  margin-inline: auto;
}

.faq_item:not(:last-of-type) {
  margin-bottom: 60px;
}

.faq_box .faq_list {
  width: 100%;
}

.faq_box h4 {
  padding: 8px 20px;
  font-size: 20px;
  color: var(--basebkcolor);
  background-color: var(--keycolor);
}

.faq_box .faq_list dt {
  border-bottom: 1px solid var(--keycolor);
  padding: 20px 10px 20px 120px;
  line-height: 1.8em;
  position: relative;
}

.faq_box .faq_list dt:hover {
  cursor: pointer;
  opacity: 0.6;
}

.faq_box .faq_list dt::before,
.faq_box .faq_list dt::after {
  content: "";
  display: block;
  width: 20px;
  height: 0px;
  border-bottom: 1px solid var(--accent);
  position: absolute;
  top: 32px;
  left: 50px;
}

.faq_box .faq_list dt::after {
  transform: rotate(-270deg);
  transition: all 0.5s;
}

.faq_box .faq_list dt.open {
  border-bottom: none;
}

.faq_box .faq_list dt.open::after {
  transform: rotate(0deg);
  transition: all 0.5s;
}

.faq_box .faq_list dd {
  padding: 20px 10px 20px 120px;
  line-height: 1.8em;
  display: none;
  position: relative;
}

.faq_box .faq_list dd::before {
  content: "A";
  padding: 0px 8px;
  color: var(--basebkcolor);
  font-size: 20px;
  text-align: center;
  background-color: var(--accent);
  position: absolute;
  top: 20px;
  left: 44px;
}

.faq_box .faq_list dd,
.faq_box .faq_list dd.open {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid var(--keycolor);
}

.contact_catch {
  margin-top: 60px;
}

.contact_catch h2 {
  font-size: 34px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #faq_link ul {
    column-gap: unset;
    justify-content: space-between;
  }

  #faq_link ul li {
    width: 49%;
  }
  .faq_box .faq_list {
    width: 100%;
  }

  .faq_box h4 {
    font-size: 16px;
  }

  .faq_box .faq_list dt {
    padding: 20px 10px 20px 50px;
  }

  .faq_box .faq_list dt::before,
  .faq_box .faq_list dt::after {
    left: 15px;
  }

  .faq_box .faq_list dd {
    padding: 20px 10px 20px 50px;
  }

  .faq_box {
    margin-bottom: 80px;
    padding: 0 14px;
  }

  .faq_box .faq_list dd::before {
    padding: 0px 6px;
    font-size: 20px;
    top: 20px;
    left: 12px;
  }

  .contact_catch h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
  }
}
@media screen and (max-width: 500px) {
  #faq_link {
    margin-bottom: 80px;
  }

  #faq_link ul {
    row-gap: 10px;
  }

  #faq_link ul li {
    width: 100%;
  }

  #faq_link ul li a {
    padding: 8px 10px;
    font-size: 16px;
  }

  .contact_catch h2 {
    font-size: 24px;
  }
}
@media screen and (max-width: 390px) {
  .faq_box {
    margin-bottom: 100px;
  }

  .contact_catch h2 {
    font-size: 20px;
  }
}

/** お問い合わせ **/

.contact_box{
	max-width: 800px;
	width: 100%;
	margin-inline: auto;
}

.contact_box tr{
	display: flex;
	flex-wrap: wrap;
}

.contact_box th{
	width: 200px;
	text-align: left;
	display: block;
}

.contact_box th,
.contact_box td{
	margin-bottom: 40px;
}

.contact_box th .hissu{
	display: inline-block;
	padding: 0 4px;
	margin-left: 14px;
	font-size: 12px;
	color: var(--basebkcolor);
	line-height: 1.3rem;
	background-color: #F06F6F;
}

.contact_box td{
	width: calc(100% - 200px);
}

.contact_box td input{
	max-width: 600px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 20px;
	border-radius: 6px;
	background-color: #F3F3F3;
	display: block;
	border: unset;
	line-height: 2;
}

.wpcf7-text,
.wpcf7-textarea {
	width: 100%;
	padding: 20px;
	border: unset;
	box-sizing: border-box;
	background-color: #F3F3F3;
}
.contact_box th .contact_text{
	display: block;
	font-weight: normal;
}

.contact_message{
	flex-direction: column;
}

.contact_message th,
.contact_message td{
	width: 100%;
}

.contact_box .contact_message th{
	margin-bottom: 10px;
}

.contact_box .contact_message td{
	height: 260px;
}

.wpcf7-spinner{
	display: none !important;
}

.wpcf7-submit{
	font-size: 18px;
	width: 260px;
	padding: 16px 20px;
	color: var(--basebkcolor);
	box-sizing: border-box;
	background-color: var(--keycolor);
}

.wpcf7 form.sent .wpcf7-response-output{
	border-color: var(--keycolor) !important;
}

@media screen and (max-width:768px) {
	.contact_box tr{
		flex-direction: column;
	}
	.contact_box th,
	.contact_box td{
		width: 100%;
	}

	.contact_box th{
		margin-bottom: 8px;
	}

	.contact_box td{
		margin-bottom: 20px;
	}

	.wpcf7-submit{
		font-size: 16px;
		padding: 10px 20px;
	}
}

/**** 背景の緑 ****/
.contact::after,
.archive::after {
  height: 1000px;
}

/* 404ページ */
.error404::after{
  content: unset !important;
}

#not_found{
  text-align: center;
}

#not_found .link_btn{
  margin-top: 20px;
}