@charset "UTF-8";
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  height: 70px;
  width: 100%;
  background-color: #f5c999;
  transition: background-color 1s ease;
  z-index: 1000;
  padding: 0 !important;
}
.navbar .container-fluid {
  transition: all 1s;
}
.navbar .container-fluid:hover {
  background-color: #f5c999;
}
.navbar .container-fluid .navbar-brand {
  transition: all 1s;
}
.navbar .container-fluid .navbar-brand:hover {
  opacity: 0.7;
}
.navbar img {
  width: 60px;
}
.navbar .nav-item {
  width: 150px;
  text-align: center;
  color: #373737;
  font-weight: bold;
  margin: 0 20px;
}
.navbar .nav-item .request {
  color: #d6402d;
  border: 2px #d6402d solid;
  transition: all 1s;
}
.navbar .nav-item .request:hover {
  color: #fff;
  background: #d6402d;
}
.navbar .nav-item .request:active {
  transform: scale(0.7, 0.7);
}
.navbar .dropdown-menu.show {
  background-color: #f5c999;
  border: none;
}
.navbar .dropdown-menu.show .dropdown-item {
  width: auto;
  text-align: center;
  color: #373737;
}
.navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(214, 64, 45)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  border: none;
}

.transparent {
  background-color: transparent !important;
}
.transparent:hover {
  background-color: #f5c999;
}

@media (max-width: 1023px) {
  .navbar .nav-item {
    width: auto;
    text-align: center;
    color: #373737;
    font-weight: bold;
    margin: 0 20px;
  }
  .navbar .request {
    margin: 20px 200px;
  }
}
@media (max-width: 767px) {
  .navbar .request {
    margin: 20px 50px;
  }
}
@media (min-width: 992px) {
  .navbar .request {
    margin: 0;
  }
}
header {
  width: 100%;
  height: 700px;
  background-image: url(../image/header.png);
  background-size: cover;
  margin-top: 0;
  position: relative;
}

.title-box {
  position: absolute;
  width: auto;
  top: 60px;
  right: 0;
  background: #d6402d;
  color: #fff;
  padding: 50px;
  z-index: 99;
}
.title-box .title {
  font-size: 48px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  padding-left: 30px;
  border-left: #fff 3px solid;
  padding-bottom: 8px;
  letter-spacing: 4px;
}
.title-box .title-text {
  margin-top: 50px;
}
.title-box .title-text p {
  font-size: 16px;
  line-height: 15px;
  color: #fff;
}
.title-box .title-text .kome {
  font-size: 14px;
  line-height: 15px;
  margin-top: 30px;
}

@media (max-width: 1023px) {
  header {
    height: 600px;
  }
  .title-box .title {
    font-size: clamp(2.5rem, 0.994rem + 3.14vw, 3rem);
    padding-left: 20px;
    padding-bottom: 8px;
    letter-spacing: 4px;
  }
  .title-box .title-text {
    margin-top: 30px;
  }
}
@media (max-width: 767px) {
  header {
    width: 100%;
    height: 700px;
    background-image: url(../image/header_tb.png);
    background-size: cover;
    margin-top: 0;
    position: relative;
  }
  .title-box {
    top: 100px;
    right: 0;
    padding: 30px;
  }
  .title-box .title {
    font-size: clamp(1.563rem, 1.339rem + 1.12vw, 1.875rem);
    padding-left: 20px;
    padding-bottom: 8px;
    letter-spacing: 4px;
  }
  .title-box .title-text {
    margin-top: 30px;
  }
  .title-box .title-text p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 10px;
  }
  .title-box .title-text .kome {
    font-size: 13px;
    line-height: 15px;
    margin-top: 30px;
  }
}
.start {
  height: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start .top h2 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
}
.start .top p {
  text-align: center;
  font-size: 25px;
  letter-spacing: 3px;
}

