/* @charset 'utf-8'; */

/* ---------------------- OP ---------------------- */
  /* トラックアイコンのアニメーション */
  /* .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } */

  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .loading-container {
    text-align: center;
  }

  .truck-icon {
    width: 200px;
    animation: bounce 1s infinite ease-in-out;
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  /* ローディングバー */
  /* .loading-bar {
    width: 300px;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
  } */

  /* ローディングパーセンテージ */
  /* .progress {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    border-radius: 10px 0 0 10px;
    transition: width 0.1s linear;
  } */

  /* ローディングパーセンテージ */
  /* .percentage {
    margin-top: 10px;
    font-size: 24px;
    font-weight: bold;
  } */

  /* ローディングテキスト */
#load {
  position:relative;
  width:600px;
  height:36px;
  left:50%;
  /* top:40%; */
  margin-left:-300px;
  overflow:visible;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  cursor:default;
}


#load div {
  position:absolute;
  width:20px;
  height:36px;
  opacity:0;
  font-family:Helvetica, Arial, sans-serif;
  animation:move 2s linear infinite;
  -o-animation:move 2s linear infinite;
  -moz-animation:move 2s linear infinite;
  -webkit-animation:move 2s linear infinite;
  transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -moz-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  color:#990ADE;
}

#load div:nth-child(2) {
  animation-delay:0.2s;
  -o-animation-delay:0.2s;
  -moz-animation-delay:0.2s;
  -webkit-animation-delay:0.2s;
}
#load div:nth-child(3) {
  animation-delay:0.4s;
  -o-animation-delay:0.4s;
  -webkit-animation-delay:0.4s;
  -webkit-animation-delay:0.4s;
}
#load div:nth-child(4) {
  animation-delay:0.6s;
  -o-animation-delay:0.6s;
  -moz-animation-delay:0.6s;
  -webkit-animation-delay:0.6s;
}
#load div:nth-child(5) {
  animation-delay:0.8s;
  -o-animation-delay:0.8s;
  -moz-animation-delay:0.8s;
  -webkit-animation-delay:0.8s;
}
#load div:nth-child(6) {
  animation-delay:1s;
  -o-animation-delay:1s;
  -moz-animation-delay:1s;
  -webkit-animation-delay:1s;
}
#load div:nth-child(7) {
  animation-delay:1.2s;
  -o-animation-delay:1.2s;
  -moz-animation-delay:1.2s;
  -webkit-animation-delay:1.2s;
}

@keyframes move {
  /* 0% {
    left:0;
    opacity:0;
  }
  35% {
    left: 41%; 
    -moz-transform:rotate(0deg);
    -webkit-transform:rotate(0deg);
    -o-transform:rotate(0deg);
    transform:rotate(0deg);
    opacity:1;
  }
  65% {
    left:59%; 
    -moz-transform:rotate(0deg); 
    -webkit-transform:rotate(0deg); 
    -o-transform:rotate(0deg);
    transform:rotate(0deg); 
    opacity:1;
  }
  100% {
    left:100%; 
    -moz-transform:rotate(-180deg); 
    -webkit-transform:rotate(-180deg); 
    -o-transform:rotate(-180deg); 
    transform:rotate(-180deg);
    opacity:0;
  } */
  0% {
    left:100%;
    opacity:0;
  }
  35% {
    left: 59%; 
    -moz-transform:rotate(0deg);
    -webkit-transform:rotate(0deg);
    -o-transform:rotate(0deg);
    transform:rotate(0deg);
    opacity:1;
  }
  65% {
    left:41%; 
    -moz-transform:rotate(0deg); 
    -webkit-transform:rotate(0deg); 
    -o-transform:rotate(0deg);
    transform:rotate(0deg); 
    opacity:1;
  }
  100% {
    left:0%; 
    -moz-transform:rotate(-180deg); 
    -webkit-transform:rotate(-180deg); 
    -o-transform:rotate(-180deg); 
    transform:rotate(-180deg);
    opacity:0;
  }
}

@-moz-keyframes move {
  0% {
    left:100%; 
    opacity:0;
  }
  35% {
    left:59%; 
    -moz-transform:rotate(0deg); 
    transform:rotate(0deg);
    opacity:1;
  }
  65% {
    left:41%; 
    -moz-transform:rotate(0deg); 
    transform:rotate(0deg);
    opacity:1;
  }
  100% {
    left:0%; 
    -moz-transform:rotate(-180deg); 
    transform:rotate(-180deg);
    opacity:0;
  }
}

@-webkit-keyframes move {
  0% {
    left:100%; 
    opacity:0;
  }
  35% {
    left:59%; 
    -webkit-transform:rotate(0deg); 
    transform:rotate(0deg); 
    opacity:1;
  }
  65% {
    left:41%; 
    -webkit-transform:rotate(0deg); 
    transform:rotate(0deg); 
    opacity:1;
  }
  100% {
    left:0%;
    -webkit-transform:rotate(-180deg); 
    transform:rotate(-180deg); 
    opacity:0;
  }
}

