/* ↓自分なりのcss */

/* 画像を真ん中にしてブロック要素に変える */
body img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  top: 0;
}

/* メイン画像を60％にして上のマージンを開ける */
div#naraberu {
  width: 60%;
  margin: auto;
  margin-top: 6em;
}

@media (max-width: 780px) {
  div#naraberu {
    width: 100%;
    margin: auto;
    margin-top: 5.7em;
  }
}

/* -----ここからheader部分↓---- */
header {
  width: 100%;
  height: 6em;
  z-index: 9999;
  position: fixed;
  background-color: #f6f6f6;
  top: 0;
  right: 0;
}

header .inner {
  display: flex;
  padding: 10px 20px 10px 20px;
  margin: auto;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  height: 100px;
  width: 100%;
  min-width: 300px;
  align-items: center;
}

header .inner > h1 {
  width: 21%;
  max-width: 180px;
  margin-top: 0px;
}

header .inner > nav {
  max-width: 630px;
  width: 100%;
}

nav img {
  width: 210px;
  margin: 0;
  padding: 0;
}

/* 点々消す */
ol,
ul {
  list-style: none;
}

header .inner nav ul {
  display: flex;
  max-width: 100%;
  /* width: 440px; */
  gap: 0.8em;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  header .inner nav ul {
    display: flex;
    max-width: 138px;
    width: 100%;
    gap: 0.4em;
    align-items: flex-start;
    justify-content: flex-end;
    /* margin-top: 5px; */
  }
}

/* 780px以下 */
@media (max-width: 780px) {
  header .inner > h1 {
    width: 100%;
    max-width: 200px;
    padding: 5px 0px 0 0px;
    margin: 0;
  }

  header .inner > nav {
    width: 65%;
    max-width: 230px;
    padding: 0px 0;
    margin-top: 10px;
  }

  header .inner > nav ul li {
    width: 33%;
  }

  header .inner > nav ul li {
    margin-top: 10px;
  }

  header {
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 999;
    background-color: #ffffffdb;
    top: 0;
    right: 0;
    height: 93px;
  }

  header .inner {
    width: 100%;
    height: 91px;
    margin: auto;
  }
}

@media (min-width: 780px) {
  nav ul {
    justify-content: flex-end;
  }
}

@media (max-width: 500px) {
  header {
    height: 82px;
  }

  header .inner {
    height: 67px;
  }
}

@media (max-width: 500px) {
  header .inner > h1 {
    width: 95%;
    max-width: 180px;
    padding: 13px 10px 0px 0px;
    margin: 0;
  }

  div#naraberu {
    max-width: 100%;
    margin: auto;
    margin-top: 5.1em;
  }
}

/* -----ここまでheader----- */

/* -------お問い合わせフォーム------- */
.bg_fff {
  background-size: 100%;
  background-position: center;
  /* background-image: url(../image/back03.png); */
  background-color: #fefbe9;
  margin: -1px auto 0;
  width: 60%;
}

/* 780px以下 */
@media (max-width: 780px) {
  .bg_fff {
    background-size: 100%;
    width: 100%;
  }
}

.video_box {
  background-image: url(../image/video_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
}
.video {
  display: block;
  width: 80%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}
.readmore {
  width: 100%;
  background-image: url(../image/read_more_bg.jpg);
  padding: 20px 0;
  margin: 0 auto;
}
.readmore_button {
  display: block;
  width: 52.7%;
  height: auto;
  margin: 0 auto;
}

.ttl_box02 {
  background-size: cover;
  width: 100%;
  margin: auto;
  padding: 0 0 25px 0px;
}

@media (max-width: 780px) {
  .ttl_box02 {
    width: 100%;
  }
}

#from img {
  width: 65%;
}

picture {
  line-height: 0;
}

.panel_wapper {
  background-size: cover;
  margin-top: 0px;
  margin-bottom: 0px;
  background-repeat: no-repeat;
  padding-bottom: 7rem;
}

/* 大枠 */
.panel {
  margin: auto;
  padding: 35px 45px;
  text-align: left;
  width: 82%;
  background-color: #ffffff;
  border-radius: 5px;
  /* box-shadow: 2px 2px 6px #000; */
}

@media (max-width: 780px) {
  .panel {
    width: 90%;
    padding: 50px 30px;
  }
}

/* フォーム並べるため */
.naraberu2 {
  display: flex;
  flex-direction: column;
}

/* 中のdivのラベルとinput並べるため */
.flx_box03 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid #ffffff;
}

.naraberu2 label {
  order: 1;
}

.naraberu2 input,
.naraberu2 textarea {
  order: 2;
}

/* inputの横幅整えるため */
.naraberu2 input,
.naraberu2 textarea {
  width: 45%;
  /* ここで横幅を指定します */
}

label {
  margin: 10px 0;
  color: #000000;
  font-size: 1rem;
}

@media (max-width: 780px) {
  label {
    margin: 10px 0;
    font-size: 0.88rem;
  }
}

.check_box {
  padding: auto;
}

