.hoverLayer {
  --btn-size: 280px;
  --mask-color: var(--blue-hover-color);
  will-change: transform;
  overflow: hidden;
}

.hoverLayer * {
  transition: all 0.32s cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media only screen and (min-width: 768px) {
  .hoverLayer::before {
    --size: calc(var(--btn-size) * 1.2);
    content: "";
    position: absolute;
    top: calc(50% - max(var(--size)) / 2);
    left: calc(50% - max(var(--size)) / 2);
    width: max(var(--size));
    height: max(var(--size));
    -webkit-clip-path: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%);
    background-color: var(--mask-color);
    transform: scale(0);
    transition: transform 0.32s cubic-bezier(0.39, 0.575, 0.565, 1);
  }

  .hoverLayer:hover::before {
    transform: scale(1);
  }
}

body#omoi main .mainHeader {
  /* background-image: url("../img/omoi/header-bg.jpg"); */
  display: block;
  background: #f5f5f5;
}



body#omoi main section {
  padding: 4em 0;
}

body#omoi main section article .content h2{
  
}

@media only screen and (max-width: 768px) {
  body#omoi main section {
    padding: 2em var(--padding);
  }
}

body#omoi main section article .content h2 {
  text-align: center;
  padding: 0 0 2em;
  font-family: var(--shippori-mincho);
  font-weight: 400;
  letter-spacing: 0.1em;
}

body#omoi main section.message article .content h2 {
  max-width: 822px;
  margin: 0 auto;
}

body main section.message article .d-title {
  padding-bottom: 100px;
}

body#omoi main section.action article .content h2 {
  max-width: 330px;
  margin: 0 auto;
  font-size: 0;
}

body#omoi main section.action article .d-title {
  padding-bottom: 100px;
  padding-top: 0;
}

body#omoi main .action article .content ul li .flipContainer .frontSide .d-title {
  padding-bottom: 0;
}

@media screen and (min-width: 320px) {
  body#omoi main section article .content h2 {
    font-size: calc(32px + 18 * ((100vw - 320px) / 980));
  }
}

@media screen and (min-width: 1300px) {
  body#omoi main section article .content h2 {
    font-size: 50px;
  }
}

@media only screen and (max-width: 768px) {
  body#omoi main section article .content h2 {
    padding: 0 0 1.5em;
  }
}

body#omoi main .message {
  /* background-color: var(--primary-color); */
  background-color: #f5f5f5;
  padding-bottom: 100px;
}

body#omoi main .message article span {
  color: var(--color-text);
  font-family: var(--shippori-mincho);
  letter-spacing: 0.1em;
  margin-top: 10px;
}

body#omoi main .message article .point-tit {
  font-size: 24px;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 30px;
  font-weight: 500;
  font-family: var(--zen);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

body#omoi main .message article .point-tit .br-spblock{
  display: none;
}
body#omoi main .message article .point .br-spnone{
  display: block;
}

@media screen and (max-width: 500px) {
  body#omoi main .message article span.point {
    text-align: center;
  }
  body#omoi main .message article span.point p{
    display: inline;
    text-align: center;
  }
  body#omoi main .message article .point-tit .br-spblock{
    display: block;
  }
  body#omoi main .message article .point .br-spnone{
    display: none;
  }
  body#omoi main .message article .point-tit{
    font-size: 21px;
    margin-bottom: 15px;
  }
}

body#omoi main .message article h2 {
  color: var(--color-white);
}

body#omoi main .message article h2 {
  font-size: 52px;
}

@media screen and (min-width: 320px) {
  body#omoi main .message article h2 {
    font-size: calc(52px + 8 * ((100vw - 320px) / 980));
  }
}

@media screen and (min-width: 1300px) {
  body#omoi main .message article h2 {
    font-size: 60px;
  }
}

body#omoi main .message article p {
  color: var(--color-white);
  line-height: 2;
}
@media screen and (min-width: 320px) {
  body#omoi main .message article p {
    font-size: calc(16px + 2 * ((100vw - 320px) / 980));
  }
}

@media screen and (min-width: 1300px) {
  body#omoi main .message article p {
    font-size: 18px;
  }
}

body#omoi main .message article p {
  font-size: 16px;
}


body#omoi main .message article .content {
  padding-bottom: 2em;
  position: relative;
  z-index: 3;
}

