/*
Theme Name: sorano-home2
Theme URI: https://sorano-otoshigo.jp
Author: 株式会社そらのおとしご
Author URI: https://sorano-otoshigo.jp
Description: 株式会社そらのおとしごのカスタムテーマ
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Monomaniac+One&display=swap');

/* reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: normal;
}
li {
  list-style-type: none;
}
html,
body,
#app {
  width: 100%;
  min-height: 100vh;
  background-color: #f0f0f8;
}

a {
  text-decoration: none;
  color: #111;
}

li {
  list-style: none;
}

/* commmon */
.base {
  width: 1400px;
  margin: 0 auto;
}

.row {
  display: flex;
  justify-content: space-around;
}

.button {
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2em;
}

.dl-table {
  border-collapse: collapse;
}
.dl-table th,
.dl-table td {
  padding: 20px 50px;
  font-size: 1.2em;
}
.dl-table th {
  font-weight: bold;
  text-align: right;
}
.dl-table tr {
  border-top: 1px solid #223a70;
  border-bottom: 1px solid #223a70;
}
.dl-table .sub-table th,
.dl-table .sub-table td {
  font-size: 1em;
}
.dl-table .sub-table th {
  padding-left: 0;
  font-weight: normal;
}

.scrollable-x {
  overflow-x: auto;
  white-space: nowrap;
}

.sora {
  color: #3abef9;
}
.bold {
  font-weight: bold;
}

