@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
}

.index {
  padding-top: 20px;
  padding-bottom: 0px;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
}

/* ヘッダー */
header {
  padding-bottom: 20px;
  padding-right: 30px;
  padding-left: 30px;
  display: flex;

  max-width: 1900px;
  margin-left: auto;
  margin-right: auto;
}

header h1 {
  color: #0e4871;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 43px;
  white-space: nowrap;
  margin-top: 5px;
  margin-left: -27px;
}

header h1 a {
  color: #0e4871;
  text-decoration: none;
}

header p {
  font-size: 1.5rem;
  white-space: nowrap;
  text-align: start;
  margin-left: -27px;
}

/* グローバルナビゲーション */
.global {
  display: block;
  font-size: 1.5rem;
  width: 680px;
  margin: 0 0 0 auto;
}

.global ul {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
  margin-top: 20px;
  text-align: center;
}

.global ul li a {
  display: block;
  justify-content: flex-end;
  color: #000;
  padding: 0 20px;
  text-decoration: none;
  margin-top: 19px;
  border-right: 1px solid #000;
}

.global ul li:last-child a {
  border-right: 0;
}

.global ul li a:hover span {
  color: #eb6100;
  border-bottom: 2px solid #fff;
}

/* ファーストビュー */
.first img {
  margin-top: 30px;
  width: 100%;
  height: 50%;
}