@-o-keyframes move {
  0% {
    left:100%; 
    opacity:0;
  }
  35% {
    left:59%; 
    -o-transform:rotate(0deg); 
    transform:rotate(0deg); 
    opacity:1;
  }
  65% {
    left:41%; 
    -o-transform:rotate(0deg); 
    transform:rotate(0deg); 
    opacity:1;
  }
  100% {
    left:0%; 
    -o-transform:rotate(-180deg); 
    transform:rotate(-180deg); 
    opacity:0;
  }
}

/* -------------------- common -------------------- */
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #E7E7EB;
  color: #000;
}

/* ｾｸｼｮﾝの表題を中央 */
h3 {
  text-align: center;
  color: #990ADE;
}

img {
  vertical-align: top;
  -webkit-vertical-align: top;
}

/* ﾘﾝｸの設定 */
a {
  text-decoration: none;
  color: #fff;
  transition: opacity 0.7s,background-color 0.7s, color 0.7s;
  -webkit-transition: opacity 0.7s,background-color 0.7s, color 0.7s;
}

/* ﾘﾝｸのﾎﾊﾞｰ時の設定 */
a:hover {
  color: #210866;
  -webkit-color: #210866;
}

.phone-number,
.fax-number {
  color: blue; /* リンクの色を青に変更 */
  text-decoration: underline; /* リンクに下線を追加 */
}

.link-current {
  color: #210866 !important;
  -webkit-color: #210866 !important;
}

.add-br {           /* 合計金額表 */
  display: none;
}
.add-br2 {          /* 合計金額表 */
  display: none;
}
.add-br-small {     /* 料金表 */
  display: none;
}
.add-br-bettitle {  /* 料金表 */
  display: none;
}
.add-br-betprice {  /* 料金表 */
  display: none;
}
.add-br-notice {    /* お知らせ */
  display: none;
}


.smartphone {
  display: none;
}


/* -------------------- header -------------------- */
/* ﾍｯﾀﾞｰの設定 */
header {
  background-color: #990ADE;
  -webkit-background-color: #990ADE;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

/* ﾍｯﾀﾞｰの会社名の調整 */
header img {
  letter-spacing: 0.2em;
  width: 200px;
}

/* ﾍｯﾀﾞｰのﾒﾆｭｰ,会社名の調整 */
.header-inner {
  display: flex;
  width: 95%;
  height: 100%;
  margin: auto;
  align-items: center;
}

/* ﾍｯﾀﾞｰのﾒﾆｭｰの親要素を調整 */
.header-inner .pc-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 70%;
  border: 1px solid #ffffff;
  border-left: none;
  border-right: none;
  text-align: center;
}

/* ﾍｯﾀﾞｰのﾒﾆｭｰを横並び */
.header-inner ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

/* 箇条書きﾏｰｶｰを外す,斜体にする */
.header-inner ul li {
  list-style: none;
  transform: skewX(-24deg);
}


/* -------------------- モーダルウィンドウ,ハンバーガーメニュー -------------------- */
/* ハンバーガーメニュー */
.sp-menu {
  display: none;
  cursor: pointer;
  margin-left: auto;
}

.sp-menu #open.hide {
  display: none;
}

/* モーダルウィンドウ */
.overlay {
  width: 100%;
  height: 2000px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay-head {
  height: 80px;
  padding: 0;
}

.overlay-head-inner {
  width: 92%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.logo-space {
  width: 170px;
  height: 100%;
}

/* ×ボタン */
.overlay #close {
  font-size: 32px;
  cursor: pointer;
  display: block;
  text-align: right;
  width: 100%;
}

.overlay nav {
  color: #000;
  padding: 64px;
  padding-top: 0;
}

.overlay nav li {
  list-style: none;
  line-height: 50px;
}

.overlay a{
  color: #000;
  text-decoration: unset;
}

/* メニューを下からフェードイン */
.overlay li {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}
.overlay.show li:nth-child(4) {
  transition-delay: .4s;
}
.overlay.show li:nth-child(5) {
  transition-delay: .5s;
}
.overlay.show li:nth-child(6) {
  transition-delay: .6s;
}
.overlay.show li:nth-child(7) {
  transition-delay: .7s;
}


/* -------------------- hero -------------------- */
/* ﾋｰﾛｰｴﾘｱの設定 */
.hero {
  position: relative;
  margin-top: 80px;
  width: 100%;
  height: 700px;
  background-image: url('img/トップ画像3.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
}

/* ﾋｰﾛｰｴﾘｱの文字の設定 */
.hero h1 {
  position: relative;
  top: 45%;
  left: 2%;
  text-align: left;
  color: #fff;
  letter-spacing: 0.08em;
  font-size: 64px;
  font-family: Times New Roman, "ＭＳ Ｐゴシック";/* 自体をMSPｺﾞｼｯｸ,斜体を適用 */
  font-style: italic;
}

/* ﾋｰﾛｰｴﾘｱの文字の設定 */
.hero p {
  position: relative;
  top: 47%;
  left: 8%;
  font-family: Times New Roman, "ＭＳ Ｐゴシック";/* 自体をMSPｺﾞｼｯｸ,斜体を適用 */
  font-style: italic;
  color: #fff;
  font-size: 23px;
}

/* ボタンスタイル */
.btn {
  position: relative;
  top: 55%;
  left: 8%;
  background-color: #990ADE;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 20px;
}
.btn:hover {
  opacity: 1;
  background-color: #300166;
}

/* -------------------- service -------------------- */
/* ｻｰﾋﾞｽｴﾘｱの設定 */
#service {
  height: 900px;
  background-color: #E7E7EB;
}

/* ｻｰﾋﾞｽの表題 ｢ｻｰﾋﾞｽ｣ */
#service .title{
  margin-top: 180px;
  padding-top: 120px;
}