body#omoi main .message article .content .parent {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px; */
  text-align: center;
}

body#omoi main .message article .content .parent li p {
  /* line-height: 4; */
  font-family: var(--shippori-mincho);
  line-height: 2.722;
  display: block;
  text-align: center;
  color: var(--color-text);
}

body#omoi main .message article .content .parent li.div1 {
  padding: 0;
}
body#omoi main .message article .content .parent li.div1.spdiv2 {
  display: none;
}

body#omoi main .message article .content .parent img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}

body#omoi main .message article .content .parent .div1 {
  grid-area: 1/1/2/2;
  padding: 2em 0 0 2em;
}

body#omoi main .message article .content .parent .div2 {
  grid-area: 2/1/4/2;
}

body#omoi main .message article .content .parent .div3 {
  grid-area: 1/2/3/3;
}

body#omoi main .message article .content .parent .div4 {
  grid-area: 3/2/4/3;
  padding-right: 2em;
}

@media only screen and (max-width: 768px) {
  body#omoi main .message article .content .parent {
    display: flex;
    flex-direction: column;
  }

  body#omoi main .message article .content .parent .div1 {
    order: 2;
    padding: 0;
  }

  body#omoi main .message article .content .parent .div2 {
    order: 1;
  }

  body#omoi main .message article .content .parent .div3 {
    order: 3;
  }

  body#omoi main .message article .content .parent .div4 {
    padding-right: 0;
    order: 4;
  }
}

body#omoi main .message article .content .parent.animateList li {
  opacity: 0;
  transform: translate(0, 0);
}

body#omoi main .message article .content .parent.animateList li .text {
  transition-delay: 0s;
  transform: translate(0, 50px);
}

body#omoi main .message article .content .parent.animateList li .image {
  transition-delay: 0s;
  transform: translate(-50px, 0);
}

body#omoi main .message article .content .parent.animateList li.fadeIn {
  opacity: 1;
  transform: translate(0, 0);
}

body#omoi main .message article .content .parent.animateList li.fadeIn .text {
  transform: translate(0, 0);
  text-shadow: 1px 1px 1px var(--primary-color);
  font-size: 20px;
}

body#omoi main .message article .content .parent.animateList li.fadeIn .image {
  transform: translate(0, 0);
}

body#omoi main .action article .content>p {
  text-align: center;
  font-size: 21px;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 90px;
  margin-top: 40px;
}

@media screen and (max-width:500px){
  body#omoi main .action article .content>p {
    font-size: 16px;
  }
}

body#omoi main .action article .content ul {
  display: flex;
  flex-direction: row;
}

body#omoi main .action article .content ul li {
  flex-basis: 33.3333333333%;
  height: 670px;
  background-color: transparent;
  perspective: 1000px;
}

body#omoi main .action article .content ul li .flipContainer {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
body#omoi main .action article .content ul li .flipContainer:hover .backSide {
  transition: .5s;
  opacity: 1;
}

body#omoi main .action article .content ul li .flipContainer .frontSide,
body#omoi main .action article .content ul li .flipContainer .backSide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body#omoi main .action article .content ul li .flipContainer .frontSide span img {
  width: 65px;
}

body#omoi main .action article .content ul li .flipContainer .frontSide span {
  color: var(--color-white);
}

body#omoi main .action article .content ul li .flipContainer .frontSide span {
  font-size: 22px;
}

@media screen and (min-width: 320px) {
  body#omoi main .action article .content ul li .flipContainer .frontSide span {
    font-size: calc(22px + 6 * ((100vw - 320px) / 980));
  }
}

@media screen and (min-width: 1300px) {
  body#omoi main .action article .content ul li .flipContainer .frontSide span {
    font-size: 28px;
  }
}

body#omoi main .action article .content ul li .flipContainer .frontSide h4 {
  padding: 0;
  font-family: var(--roboto);
  color: #afafaf;
}

body#omoi main .action article .content ul li .flipContainer .frontSide h4 {
  font-size: 26px;
}

@media screen and (min-width: 320px) {
  body#omoi main .action article .content ul li .flipContainer .frontSide h4 {
    font-size: calc(26px + 6 * ((100vw - 320px) / 980));
  }
}

