/* assets */
/* SCSS */
#pagetitle {
  background: url(/images/page/process/header.jpg) no-repeat;
  background-size: cover;
  height: 220px;
  position: relative;
}

#pagetitle h1 {
  font-size: 35px;
  line-height: 35px;
  height: 35px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  color: #fff;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 0, 0, 0.75),
    0 0 16px rgba(0, 0, 0, 0.75);
  letter-spacing: 0.2em;
}

#pagetitle h1 span {
  font-size: 17px;
  vertical-align: text-top;
  margin-left: 30px;
  letter-spacing: 0;
}

#pagetitle .read {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.75),
    0 0 16px rgba(255, 255, 255, 0.75);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 280px;
  right: 0;
  height: 120px;
  width: 618px;
  margin: auto;
}

#pagetitle .read .catch {
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: 0.25em;
  line-height: 1.4;
  font-family: 'Hiragino Mincho Pro', 'ヒラギノ明朝 Pro W3', 'Kozuka Mincho Pro',
    'Kozuka Mincho Std', '小塚明朝 Pro R', '小塚明朝 Std R', '游明朝', YuMincho,
    'ＭＳ Ｐ明朝', 'Times', 'Times New Roman', serif;
}

#pagetitle .read p {
  font-size: 15px;
  line-height: 1.95;
}

@media (max-width: 910px) {
  #pagetitle .read {
    width: 480px;
  }
  #pagetitle .read .catch {
    font-size: 20px;
  }
  #pagetitle .read p {
    font-size: 12px;
  }
}

#pagenavi {
  padding: 40px 0;
}

#pagenavi ul {
  display: flex;
  justify-content: center;
}

#pagenavi ul li {
  width: 20%;
  border-right: 1px solid #020429;
}

#pagenavi ul li:last-child {
  border-right: none;
}

#pagenavi ul li a {
  font-size: 18px;
  display: block;
  text-align: center;
  line-height: 1;
  position: relative;
}

#pagenavi ul li a:before {
  content: '';
  width: 0;
  height: 0;
  display: block;
  border-top: 8px solid #fff;
  border-left: 11px solid #020429;
  border-bottom: 8px solid #fff;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

#pagenavi ul li a:hover {
  opacity: 0.7;
}

#pagenavi ul li a img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}

#pagenavi ul li:first-child a:before {
  display: none;
}

section .flex {
  display: flex;
}

section h2 {
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  text-align: center;
  font-size: 16px;
  /* line-height: 55px; */
  line-height: 1;
  /* height: 55px; */
  padding: 18px 0;
  background: #e5e5e5;
}

section h2 span {
  font-size: 20px;
}

section .wrap {
  background: #fff;
  position: relative;
}

section .wrap:after {
  content: '';
  background: url(/images/page/process/icon_bg.png) no-repeat;
  background-size: 58px;
  width: 58px;
  height: 37px;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -36px;
}

section .inner {
  padding: 35px;
}

section h3 {
  font-size: 35px;
  margin-bottom: 50px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
}

section .flex {
  justify-content: space-between;
}

section .text {
  width: 40%;
}

section .text p {
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 2em;
}

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

section .photo {
  width: 48%;
}

#sec01 {
  background: url(/images/page/process/sec01_bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 300px;
}

#sec02 {
  background: url(/images/page/process/sec02_bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 300px;
}

#sec02 .flex {
  flex-direction: row-reverse;
}

#sec03 {
  background: url(/images/page/process/sec03_bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 300px;
}

#sec03 .text {
  width: 80%;
  margin: auto auto 50px auto;
  font-size: 15px;
  line-height: 1.95;
}

#sec03 .flex {
  justify-content: space-around;
}

#sec03 .flex p {
  margin-top: 10px;
  font-size: 15px;
}

#sec03 .flex .photo {
  width: 16%;
}

#sec04 {
  background: url(/images/page/process/sec04_bg.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 300px;
}