/* ｻｰﾋﾞｽのサブ表題 ｢確かな技術と...提供｣ */
#service h1 {
  text-align: center;
  margin: 20px auto 100px;
  font-size: 2em;
  color: #210866;
}

/* icon,textを横並びにする */
#service .service-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

/* icon,imgを上下左右中央揃え */
#service .icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* textを中央揃え */
#service .text {
  text-align: center;
  margin-top: 30px;
}

/* textの表題の調整 */
#service .sub-title {
  font-size: 1.1em;
  color: #210866;
}

/* textのﾃｷｽﾄの調整 */
#service p {
  font-size: 1.2em;
  margin-top: 10px;
}


/* -------------------- price -------------------- */
/* 「料金表の設定」 */
#price {
  height: 1200px;
  background-color: #fff;
}

/* 料金表のレイアウト */
#price h3 {
  padding-top: 120px;
}

/* 合計金額表の外枠 */
.total-amount-border {
  /* border: 1px solid #ccc; */
  border-bottom: 1px solid #000;
  /* border-radius: 10px; */
  width: 700px;
  margin: 70px auto 70px;
  padding: 16px;
  /* background-color: #eee; */
}

/* h1,大まかな指標用のレイアウト(合計金額表) */
.total-amount {
  text-align: center;
}
/* 各項目ごとのﾎﾞｰﾀﾞｰ */
.border-red {
  border-bottom: 2px solid rgba(255, 0, 0, 0.39);
  /* border-radius: 4px; */
}
.border-blue {
  border-bottom: 2px solid rgba(0, 0, 255, 0.39);
  /* border-radius: 4px; */
}
.border-green {
  border-bottom: 2px solid rgba(0, 128, 0, 0.39);
  /* border-radius: 4px; */
}
.border-yellow {
  border-bottom: 2px solid rgba(255, 174, 0, 0.39);
  /* border-radius: 4px; */
}
/* ＋マークを円で囲む */
.circle {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
}
/* 「合計金額」の文字色を赤にする */
.text-red {
  color: rgba(255, 0, 0, 0.699);
}

/* 価格料金表 テーブル */
#price table {
  border-collapse: collapse;
  width: 850px;
  margin: auto;
  border: 2px solid #E7E7EB;
}

#price table .table-tile {
  border-bottom: 2px solid #E7E7EB;
  background-color:  #b6b6b6;
  font-size: 1.2em;
}

.table-tile th {
  padding: 16px;
}

#price table tr {
  background-color: #bbbbbba1;
}

#price table tr + tr {
  border-bottom: 1px solid #E7E7EB;
}

table .t {
  padding: 16px;
}

table .left {
  width: 20%;
}

table .mid {
  border-left: 2px solid #E7E7EB;
  border-right: 2px solid #E7E7EB;
  width: 60%;
}

table .right {
  width: 20%;
}

.bottom {
 border-bottom: 1px solid #E7E7EB;
}

.notice {
  width: 850px;
  margin: 10px auto;
}


/* -------------------- company -------------------- */
/* 「会社概要」の設定 */
#company {
  background-color: #f3f3f3;
  height: 2000px;
}

/* 会社概要の内容と画像の親要素の調整 */
.company-con {
  display: flex;
  width: 100%;
  height: 900px;
  overflow: hidden;
  margin-left: auto;
}

/* ﾃｷｽﾄﾎﾞｯｸｽのｻｲｽﾞを指定 */
.company-text {
  width: 50%;
}

/* ﾃｷｽﾄﾎﾞｯｸｽ内の設定 */
.company-text-inner {
  width: 470px;
  margin: 0 auto;
}

/* 表題「会社概要」のｻｲｽﾞを指定 */
.company-text-inner h3 {
  padding-top: 120px;
}

/* ｻﾌﾞ表題「拓宝工業について」のｻｲｽﾞ,位置,ﾌｫﾝﾄを指定 */
.company-text-inner h1 {
  text-align: center;
  margin-top: 50px;
  font-size: 40px;
  font-family: Meiryo;
  color: #210866;
}

/* ﾃｷｽﾄのｻｲｽﾞを指定 */
.company-text-inner p {
  margin-top: 32px;
  font-size: 20px;
}

/* companyの画像の設定 */
.company-img {
  width: 50%;
  min-width: 600px;
}

.company-img img {
  width: 100%;
}

/* 会社概要詳細全体の設定 */
.company-info {
  width: 60%;
  margin: 280px auto 0;
}

/* 表題「会社概要詳細」*/
.company-info .table-title {
  position: relative;
  color: #210866;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 100px;
}

