@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap");

/* daiei */
body {
  --main-color: rgb(209, 66, 44);
  --txt-c: #56534c;
  --max-width: 1200px;
  --column-max-width: 1080px;
  --light-gray: #e1e1e1;
  color: var(--txt-c);
  --table-border-c: #65839f;
  --black: #333;
  margin: 0;
}

li {
  list-style-type: none;
}

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

.wrap {
  margin-left: auto;
  margin-right: auto;
}

.df {
  display: flex;
}

.tac {
  text-align: center;
}

.title {
  text-align: center;
}

.title.df {
  justify-content: center;
}

.por {
  position: relative;
}

.poa {
  position: absolute;
}

.card-wrap {
  display: flex;
  flex-wrap: wrap;
}

.col2,
.col3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: inherit !important;
}

.col2 > * {
  width: 46%;
  margin-bottom: 50px;
}

.col3 > * {
  width: 30%;
  margin-bottom: 50px;
}

address {
  font-style: normal;
}

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

.grid3 > * {
  width: 30%;
}

button {
  font-weight: bold;
  background: #ccc;
  display: block;
  border: none;
}

button img {
  margin-top: 3px;
}

/* button span {
  color: #fff;
} */

.spgrid1 {
  display: flex;
  gap: 0 !important;
}

.spgrid1 main {
  width: 65%;
}

.spgrid1 main a {
  line-height: 2;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.spgrid1 main a .thumbnail {
  width: 30%;
}

.spgrid1 main a .contents {
  width: 66%;
}

.spgrid1 aside {
  width: 32%;
}

section * {
  line-height: 1.5;
}

/* Fonts一括指定 */
.feature .flow .wrap .step .desc-box .title .stepnum,
#flow
  main
  .flow-overviews
  .wrap
  .step-wrap
  .step
  .desc-box
  .title
  .step-num-box,
.service main section.main .img-box .title .en,
.plan main section.market-price > .wrap .title .en {
  font-family: "Josefin Sans", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/*
 * 文字の色: 特定の場所
 */
#feature main .flow .wrap .step .img-box {
  color: var(--txt-c);
}

header h1 {
  color: white;
}

.bgg-gray {
  /* background-color: #f6f7f6 !important; */
}

#feature,
#flow {
  position: relative;
}

/*
 * ぱんくず: Page: feature/flow
 */
main .breadcrumbs {
  /* background-color: whitesmoke; */
  width: 100%;
  font-size: 13px;
}

main .breadcrumbs .wrap {
  max-width: var(--max-width);
  padding: 10px 0;
}

/*
 * Header
 */
header {
  background-color: #fda889;
  z-index: 1;
}

header .wrap .logo-wrap img {
  width: 200px;
}

header nav {
  background-color: white;
  border-bottom: 3px solid var(--main-color);
  z-index: 2;
}

header nav .wrap {
  padding: 10px 0;
}

header nav .wrap .menu li {
  margin: 20px 20px 0;
}

header nav .wrap .menu li a {
  font-size: 13px;
  /* margin: 0 20px; */
}

header nav ul li a .border {
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 5px;
}

header > .wrap {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
}

header > .wrap .img-wrap {
  margin-top: 85px;
}

#plan header > .wrap .contents-wrap,
#feature header > .wrap .contents-wrap,
#faq header > .wrap .contents-wrap,
#flow header > .wrap .contents-wrap {
  position: absolute;
  left: 0;
  bottom: 25%;
}

#plan header nav .logo-wrap.fade-in,
#faq header nav .logo-wrap.fade-in,
#top header nav .logo-wrap.fade-in,
#feature header nav .logo-wrap.fade-in,
#flow header nav .logo-wrap.fade-in {
  transform: scale(1, 1);
}

#plan header > .wrap,
#faq header > .wrap,
#feature header > .wrap,
#flow header > .wrap {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#plan header > .wrap .ja,
#faq header > .wrap .ja,
#feature header > .wrap .ja,
#flow header > .wrap .ja {
  font-size: 1rem;
  font-weight: bold;
  color: #464646;
}

#plan header > .wrap .en,
#faq header > .wrap .en,
#faq header > .wrap .en,
#feature header > .wrap .en,
#flow header > .wrap .en {
  font-size: 5rem;
  margin: 0;
  color: #2a2a2a;
  line-height: 1;
}

