@charset "UTF-8";

html {
  font-size: 62.5%;
  margin-top: 0 !important;
}

body {
  font-size: 1.2rem;
  font-weight: 500;
  font-family: "ivyora-display", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: justify;
  line-height: 1;
  margin: 0 auto;
  letter-spacing: 0.04em;
  text-align: left;
  word-break: break-word;
}

section {
  width: 100%;
  padding-top: 100px;
  max-width: 1440px;
  margin: 0 auto;
}

section:last-child {
  margin-bottom: 100px;
}

@media screen and (max-width: 750px) {
  .top_page section {
    padding-top: 80px !important;
  }
  section {
    padding-top: 45px;
  }
  .mt15_sp {
    margin-top: 15px;
  }
}

p {
  font-weight: 400;
}

a {
  display: inline-block;
  transition: all 0.5s;
  cursor: pointer;
}

a:hover {
  opacity: 0.5;
}

img {
  width: 100%;
  display: inline-block;
  transition: all 0.5s;
}

ul li,
ol li {
  list-style: none;
  position: relative;
  padding-left: 25px;
}

ul li::before,
ol li::before {
  position: absolute;
  content: "・";
  font-size: 16px;
  line-height: 28px;
  left: 0;
  top: 0;
}

span {
  display: inline-block;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.sp-br {
  display: none;
}

.txt-right {
  text-align: right;
}

@media screen and (max-width: 750px) {
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  .sp-br {
    display: block;
  }
  .pc-br {
    display: none;
  }
}

.mt0 {
  margin-top: 0;
}

.pt0 {
  padding-top: 0 !important;
}

/***********************
    ヘッダー
***********************/

header {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/fv-mask.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.scrolldown {
  position: absolute;
  right: 100px;
  bottom: 0px;
  height: 140px;
  z-index: 2;
}

.scrolldown span {
  position: absolute;
  left: -8px;
  top: -40px;
  color: #eee;
  font-size: 16px;
  line-height: 20px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.scrolldown::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 140px;
  background: #eee;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 140px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 140px;
    opacity: 0;
  }
}

.header-top {
  width: 100%;
  padding: 22px 100px 22px 100px;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 100;
  transition: all 0.5s;
}

.header-logo {
  width: 158px;
  height: 42px;
}

.header-logo img {
  width: 100%;
}

.header-nav {
  width: calc(100% - 145px);
  height: auto;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.header-nav ul {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-nav ul li {
  font-size: 14px;
  position: relative;
  margin-left: 60px;
  padding-left: 0;
}

.header-nav ul li::before {
  display: none;
}

.header-contact {
  border: 1px solid #ffffff;
  margin-left: 16% !important;
}

.header-contact a {
  padding: 16px 30px;
}

.header-contact a:hover {
  background-color: #ffffff;
  color: #333333;
  opacity: 1;
}

/*
ヘッダーをスクロールしたら変化
 */

.header-top.scroll-header-top {
  background-color: #ffffff;
}

.scroll-header-top .header-nav {
  color: #000000;
}

.scroll-header-top .header-contact {
  border: 1px solid #333333;
}

.scroll-header-top .header-contact a:hover {
  background-color: #333333;
  color: #ffffff;
}

.header-text {
  position: absolute;
  bottom: 80px;
  left: 100px;
  color: #ffffff;
  z-index: 2;
}

.header-text h2 {
  font-size: 48px;
  letter-spacing: 0.06em;
  line-height: 76px;
  margin-bottom: 40px;
}

.header-text p {
  font-size: 16px;
  line-height: 28px;
}

/*
FVのスライド
*/

.slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: anime 36s 0s infinite;
}

.slide-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/fv-mask.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.slide-image:nth-child(1) {
  background-image: url(../img/fv01.webp);
  animation-delay: 30s;
}

.slide-image:nth-child(2) {
  background-image: url(../img/fv02.webp);
  animation-delay: 6s;
}

.slide-image:nth-child(3) {
  background-image: url(../img/fv03.webp);
  animation-delay: 12s;
}

.slide-image:nth-child(4) {
  background-image: url(../img/fv04.webp);
  animation-delay: 0s;
}

.slide-image:nth-child(5) {
  background-image: url(../img/fv05.webp);
  animation-delay: 18s;
}

.slide-image:nth-child(6) {
  background-image: url(../img/fv06.webp);
  animation-delay: 24s;
}

/* @keyframes anime {
    0% { opacity: 0 }
    1% { opacity: 1 }
    16% { opacity: 1 }
    17% { opacity: 1 }
    100% { opacity: 0 }
} */

@keyframes anime {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  17% {
    opacity: 1;
  }
  25% {
    opacity: 0;
    transform: scale(1.02);
    z-index: 1;
  }
  100% {
    opacity: 0;
  }
}

/*
ハンバーガーメニュー
*/

.hamburger-menu {
  display: none;
}

@media screen and (max-width: 1160px) {
  .header-top {
    padding: 22px 50px 22px 50px;
  }
  .header-nav ul li {
    margin-left: 40px;
  }
  .header-contact {
    margin-left: 10% !important;
  }
  .header-text {
    left: 70px;
  }
}

@media (max-width: 900px) {
  header {
    height: 625px;
  }

  .header-logo {
    width: 138px;
  }

  .header-top {
    padding: 13px 5.5% 13px 13px;
  }

  .header-nav {
    display: none;
  }

  .scrolldown {
    display: none;
  }

  .header-text {
    position: absolute;
    bottom: 55px;
    left: 0;
    right: 0;
    margin: auto;
    color: #ffffff;
    padding: 0 5.5%;
  }

  .header-text h2 {
    font-size: 32px;
    letter-spacing: 0.04em;
    line-height: 50px;
    margin-bottom: 20px;
    text-align: center;
  }

  .header-text p {
    font-size: 14px;
    line-height: 24px;
  }

  /***********************
    ハンバーガーメニュー
    ***********************/

  .hamburger-menu {
    width: 60px;
    height: 50px;
    display: block;
    position: fixed;
    top: 10px;
    right: 5.5%;
    z-index: 101;
  }
  .menu-btn {
    display: block;
    width: 60px;
    height: 50px;
    z-index: 10001;
    position: relative;
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 1px;
    width: 40.98px;
    background-color: #ffffff;
    position: absolute;
    top: 25px;
    z-index: 81;
    /* box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.5); */
  }
  .menu-btn span {
    right: 10px;
  }

  .menu-btn span:before {
    top: -15px;
  }
  .menu-btn span::after {
    top: 15px;
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    background-color: rgba(
      255,
      255,
      255,
      0
    ); /*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span {
    bottom: 0;
    transform: rotate(45deg);
    background-color: #ffffff;
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    top: 0;
    transform: rotate(-90deg);
    background-color: #ffffff;
  }
  #menu-btn-check:checked .kasou-top {
    z-index: 0;
  }
  #menu-btn-check {
    display: none;
  }
  .menu-content ul {
    padding: 110px 0 0 0;
  }
  .menu-content ul li {
    list-style: none;
    text-align: center;
    padding-left: 0 !important;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 25px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 50px;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #000000;
    transition: all 0.5s;
    margin-bottom: 5rem;
  }
  .recruit-menu-content {
    background-color: #333333;
  }
  .recruit-menu-content ul li a {
    color: #ffffff;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0; /*メニューを画面内へ*/
  }
  .hamburger-logo {
    width: 50%;
    padding: 5rem 0;
    margin-left: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hamburger-logo > img {
    object-fit: contain;
    height: 100px;
    width: 30%;
  }
  /*
    ヘッダーをスクロールしたら変化
    */

  .scroll-hamburger-menu .menu-btn span,
  .scroll-hamburger-menu .menu-btn span:before,
  .scroll-hamburger-menu .menu-btn span:after {
    background-color: #000000;
  }

  .header-contact {
    width: 41.75%;
    margin: 45px auto 0 auto !important;
  }
  .header-contact a {
    margin-bottom: 0 !important;
    padding: 20px 0;
  }
}
/***********************
    ハンバーガーメニュー
    ***********************/

/***********************

    message

***********************/

.message {
  background-image: url(../img/message_bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 80px 0;
  max-width: initial !important;
}

.message .inner {
  padding-right: 100px;
}

.message_box {
  display: flex;
  justify-content: space-between;
}

.message_right {
  width: 63%;
}

.message_left {
  width: 30%;
}

.message_content {
  width: 100%;
}

.message h2 {
  font-size: 48px;
  line-height: 70px;
  margin-bottom: 35px;
}

.message_content_right p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 35px;
}

.message_content_right ul {
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 35px;
}

.message_img {
  width: 100%;
}

.img_cap {
  font-size: 16px;
  line-height: 28px;
  margin-top: 8px;
}

.img_cap span {
  font-size: 20px;
  line-height: 28px;
}

@media (max-width: 1100px) {
  .message_box {
    flex-direction: column-reverse;
    align-items: center;
  }

  .message_right {
    width: 100%;
  }

  .message_left {
    width: 50%;
  }

  .message h2 {
    padding-right: 0;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    margin-bottom: 30px;
  }

  .message_right {
    width: 100%;
    padding: 0 5.5%;
  }

  .message_content_right ul {
    font-size: 18px;
  }
}

@media (max-width: 750px) {

  .message_content_right p {
    font-size: 14px;
  }
  .message_content {
    margin-top: 30px;
  }
  .img_cap {
    font-size: 14px;
  }
  .img_cap span {
    font-size: 18px;
  }
}

@media (min-width: 1640px) {
  .message .wide-inner {
    max-width: 1440px;
    margin: 0 auto;
  }
}


/***********************

    About_us

***********************/

.section {
  width: 100%;
}

.about_us {
  padding-top: 80px;
  /* max-width: initial; */
}

.inner {
  width: 100%;
  padding: 0 100px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1640px) {
  .inner {
    padding: 0;
  }
}

.wide-inner {
  width: 100%;
  padding-left: 100px;
  padding-right: 0;
}

.all-inner {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.about_us_box {
  display: flex;
  justify-content: space-between;
}

.inner-wide {
  width: 100%;
}

.about_us_left {
  width: calc(100% - 330px - 45px);
  padding-top: 50px;
}

.about_us h2 {
  padding-right: 100px;
  font-size: 48px;
  line-height: 70px;
}

.about_us span {
  padding-right: 100px;
  font-size: 28px;
  line-height: 70px;
}

.about_us_right {
  width: 330px;
}

.about_us_content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.about_us_content_left {
  width: calc(100% - 270px - 70px);
}

.about_us_content_left p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 35px;
}

.about_us_content_right {
  width: 270px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about_us_right img {
  width: 100%;
}

.about_us_content_right_sp {
  display: none;
}

@media (min-width: 1640px) {
  .wide-inner {
    padding-left: 0;
  }
}

@media (max-width: 1320px) {
  .about_us h2 {
    padding-right: 0;
    font-size: 40px;
  }
}

@media (max-width: 1200px) {
  .about_us {
    padding-top: 60px;
  }
  .about_us h2 {
    padding-right: 0;
    font-size: 40px;
  }
  .about_us span {
    padding-right: 0;
  }
  .about_us_content {
    flex-direction: column;
  }
  .about_us_content_left {
    width: 100%;
    margin-bottom: 30px;
  }
  .about_us_content_right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  .about_us_content_right img {
    width: calc(50% - 20px);
  }
  .about_us_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1100px) {
  .wide-inner {
    padding-right: 0 !important;
  }
}

@media (max-width: 1000px) {
  .about_us_box {
    flex-direction: column;
  }
  .about_us_left {
    width: 100%;
    padding: 0 5.5%;
  }
  .about_us h2 {
    padding-right: 0;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    margin-bottom: 30px;
  }
  .about_us span {
    padding-right: 0;
    font-size: 18px;
    line-height: 26px;
    display: block;
    text-align: center;
  }
  .about_us_content {
    flex-direction: column;
  }
  .about_us_content_left {
    width: 100%;
  }
  .about_us_right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
  }
  .about_us_content_right_sp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
  .about-right-img {
    display: block;
    width: 50% !important;
  }
  .about_us_content_right.pc {
    display: none;
  }
}

@media (max-width: 750px) {
  .about_us_content_right_sp {
    margin: 50px 0;
  }
  .about_us_content_left p {
    font-size: 14px;
  }
  .about_us_content {
    margin-top: 30px;
  }
  .about_us_right {
    margin-top: 10px;
  }
}

/***********************

    Service_Architecture

***********************/

.service_architecture {
  padding: 150px 0 100px 0;
  position: relative;
  max-width: initial !important;
}

.service_architecture .inner {
  max-width: 1440px;
  margin: 0 auto;
}

.service_architecture::before {
  content: "";
  position: absolute;
  height: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(#ffffff, #f2f2f2);
}

.h2-title {
  font-size: 56px;
  line-height: 73px;
}

.service_architecture_box {
  padding-top: 45px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2%;
  width: 100%;
}

.service_architecture_item {
  width: 25%;
  background-color: #ffffff;
}

.service_architecture_item::before {
  display: none;
}

.service_architecture_item h3 {
  position: relative;
  color: #ffffff;
  padding: 25px 0 25px 90px;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 15px;
  background-image: url(../img/service_architecture_item_number.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
  overflow: hidden;
}

.service_architecture_item:last-child h3 {
  background-image: url(../img/service_architecture_item_number_last.png);
}

.service_architecture_item h3::before {
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  font-size: 75px;
  line-height: 63px;
  left: -10px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.service_architecture_item:nth-child(1) h3::before {
  content: "01";
}
.service_architecture_item:nth-child(2) h3::before {
  content: "02";
}
.service_architecture_item:nth-child(3) h3::before {
  content: "03";
}
.service_architecture_item:nth-child(4) h3::before {
  content: "04";
}

.service_architecture_item h3 span {
  display: none;
}

.service_architecture_img {
  position: relative;
}

.service_architecture_img::before {
  content: "";
  position: absolute;
  height: 103px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.service_architecture_img_title {
  position: absolute;
  content: "";
  bottom: 10px;
  left: 10px;
  color: #ffffff;
}

.service_architecture_img_title span:first-child {
  display: block;
  font-size: 22px;
  line-height: 22px;
  margin-bottom: 10px;
}

.service_architecture_img_title span:last-child {
  display: block;
  font-size: 12px;
  line-height: 22px;
}

.service_architecture_text {
  padding: 20px 10px 35px 10px;
}

.service_architecture_text h4 {
  font-size: 18px;
  line-height: 28px;
  padding-bottom: 15px;
}

.service_architecture_text p {
  font-size: 14px;
  line-height: 22px;
}

.service-sp {
  display: none;
}

@media (max-width: 1200px) {
  .service_architecture_box {
    flex-wrap: wrap;
  }
  .service_architecture_item {
    width: 48%;
  }
  .service_architecture_img img {
    height: 300px;
    object-fit: cover;
  }
  .service-pc {
    display: none;
  }
  .service-sp {
    display: block;
  }
}

@media (max-width: 1100px) {
  .inner {
    padding: 0 50px;
  }
}

@media (max-width: 900px) {
  .h2-title {
    font-size: 40px;
  }
}

@media (max-width: 750px) {
  .h2-title {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
  }
  .inner {
    padding: 0 5.5%;
  }
  .wide-inner {
    padding: 0 !important;
  }
  .service_architecture .inner {
    padding: 0;
  }
  .service_architecture {
    padding-top: 80px;
    padding-bottom: 0;
  }
  .service_architecture_box {
    flex-direction: column;
    padding-top: 30px;
  }
  .service_architecture_item {
    width: 100%;
  }
  .service_architecture_item h3 {
    background-image: none;
    color: #000000;
    padding: 0;
    text-align: center;
    margin-bottom: 8px;
  }
  .service_architecture_item h3 span {
    display: inline-block;
    margin-right: 6px;
    color: rgba(0, 0, 0, 0.37);
    /* position: relative; */
  }
  /* .service_architecture_item h3 span::before {
    position: absolute;
    color: rgba(0, 0, 0, 0.37);
    font-size: 14px;
    line-height: 22px;
    left: -25px;
  }
  .service_architecture_item:nth-child(1) h3 span::before {
    content: "01";
  }
  .service_architecture_item:nth-child(2) h3 span::before {
    content: "02";
  }
  .service_architecture_item:nth-child(3) h3 span::before {
    content: "03";
  }
  .service_architecture_item:nth-child(4) h3 span::before {
    content: "04";
  } */
  .service_architecture_item:last-child h3 {
    background-image: none;
  }
  .service_architecture_img,
  .service_architecture_text {
    width: 89%;
    margin: 0 auto;
  }
  .service_architecture_img_title {
    left: 0;
    right: 0;
    margin: auto;
  }
  .service_architecture_img_title span:first-child {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
  }
  .service_architecture_img_title span:last-child {
    display: none;
  }
  .service_architecture::before {
    background: none;
  }
  .service_architecture_img img {
    height: 58.5vw;
    object-fit: cover;
  }
  .service_architecture_item {
    position: relative;
    z-index: 5;
    padding: 55px 0 30px 0;
  }
  .service_architecture_item:first-child {
    padding-top: 0;
  }
  .service_architecture_item:last-child {
    padding-bottom: 40px;
  }
  .service_architecture_item::before {
    content: "";
    position: absolute;
    /* width: 113%;
        height: 50%;
        left: -7%; */
    width: 100%;
    height: 50%;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(#ffffff, #f2f2f2);
  }
  .service_architecture_text {
    padding: 10px;
    background-color: #ffffff;
  }
  .service_architecture_item:nth-child(2):after,
  .service_architecture_item:nth-child(3):after,
  .service_architecture_item:nth-child(4):after {
    position: absolute;
    content: url(../img/service_architecture_item_number_sp.png);
    width: 10.75%;
    height: 4.25%;
    object-fit: contain;
    top: 3%;
    left: 0;
    right: 0;
    margin: auto;
  }
  .service_architecture_img::before {
    content: "";
    position: absolute;
    height: 15.7vw;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  }
}

/***********************

    pick_up

***********************/

.pick_up {
  background-image: url(../img/pickup-back.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 0;
  max-width: initial !important;
}

.pick_up::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.pick_up_box {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 0;
  display: flex;
  justify-content: space-between;
}

.pick_up_box > div {
  width: 50%;
}

.pick_up_left {
  padding-right: 88px;
}

.pick_up_left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick_up_right {
  color: #ffffff;
  padding-top: 10px;
  padding-left: 25px;
}

.pick_up_right span {
  display: block;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 32px;
}

.pick_up_right h2 {
  font-size: 48px;
  letter-spacing: 0.06em;
  line-height: 62px;
  margin-bottom: 30px;
}

.pick_up_right p {
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 28px;
}

.pick_up_link {
  text-align: end;
  margin-top: 40px;
}

.link-border {
  border-bottom: 1px solid #ffffff;
  line-height: 20px !important;
}

.link-border.black {
  border-bottom: 1px solid #000000;
  line-height: 20px !important;
}

@media (max-width: 1240px) {
  .pick_up_right h2 {
    font-size: 40px;
    line-height: 32px;
  }
  .pick_up_right {
    padding-left: 0;
  }
  .pick_up_left {
    padding-right: 50px;
  }
}

@media (max-width: 1000px) {
  .pick_up_right h2 {
    font-size: 30px;
    line-height: 32px;
  }
}

@media (max-width: 750px) {
  #pick_up {
    padding-top: 0 !important;
  }
  .pick_up_box {
    flex-direction: column;
    padding: 40px 0;
  }
  .pick_up_box > div {
    width: 100%;
    padding-right: 0;
  }
  .pick_up_left img {
    height: 44.75vw;
  }
  .pick_up_right h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .pick_up_right span {
    font-size: 14px;
  }
  .pick_up_right {
    padding-top: 30px;
    padding-left: 0;
  }
  .pick_up_right span,
  .pick_up_right h2 {
    text-align: center;
  }
  .pick_up_link {
    text-align: center;
    margin-top: 30px;
  }
  .pick_up_right p {
    font-size: 14px;
  }
}

/***********************

    services

***********************/

/* .services {
    max-width: initial;
} */

.services .inner {
  position: relative;
}

.services_all {
  position: absolute;
  top: 27px;
  right: 0px;
  display: inline-block;
  font-size: 18px;
  line-height: 32px;
}

.slider {
  overflow: hidden;
  margin-top: 30px;
}

.slider-box {
  position: relative;
  overflow: hidden;
  display: block;
}

.slider-box-img-box {
  width: 100%;
  height: 284px;
  overflow: hidden;
}

.slider-box-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-link {
  width: 100%;
}

.slider-link:hover {
  opacity: 1;
}

.slider-link:hover .slider-box-img-box img {
  transform: scale(1.1);
}

.slider-text {
  transition: all 0.5s;
}

.slider-link:hover .slider-text {
  opacity: 0.5;
  transition: all 0.5s;
}

.w20 {
  margin-right: 15px;
  /* width: 22%!important; */
}

.slider-text span {
  display: block;
  font-size: 18px;
  line-height: 32px;
  padding-top: 12px;
}

.slider-text p {
  text-align: end;
  font-size: 14px;
  line-height: 22px;
  padding-top: 12px;
}

.w20:last-child {
  margin-right: 0;
}

.slick-nav-arrows {
  position: absolute;
  top: 38px;
  right: 5.5%;
}

.slick-list {
  overflow: visible;
}

.slick-arrow {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

.slick-next {
  right: 0;
}

.slick-prev {
  left: -110px;
}

.slick-next:before,
.slick-prev:before {
  color: #000;
}

.slick-prev:before,
.slick-next:before {
  opacity: 1 !important;
}

.slick-prev:before {
  /* content: url("../img/prev-arrow.png")!important; */
  content: "" !important;
  background-image: url(../img/prev-arrow.png);
  background-size: contain;
  object-fit: contain;
  width: 50px;
  height: 50px;
}

.slick-next:before {
  content: "" !important;
  background-image: url(../img/next-arrow.png);
  background-size: contain;
  object-fit: contain;
  width: 50px;
  height: 50px;
}

.read_more {
  color: #5a5a5a;
  border-bottom: 1px solid #5a5a5a;
  display: inline-block !important;
  font-size: 14px !important;
  line-height: 18px !important;
}

.slick-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 750px) {
  .services {
    padding-top: 60px;
  }
  .services .inner {
    padding-left: 5.5% !important;
  }
  .services .h2-title {
    text-align: left;
  }
  .slick-nav-arrows {
    top: 18px;
    right: 23%;
  }
  .slick-arrow {
    width: 41px;
    height: 41px;
  }
  .slick-prev:before,
  .slick-next:before {
    width: 41px;
    height: 41px;
  }
  .services_all {
    top: 8px;
    right: 5.5%;
    font-size: 14px;
  }
  .slick-prev {
    left: -95px;
  }
  .slider-box-img-box {
    height: 210px;
  }
}

/***********************

    Model_coruses

***********************/

.model_coruses {
  padding-top: 100px;
  /* max-width: initial; */
  margin-bottom: 80px;
}

.model_coruses .inner {
  position: relative;
}

.view_all {
  position: absolute;
  top: 27px;
  right: 0px;
  display: inline-block;
  font-size: 18px;
  line-height: 32px;
}

@media (max-width: 750px) {
  .model_coruses {
    padding-top: 80px;
  }
  .model_coruses .inner {
    padding-left: 5.5% !important;
  }
  .model_coruses .h2-title {
    text-align: left;
  }
  .model_coruses .slick-nav-arrows {
    top: 45px;
  }
  .view_all {
    top: 35px;
    right: 5.5%;
    font-size: 14px;
  }
}

/***********************

    TOKYO ACTIVITIES

***********************/

/* .tokyo_activities {
    max-width: initial;
} */

/* .tokyo_activities .h2-title {
    padding-left: 100px;
} */

#activities-slider .slider-box {
  margin: 0 7px;
}

@media (max-width: 1100px) {
  .all-inner {
    padding: 0;
  }
}

@media (max-width: 900px) {
  #activities-slider .slider-box {
    margin: 0;
    margin-right: 15px;
  }
  /* #activities-slider {
        padding-left: 5.5%;
    }
    .tokyo_activities .h2-title {
        padding-left: 5.5%;
    } */
}

@media (max-width: 750px) {
  .tokyo_activities .inner {
    padding-left: 5.5% !important;
  }
  .tokyo_activities {
    padding-top: 60px;
  }
  .tokyo_activities .h2-title {
    text-align: left;
    /* padding-left: 5.5%; */
  }
  .all-inner {
    padding: 0;
  }
  .model_coruses .slick-nav-arrows {
    top: 45px;
  }
  .view_all {
    top: 35px;
    right: 5.5%;
    font-size: 14px;
  }
  .tokyo_activities .slick-nav-arrows {
    top: 45px;
  }
}

/***********************

    Q&A

***********************/

.qa {
  background-image: url(../img/qa-back.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 80px 0;
  margin-top: 100px;
  max-width: initial !important;
}

.qa .inner {
  max-width: 1440px;
  margin: 0 auto;
}

.qa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.qa .h2-title {
  text-align: center;
  color: #ffffff;
}

.qa-box {
  padding: 40px 83px;
}

@media (min-width: 1640px) {
  .qa-box {
    padding: 40px 0;
  }
}

.qa-item {
  width: 100%;
  border-bottom: 1px solid #ffffff;
  font-size: 18px;
  line-height: 32px;
}

.qa-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 20px 0 20px 30px;
  color: #ffffff;
  font-weight: 600;
}

.qa-title::before,
.qa-text::before {
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 18px;
}

.qa-title::before {
  color: #ffffff;
  content: "Q.";
}

/* .qa-title::after {
    transform: translateY(-25%) rotate(45deg);
    width: 13px;
    height: 13px;
    margin-left: 10px;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    content: '';
} */

.qa-text {
  position: relative;
  /* transform: translateY(-10px); */
  margin: 0;
  padding: 0 0 20px 30px;
  color: #ffffff;
}

.qa-text::before {
  color: #ffffff;
  line-height: 1.2;
  content: "A.";
}

.qa_link {
  text-align: end;
  color: #ffffff;
  font-size: 18px;
  line-height: 32px;
  margin-top: 30px;
}

@media (max-width: 750px) {
  .qa {
    padding: 40px 0;
    margin-top: 80px;
  }
  .qa-box {
    padding: 0;
    border-top: 1px solid #ffffff;
    margin-top: 30px;
  }
  .qa-item {
    font-size: 14px;
    line-height: 26px;
  }
  .qa-item summary {
    padding: 12px 0 12px 30px;
  }
  .qa-item summary::after {
    width: 10px;
    height: 10px;
  }
  .qa-item summary::before,
  .qa-item p::before {
    font-size: 14px;
    top: 12px;
  }

  .qa-title::before {
    top: 19px !important;
  }

  .qa-text::before {
    top: 5px !important;
  }

  .qa_link {
    text-align: center;
    font-size: 14px;
  }
}

/***********************

    CUSTOMER REVIEWS

***********************/

.customer_reviews {
  /* max-width: initial; */
  margin-bottom: 80px;
}

.slider-customer-box {
  background-image: url(../img/reviews-back.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 35px 30px;
  position: relative;
}

.slider-customer-box span {
  padding-top: 0;
}

.review-img {
  position: absolute;
  width: 8%;
  right: 0;
  bottom: 0;
}

.slick-track {
  display: flex;
}

.slick-slide {
  height: auto !important;
}

.reviews-text {
  text-align: left !important;
}

.reviews-day {
  font-size: 10px !important;
  line-height: 22px !important;
  padding-top: 0 !important;
}

@media (max-width: 750px) {
  .customer_reviews {
    padding-top: 60px;
  }
  .customer_reviews .inner {
    padding-left: 5.5% !important;
  }
  .customer_reviews .h2-title {
    text-align: left;
  }
  .customer_reviews .slick-nav-arrows {
    top: 45px;
  }
  .review-img {
    width: 12%;
  }
  .view_all {
    top: 35px;
    right: 5.5%;
    font-size: 14px;
  }
}

.review-back {
  max-width: initial !important;
}

.review-back .parallax_content {
  background-image: url(../img/review-back.webp);
}

@media (max-width: 750px) {
  .review-back .parallax_content {
    height: 75vw;
    background-attachment: initial;
  }
  .review-back .parallax_content {
    background-image: url(../img/review-back-sp.webp);
  }
}

/***********************

    NEWS

***********************/

.news .h2-title {
  text-align: center;
}

.news-box {
  padding: 30px 83px;
}

@media (min-width: 1640px) {
  .news-box {
    padding: 30px 0;
  }
}

.news-item a {
  display: flex;
  justify-content: space-between;
  padding: 38px 0;
  border-bottom: 1px solid #707070;
}

.news-item:first-child {
  padding-top: 0;
}

.news-text {
  width: calc(100% - 175px - 22px);
  transition: all 0.5s;
}

.news-text span {
  display: block;
}

.news-category {
  font-size: 14px;
  line-height: 28px;
  color: #fd4949;
  margin-bottom: 15px;
}

.news-day {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 5px;
}

.news-text p {
  font-size: 18px;
  line-height: 32px;
}

.news-img {
  width: 175px;
  height: auto;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-link:hover {
  opacity: 1;
}

.news-link:hover .news-img img {
  transform: scale(1.1);
}

.news-link:hover .news-text {
  opacity: 0.5;
  transition: all 0.5s;
}

.news_link {
  text-align: end;
  font-size: 18px;
  line-height: 32px;
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .news-box {
    padding: 30px 0;
  }
}

@media (max-width: 750px) {
  .news {
    padding-top: 60px;
  }
  .news-box {
    padding: 0 0 30px 0;
  }
  .news-item a {
    flex-direction: column-reverse;
    padding: 30px 0 25px 0;
  }
  .news-text,
  .news-img {
    width: 100%;
    padding: 12px 40px 0 40px;
  }

  .news-img {
    padding: 12px 0 0 0;
    width: calc(100% - 80px);
    margin: 0 auto;
  }
  .news-category {
    font-size: 12px;
    line-height: 18px;
  }
  .news-day {
    font-size: 14px;
  }
  .news-text p {
    font-size: 14px;
    line-height: 26px;
  }
  .news_link {
    text-align: center;
    font-size: 14px;
  }
  .news-img img {
    height: 52.5vw;
  }
}

/***********************

    Footer

***********************/

footer {
  margin-top: 100px;
  padding: 55px 100px 25px 100px;
  background-color: #000000;
}

.footer {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* max-width: 1440px; */
}

.footer_logo {
  width: 22.4%;
}

.footer_logo_img {
  margin-bottom: 20px;
}

.footer_sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer_instagram,
.footer_facebook {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #707070;
}

.footer_instagram img,
.footer_facebook img {
  width: 50%;
}

.footer_nav {
  width: 65.2%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #ffffff;
  padding-top: 10px;
}

.footer_nav ul {
  width: 25%;
}

@media (min-width: 1360px) {
  .footer_nav {
    justify-content: flex-end;
  }
  .footer_nav ul {
    width: 183px;
  }
}

.footer_nav ul li {
  font-size: 14px;
  line-height: 35px;
  letter-spacing: 0;
  font-weight: 400;
  padding-left: 0;
}

.footer_nav ul li::before {
  display: none;
}

.footer_nav_big {
  font-size: 16px !important;
  margin-bottom: 10px;
  font-weight: 500 !important;
}

.copyright {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0;
  color: #ffffff;
}

/* @media (min-width: 1360px) {
    .copyright {
        text-align: end;
        padding-right: 30%;
        font-size: 10px;
        letter-spacing: 0;
        color: #FFFFFF;
    }
} */

@media (max-width: 1200px) {
  footer {
    padding: 55px 50px;
  }
  .footer_nav {
    width: 75%;
  }
  .footer_nav02,
  .footer_nav03,
  .footer_nav04 {
    width: 20% !important;
  }
}

@media (max-width: 900px) {
  .footer {
    flex-direction: column;
  }
  .footer_nav {
    margin-top: 50px;
    width: 100%;
  }
  .footer_sns {
    justify-content: center;
  }
}

@media (max-width: 750px) {
  footer {
    margin-top: 50px;
    padding: 30px 5.5% 15px 5.5%;
  }
  .footer {
    flex-direction: column;
    margin-bottom: 70px;
  }
  .footer_logo {
    width: 46.5%;
  }
  .footer_logo_img {
    margin-bottom: 20px;
  }
  .footer_sns {
    justify-content: center;
    gap: 10px;
  }
  .footer_nav {
    width: 100%;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 0;
  }
  .footer_nav ul {
    width: 25%;
    margin-top: 40px;
  }
  .footer_instagram,
  .footer_facebook {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 750px) {
  .footer_nav ul {
    width: 45% !important;
    margin-top: 40px;
  }
}

/* contact popup  */

.open-contact-popup {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 61;
  width: 300px;
  height: 64px;
  padding: 11px 30px 11px 53px;
  background-color: #000000;
  border: 1px solid #ffffff;
  border-radius: 100vh;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.open-contact-popup p{
  position: relative;
}

.open-contact-popup p::before {
  content: '';
  display: block;
  width: 23px;
  height: 23px;
  background-image: url(../img/btn-icon.webp);
  background-size: contain;
  background-repeat:no-repeat;
  position:absolute;
  top:50%;
  left: -65%;
  transform: translate(0, -50%);
}

#pc-open-contact-popup.open-contact-popup {
  display: flex;
}

#sp-open-contact-popup.open-contact-popup {
  display: none;
  height: 47px;
  width: 95vw;
  right: 0;
  left: 0;
  margin: 0 auto;
  bottom: 13px;
  font-size: 17px;
}

#sp-open-contact-popup.open-contact-popup p::before {
  top:50%;
  left: -30%;
  transform: translate(0, -50%);
}

.contact-popup-overlay {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,.50);
  z-index: 99999;
  overscroll-behavior: contain;
  overflow-y: scroll;
}

.contact-popup-overlay.view {
  display: block;
}

.contact-popup-overlay .contact-popup-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 68.96vw;
  height: 43.92vw;
  background-image: url(../img/contact-popup-bg.webp);
  background-size: cover;
  padding: 19px 0;
}

.contact-popup-overlay .contact-popup-bg .contact-popup-inner {
  text-align: center;
  width: 44vw;
  height: 100%;
  margin: 0 auto;
}
.contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 8%;
  margin-bottom: 5%;
}

.contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-title h2 {
  font-size: clamp(24px, 3.07vw, 42px);
  color: #ffffff;
}

.contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-content {
  height: 80%;
  width: 100%;
  background-color: #ffffff;
}

.contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-content .leadmonk-inline-widget {
  height: 100%;
  width: 100%;
}

.leadmonk-privacy-Policy {
  font-size: 1.4rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1%;
  height: 7%;
  color: #ffffff;
}

.leadmonk-privacy-Policy a {
  border-bottom: 1px solid #000000;
}

.contact-popup-overlay .contact-popup-bg .leadmonk-privacy-Policy a {
  border-color: #ffffff;
}

.contact-popup-overlay .contact-popup-bg .contact-popup-close {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.contact-popup-close::before, .contact-popup-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 20px;
  background: #ffffff;
  border-radius: 100vh;
}

.contact-popup-close::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

.contact-popup-close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

@media (max-width: 900px) {
    .contact-popup-overlay .contact-popup-bg, .contact-popup-overlay .contact-popup-bg .contact-popup-inner {
      width: 89%;
      min-width: 340px;
    }

    .contact-popup-overlay .contact-popup-bg {
      height: 89%;
    }

    .contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-title {
      height: 7%;
      margin-bottom: 19px;
    }

    .contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-title h2 {
      font-size: 24px;
    }

    .contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-content{
      height: 85%;
    }


    #sp-open-contact-popup, #sp-open-contact-popup.open-contact-popup {
      display: flex;
    }

    #pc-open-contact-popup.open-contact-popup {
      display: none;
    }

    .contact-popup-overlay .contact-popup-bg .leadmonk-privacy-Policy {
      height: 7%;
    }
}

@media (min-width: 430px){
  .contact-popup-overlay .contact-popup-bg .contact-popup-inner .contact-popup-title .br-sp {
    display: none;
  }
}

/* cookie表示時 */
#pc-open-contact-popup.open-contact-popup.cookie-visible {
  bottom: 77px;
}

@media (max-width: 975px) {
  #sp-open-contact-popup.cookie-visible.open-contact-popup {
    bottom: 131px;
  }
  #pc-open-contact-popup.open-contact-popup.cookie-visible {
    bottom: 131px;
  }
}
@media (max-width: 494px) {
  #sp-open-contact-popup.cookie-visible.open-contact-popup {
    bottom: 150px;
  }
}