/* 表題「会社概要詳細」の下線*/
.table-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  display: inline-block;
  width: 70px;/*線の長さ*/
  height: 4px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #990ADE;/*線の色*/
}

/* 「会社概要詳細」の内容の表を調整 */
.company-info table {
  width: 80%;
  margin: auto;
  border-collapse: collapse;
  background-color: #f3f3f3;
}

/* 表の行の設定 */
.company-info tr {
  height: 80px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 20px;
  font-family: serif; 
}

/* 表の題名の調整 */
.company-info th {
  text-align: left;
  width: 30%;
}

/* 表のデータの調整 */
.company-info td {
  text-align: left;
  width: 70%;
}


/* -------------------- president -------------------- */
/* 「代表ﾒｯｾｰｼﾞ」の設定 */
#president {
  height: 950px;
}

/* 表題「代表ﾒｯｾｰｼﾞ」の設定 */
#president h3 {
  padding-top: 120px;
}

/* 代表ﾒｯｾｰｼﾞの位置,ｻｲｽﾞ,表示方法を指定 */
.president-inner {
  position: relative;
  /* display: flex; */
  margin: 40px auto;
  width: 70%;
  min-width: 900px;
}

/* 背景画像のｻｲｽﾞ */
.president-back {
  width: 60%;
}

/* 背景画像の表示方法 */
.president-back img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: center bottom;
}

/* 背景画像を薄くする */
.president-back-inner {
  width: 60%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 0;
  left: 0;
}

/* 背景画像の上にﾃｷｽﾄ欄を表示 */
.president-text {
  width: 30%;
  min-width: 400px;
  height: 100%;
  position: absolute;
  top: 0;
  left: calc(100% - 70% - 175px);
  text-align: left;
}

/* 代表名 */
.president-text h2 {
  margin-top: 90px;
  font-family: "ＭＳ 明朝";
  font-weight: bold;
  color: #210866;
}

/* 代表ﾒｯｾｰｼﾞ */
.president-text p {
  margin-top: 50px;
  font-size: 18px;
}

/* 社長の画像ﾎﾞｯｸｽの設定 */
.president-img {
  width: 40%;
  /* min-width: 455px; */
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: 0;
  right: 0;
}

/* 画像のｻｲｽﾞの設定 */
.president-img img {
  height: 700px;
}


/* -------------------- staff -------------------- */
/* 「社員紹介」の設定 */
#staff {
  height: 800px;
  background-color: #f3f3f3;
}

/* 表題「社員紹介」の調整 */
#staff h3 {
  padding-top: 120px;
}

/* 社員の顔写真の調整 */
/* #staff img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  object-position: center center;
} */

/* 社員欄の調整 */
.staff-inner {
  /* margin: 100px auto; */
    position: relative;
  overflow: hidden;
  width: 800px;
  margin: auto;
}

#slideshow {
  /* display: flex;
  width: 1500px;
  margin: auto; */
  display: flex;
  transition: transform 0.5s ease;
}

/* 社員個人の欄の調整 */
.staff-con {
  position: relative;
  width: 400px;
  height: 400px;
  margin: auto;
  background-color:#E7E7EB;
}

/* 社員の顔写真の位置調整 */
.staff-con img {
  position: absolute;
  top: 7%;
  left: calc(50% - 150px);
}

/* 社員のﾃｷｽﾄﾎﾞｯｸｽの調整 */
.staff-text {
  position: absolute;
  top: 65%;
  left: 10%;
}

/* 社員の名前の調整 */
.staff-text h2 {
  color: #210866;
  font-size: 20px;
}

/* 社員の紹介ﾃｷｽﾄの調整 */
.staff-text p {
  margin-top: 20px;
}

.slideshow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel {
  position: relative;
  width: 900px;
  height: 320px;
}

.card {
  width: 400px;
  height: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.card .info {
  padding: 26px;
  text-align: center;
}

.card .info p {
  padding: 10px;
}

.card.center {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 3;
}

.card.left {
  transform: translateX(-150%) scale(0.85);
  opacity: 0.5;
  z-index: 2;
}

.card.right {
  transform: translateX(50%) scale(0.85);
  opacity: 0.5;
  z-index: 2;
}

#btn-box {
  max-width: 800px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.slide-btn {
  border: none;
  font-size: 2em;
  color: black;
  background-color: unset;
  -webkit-appearance: none;     /* iOS Safariのデフォルトスタイルを無効化 */
  appearance: none;             /* 標準のスタイルも無効化 */
}

@media (hover: hover) and (pointer: fine) {
  .slide-btn:hover {
    opacity: 0.5;
    transition: 0.3s;
    cursor: pointer;
  }
}

/* -------------------- contact -------------------- */
/* 「お問い合わせ」の設定 */
#contact {
  height: 1000px;
}

/* 表題の設定 */
#contact h3 {
  padding-top: 120px;
}

/* 住所,電話番号,就業時間を3つに均等にわけるため */
.contact-textbox {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  width: 45%;
  min-width: 720px;
  margin: 80px auto 0;
}

/* ｻﾌﾞ表題「所在地,電話番号,就業時間」の設定 */
.contact-textbox h4{
  color: #210866;
}

.contact-info {
  min-width: 240px;
}