/* layout-home */
.layout-home .top-board {
  width: 100%;
  height: 80vh;
  margin-top: -80px;
  background-color: #223a70;
  background-image: url('assets/top-board.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.layout-home .top-board video {
  position: absolute;
  min-width: 100%;
  bottom: 0;
  z-index: 10;
}

.layout-home .navbar {
  background-color: rgba(34, 58, 112, 0.15);
  z-index: 1000;
}

.layout-home .top-board-wrapper {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

.layout-home .logo {
  font-size: 5rem;
  letter-spacing: 1.5rem;
  color: #eee;
  text-align: center;
  padding: 80px 150px;
  font-family: 'Monomaniac One', sans-serif;
  font-weight: 400;
  font-style: normal;
  border: 10px solid #eee;
  border-radius: 30px;
  user-select: none;
}

/* component-navbar */
.component-navbar {
  width: 100%;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #eee;
  z-index: 101;
  position: relative;
}

.component-navbar .navbar-wrapper {
  width: 1400px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.component-navbar .title {
  font-size: 2em;
  letter-spacing: 0.5rem;
  font-weight: bold;
  padding: 0 20px;
  font-family: 'Monomaniac One', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.component-navbar .menu li {
  display: inline-block;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.component-navbar .menu li:last-child {
  margin-right: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.component-navbar .menu a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  color: #eee;
}
.component-navbar .menu .menu-item-jp {
  font-size: 1.1em;
}
.component-navbar .menu .menu-item-en {
  font-size: 0.9em;
}

/* component-footerbar */
.component-footerbar {
  width: 100%;
  padding: 30px 0 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background-color: #223a70;
  color: #eee;
  z-index: 100;
  position: relative;
  display: flex;
  justify-content: center;
  flex-flow: column;
}

.component-footerbar .office {
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  padding: 80px 0;
}

.component-footerbar .office .title {
  font-size: 3em;
  letter-spacing: 0.5rem;
  font-weight: bold;
  padding: 0 30px;
  font-family: 'Monomaniac One', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.component-footerbar .office .address {
  font-size: 1.2em;
  margin-top: 10px;
  line-height: 1.4;
}

.component-footerbar .menu li {
  display: inline-block;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.component-footerbar .menu li:last-child {
  margin-right: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.component-footerbar .menu li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  color: #eee;
}
.component-footerbar .menu .menu-item-jp {
  font-size: 1.1em;
}
.component-footerbar .menu .menu-item-en {
  font-size: 0.9em;
}

.component-footerbar .site-map ul {
  color: #eee;
  padding: 0;
  margin: 0;
  list-style: none;
}
.component-footerbar .site-map ul li {
  padding: 5px 0;
  list-style: circle;
}
.component-footerbar .site-map ul li a {
  display: flex;
  align-items: center;
  color: #eee;
}
.component-footerbar .site-map ul li a .menu-item-en {
  margin-left: 10px;
}
.component-footerbar .site-map .address {
  font-size: 1.2em;
  margin-top: 30px;
  line-height: 1.4;
}

.component-footerbar .copyright {
  font-size: 1em;
  text-align: center;
  padding: 10px 0;
  margin-top: 30px;
}

/* layout-home-contents */
.layout-home {
  width: 100%;
  padding: 0;
}
.layout-home h2 {
  text-align: center;
  font-weight: bold;
  position: relative;
  margin: 30px 0;
}
.layout-home h2 .caption-jp {
  font-size: 3rem;
}
.layout-home h2 .caption-en {
  margin-top: 5px;
  font-size: 2rem;
}
.layout-home h2::before {
  content: '';
  position: absolute;
  top: calc(3em - 2.5px);
  display: block;
  width: 100%;
  height: 5px;
  background-color: #223a70;
}

.layout-home .card {
  width: 416px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
}

.layout-home .card .card-header {
  width: 100%;
  height: 234px;
}
.layout-home .card .card-header img {
  width: 100%;
  height: 100%;
}
.layout-home .card .card-main {
  padding: 20px;
}
.layout-home .card .date {
  font-size: 1.1rem;
  color: #555;
}
.layout-home .card h3 {
  font-size: 1.5rem;
  margin-top: 10px;
  font-weight: bold;
}

#news .description {
  margin: 10px;
  font-size: 1.1rem;
}
#news .description a {
  color: #223a70;
  text-decoration: underline;
}
#news .archive .button {
  display: block;
  width: 50%;
  text-align: center;
  margin: 0 auto;
  margin-top: 20px;
  background-color: #223a70;
  color: #fff;
}

#products {
  background-color: lighten(#a7e6ff, 15%);
}

.layout-home .two-columns {
  display: flex;
  justify-content: space-between;
  height: 80vh;
  overflow: hidden;
  margin-bottom: 30px;
}
.layout-home .two-columns .left {
  width: 55%;
}
.layout-home .two-columns .right {
  width: 45%;
}
.layout-home .two-columns .row {
  margin-bottom: 2vh;
}
.layout-home .two-columns .row:last-child {
  margin-bottom: 0;
}
.layout-home .two-columns .tile {
  width: 95%;
  height: 80vh;
  background-color: #223a70;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}
.layout-home .two-columns .tile .message {
  color: #fff;
  width: 100%;
  padding: 10px 30px;
  text-align: center;
}
.layout-home .two-columns .tile .tile-card {
  text-align: left;
}
.layout-home .two-columns .tile .tile-card .card-header {
  font-size: 1.3rem;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  padding: 5px 10px;
}
.layout-home .two-columns .tile .tile-card .card-main {
  padding: 20px 30px;
}
.layout-home .two-columns .tile .tile-card .card-main .message {
  list-style: none;
  padding: 0;
  font-size: 1.3rem;
}
.layout-home .two-columns .tile .tile-card .card-main .message li {
  margin-bottom: 10px;
  list-style: circle;
}
.layout-home .two-columns .tile .tile-card .card-main .message a {
  color: #a7e6ff;
  text-decoration: underline;
}
.layout-home .two-columns .product-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid #fff;
}
.layout-home .two-columns .to-detail-button {
  padding: 20px;
}

.layout-home .product-image {
  background-size: cover;
  background-position: center;
}
.layout-home .product-image .product-image-wrapper {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.layout-home .product-image .section-title {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-bottom: 5px solid #fff;
  user-select: none;
}

.layout-home .product-matching {
  background-image: url('./assets/matching.jpg');
}
.layout-home .product-academy {
  background-image: url('./assets/academy.jpg');
}
.layout-home .product-education {
  background-image: url('./assets/education.jpg');
}
.layout-home .product-development {
  background-image: url('./assets/development.jpg');
}

.layout-home .circle-menu-button {
  position: fixed;
  top: calc(100vh - 100px);
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #223a70;
  color: #fff;
  cursor: pointer;
  background-image: url('./assets/menu.svg');
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
}
.layout-home .circle-menu-button.close {
  background-image: url('./assets/close.svg');
}

.layout-home .circle-menu {
  position: fixed;
  top: calc(100vh - 370px);
  right: 50px;
  z-index: 999;
  width: 300px;
  height: 300px;
  background-color: #223a70;
  transform-origin: 100% 100%;
  padding: 20px;
  border: 3px solid #fff;
}
.layout-home .circle-menu a {
  color: #fff;
  text-decoration: underline;
}
.layout-home .circle-menu li {
  padding: 10px;
}

#about .message {
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  font-size: 1.6rem;
  padding: 20px 50px;
  background-color: #3572ef;
  color: #fff;
  font-weight: bold;
}
#about .dl-table {
  margin: 30px auto;
  width: 80%;
}
#about .dl-table {
  word-break: keep-all;
}
#about .picture {
  width: 300px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
#about .two-columns {
  height: auto;
  justify-self: flex-start;
}
#about .two-columns .left,
#about .two-columns .right {
  width: auto;
}
#about .two-columns .left {
  margin-right: 30px;
}
#about .two-columns .header {
  margin: 10px 0;
}
#about .two-columns .header span {
  margin-right: 20px;
}