/* 必須のところ 色とか幅とか*/
.must {
  color: #ffffff;
  background-color: #e21000;
  padding: 2px 8px;
  font-size: 75%;
  font-weight: bold;
  margin: 0 auto 0 5px;
}

textarea {
  resize: none;
  width: 100%;
  height: 100px;
  background-color: #b7dfff;
  border: none;
  font-family: Noto Sans JP;
}

input {
  height: 30%;
  background-color: #e6e6e6;
  width: 100%;
  border: 0;
  margin: 7px 0;
  height: 35px;
}

input[type="checkbox"] {
  width: 15px;
}

.ttl_box02 h2 img {
  padding: 50px 0 0;
}

.form__txt {
  color: #000000;
  text-align: center;
}

a {
  color: #000;
}

p {
  font-size: 0.9rem;
}

/* 780px以下 */
@media (max-width: 780px) {
  .ttl_box02 h2 img {
    max-width: 80%;
  }

  .flx_box03 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #ffffff;
  }

  .naraberu2 input,
  .naraberu2 textarea {
    width: 100%;
  }
}

/* 1000px以下 */
@media (max-width: 1200px) {
  .panel {
    margin: auto;
    padding: 30px 30px;
    text-align: left;
    width: 90%;
    background-color: #ffffff;
  }
}

/* 個人情報の取り扱いスクロール */
.top_privacy {
  max-width: 85%;
  padding: 15px;
  height: 120px;
  margin: 1.9em auto;
  overflow-y: scroll;
  border: 3px solid #ccc;
  font-size: 91%;
  background-color: #ffffff;
}

/* チェックボックス真ん中にする */
.check_box {
  display: flex;
  align-items: center;
  padding: 15px;
  flex-direction: row;
  justify-content: center;
  color: #000000;
}

/* 確認ボタン真ん中 */
.form_submit_btn.flex.jc-center {
  text-align: center;
}

/* お問い合わせの文字色 */
textarea {
  color: #000 !important;
}

.input-button {
  background-color: #b9b9b9;
  color: #000000;
}

.form_submit_btn.flex.jc-center input {
  width: 50%;
  color: #000;
  /* padding: 1em !important; */
}

nav {
  display: flex;
  justify-content: flex-end;
}

/* 入力済み */
.input-text {
  background: #b7dfff;
  color: #000;
}

/* 未入力 */
:placeholder-shown {
  background: #b9b9b9;
}

/* ここまでフォーム */
/* ---------会社概要--------- */
.company_tb {
  /* background-color: #c2ebff; */
  background-size: cover;
  padding: 60px 100px;
  /* margin: 80px; */
  background-position: bottom;
  background-repeat: no-repeat;
  background-image: url("../image/back03.png");
}

@media (max-width: 780px) {
  .company_tb {
    padding: 50px 45px;
  }
}

.add_wapper table th {
  width: 40%;
  padding: 10px;
  white-space: nowrap;
  /* border-bottom: 1px solid #000000; */
}

@media (max-width: 780px) {
  .add_wapper .left_box table th {
    float: left;
    width: 100%;
    border-bottom: 1px solid #000;
  }
}

.right_box {
  width: 45%;

  @media (max-width: 780px) {
    width: 100%;
  }

  iframe {
    width: 100%;
    height: 100%;
  }
}

.add_wapper {
  width: 100%;
  line-height: 1.5;
  display: flex;
  background-color: #ffffff;
  padding: 1.2rem;
  border-radius: 5px;
  @media (max-width: 780px) {
    flex-direction: column;
  }

  justify-content: space-between;
  flex-direction: row;
  /* box-shadow: 2px 2px 6px #000; */
}

.left_box {
  width: 45%;

  .footer_logo {
    width: 50%;
    margin: 0 auto 20px;
  }

  table {
    margin: 0px;

    @media (max-width: 780px) {
      width: 100%;

      th {
        float: left;
        width: 100%;
        border-bottom: 1px solid #4c4c4c;
      }

      td {
        float: left;
        border: none;
        width: 100%;

        &.center {
          text-align: center;
        }

        text-align: center;
        font-size: 0.9rem;
      }
    }
  }

  @media (max-width: 780px) {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 0px;
  }
}

table {
  @media (max-width: 780px) {
    margin-top: 20px;
  }

  th {
    width: 50%;
    padding: 10px;
  }

  td {
    padding: 10px;
    line-height: 1.5;
    width: 100%;
    /* border-bottom: 1px solid; */
  }
}

@media (max-width: 1400px) {
  .company_tb {
    /* background-color: #eae8db; */
    background-size: cover;
    padding: 2em 0.9em;
    /* margin: 80px; */
    background-repeat: no-repeat;
  }
}

/* 地図 */
iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 780px) {
  th,
  td {
    padding: 1.63em !important;
    padding-top: 0.7em !important;
    padding-bottom: 0.7em !important;
    box-sizing: border-box;
  }
}

