@charset "utf-8";
/* CSS Document */

:root {
  --color-primary: #6ad928;
  --color-secondary: #e5f6ff;
  --color-black: #333333;
  --color-white: #fff;
  --color-light-gray: #f7f7f7;
  --color-pale-gray: #d7d7d7;
  --color-dark-gray: #7a7974;
  --color-warning: #ffc09e;
  --color-sub: #f5f2e8;

  --fontSize-large: 3.2rem;
  --fontSize-medium: 2rem;
  --fontSize-normal: 1.6rem;
  --fontSize-small: 1.4rem;
}

/* =================================================================
 * 
 *  共通
 * 
 * ================================================================= */

html {
  font-size: 62.5%; /*16px × 62.5=10px*/
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", "M PLUS 1p", sans-serif;
  color: var(--color-black);
  font-size: var(--fontSize-normal);
  font-weight: 400; /* regular-400 medium-500 bold-700 */
  font-feature-settings: "palt";
  line-height: 1.8;
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

a {
  color: currentColor;
  text-decoration: none;
  transition: all 0.2s;
}

a:hover,
a:focus {
  opacity: 0.7;
}

.text-center {
  text-align: center;
}

/* デバイスごとの非表示
 * ====================== */

/* spの時、.pc=非表示 */
.pc {
  display: none;
}

/* pcの時、.sp=非表示 .pc=表示 */
@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
}

/* セクション
 * ====================== */

.section {
  padding: 60px 0;
}
@media screen and (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section__inner {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding: 0 20px;
}

/* 見出しと説明
 * ====================== */

/* セクションタイトル*/
.section__title {
  margin-inline: auto;
  margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .section__title {
    margin-bottom: 60px;
  }
}

.section__title:has(+ .section__discription) {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .section__title:has(+ .section__discription) {
    margin-bottom: 30px;
  }
}

.strengths .section__title {
  width: calc(285px * 0.8);
}
@media screen and (min-width: 768px) {
  .strengths .section__title {
    width: 285px;
  }
}

.company .section__title {
  width: calc(125px * 0.8);
}
@media screen and (min-width: 768px) {
  .company .section__title {
    width: 125px;
  }
}

.contact .section__title {
  width: calc(186px * 0.8);
}
@media screen and (min-width: 768px) {
  .contact .section__title {
    width: 186px;
  }
}

.ir .section__title {
  width: calc(152px * 0.8);
}
@media screen and (min-width: 768px) {
  .contact .section__title {
    width: 152px;
  }
}

.thanks .section__title {
  width: calc(186px * 0.8);
}
@media screen and (min-width: 768px) {
  .contact .section__title {
    width: 186px;
  }
}

.section__discription {
  margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .section__discription {
    margin-bottom: 60px;
  }
}

.section__discription p {
  width: fit-content;
  margin-inline: auto;
}

/* リストスタイル
 * ====================== */

ul {
  list-style: none;
}

/* 黒丸 */
ul li.decimal::before {
  content: " ";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 0.3em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-black);
  transform: translateY(-50%);
}

/* 白丸 */
ul li.decimal-white::before {
  content: " ";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 0.3em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: solid 1px var(--color-black);
  background-color: var(--color-white);
  transform: translateY(-50%);
}

/* 文字 強調 強弱
 * ====================== */

/* ボタン
 * ====================== */

.btn a {
  padding: 0 15px;
  background-color: var(--color-primary);
  border: solid 3px var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .btn a:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
  }
}

.small-btn a {
  border-radius: 5px;
}

.back-btn {
  margin-top: 60px;
  text-align: center;
  font-weight: 500;
}

.back-btn a {
  padding: 10px;
}

.back-btn a:hover {
  opacity: 1;
  color: var(--color-primary);
}

.back-btn a i {
  display: inline-block;
  margin-right: 10px;
}

/* =================================================================
 * 
 *  セクション
 * 
 * ================================================================= */

/* ======================
 *
 * header
 *
 * ====================== */

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 100%;
  background-color: var(--color-white);
}

.header.shadow {
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding: 10px 20px;
}