/* ↓ ご相談予約ボタン .reservation */
.reservation {
  position: fixed;
  z-index: 999;
  right: 0; 
  top: 80%; 
  transform: translateY(-50%);
  background-color: #eb6100;
  padding: 9px;
  border-radius: 5px 0 0 5px;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reservation a {
  text-decoration: none;
  font-size: 2.0rem;
  color: #fff;
  font-weight: 550;
  display: flex;
  align-items: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 8px;
  gap: 8px;
}

.reservation a:hover {
  box-shadow: none;
  position: relative;
  top: 5px;
}

/* ↑ ご相談予約ボタン .reservation */

/* main */
main {
  max-width: 1100px;
  margin: 50px auto;
  padding: 40px ;
  text-align: center;
}

main h2 {
  font-size: 3.0rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 150px;
  margin-top: 150px;
  color: #0e4871;
}

/* 私たちについて .about */
.about h2 {
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 350px 2px;
}

.about img {
  width: 30%;
  height: 30%;
  display: flex;
  float: left;
}

.about p {
  display: flex;
  font-size: 1.75rem;
  line-height: 1.75rem;
  padding-left: 45px;
  padding-bottom: 20px;
  line-height: 25px;
  text-align: start;
  text-justify: inter-ideograph;
}

.representative {
  text-align: end;
}

/* 私たちの特徴 .characteristic*/
.characteristic h2 {
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 380px 2px;
  margin-left: 25px;
}

/* 私たちの特徴 上段 */
.above-features {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  margin-top: 10px;
  row-gap: 200px;
}

.above-features section {
  width: calc((100% / 2) - 20%);
}

.above-features h3 {
  font-size: 2.3rem;
  font-weight: 270;
  text-align: center;
  margin-bottom: 15px;
}

.above-features p {
  font-size: 1.7rem;
  margin-top: 15px;
  width: 106%;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* 私たちの特徴 下段 */
.under-features {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-around;
  row-gap: 200px;
  margin: 150px 10px 0 50px;
}

.under-features section {
  width: calc((100% / 2) - 20%);
}

.under-features h3 {
  font-size: 2.3rem;
  font-weight: 270;
  text-align: center;
  margin-bottom: 15px;
}

.under-features p {
  font-size: 1.7rem;
  margin-top: 15px;
  width: 113%;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* 取扱分野 */
.field h2 {
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 420px 1px;
}

/* 取扱分野 1段目*/
.one {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-around;
}

.one section {
  width: calc((100% / 4) - 10%);
  margin-left: 10px;
}

.one h3 {
  font-size: 2.3rem;
  font-weight: 270;
  margin-bottom: 20px;
}

.one p {
  font-size: 1.6rem;
  margin-top: 25px;
  margin-bottom: 120px;
  text-align: center;
  width: 230px;
  margin-left: -30px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.last img,
.accident img,
.work img {
  margin-top: 35px;
  margin-bottom: 20px;
}

.family img {
  margin-top: 5px;
  margin-bottom: 15px;
}

/* 取扱分野 2段目*/
.two {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-around;
  margin-left: 45px;
}

.two section {
  width: calc((100% / 4) - 10%);
  margin-left: 10px;
}

.two h3 {
  font-size: 2.3rem;
  font-weight: 270;
  margin-bottom: 15px;
}

.two p {
  font-size: 1.6rem;
  margin-top: 25px;
  margin-bottom: 120px;
  text-align: center;
  width: 230px;
  margin-left: -30px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.police img,
.house img {
  margin-top: 35px;
  margin-bottom: 20px;
}

.money img,
.internet img {
  margin-top: 5px;
  margin-bottom: 15px;
}

/* 取扱分野 3段目*/
.three {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-around;
  margin-left: 45px;
}

.three section {
  width: calc((100% / 4) - 10%);
  margin-left: 10px;
}

.three h3 {
  font-size: 2.3rem;
  font-weight: 270;
  margin-bottom: 15px;
}

.three p {
  font-size: 1.6rem;
  margin-top: 25px;
  margin-bottom: 50px;
  text-align: center;
  width: 230px;
  margin-left: -30px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.claim img {
  margin-top: 35px;
}

.trouble h3 {
  margin-top: -3px;
}

/* ↓ 詳細・一覧を表示 .display_btn */
.display_btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #eb6100;
  border-bottom: 2px;
  font-size: 1.8rem;
  margin-left: 830px;
  margin-top: 10px;
}

.display_btn:hover {
  color: #eb6100;
}

.display_btn a {
  position: relative;
  text-decoration: none;
  color: #0e4871;
}

.display_btn a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #eb6100;
  bottom: -10px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.5s;
}

.display_btn a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}
/* ↑ 詳細・一覧を表示 .display_btn */

/* ご相談様からの声 */
.sound h2 {
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 330px 2px;
}

.voice {
  clear: both;
  padding-left: 90px;
  padding-right: 90px;
}

.voice img {
  float: left;
  margin-top: -50px;
  padding-left: 50px;
}

.voice h3 {
  font-size: 2.3rem;
  font-weight: 270;
  padding-left: 250px;
  margin-bottom: 30px;
  text-align: start;
}

.voice p {
  margin-left: 250px;
  font-size: 1.6rem;
  text-align: start;
  text-align: justify;
  text-justify: inter-ideograph;
  padding-bottom: 100px;
}

/* お知らせ */
.news h2 {
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 430px 2px;
}

dl.info {
  font-size: 1.6rem;
  padding-right: 50px;
  padding-left: 50px;
  height: 200px;
}

.notice {
  line-height: 1.25;
}

.info div {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  align-items: center;
  margin-right: 30px;
}

.info dt {
  width: 9em;
  margin-left: 100px;
}

.info dd {
  margin-left: 100px;
}

.info .kind {
  padding: 0.3rem;
  border-radius: 3px;
  background-color: #0e4871;
  color: #fff;
  text-align: center;
}

.notice:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

/* アクセス */
.access h2 {
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 410px 2px;
  margin-bottom: 0px;
}

.map {
  display: block;
  padding-top: 150px;
  padding-left: 130px;
  text-align: start;
}

.address {
  display: block;
  font-size: 1.6rem;
  text-align: start;
  padding-left: 570px;
  margin-top: -330px;
}

.address p {
  margin-bottom: 5px;
}

/* フッター */
footer {
  background-color: #0e4871;
  color: #f5f5f5;
  width: 100%;
}

footer .name {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 30px;
}

footer .name p {
  padding-top: 25px;
}

.list {
  margin-bottom: 30px;
}

.list span,
.end a {
  color: #f5f5f5;
}

.list a,
.end a {
  text-decoration: none;
}

.first-list {
  display: inline-block;
  font-size: 1.4rem;
  vertical-align: top;
  line-height: 25px;
  text-align: start;
}

.first-list li:hover span,
.second-list li:hover span,
.third-list li:hover span,
.end a:hover {
  color: #eb6100;
}

.second-list {
  display: inline-block;
  font-size: 1.4rem;
  vertical-align: top;
  padding-right: 220px;
  padding-left: 250px;
  margin: 0 auto;
  line-height: 25px;
  text-align: start;
}

.third-list {
  display: inline-block;
  font-size: 1.4rem;
  vertical-align: top;
  line-height: 25px;
  text-align: start;
}

.end {
  text-align: center;
  padding-bottom: 25px;
}

/* .end p {
  text-decoration: none;
  color: #f5f5f5;
} */

/* ご相談の流れ flow.html */
.course h2 {
  font-size: 3.0rem;
  font-weight: 500;
  color :#0e4871;
  text-align: center;
  margin-top: 80px;
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 400px 1px;
  margin-bottom: 0;
}

.course p {
  font-size: 1.6rem;
  text-align: center;
  padding-top: 60px;
  margin-bottom: 150px;
}

/* ↓ ご相談予約ボタン .reservation-2 */
.reservation-2 a {
  background-color: #eb6100;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 60px;
  height: 60px;
  padding: 20px 30px;
  font-family: "Noto Sans Japanese";
  text-decoration: none;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 540;
  border-bottom: solid 7px #863903;
  transition: 0.3s ease-in-out;
  position: fixed;
  bottom: 50px;
  margin-left: 20px;
  border-radius: 55%;
  white-space: nowrap;
}

.reservation-2 a:before {
  position: relative;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  margin-right: 12px;
  color: #fff;
  transition: 0.3s ease-in-out;
}

.reservation-2 a:after {
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.reservation-2 a:hover:after {
  right: 1.4rem;
}

.reservation-2 a:hover {
  background: #ee8134;
  color: #fff;
  border-bottom: solid 2px #999;
  transform: translateY(3px);
}

.reservation-2 a:hover:before {
  color: #fff;
}

body {
  vertical-align: middle;
  padding: 50px 0;
  text-align: center;
}
/* ↑ ご相談予約ボタン .reservation */

.booking {
  clear: both;
  padding-left: 200px;
  padding-right: 200px;
  margin-bottom: 160px;
}

.step-icon {
  float: left;
}

.describe {
  text-align: start;
  margin-left: 250px;
}

.booking h3 {
  font-size: 2.3rem;
  font-weight: 270;
  padding-bottom: 20px;
}

.describe p {
  font-size: 1.6rem;
  text-align: start;
  width: 150%;
  line-height: 2;
}

/* ご相談予約 contact.html */
.explanation h2 {
  font-size: 3.0rem;
  font-weight: 500;
  color :#0e4871;
  text-align: center;
  margin-top: 80px;
  background-image: url(../images/sunlogo.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 410px 2px;
  margin-bottom: 0;
}

.explanation p {
  font-size: 1.6rem;
  text-align: center;
  /* margin-top: 60px; */
  margin-bottom: 150px;
  padding-top: 60px;
}

.top-reservation {
  display: flex;
  margin-left: 150px;
}

.telephone h3,
.line h3,
.form h3 {
  padding-bottom: 60px;
  font-size: 2.5rem;
  font-weight: 270;
}

.telephone h4 {
  font-size: 3rem;
  margin-top: 110px;
}

.telephone p,
.line p {
  font-size: 1.6rem;
}

.line {
  margin-left: 200px;
}

.reception-1 p {
  font-size: 2rem;
  margin-top: 35px;
}

.reception-2 p {
  font-size: 2rem;
  margin-top: 20px;
}

.phone-number p {
  font-size: 2.8rem;
  padding-top: 70px;
}

.warning p {
  margin-top: 20px;
}

/* ↓ LINEボタン button */
.button a {
  background-color: #fbfbfb;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  text-decoration: none;
  color: #fff;
  line-height: 1.8;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  font-size: 2.5rem;
  color: #00B900;
  margin-top: 60px;
  border: 4px solid #00B900;
}

.button a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.button a:hover {
  background-color: #339900;
  color: #fff;
}

.button a:hover:after {
  right: 1.4rem;
}

body {
  vertical-align: middle;
  padding: 50px 0;
  text-align: center;
}
/* ↑ LINEボタン button */

.form {
  font-size: 1.6rem;
  text-align: center;
  line-height: 4rem;
}

.form h3 {
  margin-top: 150px;
}

.form p {
  margin-bottom: 70px;
}

table {
  margin: 0 auto;
  padding-left: 00px;
  line-height: 60px;
}

tr {
    border-bottom: 1px solid #0e4871;
    font-size: 1.6rem;
}

tr:last-child {
    border-bottom: none;
    line-height: 220px;
}

th {
  padding-left: 100px;
}

td {
  text-align: left;
  padding-left: 90px;
}

input[type="text"] {
  width: 70%;
  height: 25px;
  padding-left: 0.5em;
}

select {
  font-size: 1.6rem;
  padding-left: 0.5em;
}

textarea {
  font-size: 1.6rem;
  width: 95%;
  padding: 5px;
  box-sizing: border-box;
  resize: none;
  vertical-align: bottom;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 0.5em;
}

.send input {
  width: 200px;
  padding: 10px 50px 10px 50px;
  margin-left: 170px;
  cursor : pointer;

}

.date-time {
  text-align: start;
  padding-top: 100px;
}

th:nth-last-child(2) {
  border-bottom: none;
}

table {
  border-top: 1px solid #0e4871;
}

