#footer {
   margin-top: 0 !important;
}

@media (max-width:768px) {
   .page-nav {
      display: none !important;
   }
   .page-nav + * {
      margin-top: 0 !important;
   }
}

/* ****************************************************************************************************
   * greeting
**************************************************************************************************** */

.page-company-greeting #visual {
   background: url(../images/company/greeting/visual-bg.jpg) center center /cover no-repeat;
}
.page-company-greeting #visual .title-1:after {
   content: 'GREETING';
}

.page-company-greeting #main .title-1 {
   text-align: center;
}

.page-company-greeting #main p + p {
   margin-top: 2em;
}

.page-company-greeting #main .greeting {
   font-size: 1.8rem;
   margin-top: 90px;
}
.page-company-greeting #main .greeting .name {
   font-size: 1.6rem;
   text-align: right;
   margin-top: 3em;
}
.page-company-greeting #main .greeting .name img {
   position: relative;
   top: 4px;
   vertical-align: baseline;
}
@media (max-width:768px) {
   .page-company-greeting #main .greeting {
      padding-top: 0;
   }
}

/* ****************************************************************************************************
   * profile
**************************************************************************************************** */

.page-company-profile #visual {
   background: url(../images/company/profile/visual-bg.jpg) center center /cover no-repeat;
}
.page-company-profile #visual {
   background: url(../images/company/profile/visual-bg.jpg) center center /cover no-repeat;
}
.page-company-profile #visual .title-1:after {
   content: 'FREQUENTLY ASKED QUESTIONS';
}

.page-company-profile #main .title-1 {
   text-align: center;
}

.page-company-profile #main #iso .iso-bnr {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 2em;
}
.page-company-profile #main #iso .box {
   padding: 1.25em 1.5em 1.5em;
   border: 1px solid #ddd;
}
.page-company-profile #main #iso .box dt {
   font-size: 1.8rem;
   font-weight: 700;
   text-align: center;
   color: var(--c-blue2);
   margin-bottom: .5em;
}
@media (max-width:768px) {
   .page-company-profile #main #iso .flex-col-2 .col {
      width: 100%;
   }
   .page-company-profile #main #iso .flex-col-2 .col ~ .col {
      margin-top: 2em;
   }
}
@media (max-width:540px) {
   .page-company-profile #main #iso .box {
      padding: 1em;
   }
}
.page-company-profile #main #history .history-wrap {
   position: relative;
}
.page-company-profile #main #history .history-wrap:before {
   content: '';
   display: block;
   width: 1px;
   height: 100%;
   position: absolute;
   top: 0;
   left: 50%;
   background: var(--c-blue);
}
.page-company-profile #main #history .history-wrap .row {
   position: relative;
}
.page-company-profile #main #history .history-wrap .row:before {
   content: '';
   position: absolute;
   top: -2px;
   left: 50%;
   display: block;
   width: 26px;
   height: 26px;
   background: url(../images/company/profile/icon-sakura.png) center center /contain no-repeat;
   transform: translateX(-50%);
}
.page-company-profile #main #history .history-wrap .row ~ .row {
   margin-top: -20px;
}
.page-company-profile #main #history .history-wrap .row .content {
   position: relative;
   max-width: calc(50% - 70px);
   padding: 1.5em;
   background: #eee;
}
.page-company-profile #main #history .history-wrap .row:nth-child(2n+2) .content {
   margin-left: auto;
}
.page-company-profile #main #history .history-wrap .row .content:after {
   content: '';
   position: absolute;
   top: -10px;
   right: 0;
   display: block;
   width: 0;
   height: 0;
   border: 25px solid transparent;
   border-top-color: #eee;
   border-left-color: #eee;
   transform: scale(1,.6) translateX(100%);
}
.page-company-profile #main #history .history-wrap .row:nth-child(2n+2) .content:after {
   left: 0;
   right: auto;
   border: 25px solid transparent;
   border-top-color: #eee;
   border-right-color: #eee;
   transform: scale(1,.6) translateX(-100%);
}
.page-company-profile #main #history .history-wrap .row .content dt {
   font-weight: 700;
   color: var(--c-blue2);
}
@media (max-width:768px) {
   .page-company-profile #main #history .history-wrap:before,
   .page-company-profile #main #history .history-wrap .row:before {
      left: 5px;
   }
   .page-company-profile #main #history .history-wrap .row ~ .row {
      margin-top: 1em;
   }
   .page-company-profile #main #history .history-wrap .row .content {
      max-width: calc(100% - 50px);
      margin-right: 0 !important;
      margin-left: auto !important;
   }
   .page-company-profile #main #history .history-wrap .row .content:after {
      top: -6px;
      left: 0;
      right: auto;
      border: 15px solid transparent !important;
      border-top-color: #eee !important;
      border-right-color: #eee !important;
      transform: scale(1,.6) translateX(-100%) !important;
   }
}
@media (max-width:540px) {
   .page-company-profile #main #history .history-wrap .row .content {
      padding: 1em;
   }
}

.page-company-profile #main #office .flex-col-3 {
   margin-bottom: 2em;
}
@media (max-width:768px) {
   .page-company-profile #main #office .flex-col-3 {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
   }
   .page-company-profile #main #office .flex-col-3 > * {
      width: 49%;
      margin: 0 !important;
   }
   .page-company-profile #main #office .flex-col-3 > *:nth-child(2n+2) {
      margin-left: 2% !important;
   }
   .page-company-profile #main #office .flex-col-3 > *:nth-child(n+3) {
      margin-top: 2% !important;
   }
}

#main .wrap {
   max-width: 100%;
   width: 1630px;
   display: flex;
   align-items: stretch;
   padding: 0 15px;
   margin: 0 auto;
   margin-top: 80px;
   margin-bottom: 90px;
}
@media (max-width:768px) {
   #main .wrap {
       margin-top: 50px;
       margin-bottom: 50px;
   }
}
#main .wrap .side-nav {
   width: 16%;
   padding-left: 1em;
   padding-right: 1em;
}
#main .wrap .side-nav ul {
   position: sticky;
   top: 160px;
}
#main .wrap .side-nav ul li ~ li:before {
   content: '';
   display: block;
   width: 1px;
   height: 1em;
   background: #bbb;
   margin-left: 1.5em;
}
#main .wrap .side-nav ul li a {
   position: relative;
   display: block;
   font-weight: 700;
   color: #bbb;
   padding: .25em 0;
   padding-left: 1em;
}
#main .wrap .side-nav ul li a:before {
   content: '';
   display: block;
   position: absolute;
   top: 1.4em;
   left: 0;
   width: 8px;
   height: 8px;
   color: var(--c-blue);
   border-top: 2px solid var(--c-blue2);
   border-right: 2px solid var(--c-blue2);
   transform: rotate(45deg);
   opacity: 0;
   transition: .2s;
   margin-top: -4px;
}
#main .wrap .side-nav ul li a.current,
#main .wrap .side-nav ul li a:hover {
   color: #000;
}
#main .wrap .side-nav ul li a.current:before,
#main .wrap .side-nav ul li a:hover:before {
   opacity: 1;
}
#main .wrap .col2-list {
   max-width: calc(100% - 18.25%);
   width: 1080px;
}
#main .wrap .col2-list .column ~ .column {
   margin-top: 100px;
}
@media (max-width:1200px) {
   #main .wrap .side-nav {
       display: none;
   }
   #main .wrap .col2-list {
       max-width: 100%;
   }
}
@media (max-width:768px) {
   #main .wrap .col2-list .column ~ .column {
       margin-top: 50px;
   }
}