/* header__logo
====================== */

.header__logo {
  width: 184px;
  height: 60px;
}

.header__logo a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

/* menu__list 
====================== */

.menu__list {
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  list-style: none;
  background-color: var(--color-white);
  transform: translateX(100%);
  transition: 0.3s ease;
}
@media screen and (min-width: 768px) {
  .menu__list {
    position: static;
    gap: 20px;
    flex-direction: row;
    transform: none;
  }
}

body.open .menu__list {
  transform: translateX(0);
}

/* menu__item
====================== */

.menu__item {
  align-items: center;
  width: 230px;
  border-bottom: solid 1px var(--color-pale-gray);
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .menu__item {
    width: auto;
    border: none;
  }
}

.menu__item:last-of-type {
  margin-top: 20px;
  border: none;
}
@media screen and (min-width: 768px) {
  .menu__item:last-of-type {
    margin-top: 0;
  }
}

.menu__item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 10px;
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .menu__item a {
    padding: 0;
  }
}

@media screen and (min-width: 768px) {
  .menu__item a:hover {
    color: var(--color-primary);
  }
}

/* menu__contact
====================== */

.menu__contact a {
  display: grid;
  grid-template-columns: 21px 100px;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 15px;
  align-items: center;
  text-align: center;
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .menu__contact a {
    grid-template-columns: 21px 1fr;
    width: 170px;
    padding: 5px 15px;
  }
}

.menu__contact i {
  margin-right: 5px;
  font-size: var(--fontSize-medium);
}

/* header__button
====================== */

.header__button {
  display: flex;
  position: fixed;
  align-items: center;
  z-index: 30;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background-color: var(--color-white);
}
@media screen and (min-width: 768px) {
  .header__button {
    display: none;
  }
}

.header__button span {
  display: block;
  position: relative;
  top: 0;
  width: 24px;
  height: 3px;
  margin-inline: auto;
  background-color: var(--color-black);
}

.header__button span::before,
.header__button span::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-black);
  transition: all 0.3s;
}

.header__button span::before {
  top: -9px;
}

.header__button span::after {
  top: 9px;
}

body.open .header__button span {
  background-color: transparent;
}

body.open .header__button span::before,
body.open .header__button span::after {
  top: 0;
}

body.open .header__button span::before {
  transform: rotate(45deg);
}

body.open .header__button span::after {
  transform: rotate(-45deg);
}

/* ======================
 *
 * mv
 *
 * ====================== */
.mv {
  padding-top: 80px;
}

.mv__text {
  display: block;
  width: 20%;
  margin-top: 7%;
  margin-bottom: 10%;
  margin-inline: auto;
}
@media screen and (min-width: 500px) {
  .mv__text {
    width: 50%;
    margin-inline: inherit;
    padding-left: 10%;
  }
}

.mv__img {
  position: relative;
  padding-left: 15%;
}
@media screen and (min-width: 500px) {
  .mv__img {
    padding-left: 10%;
  }
}

.mv__img::after {
  display: inline-block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -10;
  width: 20%;
  height: 50%;
  background-color: var(--color-sub);
}
@media screen and (min-width: 500px) {
  .mv__img::after {
    width: 15%;
  }
}

.mv__img .mv__message {
  position: absolute;
  right: 10px;
  top: -10%;
  width: 60%;
}
@media screen and (min-width: 500px) {
  .mv__img .mv__message {
    width: 40%;
  }
}

/* scrolldown
====================== */

/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  top: 7%;
  left: 7%;
  writing-mode: vertical-rl;
  font-size: 1.2rem;
  transform: translate(-50%, 0%);
}
@media screen and (min-width: 500px) {
  .scroll {
    top: 5%;
    left: 5%;
    font-size: 1.4rem;
  }
}