/* パララックス */

/* #top-back {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
} */

.parallax {
  margin-top: 100px;
  margin-bottom: 0 !important;
}

.parallax > div {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
}

#top-back-pc {
  position: absolute;
  top: -650px;
  transition: initial;
}

#top-back-sp {
  position: absolute;
  top: -660px;
  transition: initial;
  display: none;
}

@media (max-width: 1000px) {
  #top-back {
    width: 100%;
    height: 75vw;
    position: relative;
    overflow: hidden;
  }
  #parallax {
    padding-top: 0 !important;
  }
  .parallax > div {
    width: 100%;
    height: 75vw;
    position: relative;
    overflow: hidden;
  }
  #top-back-pc {
    display: none;
  }
  #top-back-sp {
    display: block;
  }
}

#review-back {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
}

#review-back-top-pc {
  position: absolute;
  top: -1095px;
  transition: initial;
}

#review-back-top-sp {
  position: absolute;
  top: -1200px;
  transition: initial;
  display: none;
}

#review-back-pc {
  position: absolute;
  top: -1095px;
  transition: initial;
}

#review-back-sp {
  position: absolute;
  top: -1200px;
  transition: initial;
  display: none;
}

.parallax {
  padding-top: 0 !important;
  max-width: initial !important;
}

@media (max-width: 1000px) {
  #review-back {
    width: 100%;
    height: 75vw;
    position: relative;
    overflow: hidden;
  }
  #review-back-top-pc {
    display: none;
  }
  #review-back-top-sp {
    display: block;
  }
  #review-back-pc {
    display: none;
  }
  #review-back-sp {
    display: block;
  }
}