@media screen and (min-width: 1300px) {
  body#omoi main .action article .content ul li .flipContainer .frontSide h4 {
    font-size: 32px;
  }
}

body#omoi main .action article .content ul li .flipContainer .backSide {
  /* transform: rotateY(180deg); */
  background-color: rgba(0, 0,0, 0.72);
  background-blend-mode: multiply;
  opacity: 0;
}

body#omoi main .action article .content ul li .flipContainer .backSide p {
  text-align: center;
  color: var(--color-white);
  max-width: 300px;
  line-height: 2.722;
  letter-spacing: 0.1em;
}


/* body#omoi main .action article .content ul li:hover .flipContainer, body#omoi main .action article .content ul li:focus .flipContainer {
  transform: rotateY(180deg);
} */

/* body#omoi main .action article .content ul li:nth-child(1) .frontSide,
body#omoi main .action article .content ul li:nth-child(1) .backSide {
  background-image: url("../img/omoi/action-img-1.jpg");
} */

/* body#omoi main .action article .content ul li:nth-child(2) .frontSide,
body#omoi main .action article .content ul li:nth-child(2) .backSide {
  background-image: url("../img/omoi/action-img-2.jpg");
}

body#omoi main .action article .content ul li:nth-child(3) .frontSide,
body#omoi main .action article .content ul li:nth-child(3) .backSide {
  background-image: url("../img/omoi/action-img-3.jpg");
} */

body#omoi main .action article span {
  font-family: var(--shippori-mincho);
  letter-spacing: 0.1em;
  margin-top: 10px;
}
body#omoi main .action {
  /* margin-bottom: 160px; */
  margin-bottom: 70px;
}

body#omoi main .action article .content h2{
  padding-bottom: 0;
  margin-bottom: 30px;
  margin-top: 90px;
}

@media only screen and (max-width: 768px) {
  body#omoi main .action article .content ul {
    flex-direction: column;
  }

  body#omoi main .action article .content ul li {
    flex-basis: 100%;
    height: 50vmax;
  }

  body#omoi main .action article .content ul li .flipContainer {
    height: inherit;
  }
}

.fadein00.scrollin {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.fadein00 {
  opacity: 0;
  -webkit-transform: translate(0, 100px);
  transform: translate(0, 100px);
  -webkit-transition: all 1s;
  transition: all 1s;
}

body#omoi main .message article .content .parent.animateList li.fadeIn .kaigyou {
  display: block;
  margin-bottom: 65px;
}

@media only screen and (max-width: 500px) {
  body#omoi main section article .content h2 {
    font-size: 21px;
  }
  body#omoi main .message article .content .parent .div1 {
    text-align: left;
  }
}

#scrollImage {
  width: 25vw;
  height: 310px;
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  top: 20%;
  left: 0%;
  object-fit: cover;
}

#scrollImage02 {
  width: 25vw;
  height: 310px;
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0%;
  object-fit: cover;
}

#scrollImage03 {
  width: 25vw;
  height: 310px;
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  bottom: 10%;
  left: 00%;
  object-fit: cover;
}