#contact {
  margin-bottom: 100px;
}
#contact .contents {
  text-align: center;
  font-size: 1.2rem;
  padding: 20px;
}
#contact .contents p {
  margin-top: 20px;
}

.layout-home .soraoto-academy {
  background-color: #fff;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  color: #223a70;
  font-weight: bold;
  display: inline-block;
}
.layout-home .soraoto-academy span {
  font-size: 2rem;
}
.layout-home .soraoto-academy .service-name {
  color: #3572ef;
  font-size: 3rem;
}

.layout-home .our-vision .circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #223a70;
  margin: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  margin: 10px auto;
}
.layout-home .our-vision .message {
  margin-top: 10px;
}
.layout-home .our-vision .card {
  border: none;
}

/* common-layout */
.common-layout section {
  width: 100%;
  padding: 20px 0;
  margin-top: 20px;
}

.common-layout section h2 {
  text-align: left;
  font-weight: bold;
  font-size: 2rem;
  border-left: 10px solid #223a70;
  padding: 5px 10px;
  margin-bottom: 20px;
}
.common-layout section h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #223a70;
  display: flex;
  padding: 10px;
}
.common-layout section h3 p {
  margin-right: 10px;
  font-weight: bold;
}

.common-layout section h4 {
  font-size: 1.2rem;
  margin: 20px 0;
  display: flex;
  padding: 10px;
}
.common-layout section h4::before {
  content: '■';
  margin-right: 5px;
  color: #223a70;
}

.common-layout .component-navbar {
  background-color: #223a70;
}

footer {
  top: 100vh;
  position: sticky;
}