/*



下層ページ CSS



*/

/* テンプレート a1 */

.template_a1 {
  width: 100%;
  height: 340px;
  position: relative;
}

.template_a1::before {
  background-image: none;
}

.template_a1 > div:first-child {
  width: 100%;
  height: 340px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.template_a1 > div:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../img/kasou_fv-mask.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.breadcrumb {
  width: 100%;
  height: auto;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 100px;
  position: relative;
  z-index: 10;
}

.breadcrumb p {
	width: auto;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
}

.header_kasou {
  width: 100%;
}

.header_kasou_h1 {
  font-size: 58px;
  letter-spacing: 0.06em;
  line-height: 76px;
  color: #ffffff;

  position: absolute;
  bottom: 105px;
  left: 100px;
  margin: auto;
}

.header_kasou_h1 > span {
  font-size: 45px;
  line-height: 59px;
}

@media screen and (max-width: 750px) {
  .template_a1 {
    height: 167px;
  }

  .template_a1 > div:first-child {
    width: 100%;
    height: 167px;
  }

  .header_kasou_h1 {
    font-size: 28px;
    letter-spacing: 0.04em;
    line-height: 50px;

    position: absolute;
    bottom: 30px;
    left: 5.5%;
  }

  .breadcrumb {
    width: 100%;
    height: auto;
    padding: 10px 5.5%;
  }

  .header_kasou_h1 > span {
    font-size: 22px;
    line-height: 35px;
  }
}

/* テンプレート b */

.template_b {
  width: 100%;
  max-width: initial;
}

.template_b .kasou_inner {
  width: 100%;
  padding: 0 100px;
  max-width: 1440px;
  margin: 0 auto;
}

.template_b h2 {
  font-size: 40px;
  line-height: 68px;
  margin-bottom: 60px;
  text-align: center;
}

.template_b .box {
  position: relative;
  padding-top: 230px;
}

.template_b .box > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 251px;
  height: 212px;
  border: 1px solid #000000;
  position: absolute;
}