/* pﾀｸﾞの親要素,ｻﾌﾞ表題の隙間を開ける */
.info-text {
  margin: 30px 0 30px;
}

/* 郵便番号のﾚｲｱｳﾄ */
.post-code {
  font-size: 15px;
}

/* 福岡県宮若市のﾚｲｱｳﾄ */
.address {
  font-size: 18px;
  margin-top: 5px;
}

/* 情報の行間を調整 */
.contact-info .contact-text {
  line-height: 2;
  font-size: 18px;
}

/* Googleﾏｯﾌﾟの位置,ｻｲｽﾞの設定 */
.map {
  width: 60%;
  min-width: 950px;
  margin: 00px auto;
}
/* Googleﾏｯﾌﾟの設定 */
.map iframe{
  width: 100%;
}


/* -------------------- footer -------------------- */
.sns {
  height: 90px;
  background-color: #f3f3f3;
}


/* -------------------- footer -------------------- */
footer {
  height: 70px;
  background-color: #990ADE;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer p {
  font-size: small;
  color: #ddd;
}


/* -------------------- Jquery・Javascript(フェードイン) -------------------- */
.fadeUp {
  animation-name: fadeUpAnime; /*アニメーションの名前*/
  animation-duration: 1s; /*アニメーションの実行時間*/
  animation-fill-mode: forwards; /*アニメーション後、要素が表示されたままにする*/
  -webkit-animation-name: fadeUpAnime;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes fadeUpAnime {
  0% {
    opacity: 0; /*非表示*/
    transform: translateY(100px); /*縦方向に100pxずらす*/
    -webkit-transform: translateY(100px);
  }
  100% {
    opacity: 1; /*表示*/
    transform: translateY(0); /*元の位置*/
    -webkit-transform: translateY(0);
  }
}
@keyframes fadeUpAnime {
  0% {
    opacity: 0; /*非表示*/
    transform: translateY(100px); /*縦方向に100pxずらす*/
    -webkit-transform: translateY(100px);
  }
  100% {
    opacity: 1; /*表示*/
    transform: translateY(0); /*元の位置*/
    -webkit-transform: translateY(0);
  }
}
.fadeUpTrigger {
  opacity: 1; /*非表示*/
}


/* -------------------------------- @media --------------------------------  */

@media (min-width:1131px) and (max-width:1230px){
  /* 1 */
  .president-inner { 
    margin-left: 8%;
  }
}

@media (min-width:1091px) and (max-width:1130px){
  /* 1 */
  #price table {
    width: 780px;
  }

  .notice {
    width: 780px;
  }
  
  .president-inner {
    margin-left: 5%;
  }
}

@media (min-width:1041px) and (max-width:1090px){
  /* 1 */
  #price table {
    width: 780px;
  }

  .notice {
    width: 780px;
  }

  .president-inner {
    margin-left: 2%;
  }
}

@media (min-width:986px) and (max-width:1040px){
  /* 1 */
  #price table {
    width: 780px;
  }

  .notice {
    width: 780px;
  }

  .president-inner {
    margin-left: 0;
  }
}

@media (min-width:951px) and (max-width:985px){
  /* 1 */
  #price table {
    width: 780px;
  }

  .notice {
    width: 780px;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
  }
}

@media (min-width:881px) and (max-width:950px){
  /* 1 */
  #price table {
    width: 770px;
  }

  .notice {
    width: 770px;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
  }

  /* 3 */
  #company {
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 600px;
    height: 900px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
  }

  .company-text {
    width: 600px;
    margin: 0 auto;
    z-index: 2;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
  }

  #president {
    width: 100%;
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }
}

@media (min-width:786px) and (max-width:880px){
  /* 1 */
  #price table {
    width: 720px;
  }

  .notice {
    width: 720px;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
  }

  /* 3 */
  #company {
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 600px;
    height: 900px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
  }

  .company-text {
    width: 600px;
    margin: 0 auto;
    z-index: 2;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
  }

  #president {
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: 400px;
  }

  .staff-con {
    margin-bottom: 30px;
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  #btn-box {
    justify-content: space-around;
  }
}

@media (min-width:686px) and (max-width:785px){
  /* 1 */
  .total-amount-border {
    width: 650px;
  }

  .notice {
    width: 650px;
  }

  .total-amount {
    font-size: 1.3em;
  }

  #price table {
    width: 98%;
  }

  .notice {
    width: 98%;
  }

  .circle {
    width: 25px;
    height: 25px;
  }

  .small {
    font-size: 13px;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
  }

  /* 3 */
  #company {
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 600px;
    height: 900px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
  }

  .company-text {
    width: 600px;
    margin: 0 auto;
    z-index: 2;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
    width: 95%;
  }

  .company-info table {
    width: 90%;
  }

  #president {
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: 400px;
  }

  .staff-con {
    margin-bottom: 30px;
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  /* 5 */
  .hero {
    height: 500px;
    width: 100%;
    background-image: url(img/トップ画像4.jpg);
    background-size: unset;
    background-position: right top;
  }

  .hero h1 {
    font-size: 48px;
    width: 600px;
    margin: 0 auto;
    top: 30%;
  }

  .hero p {
    width: 500px;
    top: 35%;
    left: 0;
    margin: 0 auto;
    font-size: 23px;
  }

  .btn {
    display: block;
    width: 180px;
    /* margin: 0 auto; */
    top: 40%;
    left: 20%;
  }

  #btn-box {
    justify-content: space-around;
  }
}

