* {
    float: none;
    position: static;
    margin: 0;
    padding: 0;
}
@media print {
    .no-print {
        display: none !important;
    }
}

div, p {
    margin: 0 auto;
}

.clear {
    clear: both;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: bottom;
}

.flip-horizontal {
    transform: scale(-1, 1);
}

hr {
    color: #dcdcdc;
    background-color: #dcdcdc;
    height: 1px;
    border: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}
a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
@media screen and (min-width: 520px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

ul, li {
    list-style-type: none;
}

.mini{
    font-size: 80%;
}
.mini90 {
    font-size: 90%;
}

.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}

.ya {
    position: relative;
    display: inline-block;
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    vertical-align: middle;
    text-decoration: none;
}
.ya::before,
.ya::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
.ya::before {
    width: 18px;
    height: 18px;
    bottom: 2px;
}
.ya::after {
    left: 3px;
    bottom: 2px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

body {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    overflow-x: hidden;
}
@media screen and (max-width: 519px) {
    body {
        /* Android Chrome 40 upper */
        font-size: 1rem;
        line-height: 1.6;
    }
}

.BodyMain {
    background: #fff;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    -webkit-text-size-adjust: 100%;
    margin: 0 auto;
}

.padTB2 {
    padding: 2rem 0;
}
.padTB4 {
    padding: 4rem 0;
}
.padT3 {
    padding: 3rem 0 0;
}

section {
    width: 100% !important;
    max-width: unset;
}
@media print, screen and (min-width: 960px) {
    section {
        padding: 2.5rem 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    section {
        padding: 2rem 0;
    }
}
@media screen and (max-width: 519px) {
    section {
        padding: 1.5rem 0;
    }
}
section::after {
    content: "";
    display: block;
    clear: both;
}

header {
    background: #f8f8f8;
}
.container {
    width: 99%;
    font-size: 115%;
    line-height: 2.3;
}
@media print, screen and (min-width: 960px) {
    header {
        padding: 10px 0 30px;
    }
    .container {
        max-width: 1280px;
    }
    header .container {
        max-width: 1230px;
        width: 98%;
        line-height: unset;
    }
    .tablet-sp-menubtn,
    .tablet-br,
    .tablet-sp-br,
    .tablet-sp-img,
    .tablet-sp-link,
    .tablet-sp-space,
    .tablet-sp-contact,
    #fix {
        display: none !important;
    }
}
@media screen and (max-width: 959px) {
    header .pc-contact1,
    .pc-menu,
    .pc-br,
    .pc-hr,
    .pc-img,
    .pc-space {
        display: none !important;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .container {
        font-size: 105%;
        line-height: 2.1;
    }
    .pc-sp-br {
        display: none !important;
    }
}
@media screen and (min-width: 520px) {
    .sp-br,
    .sp-fix-freedial {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    .container {
        font-size: 100%;
        line-height: 1.8;
    }
    .tablet-br,
    .pc-tablet-br,
    .pc-tablet-space {
        display: none !important;
    }
}

.title {
    float: left;
    margin: 0 10px;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .title img {
        max-height: 50px;
        margin: 0 0 15px;
    }
}
@media screen and (max-width: 519px) {
    .title img {
        max-height: 35px;
        margin: 0 0 12px;
    }
}

.menu-inner {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
}
.menu-inner,
.menu.active {
    z-index: 1002;
}
.menu-link {
    color: #fff;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.85);
}
@media print, screen and (min-width: 960px) {
    .menu {
        max-width: 1230px;
    }
    .nav2 {
        width: 60%;
        background: linear-gradient(90deg, #fff 5%, #f8f8f8 95%);
        border-radius: 3rem;
        float: right;
        margin: -55px 0 0;
    }
    .menu-inner {
        justify-content: space-around;
    }
    .menu-link {
        font-size: 1rem;
        color: #000;
        text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.5);
    }
}
@media screen and (max-width: 959px) {
    .tablet-sp-header {
        width: 100%;
        max-width: 1280px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .tablet-sp-header-inner:before {
        content: "";
        width: 100%;
        background: linear-gradient(43.37deg, #4d4d4d 6.71%, #bcbbbb 101.43%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -100;
    }
    .tablet-sp-header-inner {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .tablet-sp-menubtn {
        width: 60px;
        height: 90%;
        position: relative;
        display: block;
        z-index: 5000;
        border: none;
        background: #33b766;
        cursor: pointer;
    }    
    .tablet-sp-menubtn span {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-indent: 100%;
        width: 22px;
        height: 3px;
        background: #fff;
        position: absolute;
        transition: 0.2s;
        left: 50%;
        top: 50%;
    }    
    .tablet-sp-menubtn span:nth-child(1) {
        transform: translate(-50%, -9px);
    }    
    .tablet-sp-menubtn span:nth-child(2) {
        transform: translate(-50%, -50%);
    }    
    .tablet-sp-menubtn span:nth-child(3) {
        transform: translate(-50%, 6px);
    }    
    .tablet-sp-menubtn.active span {
        width: 27px;
        height: 3px;
        top: 45%;
    }    
    .tablet-sp-menubtn.active span:nth-child(1) {
        transform: translate(-50%, 50%) rotate(45deg);
    }    
    .tablet-sp-menubtn.active span:nth-child(2) {
        opacity: 0;
        left: 50%;
    }    
    .tablet-sp-menubtn.active span:nth-child(3) {
        transform: translate(-50%, 50%) rotate(-45deg);
    }
    .menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.85);
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity .6s ease, visibility .6s ease;
    }
    .menu.active {
        opacity: 100;
        visibility: visible;
    }
    .menu-inner {
        display: block;
        height: auto;
        margin: 0 auto;
    }    
    .menu-item2 {
        border-bottom: 1px solid #bcbbbb;
        width: 100%;
        position: relative;
        background: #f8f8f8;
    }
    .menu-item2 .menu-link {
        font-weight: normal;
        font-size: 1.15rem;
        letter-spacing: 0.04rem;
        height: 60px;
        display: flex;
        align-items: center;
        padding-left: 20px;
        color: #000;
        text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.85);
    }
}

.fadein,
.container div,
.obiBoxW {
    animation: fadein ease-in-out;
    animation-timeline: view();
    animation-range: entry 5% cover 50%;
}
#greeting .container div,
#company .container dl div,
#hall .container div {
    animation: unset;
}
@keyframes fadein {
  0% {
      transform: translateY(25%);
      opacity: 0;
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.btnLink {
    text-align: center;
}
.btnLink a {
    position: relative;
    display: inline-block;
    margin: 20px 3px;
    padding: 13px 40px 13px 25px;
    text-align: center;
    color: #fff;
    background: #45403f;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: -5px -5px 10px 0 rgba(255, 255, 255, .56), -3px -3px 20px 0 rgba(255, 255, 255, .76), 5px 5px 10px 0 rgba(152, 152, 152, .16), 3px 3px 24px 0 rgba(152, 152, 152, .32);
}
.btnLink a::after {
    display: block;
    content: "";
    position: absolute;
    top: 42%;
    margin-top: -2px;
    border: 6px solid transparent;
    right: 10px;
    border-left: 7px solid #fff;
    transition-duration: 200ms;
}
.btnLink a:hover,
.btnLink a:focus,
#useful a:hover,
#useful a:focus {
    color: #000;
    background: #fff;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
}
.btnLink a:hover::after,
.btnLink a:focus::after {
    border-left: 7px solid #333;
}
@media screen and (max-width: 519px) {
    .btnLink a {
        margin: 10px;
    }
}

.obiBoxW {
    position: relative;
    margin: 2rem 0 1rem;
}
.obiBox {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.8);
    padding: 0 0 1.5rem;
}
@media screen and (max-width: 849px) {
    .obiBox {
        padding: 0.5rem 0 1.5rem;
    }
}
@media screen and (max-width: 519px) {
    .obiBoxW {
        margin: 2rem 0 0;
    }
}

.copy {
    letter-spacing: 0.05rem;
}
.obiBox .copy {
    font-weight: normal;
    color: #fff;
}
.copy:first-letter {
    font-size: 160%;
}
.copyE {
    margin: -1rem 0 0;
}
@media print, screen and (min-width: 960px) {
    .copy {
        font-size: 2.2rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .copy {
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 519px) {
    .copy,
    .copyE {
        font-size: 1.2rem;
    }
    .copyE {
        margin: 0;
    }
}

h3 {
    font-weight: normal;
    font-size: 160%;
    line-height: 2;
}
.philosophyW h3 {
    margin: -2rem 0 1.5rem;
}
#company h3 {
    margin: 5rem 0 0.5rem;
}
@media screen and (max-width: 519px) {
    #company h3 {
        margin: 3rem 0 1rem;
    }
}

.greeting {
    text-align: justify;
    margin: 2rem 1.5rem -1.5rem;
}
.greeting p {
    margin: 0 0 1.5rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .greeting {
        margin: 1.25rem 1.25rem -1.5rem;
    }
}
@media screen and (max-width: 519px) {
    .greeting {
        margin: 1.25rem 1rem -2rem;
    }
}

.philosophyW .photo img {
    border-radius: 2rem;
}
@media print, screen and (min-width: 960px) {
    #philosophy .copy img {
        max-width: 190px;
        margin: 0 1.5rem 0.5rem -2rem;
        vertical-align: middle;
    }
    .philosophyW {
        display: flex;
        align-items: center;
        padding: 70px 0;
        margin: 2rem 0;
        position: relative;
    }
    .philosophyW::before {
        content: "";
        width: 60vw;
        height: 120%;
        border-radius: 50%;
        background: #f8f8f8;
        position: absolute;
        left: -10%;
        top: -10%;
        z-index: -1;
    }
    .philosophyW .txt {
        width: 40%;
    }
    .philosophyW .photo {
        flex: 1;
        margin-right: calc(50% - 45vw);
    }
}
@media screen and (max-width: 959px) {
    #philosophy .copy img {
        max-width: 170px;
        margin: 1rem 0;
    }
    .philosophyW {
        flex-direction: column;
    }
    .philosophyW .txt {
        display: inline-block;
        border-radius: 50%;
        background: #f8f8f8;
        padding: 3rem;
        margin: 0 0 -3rem;
    }
    .philosophyW h3 {
        margin: 0 0 1.5rem;
    }
    .philosophyW .photo img {
        max-width: 80%;
    }
}
@media screen and (max-width: 519px) {
    .philosophyW h3 {
        font-size: 135%;
    }
}