.template_b .box > div p {
  font-size: 14px;
  line-height: 22px;
  padding: 0 20px;
}

.template_b .item_01 {
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  top: 250px;
  left: 0;
}

.template_b .item_02 {
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  top: 0;
  left: 83px;
}

.template_b .item_03 {
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  top: 70px;
  left: 0;
  right: 0;
  margin: auto;
}

.template_b .item_04 {
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  top: 20px;
  right: 83px;
}

.template_b .item_05 {
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  top: 280px;
  right: 0;
}

@media screen and (max-width: 1300px) {
  .template_b .box .pc {
    width: 90%;
    margin: 0 auto;
  }

  .template_b .box > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 251px;
    height: 30%;
    border: 1px solid #000000;
    position: absolute;
  }
}

@media screen and (max-width: 1200px) {
  .template_b .box .pc {
    width: 70%;
  }

  .template_b .item_01 {
    top: 200px;
  }

  .template_b .item_02 {
    left: 40px;
  }

  .template_b .item_04 {
    right: 40px;
  }

  .template_b .item_05 {
    top: 230px;
  }
}

@media screen and (max-width: 1050px) {
  .template_b .box .pc {
    width: 70%;
  }

  .template_b .item_01 {
    top: 150px;
  }

  .template_b .item_02 {
    left: 20px;
  }

  .template_b .item_04 {
    right: 20px;
  }

  .template_b .item_05 {
    top: 180px;
  }
}

@media screen and (max-width: 1000px) {
  .template_b .kasou_inner {
    padding: 0;
  }
  .template_b .box .pc {
    width: 70%;
  }

  .template_b .item_01 {
    top: 150px;
    left: 20px;
  }

  .template_b .item_02 {
    left: 50px;
  }

  .template_b .item_04 {
    right: 50px;
  }

  .template_b .item_05 {
    top: 180px;
    right: 20px;
  }
}
@media screen and (max-width: 900px) {
  .template_b .kasou_inner {
    padding: 0;
  }
  .template_b .box .pc {
    width: 70%;
  }

  .template_b .item_01 {
    top: 150px;
    left: 20px;
  }

  .template_b .item_02 {
    left: 35px;
  }

  .template_b .item_04 {
    right: 35px;
  }

  .template_b .item_05 {
    top: 180px;
    right: 20px;
  }
}

@media screen and (max-width: 850px) {
  .template_b {
    padding-top: 45px;
  }

  .template_b .kasou_inner {
    padding: 0;
  }

  .template_b h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
  }

  .template_b .box {
    padding-top: 0;
  }

  .template_b .box > div {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 89%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #000000;
    position: initial;
    margin-bottom: 15px;
  }

  .template_b .box > div p {
    padding: 0;
  }

  .template_b .item_01,
  .template_b .item_03,
  .template_b .item_05 {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 20px;
  }

  .template_b .item_02,
  .template_b .item_04 {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 0;
  }
}

/* テンプレート c */

.template_c {
  width: 100%;
  padding-top: 0;
  margin-top: 80px;
  height: calc(100% + 200px);
  position: relative;
  display: flex;
  align-items: center;
}

.template_c::before {
  position: absolute;
  content: "";
  background-color: #000000;
  width: 63.4%;
  height: 100%;
  z-index: -1;
}

.template_c .kasou_inner {
  width: 100%;
  padding-left: 100px;
  margin: 100px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 65px;
}

.template_c .left {
  width: calc(100% - 49.38% - 65px);
  color: #ffffff;
}

.template_c .left h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
}

.template_c .left h3 {
  font-size: 40px;
  line-height: 52px;
  margin-bottom: 30px;
}

.template_c .left p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 25px;
}

.template_c .left p:last-child {
  margin-bottom: 0;
}

.template_c .right {
  width: 49.38%;
}

.template_c .right img {
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .template_c .kasou_inner {
    flex-direction: column;
    padding-left: 0;
    padding: 60px 5.5% 0 5.5%;
    margin: 0;
    gap: 20px;
  }

  .template_c::before {
    width: 100%;
    top: 0;
    height: 70%;
  }

  .template_c .left {
    width: 100%;
  }

  .template_c .right {
    width: 71.75%;
  }
}

@media screen and (max-width: 750px) {
  .template_c {
    height: 100%;
    margin-top: 45px;
  }

  .template_c .left h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_c .left h3 {
    font-size: 18px;
    line-height: 29px;
    margin-bottom: 15px;
    text-align: center;
  }

  .template_c .left p {
    font-size: 14px;
    line-height: 28px;
  }
}

@media screen and (max-width: 500px) {
  .template_c::before {
    width: 100%;
    top: 0;
    height: 80%;
  }
}

/* テンプレート c2 */

.template_c2 {
  width: 100%;
  padding-top: 0;
  margin-top: 80px;
  height: calc(100% + 200px);
  position: relative;
  display: flex;
  align-items: center;
}

.template_c2::before {
  position: absolute;
  content: "";
  background-color: #000000;
  width: 63.4%;
  height: 100%;
  z-index: -1;
}

.template_c2 .kasou_inner {
  width: 100%;
  padding-left: 100px;
  margin: 100px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.template_c2 .left {
  width: calc(100% - 40% - 60px);
  color: #ffffff;
}

.template_c2 .left h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
}

.template_c2 .left h3 {
  font-size: 40px;
  line-height: 52px;
  margin-top: 55px;
  margin-bottom: 30px;
}

.template_c2 .left .title {
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 15px;
}

.template_c2 .left .chief {
  display: block;
  overflow: hidden;
  width: 100%;
  transition: none;
  cursor: initial;
}

.chief div {
  position: relative;
  margin-bottom: 12px;
}

.chief div img {
  max-width: 400px;
}

.chief div:first-child p {
  position: absolute;
  bottom: 15px;
  left: 10px;
  font-size: 22px;
  line-height: 29px;
  letter-spacing: 0.04em;
}

.chief div:first-child::before {
  content: "";
  position: absolute;
  height: 103px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.template_c2 .left > a:hover {
  opacity: 1 !important;
}

.template_c2 .left a > div:first-child {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 12px;
}

/* .template_c2 .left > a:hover img {
    transform: scale(1);
}

.template_c2 .left > a img {
    width: 100%;
} */

.template_c2 .left p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 25px;
}