@media (min-width:601px) and (max-width:685px){
  /* 1 */
  .total-amount-border {
    width: 600px;
  }

  .total-amount {
    font-size: 1.2em;
  }
  
  .circle {
    width: 20px;
    height: 20px;
  }

  #price table {
    width: 98%;
  }

  .notice {
    width: 98%;
  }

  #price table tr{
    font-size: 0.85em;
  }

  .small {
    font-size: 13px;
  }

  .add-br-small,
  .add-br-betprice {
    display: inline;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
    height: 300px;
  }

  /* 3 */
  #company {
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 600px;
    height: 900px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
  }

  .company-text {
    width: 600px;
    margin: 0 auto;
    z-index: 2;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
    width: 95%;
  }

  .company-info table {
    width: 90%;
  }

  #president {
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: 400px;
  }

  .staff-con {
    margin-bottom: 30px;
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  /* 5 */
  .hero {
    height: 500px;
    width: 100%;
    background-image: url(img/トップ画像4.jpg);
    background-size: unset;
    background-position: right top;
  }

  .hero h1 {
    font-size: 48px;
    width: 600px;
    margin: 0 auto;
    top: 30%;
  }

  .hero p {
    width: 500px;
    top: 35%;
    left: 0;
    margin: 0 auto;
    font-size: 23px;
  }

  .btn {
    display: block;
    width: 180px;
    /* margin: 0 auto; */
    top: 40%;
    left: 20%;
  }

  /* 6 */
  .map iframe {
    width: 100%;
    height: 100%;
  }

  #contact {
    height: 1200px;
  }

  .contact-textbox {
    display: block;
    min-width: 240px;
  }

  .contact-textbox h4 {
    text-align: center;
  }

  .contact-info {
    width: 240px;
    margin: 0 auto 70px;
  }

  .info-text {
    text-align: center;
    margin-top: 10px;
  }

  .contact-textbox .contact-info + .contact-info + .contact-info .info-text {
    width: 210px;
    text-align: left;
    margin: 10px 0 70px auto;
  }

  #btn-box {
    justify-content: space-around;
  }
}

@media (min-width:551px) and (max-width:600px){
  /* 1 */
  .total-amount-border {
    width: 90%;
    padding-bottom: 10px;
  }

  .text-red {
    display: inline-block;
    margin-top: 10px;
  }

  .total-amount {
    font-size: 1.2em;
  }

  .circle {
    width: 20px;
    height: 20px;
  }

  #price table {
    width: 98%;
  }

  .notice {
    width: 98%;
  }

  #price table tr{
    font-size: 0.85em;
  }

  .small {
    font-size: 13px;
  }

  .add-br-small,
  .add-br-betprice {
    display: inline;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
    height: 300px;
  }

  /* 3 */
  #company {
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 600px;
    height: 900px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
  }

  .company-text {
    width: 600px;
    margin: 0 auto;
    z-index: 2;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
    width: 95%;
  }

  .company-info table {
    width: 90%;
  }

  #president {
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service h1 {
    font-size: 1.5em;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: 400px;
  }

  .staff-con {
    margin-bottom: 30px;
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  /* 5 */
  .hero {
    height: 500px;
    width: 100%;
    background-image: url(img/トップ画像4.jpg);
    background-size: unset;
    background-position: right top;
  }

  .hero h1 {
    font-size: 38px;
    width: 500px;
    margin: 0 auto;
    top: 35%;
    left: 0;
    text-align: center;
    font-style: normal;
  }

  .hero p {
    width: 500px;
    top: 40%;
    left: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: bold;
    font-style: normal;
  }

  .btn{
    display: block;
    width: 180px;
    top: 46%;
    left: calc(50% - 90px);
  }

  /* 6 */
  .map iframe {
    width: 100%;
    height: 100%;
  }

  #contact {
    height: 1200px;
  }
  
  .contact-textbox {
    display: block;
    min-width: 240px;
  }

  .contact-info {
    width: 240px;
    margin: 0 auto 70px;
  }

  .contact-textbox h4 {
    text-align: center;
  }

  .info-text {
    text-align: center;
    margin-top: 10px;
  }

  .contact-textbox .contact-info + .contact-info + .contact-info .info-text {
    width: 210px;
    text-align: left;
    margin: 10px 0 70px auto;
  }

  header img {
    width: 150px;
  }

  #btn-box {
    justify-content: space-around;
  }
}