#sec04 .catch {
  font-size: 20px;
  margin-bottom: 20px;
}

#sec05 {
  border-bottom: 1px solid #000;
}

#sec05 .wrap:after {
  display: none;
}

#sec05 .flex {
  flex-direction: row-reverse;
}

@media (max-width: 1199px) {
  #pagenavi {
    padding: 0;
  }
  #pagenavi ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    position: relative;
    padding: 0;
  }
  #pagenavi ul li {
    width: 50%;
    border-bottom: 1px solid #020429;
    border-right: none;
  }
  #pagenavi ul li:nth-child(5) {
    border-bottom: none;
  }
  #pagenavi ul li a {
    border-right: 1px solid #020429;
    padding: 15px;
    font-size: 12px;
    text-align: left;
  }
  #pagenavi ul li a:before {
    display: none;
  }
  #pagenavi ul li:nth-child(2n) a {
    border-right: none;
  }
  #pagenavi #navi_open {
    background: #6d6d6d;
    text-align: center;
    height: 27px;
  }
  #pagenavi #navi_open img {
    transition: all 0.3s;
  }
  #pagenavi #navi_open.close img {
    transform: rotate(180deg);
  }
}

@media (max-width: 768px) {
  header {
    display: inherit;
  }
  section .flex {
    display: inherit;
  }
  #pagetitle {
    background: url(/images/page/process/sp_header.jpg) no-repeat right;
    background-size: cover;
    height: auto;
    margin-top: 30px;
    padding-bottom: 30px;
  }
  #pagetitle h1 {
    font-size: 24px;
    line-height: 24px;
    top: -110px;
    position: static;
  }
  #pagetitle h1 span {
    font-size: 15px;
    margin-left: 15px;
  }
  #pagetitle .read {
    position: static;
    width: auto;
    height: auto;
    margin-top: 20px;
  }
  #pagetitle .read .catch {
    font-size: 17px;
    letter-spacing: 0.15em;
  }
  #pagetitle .read p {
    font-size: 10px;
  }
  #pagenavi {
    padding: 0;
  }
  #pagenavi ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    position: relative;
  }
  #pagenavi ul li {
    width: 50%;
    border-bottom: 1px solid #020429;
    border-right: none;
  }
  #pagenavi ul li:nth-child(5) {
    border-bottom: none;
  }
  #pagenavi ul li a {
    border-right: 1px solid #020429;
    padding: 15px 0 15px 40px;
    position: relative;
    font-size: 12px;
  }
  #pagenavi ul li a:before {
    display: none;
  }
  #pagenavi ul li a img {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
  }
  #pagenavi ul li:nth-child(2n) a {
    border-right: none;
  }
  #pagenavi #navi_open {
    background: #6d6d6d;
    text-align: center;
    height: 27px;
  }
  #pagenavi #navi_open img {
    transition: all 0.3s;
  }
  #pagenavi #navi_open.close img {
    transform: rotate(180deg);
  }
  section .wrap:after {
    display: none;
  }
  section .inner {
    padding: 20px;
  }
  section h3 {
    font-size: 32px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.1;
  }
  section h3 span {
    font-size: 20px;
  }
  section .text {
    width: auto;
  }
  section .text p:last-child {
    margin-bottom: 2em;
  }
  section .photo {
    width: auto;
  }
  #sec01,
  #sec02,
  #sec03,
  #sec04 {
    background: none;
    padding-bottom: 0;
  }
  #sec01 .text,
  #sec02 .text,
  #sec03 .text,
  #sec04 .text {
    width: auto;
  }
  #sec01 .catch,
  #sec02 .catch,
  #sec03 .catch,
  #sec04 .catch {
    text-align: center;
  }
  #sec03 .flex {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
  }
  #sec03 .flex .photo {
    width: 48%;
    margin-bottom: 20px;
  }
  #sec03 .flex .photo p {
    margin-top: 5px;
  }
}
