/*
 Theme Name:   OCHIAI WEB
 Theme URI:    
 Description:  
 Author:       SNAP
 Author URI:   http://snap.co.jp
 Version:      1.0.0
*/
* {
  -webkit-font-smoothing: antialiased;
}

*::selection {
  background-color: #deded1;
}

body {
  font-family: urw-din, source-han-sans-japanese, sans-serif;
  background-color: #fff;
  color: #212121;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

body.home .wrap {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #003C7C;
  text-decoration: underline;
  transition-property: all;
  transition-duration: 400ms;
  transition-timing-function: ease;
  outline: none;
}

header .inner, footer .inner {
  max-width: 1000px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}
@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
}
.home section {
  padding: 10vh 0;
}
section .inner {
  padding: 0 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  section .inner {
    padding: 0 24px;
  }
}
section.md .inner {
  max-width: 720px;
}
.home section h2 {
  font-size: 56px;
  font-family: copperplate, sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  line-height: 0.85;
}
@media (max-width: 767px) {
  .home section h2 {
    font-size: 42px;
  }
}

hr {
  margin: 48px 0;
}

.content {
  margin-bottom: 120px;
}
.content h2 {
  font-size: 32px;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .content h2 {
    font-size: 24px;
  }
}
.content h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .content h3 {
    font-size: 18px;
  }
}

body.home .p_hide {
  transition-property: all;
  transition-duration: 800ms;
  transition-delay: 200ms;
  transition-timing-function: ease;
  opacity: 0;
  top: 40px;
  position: relative;
}
body.home .p_hide.show {
  opacity: 1;
  top: 0;
}