header nav .wrap ul li a span:first-child {
  font-weight: 600;
  margin-bottom: 4px;
}

header nav .wrap ul li a span:first-child,
header nav .wrap ul li a span:nth-child(2) {
  display: block;
  text-align: center;
}

header nav .wrap ul li a .en {
  font-size: 11px;
}
/*
 *  <main> area
 */

.top main section.plan > .wrap {
  max-width: 1050px;
}

.feature main .flow .wrap,
.flow main .flow-overviews .wrap {
  max-width: 1100px;
}

main section .title .en {
  color: var(--main-color);
}

main section .shadow {
  box-shadow: 5px 5px 5px rgb(202, 202, 202);
}

main section .title .discription {
  font-size: 1.5rem;
}

main section .wrap-title h2 .left-b {
  transform: rotate(45deg);
}

main section .wrap-title h2 .right-b {
  transform: rotate(135deg);
}

main section .wrap-title h2 .left-b,
main section .wrap-title h2 .right-b {
  display: block;
  height: 1px;
  background-color: red;
  width: 40px;
}

#feature main .flow .wrap .step,
#flow main .flow-details .wrap .step,
#flow main .flow-overviews .wrap .step {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Swiper */
.works .swiper .swiper-slide {
  border-bottom: 1px solid #d7d9d9;
}

.bt-wrap a {
  color: #fff;
  line-height: 1.5;
  background: var(--main-color);
  display: inline-block;
  position: relative;
}

.bt-wrap a::before {
  content: "";
  border-right: 1px solid var(--main-color);
  width: 1px;
  height: 100%;
  top: 5px;
  right: -5px;
  position: absolute;
}

.bt-wrap a::after {
  content: "";
  border-bottom: 1px solid var(--main-color);
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 5px;
  position: absolute;
}

/*
 * Box-size: width;
 * - feature/flow
 */
#feature main .flow .wrap .step .disc-box,
#flow main .flow-overviews .wrap .step .disc-box {
  width: 47%;
}

#flow main .flow-details .wrap .step .desc-box .title img,
#feature main .flow .wrap .step .desc-box .title img {
  margin: 1.5rem 0 0;
}

main hr.separate-border {
  border: 1px solid #d0d0d0;
  margin: 0;
}

/*
 * first section no name
 */
main section.first .wrap {
  max-width: 790px;
}

#top main section.first .content {
  display: flex;
  background: url("../images/top/support-bg.png") bottom repeat-x;
  background-color: #f3f7f8;
}

/*
 * about
 */
main section.about .wrap .col2 {
  display: flex;
  padding: 8rem 0;
  margin: 0 auto;
}

main section.about .wrap .col2 > * {
  margin-bottom: 40px;
}

main section.about .wrap .col2 .r-area,
main section.about .wrap .col2 .l-area {
  width: 50%;
}

main section.about .wrap .col2 .l-area .title {
  text-align: left;
}

main section.about .wrap .col2 .l-area .title .border {
  margin: 0;
  width: 100px;
}

main section.about .wrap .col2 .l-area .content p {
  line-height: 2;
}

main section.about .wrap .col2 .l-area .content .discription {
  font-size: 28px;
  line-height: 1.5;
  margin: 20px 0;
}

main section.about .wrap .wrap-kadai {
  width: 80%;
  margin: 0 auto;
}

main section.about .wrap .wrap-kadai h2 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  margin-bottom: 3rem;
}

main section.about .wrap .wrap-kadai h2 .left-b,
main section.about .wrap .wrap-kadai h2 .right-b {
  display: block;
  height: 1px;
  background-color: red;
  width: 40px;
}

main section.about .wrap .wrap-kadai h2 .left-b {
  transform: rotate(45deg);
}

main section.about .wrap .wrap-kadai h2 .right-b {
  transform: rotate(135deg);
}

main section.about .wrap .wrap-kadai ul.kadai-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
}

main section.about .wrap .wrap-kadai .kadai-list li {
  border-bottom: 2px dashed #d5d7d5;
  padding-bottom: 0.5rem;
  display: flex;
}

main section.about .wrap .wrap-kadai .kadai-list li img {
  width: 22px;
  margin-right: 5px;
  margin-top: -1px;
}