/* 線のアニメーション部分 */
.scroll::before {
  position: absolute;
  content: "";
  margin: auto;
  bottom: -65px;
  left: 0;
  right: 0;
  height: 50px;
  width: 1px;
  background-color: var(--color-black);
  animation: scroll 2s infinite;
}
@media screen and (min-width: 500px) {
  .scroll::before {
    bottom: -115px;
    height: 100px;
  }
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* ======================
 *
 * strengths
 *
 * ====================== */
.strengths {
  background-image: url(../img/strength-07.png);
  background-position: top center;
  background-size: cover;
}

.strengths__card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.strengths__card li {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 15px;
}

.card__num {
  display: block;
  margin-inline: auto;
  margin-bottom: 30px;
  width: 1.1em;
  border-bottom: solid 5px var(--color-primary);
  font-size: var(--fontSize-large);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.card__icon {
  margin-inline: auto;
  margin-bottom: 20px;
  width: calc(126px * 0.8);
}
@media screen and (min-width: 768px) {
  .card__icon {
    margin-bottom: 30px;
    width: 126px;
  }
}

.card__title {
  margin-inline: auto;
  margin-bottom: 10px;
  width: fit-content;
  font-weight: 500;
  font-size: var(--fontSize-normal);
}

/* ======================
 *
 * slide
 *
 * ====================== */

img.slide {
  width: 375px;
  object-fit: cover;
}

/* ======================
 *
 * company
 *
 * ====================== */
.company .section__inner {
  max-width: 808px;
}

.company .small-btn {
  margin-bottom: 20px;
  text-align: right;
}

.company .small-btn i {
  margin-left: 5px;
}

.company .small-btn span {
  font-family: "M PLUS 1p", sans-serif;
  padding-bottom: 10px;
}

.company__info {
  margin-bottom: 20px;
}

.section__subtitle {
  position: relative;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: solid 1px var(--color-pale-gray);
  font-weight: 500;
  font-size: var(--fontSize-normal);
}

.section__subtitle:after {
  position: absolute;
  content: " ";
  display: block;
  left: 0;
  bottom: -2px;
  width: 100px;
  border-bottom: solid 2px var(--color-primary);
}

.section__subtitle span {
  display: inline-block;
  width: 100px;
  text-align: center;
}

/* company__info
====================== */

.company__info > dl {
  padding: 10px;
  gap: 20px;
  border-bottom: solid 1px var(--color-pale-gray);
}
@media screen and (min-width: 768px) {
  .company__info > dl {
    display: flex;
  }
}

.company__info > dl:last-of-type {
  border: none;
}

.company__info dt {
  width: 90px;
  margin-bottom: 5px;
  color: var(--color-dark-gray);
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .company__info dt {
    margin-bottom: 0;
  }
}

.company__info > dl > div {
}

/* map
====================== */

.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 50%;
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .map {
    margin-bottom: 90px;
  }
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* company__history
====================== */

.company__history {
  margin-left: 5px;
}

.company__history div {
  position: relative;
  gap: 20px;
  padding: 10px 0;
}
@media screen and (min-width: 768px) {
  .company__history div {
    display: flex;
  }
}

.company__history div ::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.company__history div ::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 9px;
  top: 10px;
  bottom: -10px;
  width: 2px;
  background-color: var(--color-pale-gray);
}

.company__history div:last-of-type ::after {
  bottom: 5px;
}

.company__history dt {
  padding-left: 30px;
  color: var(--color-dark-gray);
  font-weight: 500;
}

.company__history dd {
  padding-left: 30px;
}
@media screen and (min-width: 768px) {
  .company__history dd {
    padding-left: 0;
  }
}

/* ======================
 *
 * contact
 *
 * ====================== */

.contact.section {
  padding: 60px 0 120px;
}
@media screen and (min-width: 768px) {
  .contact.section {
    padding: 120px 0 120px;
  }
}

.contact .section__inner {
  max-width: 808px;
}

.contact {
  background-image: url(../img/strength-07.png);
  background-position: top center;
  background-size: cover;
}

.contact h3 {
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 20px;
  font-size: var(--fontSize-normal);
  font-weight: 400;
}

/* contact__tel
====================== */

.contact__tel {
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .contact__tel {
    margin-bottom: 90px;
  }
}

.tel-btn a {
  display: grid;
  grid-template-columns: 21px 140px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 230px;
  margin-inline: auto;
  padding: 5px 15px;
  text-align: center;
  border-radius: 7.5px;
  font-weight: 500;
  font-size: var(--fontSize-medium);
}
@media screen and (min-width: 768px) {
  .tel-btn a {
    grid-template-columns: 21px 250px;
    border: var(--color-white);
    width: 100%;
    padding: 30px;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: var(--fontSize-large);
    pointer-events: none;
  }
}

.tel-btn:first-of-type {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .tel-btn:first-of-type {
    margin-bottom: 0;
  }
}

.tel-btn:first-of-type a {
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .tel-btn:first-of-type a {
    padding-bottom: 10px;
    border-radius: 7.5px 7.5px 0 0;
    letter-spacing: 0.1em;
  }
  .tel-btn:last-of-type a {
    padding-top: 10px;
    border-radius: 0 0 7.5px 7.5px;
    letter-spacing: 0.05em;
  }
}

.tel-btn i {
  font-size: var(--fontSize-medium);
  margin-right: 5px;
}

/* contact__mail
====================== */
.form {
  padding: 40px 0;
  border-radius: 7.5px;
  background-color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .form {
    padding: 60px 0;
  }
}

.form__inner {
  max-width: 90%;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .form__inner {
    max-width: 500px;
  }
}

table.formTable {
  width: 100%;
  margin: 0 auto 30px;
  border-collapse: collapse;
}

table.formTable tr {
  display: grid;
  margin-bottom: 20px;
}

table.formTable th {
  margin-bottom: 10px;
  font-weight: normal;
  text-align: left;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 5px 10px;
  background-color: var(--color-light-gray);
  border-radius: 5px;
  border: solid 1px var(--color-pale-gray);
}

/* 必須 任意 */
.warning {
  margin-right: 10px;
  padding: 0 10px;
  font-weight: 500;
  border-radius: 5px;
  border: solid 2px var(--color-warning);
}

.required {
  background-color: var(--color-warning);
  color: var(--color-white);
}

.optional {
  background-color: var(--color-white);
  color: var(--color-warning);
}

/* scroller */
.scroller {
  margin: 0 auto 20px;
  width: 100%;
  height: 150px;
  padding: 20px;
  overflow-y: scroll;
  background-color: var(--color-white);
  border: solid 1px var(--color-pale-gray);
  border-radius: 5px;
  font-size: var(--fontSize-small);
}

/* 送信ボタン */
input[type="submit"] {
  width: 40%;
  padding: 7px 20px;
  background-color: var(--color-primary);
  border: solid 2px var(--color-primary);
  color: var(--color-white);
  border-radius: 5px;
  font-weight: 500;
}
input[type="submit"]:hover {
  background-color: var(--color-white);
  border: solid 2px var(--color-primary);
  color: var(--color-primary);
}

/* リセットボタン */
input[type="reset"] {
  width: 40%;
  padding: 5px 20px;
  background-color: var(--color-white);
  border: solid 2px var(--color-pale-gray);
  color: var(--color-pale-gray);
  border-radius: 5px;
}

input[type="reset"]:hover {
  background-color: var(--color-white);
  border: solid 2px var(--color-primary);
  color: var(--color-primary);
}

/* チェックボックス */
input[type="checkbox"] {
  accent-color: var(--color-primary);
}

/* privacy
====================== */
.privacy h4 {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: small;
}

.privacy h5 {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: small;
}

.privacy div {
  margin-bottom: 20px;
}

.privacy div:last-of-type {
  margin-bottom: 0;
}

.privacy ul {
  list-style: disc;
  padding-left: 25px;
}

.privacy p {
  margin-bottom: 0.5em;
}

/* ======================
 *
 * footer
 *
 * ====================== */

/* pabe top
====================== */
.page-top {
  position: absolute;
  top: -100px;
  right: 10px;
}
.page-top a {
  display: inline-block;
  width: 50px;
  padding: 10px;
}

/* footer 
====================== */
.footer {
  position: relative;
  padding: 10px;
  text-align: center;
  color: var(--color-white);
  font-size: var(--fontSize-small);
  background-color: var(--color-dark-gray);
}