body#omoi main .history .content {
  /* margin-top: 4em; */
  /* padding-top: 4em; */
}
body#omoi main .history .content .timeTree {
  --crown-size: 300px;
  --dot-size: 20px;
  padding-bottom: 10em;
}
body#omoi main .history .content .timeTree::after {
  content: "";
  display: inline-block;
  clear: both;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: -2;
  width: 12px;
  height: 100%;
  background-color: #c8c8c8;
}
body#omoi main .history .content .timeTree .crown,
body#omoi main .history .content .timeTree .timeBlock {
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
}
body#omoi main .history .content .timeTree .crown span,
body#omoi main .history .content .timeTree .timeBlock span {
  font-family: "Helvetica", var(--roboto);
}
body#omoi main .history .content .timeTree .crown span,
body#omoi main .history .content .timeTree .crown h3,
body#omoi main .history .content .timeTree .timeBlock span,
body#omoi main .history .content .timeTree .timeBlock h3 {
  color: var(--color-white);
  text-align: center;
}
body#omoi main .history .content .timeTree .crown {
  width: var(--crown-size);
  height: var(--crown-size);
}
body#omoi main .history .content .timeTree .crown span {
  font-size: 50px;
}
@media screen and (min-width: 320px) {
  body#omoi main .history .content .timeTree .crown span {
    font-size: calc(50px + 4 * ((100vw - 320px) / 980));
  }
}
@media screen and (min-width: 1300px) {
  body#omoi main .history .content .timeTree .crown span {
    font-size: 54px;
  }
}
body#omoi main .history .content .timeTree .crown h3 {
  font-family: var(--shippori-mincho);
  padding-top: 0.5em;
}
body#omoi main .history .content .timeTree .crown h3 {
  font-size: 21px;
}
@media screen and (min-width: 320px) {
  body#omoi main .history .content .timeTree .crown h3 {
    font-size: calc(21px + 4 * ((100vw - 320px) / 980));
  }
}
@media screen and (min-width: 1300px) {
  body#omoi main .history .content .timeTree .crown h3 {
    font-size: 25px;
  }
}
body#omoi main .history .content .timeTree .timeBlock {
  --block-size: calc(var(--crown-size) - 100px);
  margin-top: var(--block-size);
  width: var(--block-size);
  height: var(--block-size);
}
body#omoi main .history .content .timeTree .timeBlock span {
  font-size: 34px;
}
@media screen and (min-width: 320px) {
  body#omoi main .history .content .timeTree .timeBlock span {
    font-size: calc(34px + 4 * ((100vw - 320px) / 980));
  }
}
@media screen and (min-width: 1300px) {
  body#omoi main .history .content .timeTree .timeBlock span {
    font-size: 38px;
  }
}
body#omoi main .history .content .timeTree .timeBlock .dash-line {
  margin: 1em 0;
  width: 4px;
  height: 20px;
  background-color: var(--color-white);
}
body#omoi main .history .content .timeTree .branches .branch {
  width: 50%;
  margin: 2em 0;
}
body#omoi main .history .content .timeTree .branches .branch span {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1;
}
body#omoi main .history .content .timeTree .branches .branch span {
  font-size: 18px;
}
@media screen and (min-width: 320px) {
  body#omoi main .history .content .timeTree .branches .branch span {
    font-size: calc(18px + 4 * ((100vw - 320px) / 980));
  }
}
@media screen and (min-width: 1300px) {
  body#omoi main .history .content .timeTree .branches .branch span {
    font-size: 22px;
  }
}
body#omoi main .history .content .timeTree .branches .branch p {
  font-weight: 500;
}
body#omoi main .history .content .timeTree .branches .branch p {
  font-size: 16px;
}
@media screen and (min-width: 320px) {
  body#omoi main .history .content .timeTree .branches .branch p {
    font-size: calc(16px + 2 * ((100vw - 320px) / 980));
  }
}
@media screen and (min-width: 1300px) {
  body#omoi main .history .content .timeTree .branches .branch p {
    font-size: 18px;
  }
}
body#omoi main .history .content .timeTree .branches .branch .image {
  max-width: 90%;
  position: absolute;
  top: 100%;
  left: 0;
}
body#omoi main .history .content .timeTree .branches .branch .line {
  height: 2px;
  background-color: var(--primary-color);
  position: relative;
}
body#omoi main .history .content .timeTree .branches .branch .line::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--dot-size);
  background-color: var(--primary-color);
  box-shadow: 0 0 0 calc(var(--dot-size) / 5) rgb(255, 255, 255);
}
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(odd) {
  transform: translateX(100%);
}
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(odd) span,
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(odd) p {
  padding: 1rem 0 1rem 2em;
}
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(odd) .line::before {
  left: calc(-1 * var(--dot-size) / 2);
}
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(even) span,
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(even) p {
  padding: 1rem 2em 1rem 0em;
}
body#omoi main .history .content .timeTree .branches .branch:nth-of-type(even) .line::before {
  right: calc(-1 * var(--dot-size) / 2);
}

body#omoi main .company {
  background-color: var(--color-gray-header);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 175px 0;
  margin-bottom: 0;
}

body#omoi main .company .d-title {
  padding-top: 0;
  padding-bottom: 100px;
  
}

body#omoi main .history .d-title {
  margin-bottom: 4em;
}