#main {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  background-color: #fff;
}
@media (max-width: 767px) {
  #main {
    padding-top: 16px;
  }
}
body.home #main {
  height: 100vh;
  background-color: transparent;
}
@media (max-width: 767px) {
  body.home #main {
    padding-left: 16px;
    padding-right: 16px;
    height: 480px;
  }
}
#main header {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
@media (max-width: 767px) {
  #main header {
    padding-top: 16px;
  }
}
#main header .inner {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
}
#main header a {
  color: #212529;
  text-decoration: none;
}
#main header h1 {
  font-size: 22px;
}
.home #main header h1 {
  color: #fff;
}
#main header h1 span {
  font-size: 14px;
  margin-right: 8px;
}
@media (max-width: 767px) {
  #main header h1 span {
    display: block;
  }
}
#main .top_news {
  position: absolute;
  bottom: -16px;
  background: rgba(34, 65, 99, 0.9);
  padding: 16px 32px;
  padding-bottom: 28px;
  z-index: 10;
}
@media (max-width: 767px) {
  #main .top_news {
    padding: 16px 24px;
    bottom: -80px;
    width: calc(100% - 16px);
  }
}
#main .top_news h3 {
  font-weight: 500;
  color: #fff;
  font-size: 20px;
  position: absolute;
  top: -12px;
  left: 16px;
  font-family: copperplate, sans-serif;
}
#main .top_news ul {
  margin: 0;
}
#main .top_news ul li {
  margin: 8px 0;
}
#main .top_news ul li a {
  color: #fff;
  text-decoration: none;
}
#main .top_news ul li a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  #main .top_news ul li a {
    line-height: 1.5;
    display: block;
  }
}
#main .top_news ul li span {
  color: #D3D3C1;
  margin-right: 12px;
  font-weight: 600;
}
@media (max-width: 767px) {
  #main .top_news ul li span {
    display: block;
  }
}
#main .mov_box {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  display: flex;
}
@media (max-width: 767px) {
  #main .mov_box {
    height: 480px;
    padding-top: 30px;
  }
  #main .mov_box:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("mov/top_mov.jpg");
    background-size: cover;
    background-position: center center;
    z-index: -15;
  }
}
#main .mov_box:before {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  background: rgba(109, 135, 158, 0.45);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#main .mov_box .top_logo {
  width: 135px;
  height: 171px;
  display: inline-block;
  position: relative;
  opacity: 0;
  transition-property: all;
  transition-duration: 800ms;
  transition-timing-function: ease;
  transition-delay: 0.4s;
}
@media (max-width: 767px) {
  #main .mov_box .top_logo {
    transform: scale(0.65);
  }
}
#main .mov_box .top_logo .ojt {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  transition-property: all;
  transition-duration: 800ms;
  transition-timing-function: ease;
  transition-delay: 0.4s;
}
#main .mov_box .top_logo .line {
  width: 0;
  height: 2px;
  background-color: #000;
  top: 0;
  bottom: 0;
  transition-duration: 400ms;
}
#main .mov_box .top_logo .o1 {
  top: 47px;
}
#main .mov_box .top_logo .o2 {
  bottom: 47px;
  left: 29px;
  margin: 0;
}
#main .mov_box .top_logo.action {
  opacity: 1;
}
#main .mov_box .top_logo.action .line {
  width: 100%;
  transition-delay: 1s;
}
#main .mov_box .top_logo.action .o1 {
  top: 0;
  opacity: 1;
}
#main .mov_box .top_logo.action .o2 {
  bottom: 0;
  opacity: 1;
}
#main .mov_box .top_logo.off {
  transition-delay: 0s;
}
#main .mov_box .catch_e {
  font-family: copperplate, sans-serif;
  font-size: 68px;
  letter-spacing: 0.11em;
  line-height: 1;
  font-weight: 300;
  color: #fff;
  margin-top: 20px;
  opacity: 0;
  letter-spacing: 0.3em;
  transition-property: all;
  transition-duration: 1000ms;
  transition-timing-function: ease;
  transition-delay: 2s;
}
@media (max-width: 767px) {
  #main .mov_box .catch_e {
    font-size: 46px;
    margin-top: -10px;
    margin-bottom: 10px;
    line-height: 0.9;
  }
}
#main .mov_box .catch_e.action {
  opacity: 1;
  letter-spacing: 0.04em;
}
#main .mov_box .catch_e.off {
  transition-delay: 0s;
}
#main .mov_box p.catch {
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  margin-top: 10px;
  line-height: 1.5;
  opacity: 0;
  letter-spacing: 0.6em;
  transition-property: all;
  transition-duration: 1000ms;
  transition-timing-function: ease;
  transition-delay: 2.2s;
}
@media (max-width: 767px) {
  #main .mov_box p.catch {
    font-size: 16px;
    margin-top: 0;
  }
}
#main .mov_box p.catch.action {
  opacity: 1;
  letter-spacing: 0.04em;
}
#main .mov_box p.catch.off {
  transition-delay: 0s;
}
#main .mov_box video {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -1000%;
  right: -1000%;
  margin: auto;
  min-height: 100vh;
  min-width: 100vw;
  z-index: -10;
}
@media (max-width: 767px) {
  #main .mov_box video {
    position: absolute;
    min-height: 480px;
    height: 480px;
  }
}

nav {
  position: relative;
}
nav ul {
  display: flex;
}
nav ul li {
  margin-left: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-family: goudy-old-style, serif;
  font-size: 16px;
}
nav ul li.home {
  display: none;
}
nav ul li a {
  text-decoration: none;
}
nav ul li a:hover {
  text-decoration: none;
  color: #212121;
  opacity: 0.7;
}
body.home nav ul li a:hover {
  color: #fff;
}
@media (max-width: 991px) {
  header nav ul {
    display: none;
    opacity: 0;
  }
}
header nav ul li a {
  color: #212121;
}
body.home header nav ul li a {
  color: #fff;
}
footer nav {
  margin-bottom: 48px;
}
footer nav ul {
  justify-content: center;
}
@media (max-width: 767px) {
  footer nav ul {
    display: none;
  }
}
footer nav ul li a {
  color: #212121;
}
footer nav ul li a:hover {
  color: #212121 !important;
}
footer nav a {
  color: #212121;
}
footer nav a:hover {
  color: #212121 !important;
  opacity: 0.7;
}