@media (max-width: 1023px) {
  .start {
    height: 600px;
  }
}
@media (max-width: 767px) {
  .start {
    height: 500px;
  }
  .start .top h2 {
    font-size: 30px;
  }
  .start .top p {
    font-size: 16px;
    letter-spacing: 2px;
  }
}
.layout_1 {
  height: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5c999;
  flex-direction: column;
  position: relative;
  /* 下記がアニメーションに必要なコード  */
  visibility: hidden;
  opacity: 0;
  transition: 1s;
  overflow: hidden;
}
.layout_1 ::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 270px 2000px 0 0;
  border-color: #fff transparent transparent;
}
.layout_1 ::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 270px 2000px;
  border-color: transparent transparent #fff;
}

/* jQueryによって追加されるコード */
.layout_1.slideToRight {
  visibility: visible;
  opacity: 1;
}
.layout_1.slideToRight .bg {
  overflow: hidden;
}
.layout_1.slideToRight .bg h2 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: #d6402d;
}
.layout_1.slideToRight .bg p {
  text-align: center;
  font-size: 20px;
  letter-spacing: 3px;
}
.layout_1.slideToRight .bg br {
  display: none;
}
.layout_1.slideToRight .bg ::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: slideToRight 3s ease-in-out forwards;
  /*名前 終了時の状態 アニメーションの秒数 ループの回数 進行度 開始までの秒数 アニメーションの向き*/
}
@keyframes slideToRight {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(2000px, 0);
    /* 右2000px、上0px */
  }
}

@media (max-width: 1023px) {
  .layout_1 {
    height: 600px;
  }
  .layout_1 ::before {
    border-width: 250px 1200px 0 0;
  }
  .layout_1 ::after {
    border-width: 0 0 250px 1200px;
  }
}
@media (max-width: 767px) {
  .layout_1 {
    margin: 50px 0;
  }
  .layout_1 ::before {
    border-width: 250px 1000px 0 0;
  }
  .layout_1 ::after {
    border-width: 0 0 250px 1000px;
  }
  .layout_1.slideToRight .bg h2 {
    font-size: 30px;
  }
  .layout_1.slideToRight .bg p {
    font-size: 16px;
    letter-spacing: 2px;
  }
  .layout_1.slideToRight .bg br {
    display: block;
  }
}
.layout_2 {
  height: 700px;
  width: 100%;
}
.layout_2 p {
  font-size: 30px;
  font-weight: bold;
}
.layout_2 p br {
  display: none;
}
.layout_2 p span {
  color: #d6402d;
}
.layout_2 .half_1 {
  width: 100%;
  height: 50%;
  display: flex;
  align-items: center;
  padding-left: 200px;
}
.layout_2 .half_2 {
  width: 100%;
  height: 50%;
  background: #f5c999;
  display: flex;
  align-items: center;
  padding-right: 200px;
  flex-direction: row-reverse;
}
.layout_2 .half_2 P {
  text-align: right;
}