@media (min-width:501px) and (max-width:550px){
  /* 1 */
  .total-amount-border {
    width: 90%;
    padding-bottom: 10px;
  }

  .text-red {
    display: inline-block;
    margin-top: 10px;
  }

  .total-amount {
    font-size: 1.1em;
  }

  .circle {
    width: 20px;
    height: 20px;
  }

  #price table {
    width: 98%;
  }

    .notice {
    width: 98%;
    font-size: 14px;
  }

  #price table tr{
    font-size: 0.80em;
  }

  .small {
    font-size: 13px;
  }

  .add-br-small,
  .add-br-bettitle,
  .add-br-betprice {
    display: inline;
  }

  .add-br {
    display: inline;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 90%;
    height: 300px;
  }

  /* 3 */
  #company {
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 600px;
    height: 900px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
    background-size: cover;
    background-position: right;
  }

  .company-text {
    width: 600px;
    margin: 0 auto;
    z-index: 2;
  }

  .company-text-inner {
    margin: 0;
    margin-left: 20px;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
    width: 95%;
  }

  .company-info table {
    width: 90%;
  }

  #president {
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service h1 {
    font-size: 1.5em;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: 400px;
  }

  .staff-con {
    margin-bottom: 30px;
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  /* 5 */
  .hero {
    height: 500px;
    width: 100%;
    background-image: url(img/トップ画像4.jpg);
    background-size: unset;
    background-position: right top;
  }

  .hero h1 {
    font-size: 38px;
    width: 500px;
    margin: 0 auto;
    top: 35%;
    left: 0;
    text-align: center;
    font-style: normal;
  }

  .hero p {
    width: 500px;
    top: 40%;
    left: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: bold;
    font-style: normal;
  }

  .btn{
    display: block;
    width: 180px;
    top: 46%;
    left: calc(50% - 90px);
  }

  /* 6 */
  .map iframe {
    width: 100%;
    height: 100%;
  }

  #contact {
    height: 1200px;
  }

  .contact-textbox {
    display: block;
    min-width: 240px;
  }

  .contact-info {
    width: 240px;
    margin: 0 auto 70px;
  }

  .contact-textbox h4 {
    text-align: center;
  }

  .info-text {
    text-align: center;
    margin-top: 10px;
  }

  .contact-textbox .contact-info + .contact-info + .contact-info .info-text {
    width: 210px;
    text-align: left;
    margin: 10px 0 70px auto;
  }

  header img {
    width: 150px;
  }

  #btn-box {
    justify-content: space-around;
  }
}

@media (min-width:421px) and (max-width:500px){
  /* 1 */
  .total-amount-border {
    width: 95%;
    padding-bottom: 10px;
  }

  .text-red {
    display: inline-block;
    margin-top: 10px;
  }

  .total-amount {
    font-size: 0.90em;
  }

  .circle {
    width: 20px;
    height: 20px;
  }

  #price table {
    width: 98%;
  }

  .notice {
    width: 98%;
    font-size: 12.5px;
  }

  #price table tr{
    font-size: 0.75em;
  }

  .small {
    font-size: 11px;
  }

  .add-br-bettitle,
  .add-br-betprice {
    display: inline;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 98%;
    height: 250px;
  }

  /* 3 */
  #company {
    width: 100%;
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 100%;
    height: 1000px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
    background-size: cover;
    background-position: right;
  }

  .company-text {
    width: 100%;
    margin: 0 auto;
    z-index: 2;
  }

  .company-text-inner {
    margin: 0 auto;
    width: 97%;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
    width: 95%;
  }

  .company-info table {
    width: 90%;
  }

  .company-info tr {
    font-size: 18px;
  }

  .company-info th {
    width: 40%;
  }

  .company-info td {
    width: 60%;
  }

  #president {
    height: 1400px;
  }

  .president-inner {
    width: 100%;
    min-width: 400px;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 200px);
    top: auto;
  }

  .president-img {
    position: static;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service h1 {
    font-size: 1.2em;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: 400px;
  }

  .staff-con {
    margin-bottom: 30px;
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  /* 5 */
  .hero {
    width: 100%;
    height: 300px;
    background-image: url(img/トップ画像5.jpg);
    background-size: unset;
    background-position: center top;
  }

  .hero h1 {
    font-size: 25px;
    width: 100%;
    margin: 0 auto;
    top: 45%;
    left: 0;
    text-align: center;
    font-style: normal;
  }

  .hero p {
    width: 100%;
    top: 50%;
    left: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: bold;
    font-style: normal;
  }

  .btn {
    display: none;
  }

  /* 6 */
  .map iframe {
    width: 100%;
    height: 100%;
  }

  #contact {
    height: 1150px;
  }

  .contact-textbox {
    display: block;
    min-width: 240px;
  }

  .contact-info {
    width: 240px;
    margin: 0 auto 70px;
  }

  .contact-textbox h4 {
    text-align: center;
  }

  .info-text {
    text-align: center;
    margin-top: 10px;
  }

  .contact-textbox .contact-info + .contact-info + .contact-info .info-text {
    width: 210px;
    text-align: left;
    margin: 10px 0 70px auto;
  }

  header img {
    width: 100px;
  }

  .phone-number,
  .fax-number {
    color: blue; /* リンクの色を青に変更 */
    text-decoration: underline; /* リンクに下線を追加 */
  }

  #btn-box {
    justify-content: space-around;
  }

  .card.left,
  .card.right {
    display: none;
  }
}