.template_c2 .left p:last-child.name {
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 12px;
}

.template_c2 .left > a:hover div:last-child {
  opacity: 1;
}

.template_c2 .left p:last-child {
  margin-bottom: 0;
  font-size:13px;
  line-height: 22px;
}

.template_c2 .left .chief > p:nth-child(2) {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 12px;
}

.template_c2 .left .chief > p:nth-child(3) {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 20px;
}

.template_c2 .left .chief > p:nth-child(4) {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;
}

.template_c2 .left .chief > p:nth-child(5) {
  font-size: 14px;
  line-height: 24px;
  text-align: end;
  margin-bottom: 20px;
}

.template_c2 .right {
  width: 49.38%;
}

.template_c2 .right img {
  width: 100%;
}

.chief_profile a {
  text-decoration: underline;
  display:block;
  text-align: right;
  padding-top:1rem;
}

@media screen and (max-width: 750px) {
  .template_c2 {
    height: 100%;
    margin-top: 45px;
  }
  .template_c2::before {
    width: 100%;
    top: 0;
    height: 100%;
  }
  .template_c2 .kasou_inner {
    flex-direction: column;
    padding-left: 0;
    padding: 60px 5.5% 60px 5.5%;
    margin: 0;
    gap: 20px;
  }
  .template_c2 .left {
    width: 100%;
  }
  .template_c2 .right {
    width: 71.75%;
    margin: 0 auto;
  }
  .template_c2 .left h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_c2 .left > a {
    width: 100%;
  }

  .template_c2 .left h3 {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_c2 .left p {
    font-size: 14px;
    line-height: 28px;
  }

  .template_c2 .left .chief {
    width: 100%;
  }
}

/* テンプレート d */

.template_d .kasou_inner {
  width: 100%;
  padding: 0 183px 100px 183px;
  max-width: 1440px;
  margin: 0 auto;
}

.template_d h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
}

.template_d .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.template_d .item {
  display: block;
  width: calc((100% - 40px) / 2);
  cursor: pointer;
}

.template_d .item_img {
  position: relative;
  margin-bottom: 10px;
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.template_d .item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template_d .item_img::before {
  content: "";
  position: absolute;
  height: 97px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.template_d .item_title {
  position: absolute;
  content: "";
  font-size: 22px;
  line-height: 29px;
  bottom: 15px;
  left: 15px;
  color: #ffffff;
  z-index: 2;
}

.template_d .item_text {
  font-size: 14px;
  line-height: 22px;
  transition: all 0.5s;
}

.template_d .item_text p:first-child {
  margin-bottom: 20px;
}

.template_d .item_link {
  text-align: end;
}

.template_d .item:hover {
  opacity: 1;
}

.template_d .link_non {
  cursor: initial;
}

.template_d .item:hover .item_img img {
  transform: scale(1.1);
}

.template_d .link_non:hover .item_img img {
  transform: none;
}

.template_d .item:hover .item_text {
  opacity: 0.5;
  transition: all 0.5s;
}

.template_d .link_non:hover .item_text {
  opacity: 1;
  transition: all 0.5s;
}

.template_d .box .read_more {
  margin-top: 20px;
}

@media screen and (max-width: 1200px) {
  .template_d .kasou_inner {
    width: 100%;
    padding: 0 100px;
  }
}

@media screen and (max-width: 1000px) {
  .template_d .kasou_inner {
    padding: 0 5.5%;
  }
}

@media screen and (max-width: 750px) {
  .template_d .kasou_inner {
    padding: 0;
  }

  .template_d h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_d .box {
    flex-direction: column;
  }

  .template_d .item_title {
    position: absolute;
    content: "";
    font-size: 22px;
    line-height: 29px;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
    color: #ffffff;
    text-align: center;
  }

  .template_d .item {
    width: 100%;
    position: relative;
    padding-bottom: 30px;
  }

  .template_d .item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(#ffffff, #f2f2f2);
  }

  .template_d .item_img {
    width: 89%;
    margin: 0 auto;
  }

  .template_d .item_text {
    width: 89%;
    margin: 0 auto;
    padding: 10px;
    background-color: #ffffff;
  }
}

/* テンプレート e */

.template_e {
  /* padding: 100px 0; */
  padding: 100px 0 0 0;
  max-width: initial;
}

.template_e .kasou_inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 183px;
}

.template_e h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
  text-align: center;
}

.template_e .qa {
  background-image: none;
  padding: 0 0 100px 0;
  /* margin-top: 40px; */
  margin-top: 0;
}

.template_e .qa::before {
  display: none;
}

.template_e .qa-item {
  border-bottom: 1px solid #cccccc;
}

.template_e .qa-item:first-child {
  border-top: 1px solid #cccccc;
}

.template_e .qa-title {
  color: #000000;
  font-size: 18px;
  line-height: 32px;
  padding: 30px 72px 30px 30px;
  cursor: pointer;
  transition: all 0.5s;
}

.template_e .qa-title:hover {
  opacity: 0.5;
  transition: all 0.5s;
}

.template_e .qa-title::before {
  color: #000000;
  line-height: 32px;
  top: 30px;
}

.template_e .qa-text {
  display: none;
  color: #000000;
  padding: 0 0 30px 30px;
}

.template_e .qa-text p {
  font-weight: 500 !important;
}

.template_e .qa-text::before {
  color: #000000;
  line-height: 32px;
}

.template_e .accordion-title {
  color: #000000;
  font-size: 18px;
  line-height: 32px;
}

.template_e .qa-title {
  position: relative;
  font-weight: 500;
}

.template_e .qa-title::after {
  border-right: solid 1px #000000;
  border-top: solid 1px #000000;
  content: "";
  display: block;
  height: 12px;
  position: absolute;
  right: 3px;
  top: 38%;
  transform: rotate(135deg);
  transition: transform 0.5s ease-in-out, top 0.5s ease-in-out;
  width: 12px;
}

.template_e .qa-title.open::after {
  top: 45%;
  transform: rotate(-45deg);
}

.template_e .qa_link {
  color: #5a5a5a;
}

.template_e .link-border {
  border-bottom: 1px solid #5a5a5a;
}

@media screen and (max-width: 1200px) {
  .template_e .kasou_inner {
    width: 100%;
    padding: 0 100px 0 100px;
  }
}

@media screen and (max-width: 750px) {
  .template_e {
    padding-top: 45px;
    margin-bottom: 0 !important;
  }

  .template_e .qa {
    padding: 0;
  }

  .template_e .kasou_inner {
    padding: 0 5.5% 45px 5.5%;
  }

  .template_e h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_e .qa-title {
    padding: 30px 20% 30px 30px;
    font-size: 14px;
    line-height: 26px;
  }
}

/* テンプレート f */

.template_f .kasou_inner {
  width: 100%;
}

.template_f h1 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
  padding-left: 100px;
}

.template_f h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
  padding-left: 100px;
}

.template_f .kasou_inner > p {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 60px;
  padding-left: 100px;
  padding-right: 100px;
}

.template_f .box {
  width: 100%;
  padding-right: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 110px;
  margin-bottom: 120px;
  padding-bottom: 40px;
}

.template_f .box:last-child {
  margin-bottom: 0;
}

.template_f .left {
  width: 45.2%;
  position: relative;
}

.template_f .left::before {
  position: absolute;
  content: "";
  background-color: #f7f7f7;
  width: calc(100% + 40px);
  left: 0;
  bottom: -40px;
  height: 85%;
  z-index: -1;
}

.template_f .right {
  width: calc(100% - 45.3% - 100px);
}

.template_f .right h3 {
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 30px;
}

.template_f .right p {
  font-size: 16px;
  line-height: 28px;
}

.template_f .right .txt_mb {
  margin-bottom: 30px;
}

.template_f .reverse {
  width: 100%;
  padding-right: 0;
  padding-left: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 110px;
  margin-bottom: 120px;
}

.template_f .reverse .left::before {
  position: absolute;
  content: "";
  background-color: #f7f7f7;
  width: calc(100% + 40px);
  left: -40px;
  bottom: -40px;
  height: 85%;
  z-index: -1;
}

.template_f .right ul {
  /* margin-top: 60px; */
  margin-top: 30px;
}

.template_f .right ul li {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  padding-left: 35px;
}

.template_f .right ul li::before {
  left: 15px;
}

@media screen and (max-width: 1000px) {
  .template_f .box {
    padding-right: 50px;
    gap: 50px;
    margin-bottom: 50px;
  }

  .template_f .reverse {
    padding-left: 50px;
    gap: 50px;
  }

  .template_f .left {
    height: 300px;
  }

  .template_f .left img {
    height: 300px;
    object-fit: cover;
  }
}

@media screen and (max-width: 750px) {
  .template_f .kasou_inner {
    padding: 0;
  }

  .template_f h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    padding-left: 0;
    text-align: center;
  }

  .template_f h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    padding-left: 0;
    text-align: center;
  }

  .template_f .kasou_inner > p {
    font-size: 15px;
    padding: 0 5.5%;
    margin-bottom: 30px;
  }

  .template_f .box {
    flex-direction: column;
    padding-right: 0;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 0;
  }

  .template_f .box:last-child {
    padding-bottom: 0;
  }

  .template_f .left {
    width: 100%;
    height: 240px;
    text-align: center;
  }

  .template_f .left img {
    width: 89%;
    height: 240px;
  }

  .template_f .left::before {
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -20px;
    height: 85%;
    z-index: -1;
  }

  .template_f .right {
    width: 100%;
    padding: 0 5.5%;
  }

  .template_f .right h3 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 15px;
  }

  .template_f .reverse {
    flex-direction: column;
    padding-left: 0;
  }

  .template_f .reverse .left::before {
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -20px;
    height: 85%;
    z-index: -1;
  }

  .template_f .right ul {
    margin-top: 40px;
  }
}

/* テンプレート g */

.template_g .kasou_inner {
  width: 100%;
  padding-left: 100px;
  padding-bottom: 100px;
}

.template_g .kasou_inner h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
}

.template_g .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
  padding-right: 100px;
  position: relative;
}

.template_g .box::before {
  position: absolute;
  content: "";
  background-color: #000000;
  width: 48.6%;
  height: calc(100% + 200px);
  right: 0;
  top: -100px;
  z-index: -1;
}

.template_g .left {
  width: 64%;
  height: auto;
}

.template_g .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.template_g .right {
  width: calc(100% - 64% - 70px);
  color: #ffffff;
}

.template_g .right h3 {
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 30px;
  letter-spacing: 0;
}

.template_g .right p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 25px;
  letter-spacing: 0;
}

.template_g .right .link {
  text-align: end;
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 45px;
}

.template_g .link-border {
  border-bottom: 1px solid #ffffff;
  text-decoration: underline;
}

@media screen and (max-width: 1200px) {
  .template_g .kasou_inner {
    padding-left: 50px;
  }

  .template_g .box {
    padding-right: 50px;
    gap: 50px;
  }

  .template_g .left {
    width: 50%;
  }

  .template_g .right {
    width: calc(100% - 50% - 50px);
    color: #ffffff;
  }

  .template_g .box::before {
    width: 60.6%;
  }
}