@media screen and (max-width: 80px) {
  .base {
    width: 100%;
  }
  .dl-table th,
  .dl-table td {
    padding: 10px;
    font-size: 1.1em;
  }

  /* layouts-home */
  .layout-home .top-board {
    height: 40vh;
  }
  .layout-home .top-board video {
    height: calc(40vh + 80px);
    width: auto;
  }
  .layout-home .logo {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    padding: 30px 60px;
    border-width: 5px;
    border-radius: 20px;
    margin-top: 5vh;
  }

  /* component-navbar */
  .component-navbar .navbar-wrapper {
    width: 100%;
  }
  .component-navbar .title {
    font-size: 1.5em;
  }
  .component-navbar .menu {
    display: none;
  }

  /* component-footerbar */
  .component-footerbar {
    padding: 10px 0;
    margin-top: 100px;
  }
  .component-footerbar .row {
    display: block;
  }
  .component-footerbar .office {
    border-right: none;
    padding: 20px 0;
  }
  .component-footerbar .office .title {
    font-size: 2em;
  }
  .component-footerbar .office .address {
    font-size: 1em;
    margin-top: 8px;
  }
  .component-footerbar .menu li {
    display: block;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
  }
  .component-footerbar .menu li:last-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .component-footerbar .site-map ul {
    flex-flow: column nowrap;
    align-items: center;
  }
  .component-footerbar .site-map ul li {
    padding: 10px 20px;
  }
  .component-footerbar .site-map .address {
    font-size: 1em;
    padding: 10px;
  }
  .layout-home {
    padding: 10px 0;
  }
  .layout-home h2 {
    margin: 20px 0;
  }
  .layout-home h2 .caption-jp {
    font-size: 2rem;
  }
  .layout-home h2 .caption-en {
    font-size: 1.5rem;
    margin-top: 15px;
  }
  .layout-home h2::before {
    top: calc(2em - 2.5px);
  }

  .layout-home .card {
    width: 320px;
  }
  .layout-home .card .card-header {
    height: 180px;
  }

  #news .row {
    overflow-x: scroll;
  }
  #news .row .card {
    flex-shrink: 0;
    margin: 0 15px;
  }
  #news .archive .button {
    width: 80%;
    font-size: 1rem;
  }

  .layout-home .two-columns {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    width: 95%;
    margin: 10px auto 0 auto;
  }
  .layout-home .two-columns.sp-reverse {
    flex-direction: column-reverse;
  }
  .layout-home .two-columns .left {
    width: 100%;
    flex-shrink: 0;
  }
  .layout-home .two-columns .right {
    width: 100%;
    flex-shrink: 0;
  }
  .layout-home .two-columns .tile {
    height: auto;
    width: 100%;
  }
  .layout-home .two-columns .tile .message {
    padding: 10px;
  }
  .layout-home .two-columns .tile .tile-card .card-header {
    font-size: 1.1rem;
    padding: 5px;
  }
  .layout-home .two-columns .product-title {
    font-size: 1.2rem;
  }
  .layout-home .product-image .product-image-wrapper {
    padding: 20px 0;
  }
  .layout-home .product-image .section-title {
    font-size: 2rem;
    padding: 10px;
  }
  .layout-home .circle-menu-button {
    display: none;
  }

  #about .message {
    font-size: 1.4rem;
    padding: 10px 20px;
  }
  #about .dl-table {
    width: 95%;
  }
  #about .picture {
    width: 50vw;
  }

  .layout-home .our-vision {
    flex-direction: column;
    align-items: center;
  }
  .layout-home .our-vision .circle {
    width: 150px;
    height: 150px;
  }
  .layout-home .our-vision .message {
    width: 95%;
    margin: 10px auto;
    font-size: 1.2rem;
  }

  /* common-layout */
  .common-layout section {
    padding: 10px;
  }
  .common-layout section h2 {
    margin: 20px 0;
  }
  .common-layout section h3 p {
    font-size: 1.2rem;
    display: block;
  }
  .common-layout section h4 {
    font-size: 1rem;
    display: block;
  }
}

/*
.fadein-from-left
    transition: all 0.5s ease
    position: relative
    left: -200px
    opacity: 0
.fadein-from-left-active
    left: 0
    opacity: 1

.fadein-from-right
    transition: all 0.5s ease
    position: relative
    right: -200px
    opacity: 0
.fadein-from-right-active
    right: 0
    opacity: 1

.fadein-from-bottom
    transition: all 0.3s ease
    position: relative
    top: 80px
    opacity: 0
.fadein-from-bottom-active
    top: 0
    opacity: 1

.fadein-menu-enter-active, .fadein-menu-leave-active
    transition: all 0.3s ease
.fadein-menu-enter-to, .fadein-menu-leave-from
    opacity: 1
    margin-top: 0
.fadein-menu-enter-from, .fadein-menu-leave-to
    opacity: 0
    margin-top: 100px


.fadein-circle-enter-active, .fadein-circle-leave-active
    transition: all 0.3s ease
.fadein-circle-enter-to, .fadein-circle-leave-from
    opacity: 1
    rotate: 0deg
.fadein-circle-enter-from, .fadein-circle-leave-to
    opacity: 0
    rotate: 90deg */