@media (max-width:420px){
  /* 1 */
  .total-amount-border {
    width: 90%;
    padding-bottom: 10px;
    margin: 30px auto 70px;
    border: 1px solid black;
  }

  .text-red {
    display: inline-block;
    width: 100px;
    margin-top: 20px;
    text-align-last: left;
  }

  .total-amount {
    font-size: 1.5em;
    width: 190px;
    text-align: center;
    margin: 0 auto;
  }

  .total-amount .border-red {
    display: inline-block;
    width: 135px;
    margin: 5px auto;
  }
  .total-amount .border-blue {
    display: inline-block;
    width: 135px;
    margin: 5px auto;
  }
  .total-amount .border-green {
    display: inline-block;
    width: 135px;
    margin: 5px auto;
  }
  .total-amount .border-yellow {
    display: inline-block;
    width: 135px;
    margin: 5px auto;
  }
  
  .e {
    display: inline-block;
    width: 10px;
    height: 10px;

  }

  .circle {
    margin: 0;
    width: 10px;
    height: 10px;
    background-color: #E7E7EB;
  }

  #price table {
    width: 99%;
  }

  .notice {
    width: 99%;
    font-size: 15px;
  }

  .add-br-notice {
    display: inline;
  }

  #price table tr{
    font-size: 0.50em;
  }

  .left .t {
    padding: 0;
  }

  .small {
    font-size: 11px;
  }

  /* .add-br-bettitle,
  .add-br-betprice {
    display: inline;
  } */

  .right .t {
    padding: 16px 10px;
  }

  .add-br2 {
    display: none;
  }

  .president-inner {
    margin-left: 0;
  }

  /* 2 */
  .map {
    min-width: 98%;
    height: 250px;
  }

  /* 3 */
  #company {
    width: 100%;
    height: 1800px;
  }

  .company-con {
    display: block;
    width: 100%;
    height: 1000px;
    margin: 0 auto;
    background-image: url('img/会社概要2.jpg');
    background-size: cover;
    background-position: right;
  }

  .company-text {
    width: 100%;
    margin: 0 auto;
    z-index: 2;
  }

  .company-text-inner {
    margin: 0 auto;
    width: 97%;
  }

  .company-text-inner h1 {
    font-size: 26px;
  }

  .company-text-inner p {
    font-size: 15px;
  }

  .company-img {
    display: none;
  }

  .company-info {
    margin-top: 150px;
    width: 95%;
  }

  .company-info table {
    width: 90%;
  }

  .company-info tr {
    font-size: 18px;
  }

  .company-info th {
    width: 40%;
  }

  .company-info td {
    width: 60%;
  }

  #president {
    height: 1400px;
  }

  .president-text h2 {
    font-size: 22px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  }

  .president-inner {
    width: 100%;
    min-width: unset;
    height: 1100px;
  }

  .president-back,
  .president-back-inner {
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
  }

  .president-text {
    height: 700px;
    width: 97%;
    min-width: unset;
    position: absolute;
    bottom: 0;
    left: 10px;
    top: auto;
  }

  .president-text p {
    width: 100%;
    font-size: 14px;
  }

  .president-img {
    position: static;
    width: 100%;
    /* width: 400px; */
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
  }

  .president-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: auto;
  }

  /* 4 */
  #service {
    height: 1400px;
  }

  #service h1 {
    font-size: 1.2em;
  }

  #service .title {
    margin-top: 0;
  }
  
  #service .service-inner {
    display: block;
  }

  .service-con + .service-con{
    margin-top: 70px;
  }

  .staff-inner {
    display: block;
    min-width: unset;
    width: 100%;
  }

  .staff-con {
    margin-bottom: 30px;
    width: 100%;
  }

  .staff-text p {
    width: 100%;
    /* font-size: 13px; */
  }

  .header-inner .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  #open {
    font-size: 32px;
  }

  /* 5 */
  .hero {
    width: 100%;
    height: 300px;
    background-image: url(img/トップ画像5.jpg);
    background-size: unset;
    background-position: center top;
  }

  .hero h1 {
    font-size: 25px;
    width: 100%;
    margin: 0 auto;
    top: 45%;
    left: 0;
    text-align: center;
    font-style: normal;
  }

  .hero p {
    width: 100%;
    top: 50%;
    left: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: bold;
    font-style: normal;
  }

  .btn {
    display: none;
  }

  /* 6 */
  .map iframe {
    width: 100%;
    height: 100%;
  }

  #contact {
    height: 1150px;
  }

  .contact-textbox {
    display: block;
    min-width: 240px;
  }

  .contact-info {
    width: 240px;
    margin: 0 auto 70px;
  }

  .contact-info .smartphone {
    font-size: 13px;
    display: block;
  }

  .contact-textbox h4 {
    text-align: center;
  }

  .info-text {
    text-align: center;
    margin-top: 10px;
  }

  .contact-textbox .contact-info + .contact-info + .contact-info .info-text {
    width: 210px;
    text-align: left;
    margin: 10px 0 70px auto;
  }

  header img {
    width: 100px;
  }

  .phone-number,
  .fax-number {
    color: blue; /* リンクの色を青に変更 */
    text-decoration: underline; /* リンクに下線を追加 */
  }

  #btn-box {
    justify-content: space-around;
  }

  .card {
    width: 380px;
  }

  .card.left,
  .card.right {
    display: none;
  }
}