@media screen and (max-width: 750px) {
  .template_g .kasou_inner {
    width: 100%;
    padding-left: 0;
    padding-bottom: 30px;
    margin-top: 60px;
  }

  .template_g .kasou_inner h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
  }

  .template_g .box {
    flex-direction: column-reverse;
    gap: 0;
    padding-right: 0;
    position: relative;
    /* margin-bottom: 30px; */
    margin-bottom: 45px;
  }

  .template_g .box:last-child {
    margin-bottom: 0;
  }

  .template_g .box::before {
    position: absolute;
    content: "";
    background-color: #000000;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    top: -125px;
    margin: auto;
  }

  .template_g .left {
    width: 100%;
    padding: 0 5.5%;
    height: auto;
  }

  .template_g .right {
    width: 100%;
    padding: 0 5.5%;
    color: #ffffff;
  }

  .template_g .right h3 {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 15px;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .template_g .right p {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 30px;
  }

  .template_g .right .link {
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 30px;
  }

  .template_g .link-border {
    border-bottom: 1px solid #ffffff;
  }
}

/* テンプレート i */

.template_i .box {
  display: flex;
  justify-content: space-between;
}

.template_i .kasou_inner {
  width: 100%;
  padding-left: 100px;
  /* margin-top: 100px; */
}

.template_i .left {
  width: calc(100% - 330px - 45px);
}

.template_i h2 {
  font-size: 48px;
  line-height: 70px;
  margin-bottom: 40px;
}

.template_i .txt h3 {
  font-size: 22px;
  line-height: 29px;
  margin-bottom: 20px;
}

.template_i .txt p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 30px;
}

.template_i .txt p:last-child {
  /* margin-bottom: 90px; */
  margin-bottom: 0px;
}

.template_i .right .img {
  display: none;
}

.template_i .right {
  width: 330px;
}

.template_i .left_box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 75px;
}

.template_i .left_box .txt {
  width: calc(100% - 270px - 70px);
  justify-content: end;
}

.template_i .left_box .img {
  width: 270px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: start;
  margin-top: 210px;
}

@media (min-width: 1640px) {
  .template_i .kasou_inner {
    padding-left: 0;
  }
}

@media (max-width: 1320px) {
  .template_i h2 {
    padding-right: 0;
    font-size: 40px;
  }
}

@media (max-width: 1200px) {
  .template_i .left_box {
    flex-direction: column;
    gap: 0;
  }

  .template_i .left_box .txt {
    width: 100%;
  }

  .template_i .left_box .img {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 45px;
  }
  .template_i .left_box .img img {
    width: calc(50% - 20px);
  }
  .template_i .right > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1100px) {
  .template_i .kasou_inner {
    padding-left: 50px;
  }
}

@media (max-width: 1000px) {
  .template_i .kasou_inner {
    width: 100%;
    padding-left: 0;
    /* margin-top: 80px; */
  }

  .template_i .box {
    flex-direction: column;
  }

  .template_i .left {
    width: 100%;
  }

  .template_i h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_i .left_box {
    padding: 0 5.5%;
  }

  .template_i .txt h3 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 15px;
    text-align: center;
  }

  .template_i .txt p {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 40px;
  }

  .template_i .txt p:last-child {
    margin-bottom: 45px;
  }

  .template_i .left_box .img {
    display: none;
  }

  .template_i .right {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .template_i .right > img {
    width: 50%;
  }

  .template_i .right .img {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100% - 50% - 20px);
  }
}

/* テンプレート g */

.template_j {
  max-width: initial;
}

.template_j .kasou_inner {
  width: 100%;
  padding: 100px 0;
  height: auto;
  position: relative;
  background-image: url(../img/qa-back.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -2;
}

.template_j .kasou_inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.template_j .kasou_inner h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
  color: #ffffff;
  text-align: center;
}

.template_j .box {
  padding: 0 183px;
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.template_j .item {
  width: 100%;
  border: 1px solid #ffffff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.template_j .item:last-child {
  margin-bottom: 0;
}

.template_j .left {
  width: 124px;
}

.template_j .right {
  width: calc(100% - 124px - 30px);
  color: #ffffff;
}

.template_j .right h3 {
  font-size: 22px;
  line-height: 29px;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.template_j .right p {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0;
}

@media screen and (max-width: 1200px) {
  .template_j .box {
    width: 100%;
    padding: 0 100px 0 100px;
  }
}

@media screen and (max-width: 750px) {
  .template_j .kasou_inner {
    padding: 60px 0;
  }

  .template_j .kasou_inner h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
  }

  .template_j .box {
    padding: 0 5.5%;
  }

  .template_j .item {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ffffff;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 0;
  }

  .template_j .item:first-child {
    border-top: 1px solid #ffffff;
  }

  .template_j .left {
    width: 18%;
  }

  .template_j .right {
    width: calc(100% - 18% - 25px);
    color: #ffffff;
  }

  .template_j .right h3 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 15px;
    letter-spacing: 0;
  }

  .template_j .right p {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.04em;
  }
}

/* テンプレート k */

.template_k .box {
  display: flex;
  justify-content: space-between;
}

.template_k .kasou_inner {
  width: 100%;
  padding-left: 100px;
  /* margin-top: 100px; */
}

.template_k .left {
  width: calc(100% - 330px - 45px);
}

.template_k h2 {
  font-size: 48px;
  line-height: 70px;
  /* margin-bottom: 20px; */
}

.template_k h3 {
  font-size: 28px;
  /* line-height: 70px; */
  line-height: 46px;
  margin-bottom: 40px;
}

.template_k .txt p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 25px;
}

.template_k .txt p:last-child {
  margin-bottom: 0;
}

.template_k .right .img {
  display: none;
}

.template_k .right {
  width: 330px;
}

.template_k .left_box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 75px;
}

.template_k .left_box .txt {
  width: calc(100% - 270px - 70px);
  justify-content: end;
}

.template_k .left_box .img {
  width: 270px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: start;
  margin-top: 170px;
}

@media (min-width: 1640px) {
  .template_k .kasou_inner {
    padding-left: 0;
  }
}

@media (max-width: 1320px) {
  .template_k h2 {
    padding-right: 0;
    font-size: 40px;
  }
}

@media (max-width: 1200px) {
  .template_k .left_box {
    flex-direction: column;
    gap: 0;
  }

  .template_k .left_box .txt {
    width: 100%;
  }

  .template_k .left_box .img {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  .template_k .left_box .img img {
    width: calc(50% - 20px);
  }
  .template_k .right > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1100px) {
  .template_k .kasou_inner {
    padding-left: 50px;
  }
}

@media (max-width: 1000px) {
  .template_k .kasou_inner {
    width: 100%;
    padding-left: 0;
    /* margin-top: 80px; */
  }

  .template_k .box {
    flex-direction: column;
  }

  .template_k .left {
    width: 100%;
  }

  .template_k h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
    text-align: center;
  }

  .template_k h3 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 15px;
    text-align: center;
    padding: 0 5.5%;
  }

  .template_k .left_box {
    padding: 0 5.5%;
  }

  .template_k .txt h3 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 15px;
    text-align: center;
  }

  .template_k .txt p {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 40px;
  }

  .template_k .txt p:last-child {
    margin-bottom: 45px;
  }

  .template_k .left_box .img {
    display: none;
  }

  .template_k .right {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .template_k .right > img {
    width: 50%;
  }

  .template_k .right .img {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100% - 50% - 20px);
  }
}

/* テンプレート l */

.template_l .kasou_inner {
  width: 100%;
  padding: 0 183px;
  text-align: center;
}

.template_l .kasou_inner h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 40px;
}

.template_l .box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 35px;
}

.template_l .box img {
  width: calc((100% - 70px) / 3);
}

.template_l .kasou_inner a {
  display: inline-block;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0;
  padding: 20px 40px;
  background-color: #000000;
  color: #ffffff;
  margin-top: 35px;
}

@media screen and (max-width: 1200px) {
  .template_l .kasou_inner {
    padding: 0 100px;
  }
}

@media screen and (max-width: 1000px) {
  .template_l .kasou_inner {
    padding: 0 5.5%;
  }
}

@media screen and (max-width: 750px) {
  .template_l .kasou_inner {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .template_l .kasou_inner h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 25px;
  }

  .template_l .box {
    gap: 0;
  }

  .template_l .box img {
    width: calc(100% / 3);
  }

  .template_l .kasou_inner a {
    font-size: 16px;
    line-height: 20px;
    margin-top: 30px;
  }
}

/* テンプレート m */

.template_m {
  width: 100%;
  height: 500px;
  position: relative;
}

.template_m::before {
  background-image: none;
}

.template_m .header_kasou_h1 {
  /* font-size: 58px;
    letter-spacing: 0.06em;
    line-height: 76px;
    color: #FFFFFF;

    position: absolute; */
  top: 335px;
  /* left: 100px;
    margin: auto; */
}

.template_m > div:first-child {
  width: 100%;
  height: 500px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.template_m > div:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../img/kasou_fv-mask.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.breadcrumb {
  width: 100%;
  height: auto;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-left: 100px;
}

.breadcrumb p {
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
}

.breadcrumb p > span {
  display: inline-block;
}

.breadcrumb a {
  position: relative;
  padding-right: 33px;
}

.breadcrumb a::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  border: 0;
  border-top: solid 0.5px #000000;
  border-left: solid 0.5px #000000;
  position: absolute;
  top: 6px;
  margin: auto;
  right: 16px;
  transform: translate(-50%, -50%);
  transform: rotate(135deg);
}

.header_kasou {
  width: 100%;
}

.template_m .header_kasou_text {
  font-size: 48px;
  letter-spacing: 0.06em;
  line-height: 62px;
  color: #ffffff;

  position: absolute;
  bottom: 105px;
  left: 100px;
  margin: auto;
  font-weight: 500 !important;
}

.template_m .header_kasou_text p {
  font-weight: 500 !important;
}

.header_kasou_sub {
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 18px;
  color: #ffffff;

  position: absolute;
  top: 300px;
  left: 100px;
  margin: auto;
}

.header_kasou_sub span {
  margin-right: 15px;
}

@media screen and (max-width: 750px) {
  .template_m {
    height: 460px;
  }

  .template_m > div:first-child {
    width: 100%;
    height: 460px;
  }

  .template_m .header_kasou_text {
    font-size: 28px;
    letter-spacing: 0.04em;
    line-height: 40px;

    position: absolute;
    bottom: 30px;
    left: 5.5%;
  }

  .breadcrumb {
    width: 100%;
    height: auto;
    padding-left: 5.5%;
  }

  .header_kasou_sub {
    font-size: 12px;
    line-height: 15px;
    font-weight: bold;
    top: 220px;
    left: 5.5%;
	width: 80%;
  }

  .header_kasou_sub.news_date {
    left: 25%;
  }

  .template_m .header_kasou_h1 {
    top: 250px;
    line-height: 40px;
  }
}

/* テンプレート n */

.template_n {
  padding-top: 0;
}

.template_n .kasou_inner {
  width: 100%;
  padding: 80px 183px 80px 183px;
  /* background-color: #F7F7F7; */
}

.template_n .kasou_inner > div:first-child,
.template_n .kasou_inner > div:first-child h2,
.template_n .kasou_inner > div:first-child h3,
.template_n .kasou_inner > div:first-child p {
  padding-top: 0;
}

.template_n .kasou_inner > div:last-child,
.template_n .kasou_inner > div:last-child h2,
.template_n .kasou_inner > div:last-child h3,
.template_n .kasou_inner > div:last-child p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.template_n .kasou_inner > hr {
  border: 1px solid;
  size: 1px;
  color: #cccccc;
  margin: 20px 0;
}

.template_n .kasou_inner > hr:last-child {
  margin-bottom: 0;
}

.wp-block-separator {
  border: 0;
}

.template_n img {
  padding-bottom: 40px;
  width: 70% !important;
}

.template_n .big li::before {
  line-height: 34px;
}

.wp-block-image {
  text-align: center;
}

.wp-block-quote {
  margin: 60px 0 40px 0;
  background-color: #ffffff;
  padding: 40px 30px;
  border-left: 5px solid #000000;
}