.listTxt {
    display: inline-block;
    text-align: left;
    margin: 0 2rem 1.5rem 3rem;
}
.listTxt li {
    list-style-type: disc;
}
.listTxt li::marker {
    font-size: 120%;
    color: #00a886;
}
@media screen and (max-width: 959px) {
    .listTxt {
        margin: 0 0 1.5rem 2rem;
    }
}

table {
    border-collapse: collapse;
    width: 95%;
    margin: 30px auto 40px;
}
th,
td {
    letter-spacing: 0.08rem;
    border-bottom: 1px solid #dcdcdc;
}
th {
    white-space: nowrap;
    text-align: center;
    font-weight: normal;
    background: #f8f8f8;
    padding: 0.5rem;
}
td {
    text-align: left;
    background: #fff;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
}
.gaiyou th {
    width: 25%;
}
.office th {
    width: 40%;
}
.hall th,
.hall td,
.hallSP th,
.hallSP td {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}
.hall td:nth-child(1),
.hall td:nth-child(2),
.hallSP td:nth-child(1) {
    text-align: center;
}
@media screen and (max-width: 959px) {
    .gaiyou th {
        width: 20%;
    }
    .hall td {
        padding: 0.5rem 0.5rem 0.5rem 0.7rem;
    }
}
@media screen and (min-width: 520px) {
    .hallSP {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    table {
        margin: 20px auto 30px;
    }
    th {
        padding: 0.5rem 0.2rem;
    }
    td {
        padding: 0.5rem 0.5rem 0.5rem 0.7rem;
    }
    .office th {
        width: 33%;
    }
    .hall {
        display: none !important;
    }
}

.gaiyouExecutive div {
    display: flex;
}
@media print, screen and (min-width: 960px) {
    .gaiyouOffice div {
        display: flex;
    }
    .gaiyouOffice dt {
        width: 50%;
    }
    .gaiyouExecutive dt {
        width: 12rem;
    }
    .gaiyouExecutive dd {
        letter-spacing: 0.8rem;
    }
}
@media screen and (max-width: 959px) {
    .gaiyouExecutive dd {
        letter-spacing: 0.5rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .gaiyouExecutive dt {
        width: 10rem;
    }
}
@media screen and (max-width: 519px) {
    .gaiyouExecutive div {
        flex-direction: column;
    }
    .gaiyouExecutive dd {
        padding-left: 1rem;
    }
}

ul#tab {
    width: 95%;
    zoom: 1;
    list-style: none;
    margin: 3rem auto 0;
    padding: 0;
}
ul#tab:after {
    content:".";
    display: block;
    height: 0px;
    clear: both;
    line-height: 0;
    visibility: hidden;
}
ul#tab li {
    width: 33.33%;
    float: left;
    text-align: center;
    border-radius: 3rem;
    padding: 1rem 0 4rem;
    margin: 0 0 -3rem;
}
ul#tab li:nth-child(1) {
    background: linear-gradient(#ecf7ff 70%, #fff);
}
ul#tab li:nth-child(2) {
    background: linear-gradient(#f8edf9 70%, #fff);
}
ul#tab li:nth-child(3) {
    background: linear-gradient(#faf7e0 70%, #fff);
}
ul#tab li a {
    display: block;
}
#detail {
    position: relative;
    width: 95%;
    clear: both;
    overflow: hidden;
    border-top: none;
}
.tabbox {
    display: none;
}
.tabbox img {
    margin: 1rem auto 1.5rem;
}
#tab1,
#tab2,
#tab3 {
    padding: 1.5rem 5px;
}
#tab1 {
    background: linear-gradient(#ecf7ff, #fff);
}
#tab2 {
    background: linear-gradient(#f8edf9, #fff);
}
#tab3 {
    background: linear-gradient(#faf7e0, #fff);
}
@media screen and (max-width: 959px) {
    ul#tab li {
        font-size: 90%;
    }
    #detail {
        margin: 0 auto -1.5rem;
    }
    #detail .img2 {
        max-width: 70%;
    }
}