body#omoi main .company .content {
  padding: 0 var(--padding);
}
body#omoi main .company .content table {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
body#omoi main .company .content table tr {
  text-align: left;
  padding: 1em 0;
  display: block;
  border-bottom: 1px solid var(--color-gray-bg);
}
body#omoi main .company .content table tr th,
body#omoi main .company .content table tr td {
  font-weight: 500;
  line-height: 2.118;
}
body#omoi main .company .content table tr th,
body#omoi main .company .content table tr td {
  font-size: 16px;
}
@media screen and (min-width: 320px) {
  body#omoi main .company .content table tr th,
  body#omoi main .company .content table tr td {
    font-size: calc(16px + 2 * ((100vw - 320px) / 980));
  }
}
@media screen and (min-width: 1300px) {
  body#omoi main .company .content table tr th,
  body#omoi main .company .content table tr td {
    font-size: 18px;
  }
}
body#omoi main .company .content table tr th {
  width: 30%;
  min-width: 200px;
  color: var(--primary-color);
  font-size: 16px;
}
body#omoi main .company .content table tr td {
  padding-left: 50px;
  font-size: 16px;
}
body#omoi main .company article span {
  font-family: var(--shippori-mincho);
  letter-spacing: 0.1em;
  margin-top: 10px;
}
@media only screen and (max-width: 640px) {
  body#omoi main .company .content table tr {
    display: flex;
    flex-direction: column;
  }
  body#omoi main .company .content table tr td {
    padding-left: 0;
    margin-top: 0.1em;
  }
}

body#omoi main .history article span {
  font-family: var(--shippori-mincho);
  letter-spacing: 0.1em;
  margin-top: 10px;
}

body main section .d-title {
  text-align: center;
}

body#omoi main .message article h2 .pc-img {
  display: block;
  max-width: 640px;
  margin: 0 auto;
}

body#omoi main .message article h2 .sp-img {
  display: none;
}

body#omoi main .action article .content > p br.sp-block{
  display: none;
}

body#omoi main .action article .content ul li .flipContainer .frontSide::before{}

@media screen and (max-width:500px){
  body#omoi main .action article .content ul li .flipContainer .backSide{
    padding: 0;
  }
  body#omoi main .action article .content ul li .flipContainer .backSide p {
    line-height: 2;
    font-size: 15px;
  }
  body#omoi main .company{
    padding: 70px 0;
  }
  body#omoi main .company .d-title{
    padding-bottom: 30px;
  }
  body#omoi main .action article .content h2{
    margin-top: 30px;
  }
  body#omoi main section.message article .content {
  }
  body#omoi main section.message article .content h2 {
    font-size: 17px;
    max-width: 300px;
    letter-spacing: 0.1em;
  }
  body#omoi main section.action article .content h2{
    max-width: 250px;
  }
  body#omoi main .message article .content .parent li p{
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.07em;
  }
  body#omoi main .message article .content .parent.animateList li.fadeIn .kaigyou {
    margin-bottom: 45px;
  }
  body#omoi main .message {
    margin-bottom: 0;
    padding: 0 15px 0 20px;
  }
  body#omoi main section.action .d-title {
    padding-bottom: 10px;
  }
  body#omoi main .action article .content>p{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
  }
  body#omoi main .action {
    margin-bottom: 70px;
  }
  body#omoi main .company .content table tr td {
    line-height: 2;
    font-size: 15px;
  }
  body#omoi main .action article .content ul li .flipContainer .frontSide::before{
    content: '';
    width: 10px;
    height: 10px;
    border: 0;
    border-bottom: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
    position: absolute;
    /* top: 0; */
    left: 50%;
    bottom: 20px;
    margin: auto;
    transform: translateX(-50%) rotate(45deg);
  }
  body main section.message article .d-title {
    padding-bottom: 50px;
  }
  body#omoi main .message {
    padding-bottom: 70px;
  }
  
  body#omoi main .message article .content .parent li {
    text-align: justify!important;
  }
  body#omoi main .message article h2 .pc-img {
    display: none;
  }

  body#omoi main .message article h2 .sp-img {
    display: block;
    max-width: 200px;
    margin: 0 auto;
  }
  body#omoi main .action article .content > p br.sp-block{
    display: block;
  }
  
body#omoi main .message article .content .parent li.div1 {
  display: none;
}
body#omoi main .message article .content .parent li.div1.spdiv2 {
  display: block;
}
}
.headerBody #headerNav.active nav .logo a img {
  filter: invert(1)!important;
}

