/*
Theme Name: FPSplus
Theme URL: https://fpsplus.net/
Description: FPSplusのオリジナルテーマ
Author: onuki shota
Version: 1.0.0
*/

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

/* HERO */
.hero {
  background: url("images/fv.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 60px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.menu a {
    font-size: 18px;
    color: #fff;
}

.hero h1 {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 80px;
}

.btn {
    display: inline-block;
    padding: 25px 24px;
    background: #fff;
    border-radius: 4px;
    color: #e85c0d;
    text-decoration: none;
    font-size: 20px;
    max-width: 480px;
    width: 100%;
    position: relative;
}

.btn.white {
  background: #fff;
  color: #e85c0d;
  margin-top: 30px;
}

.btn:after {
    content: url(images/arrow.png);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    height: 27px;
}

/* SECTION */
.section {
  padding-top: 120px;
  max-width: 960px;
  margin: auto;
}

.h2-en {
    font-size: 26px;
    text-align: center;
    color: #e85c0d;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section h2:before {
    content: url("images/headline-icon.png");
    margin-right: 15px;
    height: 54px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.card img {
  width: 100%;
}

.card p {
    font-size: 24px;
    margin: 7px 0 12px;
    font-weight: bold;
}

.category {
    display: flex;
    gap: 10px;
}

.category span {
    font-size: 16px;
    padding: 5px 12px;
    background-color: #eee;
    color: #7f7f7f;
}

/* FEATURE */
.feature {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.feature img {
  width: 60%;
}

.feature .text {
    width: calc(40% + 60px);
    padding: 30px 40px;
    margin-left: -60px;
    background-color: #fff;
}

.text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.text p {
    font-size: 14px;
}

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

.feature.reverse .text {
    width: calc(40% + 60px);
    padding: 30px 40px;
    margin-right: -60px;
    z-index: 1;
    background-color: #fff;
}

/* CTA */
.cta {
  background: #e85c0d;
  color: #fff;
  text-align: center;
  padding: 40px 20px 70px;
  margin-top: 120px;
}

.telbtn {
  font-size: 52px;
  display: flex;
  letter-spacing: 0.02em;
  font-family: "DIN Alternate", "DIN Condensed", sans-serif;
  color: #fff;
  justify-content: center;
  align-items: center;
  margin-bottom: -10px;
}

.telbtn:before {
    content: "";
    height: 38px;
    width: 38px;
    margin-top: 4px;
    margin-right: 5px;
    background-size: cover;
    background-image: url(images/call.png);
}

/* FLOW */
.flow-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0px 40px;
    background-color: #fff;
    margin-bottom: 20px;
    height: 100px;
}

.flow-item img {
    position: absolute;
    bottom: -10px;
    left: 40px;
    z-index: 1;
    width: 25px;
    transform: rotate(90deg);
}

.item-l {
    display: flex;
    align-items: center;
    width: 220px;
}

.item-l p {
    font-size: 18px;
    font-weight: bold;
}

.item-num {
    color: #e85c0d;
    margin-right: 25px;
    font-size: 28px!important;
    font-weight: normal!important;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.item-r {
    font-size: 14px;
}


.faq {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

details {
    width: calc(50% - 10px);
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 5px;
}

details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: 18px;
    padding: 20px 25px;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

details summary::before,
details p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

details[open] summary::after {
    transform: rotate(225deg);
}

details p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    font-size: 14px;
    padding: 0 25px 20px;
    color: #333;
    transition: transform .5s, opacity .5s;
}

details[open] p {
    transform: none;
    opacity: 1;
}


/* COMPANY */
.company {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border-collapse: collapse;
}

tbody {
    border-top: 1px solid #ccc;
    font-size: 16px;
}

.company th,
.company td {
    border-bottom: 1px solid #ccc;
    padding: 25px 0;
    text-align: left;
}

.company th {
    width: 240px
}

/* FOOTER */
.footer {
  background: #363636;
  color: #fff;
  text-align: center;
  padding: 50px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-top a {
    width: 48px;
}

.footer-top a img {
    width: 100%;
}

.copy {
    font-size: 11px;
    color: #a9a9a9;
}

/* モーダル */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.gallery-modal.active {
  display: flex;
}

.modal-image {
  width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

/* 閉じる */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;

  color: white;
  background: none;
  border: none;

  font-size: 48px;
  cursor: pointer;
}

/* 左右ボタン */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(255,255,255,0.1);
  border: none;
  color: white;

  width: 60px;
  height: 60px;

  font-size: 32px;
  cursor: pointer;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

.sp {
    display: none;
}

/* ---------------- */
/* レスポンシブ */
/* ---------------- */
@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .menu {
        display: none;
    }
    .hero h1 {
        font-size: 24px;
        font-weight: normal;
    }
    .hero-inner {
        width: 100%;
        padding: 0 25px;
    }
    .btn {
        font-size: 18px;
    }
    .btn:after {
        content: "";
        background-image: url(images/arrow.png);
        position: absolute;
        background-size: cover;
        width: 21px;
        /* height: 20px; */
        top: 50%;
        transform: translateY(-50%);
        right: 30px;
        height: 16px;
    }
    .h2-en {
        font-size: 18px;
    }
    .section {
        width: 100%;
        padding: 80px 25px 0;
        margin: auto;
    }
    .section h2 {
        margin-bottom: 40px;
        font-size: 26px;
    }
    .section h2:before {
        content: "";
        margin-right: 5px;
        background-image: url(images/headline-icon.png);
        background-size: cover;
        height: 32px;
        width: 32px;
    }
    .card p {
        font-size: 18px;
        margin: 5px 0 10px;
    }
    .category span {
        font-size: 12px;
        padding: 3px 10px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .feature img,
    .feature .text {
        width: 100%;
    }
    .feature .text {
        padding: 20px 25px;
        margin-left: 0;
    }
    .text h3 {
        font-size: 20px;
    }
    .text p {
        font-size: 13px;
    }
    .feature.reverse {
        flex-direction: column;
    }
    .feature.reverse .text {
        padding: 20px 25px;
        margin-right: 0;
        width: 100%;
    }
    .telbtn {
        font-size: 36px;
        margin-bottom: -5px;
    }
    .telbtn:before {
        width: 32px;
        height: 32px;
    }
    .btn.white {
        margin-top: 25px;
    }
    .cta {
        padding: 40px 20px 50px;
        margin-top: 80px;
    }
    .flow-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px 25px 20px;
        height: auto;
    }
    .flow-item img {
        bottom: -12px;
        left: 25px;
    }
    .item-l {
        margin-bottom: 5px;
    }
    .item-num {
        margin-right: 15px;
    }
    .item-r {
        font-size: 13px;
    }
    details {
        width: 100%;
    }

    details summary {
        gap: 15px;
        font-size: 14px;
    }

    details p {
        font-size: 13px;
    }

    .faq {
        gap: 10px;
    }

    .company th {
        width: 80px;
        padding: 15px 0;
        font-size: 14px;
    }

    .company td {
        font-size: 13px;
        padding: 15px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        font-size: 13px;
    }

}