.sp_nav {
  display: block;
}
@media (min-width: 992px) {
  .sp_nav {
    display: none;
  }
}
.sp_nav nav {
  transition-property: all;
  transition-duration: 400ms;
  transition-delay: 0s;
  transition-timing-function: ease;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  text-align: center;
  background-color: rgba(0, 19, 41, 0.92);
  z-index: 99;
  pointer-events: none;
}
.sp_nav nav.active {
  opacity: 1;
  pointer-events: all;
}
.sp_nav nav.active li {
  opacity: 1;
  padding-right: 0;
}
.sp_nav nav ul {
  display: block;
}
.sp_nav nav ul li {
  font-size: 18px;
  padding: 22px 0;
  position: relative;
  margin: 0;
  padding-right: 60px;
  opacity: 0;
  transition-property: all;
  transition-duration: 400ms;
}
.sp_nav nav ul li:nth-child(1) {
  transition-delay: 0.2s;
}
.sp_nav nav ul li:nth-child(2) {
  transition-delay: 0.25s;
}
.sp_nav nav ul li:nth-child(3) {
  transition-delay: 0.3s;
}
.sp_nav nav ul li:nth-child(4) {
  transition-delay: 0.35s;
}
.sp_nav nav ul li:nth-child(5) {
  transition-delay: 0.4s;
}
.sp_nav nav ul li:nth-child(6) {
  transition-delay: 0.45s;
}
.sp_nav nav ul li.home {
  display: block;
}
.sp_nav nav ul li:after {
  content: "";
  display: block;
  height: 1px;
  width: 32px;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.sp_nav nav ul li:last-child:after {
  content: none;
}
.sp_nav nav ul li a {
  color: #fff;
}

.menu-wrap {
  background-color: #002144;
  position: fixed;
  top: 0;
  right: 0;
  width: 55px;
  height: 55px;
  align-items: center;
  justify-content: center;
  display: flex;
  cursor: pointer;
  z-index: 999;
}
@media (min-width: 992px) {
  .menu-wrap {
    display: none;
  }
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.2s;
  box-sizing: border-box;
}

.menu-trigger {
  position: relative;
  width: 35px;
  height: 25px;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger span:nth-of-type(2) {
  top: 12px;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.on span:nth-of-type(1) {
  -webkit-animation: menu-bar01 0.251s forwards;
  animation: menu-bar01 0.251s forwards;
}

@-webkit-keyframes menu-bar01 {
  0% {
    -webkit-transform: translateY(12px) rotate(45deg);
  }
  50% {
    -webkit-transform: translateY(12px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes menu-bar01 {
  0% {
    transform: translateY(12px) rotate(45deg);
  }
  50% {
    transform: translateY(12px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.menu-trigger.on span:nth-of-type(2) {
  transition: all 0s 0s;
  opacity: 1;
}

.menu-trigger.on span:nth-of-type(3) {
  -webkit-animation: menu-bar02 0.251s forwards;
  animation: menu-bar02 0.251s forwards;
}

@-webkit-keyframes menu-bar02 {
  0% {
    -webkit-transform: translateY(-12px) rotate(-45deg);
  }
  50% {
    -webkit-transform: translateY(-12px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes menu-bar02 {
  0% {
    transform: translateY(-12px) rotate(-45deg);
  }
  50% {
    transform: translateY(-12px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-animation: active-menu-bar01 0.251s forwards;
  animation: active-menu-bar01 0.251s forwards;
}

@-webkit-keyframes active-menu-bar01 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(12px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(12px) rotate(45deg);
  }
}
@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(12px) rotate(0);
  }
  100% {
    transform: translateY(12px) rotate(45deg);
  }
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
  -webkit-animation: active-menu-bar03 0.251s forwards;
  animation: active-menu-bar03 0.251s forwards;
}

@-webkit-keyframes active-menu-bar03 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(-12px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(-12px) rotate(-45deg);
  }
}
@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-12px) rotate(0);
  }
  100% {
    transform: translateY(-12px) rotate(-45deg);
  }
}
#about {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  #about {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 1000ms;
  }
  #about.fadein {
    opacity: 1;
  }
}
#about .inner {
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
}
@media (max-width: 767px) {
  #about .inner {
    padding: 48px 16px;
  }
}
#about .inner:before {
  content: "";
  display: block;
  height: 6px;
  background-color: #D3D3C1;
  position: absolute;
  top: -16px;
  width: 0;
  right: 50%;
  z-index: 1;
  transition-property: all;
  transition-duration: 500ms;
  transition-delay: 0.2s;
  transition-timing-function: ease;
}
@media (max-width: 767px) {
  #about .inner:before {
    top: -36px;
    width: 100%;
    right: 100vw;
  }
}
#about .inner.view:before {
  right: -48px;
  width: 256px;
}
@media (max-width: 1110px) {
  #about .inner.view:before {
    right: 0;
  }
}
#about h2 {
  font-size: 36px;
  color: #003C7C;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  #about h2 {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  #about .row .left {
    padding: 0;
    margin-bottom: -60px;
  }
}
@media (min-width: 768px) {
  #about .row .left img {
    max-width: none;
  }
}
@media (max-width: 767px) {
  #about .row .left img {
    width: 100%;
  }
}
#about .row .right {
  padding-top: 48px;
  padding-left: 68px;
  transition-delay: 0.5s;
}
@media (max-width: 767px) {
  #about .row .right {
    padding-right: 24px;
    padding-left: 24px;
  }
}
#about .row .right p {
  text-align: justify;
  color: #5A5A54;
  line-height: 2.2;
}