main section.about .wrap .our-feature-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem auto 5rem;
  box-shadow: 4px 4px #dbdbdb;
  border-radius: 15px;
  max-width: 1200px;
  padding: 2rem 1rem;
  background-color: #f3f7f8;
}

main section.about .wrap .our-feature-box .title {
  border-right: 2px dashed var(--green-smork);
  width: 40%;
  text-align: left;
}

main section.about .wrap .our-feature-box .title .en {
  font-size: 1rem;
  color: var(--green-smork);
  letter-spacing: 1px;
  margin-bottom: 0px;
}

main section.about .wrap .our-feature-box .title .ja {
  font-size: 2rem;
  margin: 0;
  font-weight: normal;
  line-height: 1.5;
}

main section.about .wrap .our-feature-box .detail {
  padding: 1rem 0 1rem 2rem;
  font-size: 1rem;
  line-height: 1.9;
}

main section.about .wrap .col3-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.5rem 0;
  box-shadow: 2px 3px 1px #dbdbdb;
}

main section.about .wrap .col3-area .point {
  border-right: 1.5px solid #d1d1d1;
  padding: 1rem;
}

main section.about .wrap .col3-area .point .title {
  width: 20%;
}

main section.about .wrap .col3-area .point p {
  font-size: 1.3rem;
  margin: 0;
  color: var(--txt-c);
}

main section.about .wrap .col3-area .point:last-child {
  border-right: none;
}

main section.about .wrap .col3-area img:first-child {
  width: 100%;
}

main section.about .wrap .col3-area img:last-child {
  width: fit-content;
}

main section.about .wrap .aboutus-contact-area {
  max-width: 700px;
  margin: 3rem auto;
}

main section.about .wrap .aboutus-contact-area p {
  text-align: center;
  font-size: 1.5rem;
}

/*
 *  Company: president
 */
section.president .contents .col2 > div {
  color: var(--main-color);
  padding: 10px 30px;
}

/*
 *  Company: company
 */
section.company .card-box .contents {
  padding: 10px 30px;
}

/* .company section.company .contents table .card-wrap {
  margin: 0 -100px;
} */

/*
 *  Company: quality
 */
[class^="company"] section.quality .contents {
  max-width: 80%;
  margin: 0 auto;
  font-size: 22px;
}

[class^="company"] section.quality .contents .col2 ol {
  padding-left: 25px;
  display: grid;
  gap: 20px;
}

[class^="company"] section.policy .wrap {
  padding-top: 0;
  max-width: 1000px;
}

/*
 *  saiyou
 */