.template_n h2 {
  font-size: 32px;
  line-height: 42px;
  padding: 20px 0;
}

.template_n h3 {
  font-size: 22px;
  line-height: 28px;
  padding-bottom: 14px;
}

.template_n p,
.template_n cite {
  font-size: 16px;
  line-height: 28px;
  padding-bottom: 20px;
  font-style: initial;
}

.wp-block-quote h2 {
  padding-top: 0;
}

/* .template_n .span {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0;
    display: block;
    text-align: center;
    font-weight: 400;
    margin-bottom: 40px;
} */

.wp-block-image figcaption {
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0;
  font-weight: 400;
  margin: 0;
  padding-bottom: 40px;
  margin-top: -20px;
}

.wp-block-media-text {
  width: 100%;
  gap: 9%;
  grid-template-columns: 43% 48% !important;
  padding-bottom: 40px;
}

.wp-block-media-text.has-media-on-the-right {
  width: 100%;
  gap: 9%;
  grid-template-columns: 47% 44% !important;
  padding-bottom: 40px;
}

.wp-block-media-text__media img {
  width: 100% !important;
  height: 275px;
  object-fit: cover;
  padding-bottom: 0 !important;
}

.wp-block-media-text__content {
  padding: 0 !important;
}

.wp-block-media-text .wp-block-media-text__content {
  align-self: start !important;
}

.template_n ul {
  padding: 20px 0 40px 0;
}

.template_n ul li,
.template_n ol li {
  /* list-style: inside; */
  font-size: 18px;
  line-height: 34px;
  letter-spacing: 0;
  font-weight: 400;
}

li::marker {
  font-size: 10px;
}

.template_n .box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin-bottom: 20px; */
  gap: 9%;
}

.template_n .box:last-child {
  margin-bottom: 0;
}

.template_n a {
  display: inline-block;
  font-size: 14px;
  line-height: 22px;
  text-decoration: underline !important;
}

.template_n .box .right img {
  width: 100% !important;
  height: 275px !important;
  object-fit: cover;
}

.template_n .box .right {
  padding: 10px 0;
}

.template_n .reverse {
  flex-direction: row-reverse;
}

.template_n .reverse .left {
  width: 48%;
}

.template_n .btn {
  /*     padding: 100px 0 0 0; */
  padding: 0;
  text-align: center;
}

.template_n .btn a {
  display: inline-block;
  width: 156px;
  background-color: #000000;
  color: #ffffff;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0;
  padding: 20px 0;
  text-align: center;
}

.template_n .ptn {
  padding-top: 0;
}

@media screen and (max-width: 1200px) {
  .template_n .kasou_inner {
    width: 100%;
    padding: 40px 100px;
    /* background-color: #F7F7F7; */
  }
}

@media screen and (max-width: 750px) {
  .template_n .kasou_inner {
    padding: 40px 5.5% 80px 5.5%;
  }

  .template_n .middle {
    margin: 40px 0;
    background-color: #ffffff;
    padding: 20px 25px;
    border-left: 5px solid #000000;
  }

  .template_n h2 {
    font-size: 24px;
    line-height: 32px;
    /* margin-bottom: 30px; */
  }

  .template_n h3 {
    font-size: 16px;
    line-height: 26px;
  }

  .template_n p {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.04em;
  }

  .template_n .span {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    display: block;
    text-align: center;
    font-weight: 400;
  }

  .template_n .img {
    width: 100%;
  }

  .template_n ul li {
    font-size: 16px;
  }

  .template_n .box {
    flex-direction: column;
    gap: 20px;
  }

  .template_n .box div {
    width: 100%;
  }

  .template_n .box .left,
  .template_n .box .right {
    width: 100%;
  }

  .template_n .box .right {
    padding: 0;
  }

  .template_n .reverse .left {
    width: 100%;
  }

  .template_n .box .right img {
    height: 225px !important;
  }

  .wp-block-media-text {
    width: 100%;
    gap: 0;
    grid-template-columns: initial !important;
    padding-bottom: 40px;
  }

  .wp-block-media-text.has-media-on-the-right {
    width: 100%;
    gap: 0;
    grid-template-columns: initial !important;
    padding-bottom: 40px;
  }

  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    grid-row: 1;
  }

  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    grid-row: 2;
  }

  .template_n img {
    padding-bottom: 40px;
    width: 100% !important;
  }

  /* .template_n .btn {
        padding: 60px 0 0 0;
    } */
}

/* テンプレート o */

.template_o .kasou_inner {
  width: 100%;
  padding: 0 183px;
}

.template_o h2 {
  font-size: 48px;
  line-height: 62px;
  margin-bottom: 20px;
  text-align: center;
}

.template_o .box {
  padding: 16px 0 30px 0;
}

.template_o .pull_down {
  margin-top: 14px;
  display: inline-block;
  width: 132px;
  font-size: 14px;
  line-height: 28px;
  border: 1px solid #000000;
  position: relative;
}

.template_o .pull_down select {
  display: inline-block;
  padding: 6px 0 6px 7px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.template_o .pull_down::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 0;
  border-bottom: solid 1px #333;
  border-right: solid 1px #333;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -6px;
  transform: rotate(45deg);
}

@media (min-width: 1640px) {
  .news-box {
    padding: 30px 0;
  }
}

.template_o .news-box {
  padding: 16px 0 30px 0;
}

.template_o .item a {
  display: flex;
  justify-content: space-between;
  padding: 38px 0;
  border-bottom: 1px solid #707070;
}

.template_o .item:first-child a {
  padding-top: 0;
}

.template_o .text {
  width: 80%;
  transition: all 0.5s;
}

.template_o .text span {
  display: block;
}

.template_o .text span:nth-child(1) {
  font-size: 14px;
  line-height: 28px;
  color: #fd4949;
  margin-bottom: 15px;
}

.template_o .text span:nth-child(2) {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 10px;
}

.template_o .text p {
  font-size: 18px;
  line-height: 32px;
}

.template_o .img {
  width: 175px;
}

.template_o .img img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: contain;
}

.news-link:hover {
  opacity: 1;
}

.news-link:hover .template_o .img img {
  transform: scale(1.1);
}

.news-link:hover .template_o .text {
  opacity: 0.5;
  transition: all 0.5s;
}

.news_link {
  text-align: end;
  font-size: 18px;
  line-height: 32px;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .template_o .kasou_inner {
    padding: 0 100px;
  }

  .template_o .text {
    width: 75%;
    transition: all 0.5s;
  }
}

@media (max-width: 1100px) {
  .template_o .box {
    padding: 16px 0 30px 0;
  }
}

@media (max-width: 750px) {
  .template_o .kasou_inner {
    padding: 0 5.5%;
  }

  .template_o h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 0;
  }

  .template_o .pull_down {
    /* margin-left: 40px; */
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .template_o .box {
    padding: 16px 0 30px 0;
  }

  .template_o .item a {
    flex-direction: column-reverse;
    padding: 30px 0 25px 0;
  }

  .template_o .img,
  .template_o .text {
    width: 100%;
    padding: 0 40px 0 40px;
  }

  .template_o .text span:nth-child(1) {
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
  }

  .template_o .text span:nth-child(2) {
    font-size: 14px;
  }

  .template_o .text p {
    font-size: 14px;
    line-height: 26px;
  }

  .news_link {
    text-align: center;
    font-size: 14px;
  }
}

/* テンプレート g */

.template_q .kasou_inner {
  width: 100%;
  padding: 70px 0 110px 0;
  height: auto;
  position: relative;
  background-image: url(../img/template_q_img.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -2;
}

.template_q .kasou_inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.template_q .kasou_inner h2 {
  font-size: 52px;
  line-height: 68px;
  margin-bottom: 70px;
  color: #ffffff;
  text-align: center;
}

.template_q .box {
  padding: 0 183px;
  position: relative;
  z-index: 1;
}

.template_q .item {
  width: 100%;
  border-top: 1px solid #ffffff;
  color: #ffffff;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 35px;
}

.template_q .item:last-child {
  border-bottom: 1px solid #ffffff;
}

.template_q .item p {
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
}

.template_q .item .left p {
  font-weight: bold !important;
}

.template_q .item:last-child {
  margin-bottom: 0;
}

.template_q .left {
  width: 145px;
}

.template_q .right {
  width: calc(100% - 145px - 35px);
  color: #ffffff;
}

@media screen and (max-width: 1200px) {
  .template_q .box {
    width: 100%;
    padding: 0 100px;
  }
}

@media screen and (max-width: 750px) {
  .template_q .kasou_inner {
    padding: 60px 0;
  }

  .template_q .kasou_inner h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
  }

  .template_q .box {
    padding: 0 5.5%;
  }

  .template_q .item p {
    font-size: 14px;
    line-height: 28px;
  }

  .template_q .item {
    gap: 0;
  }

  .template_q .left {
    width: 30%;
  }

  .template_q .right {
    width: 59.1%;
  }
}

/* テンプレート o */

.template_s {
  padding-top: 60px;
  max-width: initial;
}

.template_s .kasou_inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 183px 100px 183px;
}

.template_s h2 {
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 20px;
}

.template_s h3 {
  font-size: 21px;
  line-height: 28px;
  letter-spacing: 0;
  margin-bottom: 15px;
  margin-top: 20px;
}

.template_s p {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0;
}

.template_s ul {
  margin-top: 15px;
}

.template_s ul li {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 5px;
}

.template_s ul li:last-child {
  margin-bottom: 0;
}

.template_s .box {
  padding: 40px 0;
  border-bottom: 1px solid #cccccc;
}

/* .template_s .box:last-child {
    border-bottom: 0;
} */

.table_box {
  overflow-x: scroll;
}

.template_s .box .table_2 {
  width: 800px;
  margin: 40px 0;
}

.template_s .table_2 tbody {
  width: 100%;
}

.template_s .table_2 tbody th,
.template_s .table_2 tbody td {
  width: 50%;
  padding: 18px 0;
  text-align: center;
  border-spacing: 1px;
  border: 1px solid #cccccc;
}

.template_s .table_2 tbody th {
  font-size: 18px;
  line-height: 28px;
  font-weight: bold;
}

.template_s .table_2 tbody td {
  font-size: 16px;
  line-height: 28px;
}

.template_s .box .table_3 {
  width: 1000px;
  margin: 50px 0 0 0;
}

.template_s .table_3 tbody {
  width: 100%;
}

.template_s .table_3 tbody th,
.template_s .table_3 tbody td {
  width: calc(100% / 3);
  padding: 18px 0;
  border-spacing: 1px;
  border: 1px solid #cccccc;
}

.template_s .table_3 tbody th {
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  font-weight: bold;
}

.template_s .table_3 tbody td {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  padding-left: 25px;
  padding-right: 8px;
  text-align: left;
}

.template_s .box .btn {
  display: inline-block;
  width: 143px;
  background-color: #000000;
  color: #ffffff;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0;
  padding: 20px 0;
  text-align: center;
}

.template_s .link a {
  display: inline-block;
  color: #5a5a5a;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0;
  text-decoration: underline;
  margin-bottom: 15px;
}

.template_s .link p {
  margin-bottom: 30px;
}

.template_s .link p:last-child {
  margin-bottom: 0;
}

.template_s .mb15 {
  margin-bottom: 15px;
}

@media (max-width: 1200px) {
  .template_s .kasou_inner {
    width: 100%;
    padding: 0 100px 1000px 100px;
  }
}

@media (max-width: 750px) {
  .template_s {
    padding-top: 5px;
  }

  .template_s .kasou_inner {
    padding: 0 5.5%;
  }

  .template_s .box {
    padding: 40px 0 40px 0;
    border-bottom: 1px solid #cccccc;
  }

  .news_link {
    text-align: center;
    font-size: 14px;
  }

  .template_s h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  .template_s h3 {
    font-size: 16px;
    line-height: 26px;
  }
}