.copyright {
    font-weight: normal;
    border-top: 1px solid #dcdcdc;
    padding: 1.5rem 0 1rem;
}
@media screen and (min-width: 520px) {
    .copyright {
        font-size: 0.75rem;
    }
}
@media screen and (max-width: 519px) {
    .copyright {
        font-size: 0.7rem;
        padding: 0.7rem 0;
    }
}

#page-top {
    position: fixed;
    z-index: 100;
}
#page-top a {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    position: relative;
    letter-spacing: 2px;
    display: block;
    width: 40px;
    height: 40px;
    background: #33b766;
    border-radius: 50%;
}
#page-top a::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -6px;
    margin-top: -4px;
    top: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
@media print, screen and (min-width: 960px) {
    #page-top {
        bottom: 12px;
        right: 8px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #page-top {
        bottom: 10px;
        right: 8px;
    }
    #page-top a {
        width: 44px;
        height: 44px;
    }
    #page-top a::after {
        width: 10px;
        height: 10px;
        margin-left: -6px;
        margin-top: -4px;
    }
}
@media screen and (max-width: 519px) {
    #page-top {
        bottom: 15px;
        right: 5px;
    }
    #page-top a {
        width: 40px;
        height: 40px;
    }
    #page-top a::after {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: -3px;
    }
}