#service {
  color: #fff;
  position: relative;
  background-color: rgba(34, 65, 99, 0.9);
}
@media (max-width: 767px) {
  #service {
    background-image: url("img/sv_bg@2x.jpg");
    background-size: cover;
  }
}
#service h2 {
  color: #D3D3C1;
  position: absolute;
  top: -32px;
}
@media (max-width: 767px) {
  #service h2 {
    top: -20px;
  }
}
#service h2:before {
  content: "";
  display: block;
  height: 6px;
  background-color: #003C7C;
  position: absolute;
  top: -48px;
  width: 0;
  left: 60vw;
  transition-property: all;
  transition-duration: 500ms;
  transition-delay: 0.2s;
  transition-timing-function: ease;
}
@media (max-width: 767px) {
  #service h2:before {
    width: 245px;
  }
}
#service h2.view:before {
  left: -48px;
  width: 256px;
}
#service .sv_txt {
  margin: 32px 0 48px;
  text-align: center;
}
@media (max-width: 767px) {
  #service .sv_txt {
    text-align: justify;
  }
}
#service .sv_btn {
  text-decoration: none;
  color: #fff;
  position: relative;
  display: block;
  padding: 16px;
}
#service .sv_btn:before, #service .sv_btn:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(212, 212, 193);
  opacity: 0.2;
  transition-property: all;
  transition-duration: 400ms;
  transition-timing-function: ease;
}
#service .sv_btn:before {
  top: -10px;
  left: -10px;
}
@media (max-width: 767px) {
  #service .sv_btn:before {
    top: -5px;
    left: -5px;
  }
}
#service .sv_btn:after {
  top: 10px;
  left: 10px;
}
@media (max-width: 767px) {
  #service .sv_btn:after {
    top: 5px;
    left: 5px;
  }
}
#service .sv_btn:hover:before, #service .sv_btn:hover:after {
  top: 0;
  left: 0;
}
#service .sv_btn div {
  background-color: #002144;
  font-size: 13px;
  display: inline-block;
  position: relative;
  z-index: 10;
  padding: 0 8px;
  top: -18px;
}
#service .sv_btn h3 {
  font-size: 20px;
}
#service .sv_btn span {
  color: #D3D3C1;
  font-size: 12px;
  background-image: url("img/sv_more_arrow@2x.png");
  background-size: 11px 10px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 18px;
  font-family: copperplate, sans-serif;
}
#service .sv_arrow_box {
  align-items: center;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  #service .sv_arrow_box {
    padding: 24px 0;
  }
}