/* 1400px以下地図下に移動 */
@media (max-width: 1400px) {
  .add_wapper {
    display: flex;
    flex-direction: column;
  }

  .left_box {
    width: 100%;
    margin-bottom: 50px;
  }

  .left_box table {
    display: grid;
    place-items: center;
  }
  .left_box .contact td span {
    margin-left: -10px;
  }

  .right_box {
    width: 100%;
  }
}
@media screen and (max-width: 1400px) and (min-width: 1200px) {
  .left_box tbody {
    width: 80%;
  }
}

.left_box table td {
  display: block;
}

/* --------ここまで会社概要-------- */
/* footer */
footer {
  width: 100%;
  padding: 0 0 150px;
  text-align: center;
  color: #ffffff;
  background-color: #454545;
}

.footer_link {
  text-align: center;
  padding-top: 2em;
  margin-top: 0;
}

.footer_link a {
  text-decoration: none;
  color: #ffffff;
}

/* ここまでfooter */

.ps-r {
  position: relative;
  background-color: #6fb0f0;
  font-family: Noto Sans JP;
}

/* ここまで */

tr {
  border-bottom: 1px solid #000000;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }

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

/*　下に下がる動き　*/
#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

table td {
  padding: 10px;
  line-height: 1.5;
  width: 100%;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(150px);
  }
}

@keyframes floatAnime {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  25% {
    transform: translateX(-6px);
    opacity: 1;
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(6px);
    opacity: 1;
  }
}

/*Page Topと書かれたテキストの位置*/
@media (max-width: 760px) {
  #page-top {
    display: none !important;
  }
}

.poop {
  text-align: center;
}

@media (max-width: 780px) {
  .ten {
    background-image: url(../image/back1.png);
  }
}

.container {
  overflow: hidden;
}

.slidein {
  /* 装飾に関わるスタイルは省略 */
  margin: 50px auto;
  transition: 1s cubic-bezier(0.75, 0, 0.25, 1);
}

.slide_left {
  transform: translateX(calc(-50vw - 50%));
}

.slide_right {
  transform: translateX(calc(50vw + 50%));
}

.show {
  transform: translateX(0);
}

/* スライドショー */
*,
body,
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.flatre02 {
  position: relative;
}

.nara01 {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 80%;
  left: 12%;
  top: 12%;
}

.flatre02::after {
  content: "";
  display: block;
  width: 100%;
  padding-top: 0%;
}

.fixed_banner01 {
  position: fixed;
  bottom: 0%;
  right: 0%;
  width: 25%;
}

.fixed_banner02 {
  position: fixed;
  bottom: 5%;
  left: 1%;
  width: 18%;
}

.bosyu table th {
  padding: 10px 0 10px 5px;
  border: 1px solid #257654;
  background-color: #257654;
  color: #fefbe9;
  border-top: 1px solid #257654;
}
.bosyu table td {
  border: 1px solid #222;
  background-color: #fefbe9;
}
.bosyu table {
  margin: 0 auto 80px;
}

@media (max-width: 780px) {
  .fixed_banner01 {
    display: none;
  }

  .fixed_banner02 {
    display: none;
  }

  .fixed_banner03 {
    display: none;
  }
}

header.hd-01 {
  background-color: #fff;
}

header.hd-01 h1 img {
  width: 20vw;
  max-width: 280px;
}
@media screen and (max-width: 780px) {
  header.hd-01 h1 img {
    width: 160px;
    margin: 0;
  }
}

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

.page__main .contact .inner1 h2 {
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

.page__main .contact .inner1 p {
  text-align: center;
  margin: 2em 2em;
}

.v-wrap {
  width: 85%;
  position: absolute;
  z-index: 1;
  top: 71.5%;
  left: 7.6%;
}

@media (max-width: 780px) {
  .v-wrap {
    width: 85%;
    position: absolute;
    z-index: 1;
    top: 71.5%;
    left: 7.6%;
  }
}

.v-wrap::after {
  content: "";
  display: block;
  width: 100%;
  padding-top: 56.25%;
}

main.page__main {
  margin-top: 176px;
}
@media (min-width: 780px) {
  main {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 780px) {
  main.page__main {
    margin-top: 8em;
  }
}

main.page__main {
  margin-top: 176px;
  margin-bottom: 80px;
}

.v-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.backcl01 {
  position: relative;
}

.inner1 {
  max-width: calc(1280px + 2%);
  margin: 0 auto;
  padding: 0 1%;
}

section.contact {
  background-color: #fefbe9;
  padding: 30px 0 15px;
  margin: 0 16px;
}

.tel-content {
  position: relative;
  pointer-events: none;
}
.tel-content::before {
  position: absolute;
  content: "";
  width: 88%;
  height: 70%;
  background-color: #fff;
  top: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.tel-content::after {
  content: "0794-70-7832";
  position: absolute;
  width: fit-content;
  transform: translateY(9%);
  height: 1em;
  letter-spacing: -0.01em;
  font-size: 28px;
  font-weight: 800;
  color: #141b1f;
  font-family: "Roboto", sans-serif;
  top: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.tel-content a {
  pointer-events: auto;
}

@media screen and (max-width: 780px) {
  .tel-content::before,
  .tel-content::after {
    display: none;
  }
}