.top .saiyou .contents .left {
  display: flex;
  align-items: end;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.top .saiyou .contents .right {
  padding: 10px 20px;
}

@media screen and (max-width: 640px) {
  main section.saiyou .contents > div {
    gap: 0;
  }

  .top .saiyou .contents .right {
    padding: 0;
  }

  main section.saiyou .contents .right .btn {
    width: 90%;
  }
}

/*
 *  Achievement: quality
 */
.achievement li {
  list-style-type: none;
}

/*
 * Title: eng
 */
main section.service .wrap .title .en {
  line-height: 1;
  margin: 10px auto 0;
}

main section.plan .wrap button {
  margin: 50px auto 20px;
}

/*
 * column は共通
 */
main section.column {
  background-image: url("../images/top/bg-column.png");
  background-size: cover;
  background-repeat: no-repeat;
}

main section.column .wrap {
  max-width: var(--column-max-width);
}

main section.column > .wrap {
  display: flex;
  justify-content: center;
}

main section.column .wrap .l-area {
  width: 60%;
  padding: 40px;
}

main section.column .wrap .r-area {
  width: 40%;
}

main section.column .wrap .l-area .title {
  display: flex;
  align-items: start;
  flex-direction: column;
}

main section.column .wrap .l-area .title .en {
  margin-left: 0;
}

main section.column .wrap .l-area .title .border {
  margin: 0;
  width: 120px;
}

main section.column .wrap .l-area .content {
  font-size: 0.9rem;
  padding-top: 1.5rem;
}

main section.column .wrap .l-area .content .discription {
  line-height: 2;
}

main section.column .wrap .l-area .content .img-wrap {
  width: 300px;
  margin: 20px;
}

/* max-width */
@media screen and (max-width: 640px) {
  main section.etc .wrap,
  main section.sns .wrap,
  main section.pdf .wrap {
    max-width: 95vw;
  }
}

/*
 * contact セクション　は共通
 */
section.contact {
  background-color: var(--main-color);
}

main section.contact .wrap {
  max-width: 1200px;
  padding: 7rem 0;
}

main section.contact .wrap .title {
  flex-direction: column;
}

main section.contact .wrap .title .ja {
  font-size: 35px;
}

main section.contact .wrap .title .en {
  font-size: 22px;
  margin-top: 10px !important;
}

main section.contact .wrap .title .ja,
main section.contact .wrap .title .en {
  letter-spacing: 1px;
}

main section.contact .wrap .title .discription {
  font-size: 1.2rem;
  margin-top: 35px;
}

main section.contact .wrap .content {
  /* display: flex;
    justify-content: center;
    align-items: center; */
  padding-top: 30px;
}

main section.contact .wrap .content .tell {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 3rem;
}

main section.contact .wrap .content .tell span {
  font-size: 0.9rem;
  font-family: "Noto Sans JP";
  font-weight: normal;
}

main section.contact .wrap .content button {
  /* width: 230px; */
  /* height: 55px; */
}

@media screen and (max-width: 640px) {
  .col2 > * {
    width: 100%;
    margin-bottom: 40px;
  }

  .col3 > * {
    width: 100%;
    margin-bottom: 40px;
  }

  address {
    font-style: normal;
  }

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

  .grid3 > * {
    width: 100%;
  }

  .spgrid1 main {
    width: 100%;
  }

  main section.contact .wrap {
    padding: 70px 0;
  }

  main section.contact .wrap .title .ja {
    width: 230px !important;
    font-size: 28px;
  }

  main section.contact .wrap .contents address {
    gap: 0px;
  }

  main section.contact .wrap .contents address > div {
    padding: 0 10px;
  }

  main section.contact .wrap .contents address a {
    display: block;
    grid-template-columns: 1fr 4fr;
    gap: 0px;
  }

  main section.contact .contents address img {
    width: 60px;
  }

  main section.contact .wrap .contents address .tell-wrap .tell,
  main section.contact .wrap .contents address .fax-wrap .fax {
    margin: 0;
    padding-bottom: 10px;
    font-size: 39px;
    font-weight: normal;
  }

  main section.contact .wrap .contents address .mail-wrap {
    text-align: center;
    width: 80%;
    padding: 20px 0 0;
    margin: 0 auto;
  }

  .spgrid1 main a .thumbnail {
    width: 100%;
  }

  .spgrid1 main a .contents {
    width: 100%;
  }
}

/*
 * footer
 */
footer {
  background-image: url(../images/top/footer-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 590px;
}

footer .wrap {
  max-width: 1200px;
  height: 100%;
  position: relative;
}

footer .wrap .footer-menu ul {
  margin-left: 2rem;
}

footer .wrap .footer-menu ul li img {
  width: 15px;
  margin-right: 5px;
}

footer .sns a {
  width: 35px;
}

footer .wrap .footer-menu .service li:not(:first-child),
footer .wrap .footer-menu ul:last-child li:last-child {
  font-size: 0.9rem;
  padding-bottom: 0.7rem;
  padding-left: 1rem;
}

footer .wrap .footer-menu ul:last-child li:last-child {
  padding-left: 0;
}

footer .wrap .copyright {
  text-align: end;
  color: white;
  margin: 1.5rem 7rem 0 auto;
  font-size: 0.9rem;
}

footer .wrap > p {
  margin: 0;
  color: white;
  /* position: absolute; */
  /* bottom: 30px; */
  font-size: 20px;
  /* left: 50%; */
  /* transform: translateX(-50%); */
}

@media screen and (max-width: 640px) {
  footer {
    height: auto;
  }

  footer .wrap {
    padding: 50px 0 10px;
  }

  footer .wrap .company-info .tell {
    margin: 5px 0 0;
  }

  footer .wrap .copyright {
    width: 100%;
    text-align: center !important;
    margin: 0 !important;
    padding-top: 100px;
  }

  footer .sns {
    justify-content: center;
    margin: 0 auto;
  }
}