.modal-dialog {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100vh;
}
@media (max-width: 767px) {
  .modal-dialog {
    display: inherit;
  }
}

.modal-content {
  border: none;
  border-radius: 0;
  padding: 48px;
  background-clip: initial;
}
@media (max-width: 767px) {
  .modal-content {
    padding: 24px;
  }
}
.modal-content .modal-body {
  padding: 0;
}

.modal .btn_close {
  background-image: url("img/btn_close@2x.png");
  background-size: cover;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
}
.modal.sv .modal-body {
  display: flex;
  flex-direction: row-reverse;
}
@media (max-width: 767px) {
  .modal.sv .modal-body {
    display: block;
  }
}
.modal.sv p {
  text-align: justify;
}
.modal.sv h4 {
  font-size: 16px;
  font-family: copperplate, sans-serif;
  color: #7C7D65;
}
.modal.sv .left {
  padding-right: 24px;
}
@media (max-width: 767px) {
  .modal.sv .left {
    padding-right: 0;
  }
}
.modal.sv .left img {
  margin: -48px -96px 24px -48px;
}
@media (min-width: 768px) {
  .modal.sv .left img {
    max-width: none;
  }
}
@media (max-width: 767px) {
  .modal.sv .left img {
    margin: 0 auto;
    margin-bottom: 24px;
    display: block;
  }
}
.modal.sv .right {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 24px 0 0 24px;
  z-index: 10;
}
@media (max-width: 767px) {
  .modal.sv .right {
    padding-left: 0;
    margin-bottom: 24px;
  }
}
.modal.sv .right .type {
  font-size: 13px;
  color: #7C7D65;
  margin-bottom: 4px;
}
.modal.sv .right h3 {
  font-size: 24px;
  margin-bottom: 24px;
}
.modal.sv .right p:last-child {
  margin-bottom: 0;
}
.modal.sv ul {
  background-color: #F3F3EE;
  padding: 8px 32px;
  margin: 0;
}
.modal.sv ul li {
  margin: 8px;
}

#office {
  padding: 8vh 0;
}
@media (min-width: 768px) {
  #office {
    background-color: #F3F3EE;
    background-image: url("img/office_bg@2x.png");
    background-size: 820px 613px;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: repeat-y;
  }
}
@media (max-width: 767px) {
  #office:before {
    content: "";
    position: fixed;
    display: block;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #F3F3EE;
    background-image: url("img/office_bg@2x.png");
    background-size: 820px 613px;
    background-position: center center;
    background-repeat: repeat-y;
    z-index: -20;
  }
}
#office h2 {
  font-size: 48px;
  color: #D3D3C1;
  display: inline-block;
  float: right;
  margin-bottom: 48px;
  padding-top: 24px;
  margin-top: -8vh;
  position: relative;
  opacity: 0;
  transition-property: all;
  transition-duration: 500ms;
  transition-delay: 0.2s;
  transition-timing-function: ease;
}
@media (max-width: 767px) {
  #office h2 {
    font-size: 32px;
  }
}
#office h2.view {
  opacity: 1;
}
#office h2:before {
  content: "";
  display: block;
  position: absolute;
  height: 6px;
  width: 0;
  left: -50vw;
  background-color: #7C7D65;
  top: 0;
  transition-property: all;
  transition-duration: 400ms;
  transition-delay: 0.4s;
  transition-timing-function: ease;
}
#office h2.view:before {
  width: 100%;
  left: 0;
}
#office h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  #office h3 {
    margin-bottom: 12px;
  }
}
@media (max-width: 767px) {
  #office .item {
    margin-bottom: 24px;
  }
}
#office tr td {
  font-size: 14px;
  vertical-align: top;
  padding: 8px 0;
  line-height: 1.6;
}
#office tr td:first-child {
  padding-right: 24px;
  white-space: nowrap;
}

