﻿#nav-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 100px;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 160px;
  background-color: #fff;
  border-top: 1px solid #c7d0e1;
}

#nav-guide ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0 34px;
  list-style-type: none;
  width: 660px;
  margin: 0 auto;
  padding-left: 0;
  position: relative;
}

#nav-guide ul li a {
  display: inline-flex;
  align-items: center;
  height: 80px;
  padding-left: 36px;
  background-image: url("../img/guide/arrow.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 20px;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

@media screen and (max-width: 780px) {
  #nav-guide ul:after {
    content: "";
    width: 100%;
    border-top: 1px solid #c7d0e1;
    position: absolute;
    top: 50%;
    left: 0;
  }
}

@media screen and (min-width: 781px) {
  #nav-guide {
    height: 60px;
    top: 80px;
  }

  #nav-guide ul {
    justify-content: center;
    gap: 20px;
  }

  #nav-guide ul li a {
    padding-left: 22px;
    background-image: url("../img/guide/arrow-s.png");
    background-size: 12px;
    font-size: 14px;
  }

  #nav-guide ul li a:hover {
    color: #3d5499;
  }
}

.guide-wrap {
  padding-bottom: 40px;
}

.guide-column {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 0;
}

.guide-column:nth-of-type(even) {
  background-color: #e4e9f4;
}

@media screen and (max-width: 780px) {

  .guide-column:before,
  .guide-column:after {
    content: "";
    display: block;
    width: 230px;
    aspect-ratio: 300/320;
    position: absolute;
    z-index: -1;
  }

  .guide-column:before {
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .guide-column:after {
    right: 0;
    bottom: 0;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
  }

  .guide-column:nth-of-type(odd):before,
  .guide-column:nth-of-type(odd):after {
    background-color: #e4e9f4;
  }

  .guide-column:nth-of-type(even):before,
  .guide-column:nth-of-type(even):after {
    background-color: #f3f6fc;
  }

  .guide-column:nth-of-type(1):before,
  .guide-column:nth-of-type(5):after {
    display: none;
  }
}

@media screen and (min-width: 781px) {

  .guide-column:before,
  .guide-column:after {
    content: "";
    display: block;

    position: absolute;
    z-index: -1;
    clip-path: polygon(0 100%, 400px 0, 100% 0, 100% 100%);
  }

  .guide-column:before {
    width: calc(50% - 360px);
    height: 386px;
    top: 0;
    left: 0;
    transform: rotate(180deg);
  }

  .guide-column:after {
    width: calc(50% - 320px);
    height: 428px;
    right: 0;
    bottom: 0;
  }

  .guide-column:nth-of-type(odd):before,
  .guide-column:nth-of-type(odd):after {
    background-color: #e4e9f4;
  }

  .guide-column:nth-of-type(even):before,
  .guide-column:nth-of-type(even):after {
    background-color: #f3f6fc;
  }

  .guide-column:nth-of-type(1):before,
  .guide-column:nth-of-type(5):after {
    display: none;
  }
}

.guide-column-wrap {
  width: 660px;
  margin: auto;
}

.guide-column-wrap:not(:first-child) {
  padding-top: 60px;
}

.guide-column-wrap:not(:first-child) .guide-column-text:before {
  content: "";
  display: block;
  width: 2px;
  height: 64px;
  margin: 0 auto;
  background-color: #9eaec9;
}

.guide-column-hl {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 700;
  line-height: calc(54/36);
  text-align: center;
  text-indent: 0.05em;
}

.guide-column-hl span {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 60px;
  background-image: url("../img/guide/line.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  color: #36549e;
  font-size: 54px;
  line-height: 1;
}

.guide-column-text p {
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: calc(52/28);
}

.guide-column-image {
  margin: 0;
  border: 1px solid #9eaec9;
  box-shadow: 0px 0px 30px #dae0ec;
}

.guide-column-text h3 {
  margin-top: 30px;
  margin-bottom: 20px;
  color: #36549e;
  font-size: 40px;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

@media screen and (min-width: 781px) {

  .guide-column-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 1100px;
  }

  .guide-column-wrap:not(:first-child) {
    padding-top: 80px;
  }

  .guide-column-text {
    width: 380px;
  }

  .guide-column-hl {
    margin-bottom: 25px;
    font-size: 32px;
    line-height: calc(54/32);
  }

  .guide-column-hl span {
    margin-bottom: 30px;
    padding-bottom: 65px;
    background-image: url("../img/guide/line-pc.png");
    font-size: 42px;
  }

  .guide-column-text p {
    margin-bottom: 0px;
    font-size: 16px;
    line-height: calc(32/16);
  }

  .guide-column-text h3 {
    margin-top: 40px;
    font-size: 28px;
  }

  .guide-column-image {
    width: 650px;
  }
}