@media (max-width: 1023px) {
  .layout_2 {
    height: 600px;
  }
}
@media (max-width: 767px) {
  .layout_2 {
    height: 500px;
    margin: 50px 0;
  }
  .layout_2 p {
    font-size: 26px;
  }
  .layout_2 p br {
    display: block;
  }
  .layout_2 .half_1 {
    padding-left: 30px;
  }
  .layout_2 .half_2 {
    padding-right: 30px;
  }
}
.layout_3 {
  height: 700px;
  width: 100%;
}
.layout_3 .half_3 {
  width: 100%;
  height: 50%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.layout_3 .half_3 li {
  font-size: 26px;
  font-weight: bold;
  list-style: none;
}
.layout_3 .half_4 {
  width: 100%;
  height: 50%;
  overflow: hidden;
}
.layout_3 .half_4 li {
  list-style: none;
}
.layout_3 .half_4 li .box_1,
.layout_3 .half_4 li .box_3,
.layout_3 .half_4 li .box_5 {
  width: 240px;
  height: 240px;
  background: #f5c999;
  margin: 0 auto;
}
.layout_3 .half_4 li .box_2,
.layout_3 .half_4 li .box_4,
.layout_3 .half_4 li .box_6 {
  width: 240px;
  height: 240px;
  background: #d6402d;
  margin: 0 auto;
}
.layout_3 .slider {
  padding: auto;
}

@media (max-width: 1023px) {
  .layout_3 {
    height: 600px;
    margin: 50px 0;
  }
  .layout_3 .half_4 li .box_1,
  .layout_3 .half_4 li .box_3,
  .layout_3 .half_4 li .box_5 {
    width: clamp(9.375rem, -0.037rem + 19.61vw, 12.5rem);
    height: clamp(9.375rem, -0.037rem + 19.61vw, 12.5rem);
  }
  .layout_3 .half_4 li .box_2,
  .layout_3 .half_4 li .box_4,
  .layout_3 .half_4 li .box_6 {
    width: clamp(9.375rem, -0.037rem + 19.61vw, 12.5rem);
    height: clamp(9.375rem, -0.037rem + 19.61vw, 12.5rem);
  }
}
@media (max-width: 767px) {
  .layout_3 {
    height: 500px;
  }
  .layout_3 .half_3 li {
    font-size: 26px;
  }
  .layout_3 .half_4 .slider-items_2 {
    padding: 0;
  }
  .layout_3 .half_4 li .box_1,
  .layout_3 .half_4 li .box_3,
  .layout_3 .half_4 li .box_5 {
    width: 78px;
    height: 78px;
  }
  .layout_3 .half_4 li .box_2,
  .layout_3 .half_4 li .box_4,
  .layout_3 .half_4 li .box_6 {
    width: 78px;
    height: 78px;
  }
}
.layout_4 {
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.layout_4 .divition_1,
.layout_4 .divition_2 {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.layout_4 .divition_1 h2,
.layout_4 .divition_1 p,
.layout_4 .divition_2 h2,
.layout_4 .divition_2 p {
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  /* IE対応 */
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 10px;
}
.layout_4 .divition_1 h2 span,
.layout_4 .divition_1 p span,
.layout_4 .divition_2 h2 span,
.layout_4 .divition_2 p span {
  color: #d6402d;
}
.layout_4 .divition_bg {
  background: #f5c999;
  width: 75%;
  height: 700px;
  position: absolute;
  top: 0;
  right: -25%;
}
.layout_4 .right_wide {
  right: 0;
}
.layout_4 .right_narrow {
  right: -50%;
}
.layout_4 .shift {
  width: 25%;
  right: 12.5%;
}

@media (max-width: 1023px) {
  .layout_4 {
    height: 600px;
  }
}
@media (max-width: 767px) {
  .layout_4 {
    height: 500px;
  }
  .layout_4 .divition_1 h2,
  .layout_4 .divition_1 p,
  .layout_4 .divition_2 h2,
  .layout_4 .divition_2 p {
    font-size: 26px;
    letter-spacing: 7px;
  }
  .layout_4 .divition_bg {
    height: 500px;
    top: 0;
    right: -25%;
  }
  .layout_4 .right_wide {
    right: 0;
  }
  .layout_4 .right_narrow {
    right: -50%;
  }
  .layout_4 .shift {
    width: 25%;
    right: 12.5%;
  }
}
.layout_5 {
  width: 100%;
  height: 700px;
}
.layout_5 .container {
  height: 100%;
}
.layout_5 .container .row {
  height: 100%;
}
.layout_5 .col-md-6 {
  padding: 50px;
  position: relative;
}
.layout_5 .col-md-6 h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
}
.layout_5 .col-md-6 p {
  font-size: 18px;
  line-height: 35px;
  margin-bottom: 0;
}
.layout_5 .col-md-6 .box1 {
  width: 250px;
  height: 250px;
  background: #d6402d;
  position: absolute;
  bottom: 0;
  left: 50px;
}
.layout_5 .col-md-6 .box2 {
  width: 250px;
  height: 250px;
  background: #f5c999;
  position: absolute;
  top: 0;
  right: 50px;
}

@media (max-width: 1023px) {
  .layout_5 {
    height: 600px;
  }
  .layout_5 .col-md-6 {
    padding: 30px;
  }
  .layout_5 .col-md-6 h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .layout_5 .col-md-6 p {
    font-size: clamp(0.938rem, 0.373rem + 1.18vw, 1.125rem);
    line-height: 35px;
  }
  .layout_5 .col-md-6 .box1 {
    width: clamp(12.5rem, 3.088rem + 19.61vw, 15.625rem);
    height: clamp(12.5rem, 3.088rem + 19.61vw, 15.625rem);
  }
  .layout_5 .col-md-6 .box2 {
    width: clamp(12.5rem, 3.088rem + 19.61vw, 15.625rem);
    height: clamp(12.5rem, 3.088rem + 19.61vw, 15.625rem);
  }
}
@media (max-width: 767px) {
  .layout_5 {
    height: auto;
    margin: 50px 0;
  }
  .layout_5 .container {
    height: auto;
  }
  .layout_5 .container .row {
    height: auto;
  }
  .layout_5 .col-md-6 {
    padding: 50px;
    position: relative;
    height: 400px;
  }
  .layout_5 .col-md-6 h2 {
    font-size: clamp(1.25rem, 0.982rem + 1.34vw, 1.625rem);
    margin-bottom: 30px;
  }
  .layout_5 .col-md-6 p {
    font-size: 13px;
    line-height: 35px;
  }
  .layout_5 .col-md-6 .box1 {
    width: 180px;
    height: 180px;
  }
  .layout_5 .col-md-6 .box2 {
    width: 180px;
    height: 180px;
  }
}
.layout_6 {
  width: 100%;
  height: 700px;
}
.layout_6 .container {
  height: 100%;
}
.layout_6 .container .row {
  height: 100%;
}
.layout_6 .col-md-6 {
  padding: 50px;
}
.layout_6 .col-md-6 p {
  font-size: 16px;
  line-height: 35px;
  margin-bottom: 0;
}
.layout_6 .col-md-6 .box_title {
  font-size: 28px;
  font-weight: bold;
  line-height: 50px;
  margin-top: 20px;
}
.layout_6 .col-md-6 .box3 {
  height: 250px;
  background: #d6402d;
}

@media (max-width: 1023px) {
  .layout_6 {
    height: 600px;
  }
  .layout_6 .col-md-6 {
    padding: 30px;
  }
  .layout_6 .col-md-6 p {
    font-size: 14px;
    line-height: 25px;
  }
  .layout_6 .col-md-6 .box_title {
    font-size: 26px;
    line-height: 40px;
    margin-top: 20px;
  }
  .layout_6 .col-md-6 .box3 {
    height: clamp(12.5rem, 3.088rem + 19.61vw, 15.625rem);
  }
}
@media (max-width: 767px) {
  .layout_6 {
    height: auto;
    margin: 50px 0;
  }
  .layout_6 .container {
    height: auto;
  }
  .layout_6 .container .row {
    height: auto;
  }
  .layout_6 .col-md-6 {
    padding: 30px;
  }
  .layout_6 .col-md-6 p {
    font-size: 14px;
    line-height: 25px;
  }
  .layout_6 .col-md-6 .box_title {
    font-size: 26px;
    line-height: 40px;
    margin-top: 20px;
  }
  .layout_6 .col-md-6 .box3 {
    height: 200px;
  }
}
.layout_7 {
  width: 100%;
  height: 700px;
}
.layout_7 .container {
  height: 100%;
}
.layout_7 .container .row {
  height: 100%;
}
.layout_7 .col-md-4 {
  padding: 20px;
}
.layout_7 .col-md-4 p {
  font-size: 28px;
  font-weight: bold;
  line-height: 50px;
  margin-bottom: 0;
  margin-top: 10px;
}
.layout_7 .col-md-4 .box4 {
  height: 200px;
  background: #d6402d;
}

@media (max-width: 1023px) {
  .layout_7 {
    height: 600px;
  }
  .layout_7 .col-md-4 .box4 {
    height: clamp(9.375rem, -0.037rem + 19.61vw, 12.5rem);
  }
}
@media (max-width: 767px) {
  .layout_7 {
    height: auto;
    margin: 50px 0;
  }
  .layout_7 .container {
    height: auto;
  }
  .layout_7 .container .row {
    height: auto;
  }
  .layout_7 .col-md-4 {
    padding: 30px;
  }
  .layout_7 .col-md-4 p {
    font-size: 26px;
    line-height: 40px;
    margin-top: 20px;
  }
  .layout_7 .col-md-4 .box4 {
    height: 200px;
  }
}
.layout_8 {
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.layout_8 .divition_3,
.layout_8 .divition_5 {
  width: 25%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5c999;
}
.layout_8 .divition_3 h2,
.layout_8 .divition_3 p,
.layout_8 .divition_5 h2,
.layout_8 .divition_5 p {
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  /* IE対応 */
  text-orientation: upright;
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 10px;
}
.layout_8 .divition_4 {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.layout_8 .divition_4 p {
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 5px;
  color: #d6402d;
}

@media (max-width: 1023px) {
  .layout_8 {
    height: 600px;
  }
}
@media (max-width: 767px) {
  .layout_8 {
    height: 600px;
    margin: 50px 0;
  }
  .layout_8 .divition_3,
  .layout_8 .divition_5 {
    width: 40%;
  }
  .layout_8 .divition_3 h2,
  .layout_8 .divition_3 p,
  .layout_8 .divition_5 h2,
  .layout_8 .divition_5 p {
    font-size: 26px;
    letter-spacing: 10px;
  }
  .layout_8 .divition_4 {
    width: 20%;
    display: block;
  }
  .layout_8 .divition_4 p {
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    /* IE対応 */
    font-size: 18px;
    letter-spacing: 5px;
    margin: 0 auto;
  }
}
.layout_9 {
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.layout_9 .container {
  display: grid;
  grid-template-rows: 150px 150px 150px;
  grid-template-columns: 180px 180px 180px 180px 180px 180px;
  column-gap: 6px;
  row-gap: 6px;
  width: auto;
}
.layout_9 .container .grid1 {
  grid-column: 1/3;
  grid-row: 1/3;
  background: #d6402d;
}
.layout_9 .container .grid2 {
  grid-column: 3/7;
  grid-row: 1/2;
  background: #f5c999;
}
.layout_9 .container .grid3 {
  grid-column: 3/5;
  grid-row: 2/3;
  background: #373737;
}
.layout_9 .container .grid4 {
  grid-column: 5/7;
  grid-row: 2/3;
  background: #d6402d;
}
.layout_9 .container .grid5 {
  grid-column: 1/4;
  grid-row: 3/4;
  background: #f5c999;
}
.layout_9 .container .grid6 {
  grid-column: 4/7;
  grid-row: 3/4;
  background: #373737;
}
.layout_9 h2 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 30px;
}

@media (max-width: 1279px) {
  .layout_9 .container {
    grid-template-rows: 150px 150px 150px;
    grid-template-columns: 150px 150px 150px 150px 150px 150px;
    column-gap: 6px;
    row-gap: 6px;
  }
}
@media (max-width: 1023px) {
  .layout_9 {
    width: 100%;
    height: 600px;
  }
  .layout_9 .container {
    grid-template-rows: 150px 150px 150px;
    grid-template-columns: 110px 110px 110px 110px 110px 110px;
    column-gap: 6px;
    row-gap: 6px;
  }
  .layout_9 h2 {
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
  }
}
@media (max-width: 767px) {
  .layout_9 {
    margin: 50px 0;
  }
  .layout_9 .container {
    grid-template-rows: 60px 60px 60px 60px 80px 60px;
    grid-template-columns: 100px 100px 100px;
  }
  .layout_9 .container .grid1 {
    grid-column: 1/4;
    grid-row: 1/3;
  }
  .layout_9 .container .grid2 {
    grid-column: 1/4;
    grid-row: 3/4;
  }
  .layout_9 .container .grid3 {
    grid-column: 1/3;
    grid-row: 4/5;
  }
  .layout_9 .container .grid4 {
    grid-column: 3/4;
    grid-row: 4/5;
  }
  .layout_9 .container .grid5 {
    grid-column: 1/4;
    grid-row: 5/6;
  }
  .layout_9 .container .grid6 {
    grid-column: 1/4;
    grid-row: 6/7;
  }
  .layout_9 h2 {
    font-size: 26px;
  }
}
.layout_10 {
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.layout_10 .container {
  display: grid;
  grid-template-rows: 225px 225px;
  grid-template-columns: 270px 270px 270px 270px;
  column-gap: 20px;
  row-gap: 20px;
  width: auto;
}
.layout_10 .container .card1 {
  grid-column: 1/2;
  grid-row: 1/2;
  background: #f5c999;
}
.layout_10 .container .card2 {
  grid-column: 2/3;
  grid-row: 1/2;
  background: #d6402d;
}
.layout_10 .container .card3 {
  grid-column: 3/4;
  grid-row: 1/2;
  background: #f5c999;
}
.layout_10 .container .card4 {
  grid-column: 4/5;
  grid-row: 1/2;
  background: #d6402d;
}
.layout_10 .container .card5 {
  grid-column: 1/2;
  grid-row: 2/3;
  background: #d6402d;
}
.layout_10 .container .card6 {
  grid-column: 2/3;
  grid-row: 2/3;
  background: #f5c999;
}
.layout_10 .container .card7 {
  grid-column: 3/4;
  grid-row: 2/3;
  background: #d6402d;
}
.layout_10 .container .card8 {
  grid-column: 4/5;
  grid-row: 2/3;
  background: #f5c999;
}
.layout_10 h2 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 30px;
}
.layout_10 h2 br {
  display: none;
}

@media (max-width: 1279px) {
  .layout_10 .container {
    grid-template-rows: 225px 225px;
    grid-template-columns: 225px 225px 225px 225px;
    column-gap: 10px;
    row-gap: 10px;
  }
}
@media (max-width: 1023px) {
  .layout_10 {
    width: 100%;
    height: 600px;
  }
  .layout_10 .container {
    grid-template-rows: 225px 225px;
    grid-template-columns: 165px 165px 165px 165px;
    column-gap: 10px;
    row-gap: 10px;
  }
  .layout_10 h2 {
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
  }
  .layout_10 h2 br {
    display: none;
  }
}
@media (max-width: 767px) {
  .layout_10 {
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 50px 0;
  }
  .layout_10 .container {
    display: grid;
    grid-template-rows: 90px 90px 90px 90px;
    grid-template-columns: 150px 150px;
  }
  .layout_10 .container .card1 {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .layout_10 .container .card2 {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .layout_10 .container .card3 {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .layout_10 .container .card4 {
    grid-column: 2/3;
    grid-row: 3/4;
  }
  .layout_10 .container .card5 {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .layout_10 .container .card6 {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .layout_10 .container .card7 {
    grid-column: 1/2;
    grid-row: 4/5;
  }
  .layout_10 .container .card8 {
    grid-column: 2/3;
    grid-row: 4/5;
  }
  .layout_10 h2 {
    font-size: 26px;
  }
  .layout_10 h2 br {
    display: block;
  }
}
footer {
  height: 700px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(#fff, #f5c999);
  position: relative;
}
footer h2 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  line-height: 55px;
  color: #d6402d;
  margin-bottom: 150px;
  margin-top: 50px;
}
footer .end-text {
  text-align: center;
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: bold;
}
footer a {
  text-align: center;
  color: #fff;
  background: #d6402d;
  border: 3px solid #fff;
  border-radius: 50px;
  margin: 20px auto;
  padding: 10px 30px;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 3px;
  text-decoration: none;
  transition: all 1s;
}
footer a:hover {
  color: #373737;
  background: transparent;
}
footer a:active {
  transform: scale(0.7, 0.7);
}
footer .footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
footer .footer P {
  text-align: center;
}

@media (max-width: 1023px) {
  footer h2 {
    font-size: 35px;
    margin-bottom: 100px;
    margin-top: 100px;
  }
}
@media (max-width: 767px) {
  footer {
    height: auto;
  }
  footer h2 {
    font-size: clamp(1rem, 0.374rem + 3.13vw, 1.875rem);
    line-height: clamp(1.875rem, 1.428rem + 2.24vw, 2.5rem);
    margin-bottom: 100px;
    margin-top: 50px;
  }
  footer .end-text {
    font-size: clamp(0.875rem, 0.696rem + 0.89vw, 1.125rem);
    letter-spacing: 2px;
  }
  footer a {
    border: 3px solid #fff;
    margin: 20px auto 100px;
    padding: 10px 30px;
    font-size: 20px;
    letter-spacing: 3px;
  }
  footer .footer P {
    font-size: 12px;
  }
}
* {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

h2, p {
  color: #373737;
}