#access {
  background-color: #fff;
  padding-bottom: 0;
}
#access .inner {
  position: relative;
  z-index: 5;
}
#access h2 {
  color: #003C7C;
  margin-bottom: -22px;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  #access h2 {
    margin-bottom: -16px;
  }
}
#access h2:before {
  content: "";
  display: block;
  height: 6px;
  background-color: #D3D3C1;
  position: absolute;
  bottom: -24px;
  width: 0;
  left: 60vw;
  transition-property: all;
  transition-duration: 500ms;
  transition-delay: 0.2s;
  transition-timing-function: ease;
}
@media (max-width: 767px) {
  #access h2:before {
    width: 232px;
  }
}
#access h2.view:before {
  width: 256px;
  left: -48px;
}
#access #map {
  position: relative;
  z-index: 1;
  transition-delay: 0.5s;
}

.map_inner {
  padding: 0px 12px;
  min-width: 219px;
  font-size: 14px;
  color: #073B75;
  font-weight: 500;
  font-family: urw-din, source-han-sans-japanese, sans-serif;
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .map_inner {
    padding: 8px 0px;
    letter-spacing: -0.01em;
  }
}
.map_inner div {
  font-size: 12px;
  color: #222;
  margin-bottom: 4px;
}

.gm-ui-hover-effect {
  top: 0 !important;
  right: 0 !important;
}

.gm-style .gm-style-iw-t {
  padding-bottom: 4px;
}

.sec_post {
  background-color: #fff;
  padding-bottom: 20vh;
}
@media (max-width: 767px) {
  .sec_post {
    padding-top: 32px;
  }
}
.sec_post .right h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 32px;
  font-family: urw-din, source-han-sans-japanese, sans-serif;
  -moz-font-feature-settings: "palt";
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
}
.sec_post .right h2 + h3, .sec_post .right h2 + h4, .sec_post .right h2 + h5 {
  margin-top: 0;
}
.sec_post .right h3, .sec_post .right h4, .sec_post .right h5 {
  font-weight: 400;
}
.sec_post .right h3 {
  font-size: 20px;
  margin: 48px 0 32px;
}
.sec_post .right h4 {
  font-size: 18px;
  margin: 32px 0 24px;
}
.sec_post .right h5 {
  font-size: 16px;
  margin: 24px 0 16px;
}
.sec_post .right blockquote p {
  font-style: italic;
  line-height: 1.5;
  padding: 8px 0;
  padding-left: 16px;
  border-left: 4px solid #D3D3C1;
  margin: 40px 0;
  font-weight: 500;
}
.sec_post .right .date {
  font-weight: 600;
  color: #7C7D65;
  margin-bottom: 12px;
}
.sec_post .right p {
  color: #5A5A54;
  line-height: 2.2;
  text-align: justify;
}
.sec_post .right p.wp-caption-text {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 24px;
}
.sec_post .right .item {
  padding-bottom: 32px;
  margin-bottom: 32px;
  position: relative;
}
.sec_post .right .item:after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background-color: #e1e1e1;
  position: absolute;
  bottom: 0;
}
.sec_post .right .item h2 {
  font-size: 18px;
  font-family: urw-din, source-han-sans-japanese, sans-serif;
  color: #212121;
  margin-bottom: 16px;
}
.sec_post .right .item h2 a {
  text-decoration: none;
  color: #212121;
}
.sec_post .right .item h2 a:hover {
  text-decoration: underline;
}
.sec_post .right .item p {
  line-height: 1.6;
}
.sec_post .right .cat {
  font-size: 0;
}
.single .sec_post .right .cat {
  margin-top: 48px;
}
.sec_post .right .cat ul.post-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sec_post .right .cat ul.post-categories li {
  display: inline-block;
}
.sec_post .right .cat ul.post-categories li span {
  display: inline-block;
  border: 1px solid #e1e1e1;
  text-decoration: none;
  padding: 6px 8px;
  line-height: 1;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 4px;
}
.sec_post .right .cat ul.post-categories li a {
  display: inline-block;
  border: 1px solid #e1e1e1;
  text-decoration: none;
  padding: 6px 8px;
  line-height: 1;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 4px;
}