/* SERVICE ページ */

.template_a1 .kasou_service {
  background-image: url(../img/service_header.webp);
}

.service_page .template_b {
  background-color: #f3f3f3;
}

/* Tour Consultation ページ */

.template_a1 .kasou_tour_consultation {
  background-image: url(../img/tour_consultation_header.webp);
}

/* Exclusive Virtual Tours U4 ページ */

.template_a1 .kasou_exclusive_virtual_tours_u4 {
  background-image: url(../img/exclusive_virtual_tours_u4_header.webp);
}

#exclusive_virtual_tours_u4_back_pc {
  position: absolute;
  top: -420px;
  transition: initial;
}

#exclusive_virtual_tours_u4_back_sp {
  position: absolute;
  display: none;
  transition: initial;
}

@media screen and (max-width: 750px) {
  #exclusive_virtual_tours_u4_back_pc {
    display: none;
  }
  #exclusive_virtual_tours_u4_back_sp {
    display: block;
    top: -500px;
  }
}

/* Connect Package ページ */

.template_a1 .kasou_connect_package {
  background-image: url(../img/connect_package_header.webp);
}

.connect_package_page .template_d {
  position: relative;
  max-width: initial;
}

.connect_package_page .template_d::before {
  content: "";
  position: absolute;
  height: 25%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(#ffffff, #f7f7f7);
  z-index: -1;
}

.connect_package_page .template_g .box::before {
  background-color: #f8f8f8;
}

.connect_package_page .template_g .right {
  color: #000000;
}

.connect_package_page .template_g .box {
  align-items: flex-start;
}

.connect_package_page .template_g .right .link {
  margin-bottom: 80px;
}

.connect_package_page .template_g .box:last-child .right .link {
  margin-bottom: 0px;
}

@media (max-width: 750px) {
  .connect_package_page .template_g .kasou_inner h2 {
    color: #000000;
  }

  .connect_package_page .template_g .right .link {
    margin-bottom: 30px;
  }

  .connect_package_page .template_g .box:last-child .right .link {
    margin-bottom: 45px;
  }

  .connect_package_page section:last-child {
    margin-bottom: 0;
  }
}

/* Onsite Sherpa ページ */

.template_a1 .kasou_onsite_sherpa {
  background-image: url(../img/onsite_sherpa_header.webp);
}

#onsite_sherpa_back_pc {
  position: absolute;
  top: -400px;
  transition: initial;
}

#onsite_sherpa_back_sp {
  position: absolute;
  display: none;
  transition: initial;
}

@media screen and (max-width: 750px) {
  #onsite_sherpa_back_pc {
    display: none;
  }
  #onsite_sherpa_back_sp {
    display: block;
    top: -510px;
  }
}

/* Tokyo Activities ページ */

.template_a1 .kasou_tokyo_activities {
  background-image: url(../img/tokyo_activities_header.webp);
}

@media screen and (max-width: 750px) {
  .tokyo_activities_page .template_d .kasou_inner {
    width: 100%;
    padding: 0;
  }
}

.tokyo_activities_page #review-back-pc {
  position: absolute;
  top: -470px;
/*   bottom: 450px; */
  transition: initial;
}

@media screen and (max-width: 1000px) {
  #review-back-sp {
	top: -950px;
/*     bottom: 1340px; */
  }
}

/* Model Courses ページ */

.template_a1 .kasou_model_courses {
  background-image: url(../img/model_courses_header.webp);
}

@media screen and (max-width: 750px) {
  .model_courses_page .template_d .kasou_inner {
    width: 100%;
    padding: 0;
  }
}

.model_courses_page #top-back-pc {
  position: absolute;
  top: -320px;
  transition: initial;
}

@media screen and (max-width: 1000px) {
  .model_courses_page #top-back-sp {
    position: absolute;
    top: -510px;
    transition: initial;
  }
}

/* Model Activities ページ */

.template_m .kasou_model_activities {
  background-image: url(../img/model_activities_header.webp);
}

.model_activities_page {
  background-color: #f7f7f7;
}

.model_activities_page section:last-child {
  margin-bottom: 0;
}

.model_activities_page .template_n .btn {
  padding: 60px 0 0 0;
}

/* Model Course - Single ページ */

.template_m .kasou_model_course_single {
  background-image: url(../img/model_course_single_header.webp);
}

.model_course_single_page {
  background-color: #f7f7f7;
}

.model_course_single_page section:last-child {
  margin-bottom: 0;
}

/* News ページ */

.template_a1 .kasou_news {
  background-image: url(../img/news_header.webp);
}

/* News - single ページ */

.template_m .kasou_news_single {
  background-image: url(../img/news_single_header.webp);
}

.news_single_page {
  background-color: #f7f7f7;
}

.news_single_page section:last-child {
  margin-bottom: 0;
}

/* About Us ページ */

.template_a1 .kasou_about_us {
  background-image: url(../img/about_us_header.webp);
}

/* FAQ - Normal ページ */

.template_a1 .kasou_faq {
  background-image: url(../img/faq_header.webp);
}

.bcg {
  background-color: #f8f8f8;
}

.faq section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Top Tips & Q&A ページ */

.template_a1 .kasou_qa {
  background-image: url(../img/faq_header.webp);
}

.qa_page section:last-child {
  margin-bottom: 0;
}

.qa_footer {
  margin-top: 0;
}

/* Terms and Conditions ページ */

.template_a1 .kasou_terms_and_conditions {
  background-image: url(../img/terms_and_conditions_header.webp);
}

.terms_and_conditions_page section:last-child {
  margin-bottom: 0;
}

/* Privacy Policy ページ */

.template_a1 .kasou_privacy_policy {
  background-image: url(../img/terms_and_conditions_header.webp);
}

.privacy_policy_page section:last-child {
  margin-bottom: 0;
}

/* Link ページ */

.template_a1 .kasou_link {
  background-image: url(../img/terms_and_conditions_header.webp);
}

.link_page section:last-child {
  margin-bottom: 0;
}

/* Contact ページ */

.template_a1 .kasou_contact {
  background-image: url(../img/contact_header.webp);
}

/* Connect Package – Form1 ページ */

.template_a1 .kasou_conneect_form {
  background-image: url(../img/connect_package_header.webp);
}

.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1.5s;
}

.fadein_up {
  transform: translate(0, 30px);
}

.fadein_left {
  transform: translate(-30px, 0);
}

.fadein_right {
  transform: translate(30px, 0);
}

.scrollin {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

#shadow-host-companion {
  display: none;
}

.slick-track {
  margin-left: 0;
}

/* 投稿のCSS */
.single_btn {
  margin: 80px auto 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 531px;
}

.previous_btn,
.next_btn {
  width: 50px;
  height: 50px;
}

.previous_btn a,
.next_btn a {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #000000;
}

.previous_btn a::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 0;
  border-top: solid 2px #ffffff;
  border-left: solid 2px #ffffff;
  position: absolute;
  top: 37%;
  left: 42%;
  transform: translate(-50%, -50%);
  transform: rotate(-45deg);
}

.next_btn a::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 0;
  border-top: solid 2px #ffffff;
  border-left: solid 2px #ffffff;
  position: absolute;
  top: 37%;
  left: 27%;
  transform: translate(-50%, -50%);
  transform: rotate(135deg);
}

.pnavi {
  text-align: center;
  display: flex;
  max-width: 531px;
  margin: 0 auto;
  justify-content: center;
  max-width: 531px;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  position: relative;
}

.page-numbers {
  display: block;
  width: 50px;
  height: 50px;
  font-size: 18px;
  line-height: 45px;
  border: 1px solid #000000;
}

.page-numbers.current {
  background-color: #000000;
  color: #ffffff;
}

.prev.page-numbers {
  margin-right: 30px;
}

.next.page-numbers {
  margin-left: 30px;
}

.next.page-numbers,
.prev.page-numbers {
  background-color: #000000;
  position: absolute;
}

.prev.page-numbers::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 0;
  border-top: solid 2px #ffffff;
  border-left: solid 2px #ffffff;
  position: absolute;
  top: 37%;
  left: 42%;
  transform: translate(-50%, -50%);
  transform: rotate(-45deg);
}

.next.page-numbers::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 0;
  border-top: solid 2px #ffffff;
  border-left: solid 2px #ffffff;
  position: absolute;
  top: 37%;
  left: 27%;
  transform: translate(-50%, -50%);
  transform: rotate(135deg);
}

.pull_down li {
  padding-left: 14px;
  padding-top: 5px;
}

.pull_down li:last-child {
  display: none;
}

.pull_down li::before {
  display: none;
}

.prev.page-numbers {
  left: 0;
}

.next.page-numbers {
  right: 0;
}

.form {
  /* margin-bottom: 50px !important; */
  margin-bottom: 0 !important;
  text-align: center;
}

.form .leadmonk-privacy-Policy {
  height: 50px;
  color: #000000;
}

.form h2 {
  font-size: 52px;
  letter-spacing: 0.04em;
  line-height: 68px;
  margin-bottom: 60px;
}

.form .form_content {
  overflow:hidden;
}

.form .form_content .leadmonk-inline-widget{
  margin-top:-5px;
}

@media screen and (max-width: 750px) {
  .form h2 {
    font-size: 24px;
    letter-spacing: 0.04em;
    line-height: 32px;
    margin-bottom: 30px;
  }
}

#back_btn {
  text-decoration: none !important;
}

/* cookie */

.cn-text-container {
  margin: 0 !important;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 22px;
}

#cn-accept-cookie,
#cn-refuse-cookie {
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: bold !important;
  padding: 8px 0 !important;
  border: 1px solid #000000 !important;
  width: 148px !important;
  margin: 0 !important;
  font-family: "ivyora-display", sans-serif !important;
}

#cn-notice-text,
#cn-notice-buttons {
  display: inline-block;
}

#cn-notice-text {
  width: 56%;
}

#cn-notice-buttons {
  width: 31.5%;
  float: right;
  margin-top: 5px;
}

#cn-close-notice {
  display: none;
}

#cookie-notice .cookie-notice-container {
  width: 100%;
  max-width: 1005px;
  /* display: flex !important;
  align-items: center !important;
  justify-content: space-between !important; */
  text-align: left !important;
  margin: 0 auto !important;
}

.cookie-notice-container {
  padding: 10px 0 !important;
}

#cn-refuse-cookie {
  color: #ffffff !important;
  background-color: #000000 !important;
  border: 1px solid #ffffff !important;
  margin-left: 20px !important;
}

#cookie-notice {
  font-family: "ivyora-display", sans-serif !important;
}

@media screen and (max-width: 1050px) {
  #cn-notice-buttons {
    width: 40%;
  }
  #cookie-notice .cookie-notice-container {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media screen and (max-width: 975px) {
  #cookie-notice .cookie-notice-container {
    width: 100%;
    max-width: 1005px;
/*     display: flex !important; */
    align-items: center !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: left !important;
    margin: 0 auto !important;
  }

  #cn-notice-text {
    width: 100%;
  }

  #cn-notice-buttons {
    width: 100%;
  }

  #cn-notice-text,
  #cn-notice-buttons {
    text-align: center;
  }

  #cn-notice-text {
    margin-bottom: 15px !important;
  }

  #cookie-notice .cookie-notice-container {
    padding-left: 5.5% !important;
    padding-right: 5.5% !important;
  }

  #cn-accept-cookie,
  #cn-refuse-cookie {
    width: 135px !important;
  }

	.cn-buttons-container {
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 750px) {
  .no_thumbmail {
    background-image: url("../img/no_thumbmail_sp.webp") !important;
  }
}