.pnavi {
  font-weight: 700;
  font-size: 15px;
  text-align: right;
}
.pnavi a {
  text-decoration: none;
  color: #D3D3C1;
  padding: 8px;
}
.pnavi a:hover {
  color: #073B75;
}
.pnavi span {
  color: #073B75;
  padding: 8px;
}

#sidebar h2 {
  font-size: 52px;
  font-weight: 500;
  color: #D3D3C1;
}
@media (max-width: 767px) {
  #sidebar h2 {
    font-size: 32px;
  }
}
#sidebar .nav_year {
  margin-top: 48px;
}
@media (max-width: 767px) {
  #sidebar .nav_year {
    margin: 32px 0;
  }
}
#sidebar .nav_year li {
  margin-bottom: 8px;
}
#sidebar .nav_year li a {
  display: block;
  background-color: #F3F3EE;
  color: #D3D3C1;
  font-size: 18px;
  font-weight: 600;
  padding: 0 16px;
  border-radius: 3px;
  text-decoration: none;
}
#sidebar .nav_year li a:hover {
  background-color: #003C7C;
  color: #fff;
}
#sidebar .nav_year li.current a {
  background-color: #003C7C;
  color: #fff;
}

.ft_img {
  height: 72px;
}
.ft_img:before {
  content: "";
  position: fixed;
  display: block;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: #F3F3EE;
  background-image: url("img/office_bg@2x.png");
  background-size: 820px 613px;
  background-position: center center;
  background-repeat: repeat-y;
  z-index: -1;
}

footer {
  padding: 40px 0;
  background-color: #fff;
}
footer .inner {
  padding: 0 20px;
}
footer .contact {
  display: flex;
  padding-bottom: 80px;
  margin-bottom: 80px;
  position: relative;
}
@media (max-width: 767px) {
  footer .contact {
    display: block;
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
}
footer .contact:after {
  content: "";
  display: block;
  width: 180px;
  height: 2px;
  background-color: #E1E1E1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
footer .contact h3 {
  flex-basis: 20%;
  font-size: 24px;
  color: #7C7D65;
  font-family: copperplate, sans-serif;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0.05em;
}
footer .contact .item {
  flex-basis: 40%;
}
@media (max-width: 767px) {
  footer .contact .item {
    margin: 24px 0;
  }
}
footer .contact .item h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
footer .contact .item div {
  color: #073B75;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  footer .contact .item div {
    display: block;
  }
}
footer .contact .item div span {
  font-size: 22px;
  margin-left: 4px;
  margin-right: 8px;
}
footer .contact .item div span a {
  text-decoration: none;
}
footer .ft_logo {
  margin-bottom: 32px;
  display: inline-block;
  position: relative;
}
footer .copyright {
  font-size: 11px;
  color: #444;
  position: relative;
}
@media (max-width: 340px) {
  footer .copyright {
    font-size: 10px;
    letter-spacing: 0;
  }
}

.loader-wrap {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background: #FFF;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  display: flex;
}
.loader-wrap .loading {
  font-weight: 600;
  color: #003C7C;
}

@media (min-width: 768px) {
  .only_mb {
    display: none;
  }
}
@media (max-width: 767px) {
  .only_pc {
    display: none;
  }
}
