@charset "utf-8";

* {
    box-sizing: border-box;
}
html {
    font-size: 16px;
}
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: .875rem;
    line-height: 1.75;
}
img {
    vertical-align: bottom;
}
a {
    text-decoration: none;
}
a:link, a:visited {
    color: #222;
}

body.is-fixed {
    position: fixed;
    width: 100vw;
    left: 0;
}

.l_container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.l_flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.l_flex {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-bottom: 2rem;
}
@media screen and (min-width: 768px) {
    .l_flex {
        flex-direction: row;
    }
}
@media screen and (min-width: 1200px) {
    .l_container {
        width: 1200px;
        padding: 0;
    }
}

.h_black {
    margin: .875rem 0 0;
    padding: .5rem .75rem;
    background-color: #222;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

/* Component */
.c_list-inline {
    display: flex;
    margin: 0;
    list-style: none;
}
.c_list-inline li {
    margin: 0 8px;
}


#siteHeader {
    position: relative;
    background-color: #222;
}
#navBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    background-color: #51318f;
}
#brand {
    margin: 0;
    font-size: 24px;
    line-height: 1;
}
#siteLogoMark img {
    height: 64px;
    width: auto;
}


#globalNavigation li {
    text-align: center;
}
#globalNavigation a:link, #globalNavigation a:visited {
    color: #fff;
}

#mainMenu {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.125rem;
}
#mainMenu a {
    position: relative;
    display: block;
    padding: 0 .5rem;
}
#mainMenu a div {
    font-size: .75rem;
    letter-spacing: 1px;
}
#mainMenu a:hover::before {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background-color: #51318f;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

#subFuneral, #subCustomize {
    position: absolute;
    bottom: -68px;
    left: 0;
    display: block;
    width: 100%;
    padding: .5rem 0;
    background-color: #51318f;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}
#subFuneral.is-show, #subCustomize.is-show {
    opacity: 1;
    visibility: visible;
}
ul.sub-menu {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.125rem;
}
ul.sub-menu li {
    text-align: center;
    border-right: 1px solid #fff;
}
ul.sub-menu li:first-child {
    border-left: 1px solid #fff;
}
ul.sub-menu a {
    display: block;
    padding: .5rem 2rem;
}
ul.sub-menu a div {
    font-size: .75rem;
}
ul.sub-menu a:link, ul.sub-menu a:visited {
    color: #fff;
}

#subMenu {
    display: flex;
}
#subMenu p {
    margin: 0 0 0 1em;
    text-align: center;
    font-size: 1.125rem;
}
#subMenu p span {
    display: block;
    font-size: .75rem;
    letter-spacing: 1px;
}
#subMenu ul {
    margin: 0 0 0 .5rem;
    padding: 0;
    list-style: none;
}
#subMenu ul li {
    margin: 0 0 2px;
}
#subMenu a {
    display: block;
    padding: 0 1em;
    border: 1px solid #fff;
}
#subMenu a:hover {
    color: #51318f;
    background-color: #fff;
}
#subMenu .tk1862 a {
    padding: 0;
    border: none;
}

#menuButton {
    z-index: 1;
    cursor: pointer;
    background-color: #222;
    border: none;
    outline: none;
}
.menuButton__inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
}
.line {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 32px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
}
.line.l1 {
    transform: translateY(-10px);
    transition: all 200ms 0s ease;
}
.line.l2 {
    transition: opacity 100ms 0s ease;
}
.line.l3 {
    transform: translateY(10px);
    transition: all 200ms 0s ease;
}
.is-open .line.l1 {
    transform: rotate(45deg);
}
.is-open .line.l2 {
    opacity: 0;
}
.is-open .line.l3 {
    transform: rotate(-45deg);
}

/* SLIDER */
.slider {
    margin: 0;
    padding: 0;
    list-style: none;
}
.slider-img {
    width: 100vw;
    height: auto;
}

#shindanLink {
    max-width: 900px;
    width: 75%;
    margin: 0 auto;
    padding: 0 0 60px;
}
.shindan-banner {
    margin: 0;
    padding: 0;
    list-style: none;
}
@media screen and (max-width: 768px) {
    #shindanLink {
        width: 100%;
        padding: 0 1rem 30px;
    }
}


/* #siteFooter */
#siteFooter {
    padding: 1rem 0 0;
    background-color: #222;
}
#bottomNavi.c_list-inline {
    justify-content: center;
    align-items: center;
}
#bottomNavi a {
    text-decoration: none;
}
#bottomNavi a:link, #bottomNavi a:visited {
    color: #fff;
}
#companyInfo {
    text-align: center;
    color: #fff;
}
#companyInfo h2 img {
    height: 64px;
    width: auto;
}
.tel {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}
.tel a:link, .tel a:visited {
    color: #fff;
}
#copyright {
    margin: 0;
    padding: 8px 0;
    background-color: #51318f;
    text-align: center;
    color: #fff;
}
@media screen and (min-width: 1200px) {
    #companyInfo h2 img {
        height: 130px;
        width: 285px;
    }
}


#drawer {
    position: fixed;
    top: 132px;
    left: 0;
    display: block;
    width: 100vw;
    height: calc(100vh - 132px);
    overflow-y: auto;
    background-color: #222;
    opacity: 0;
    visibility: hidden;
}
#drawer.is-visible {
    opacity: 1;
    visibility: visible;
}
.drawer__inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1em 0 6em;
}
.d-menu {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    color: #fff;
}
.d-menu dt {
    margin: 0 0 .5rem;
    border-bottom: 1px solid #fff;
}
.d-menu a {
    display: block;
    width: 100%;
    padding: .5rem;
}
.d-menu a:link, .d-menu a:visited {
    color: #fff;
}
.sns {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
}
.sns li {
    margin: 0 .5rem;
}


/* LCX */
#lcxMovie {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
#lcxMovie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.lcx {
    margin: 1rem 0;
    padding: 2rem 1rem;
    font-size: 1rem;
    line-height: 2;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
.lcx h2 {
    margin: 0;
    text-align: center;
}
.lcx .img {
    width: 85%;
    margin: 0 auto;
    padding: 2rem 0;
}
.lcx .img img {
    margin: 0 auto;
}


.gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.g-item {
    display: block;
    width: 48%;
    margin-bottom: 1rem;
    overflow: hidden;
}
.g-item a {
    display: block;
    height: 84px;
}
.g-item p {
    font-size: .75rem;
    text-align: center;
    line-height: 1.5;
}
.movie-thumbnail {
    position: relative;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 400px) {
    .g-item a {
        height: 94px;
    }
}
@media screen and (min-width: 768px) {
    .lcx {
        padding: 2rem;
        font-size: 1.25rem;
    }
    .g-item {
        width: 32%;
    }
    .g-item a {
        height: 120px;
    }
}
@media screen and (min-width: 1200px) {
    .g-item a {
        height: 204px;
    }
}


#page-cover {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    height: 50vh;
}
.lead {
    padding: 2rem 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: .875rem;
    line-height: 2;
}
.ost-images, .ost-history {
    width: 100%;
}
.gmap {
    margin: 2rem 0;
}
.gmap iframe {
    width: 100%;
}
@media screen and (min-width: 768px) {
    #page-cover {
        height: 65vh;
    }
    .lead {
        font-size: 1.125rem;
        text-align: center;
    }
    .ost-images, .ost-history {
        width: 48%;
    }
}

/* TOP */
#topContents {
    background-color: #000;
}
#topContents .l_container {
    padding: 0;
}
.l_flex.top-menu {
    flex-direction: row;
    padding-bottom: 0;
}
p.top-menu-item {
    margin: 0;
    width: 50%;
}

#information .acms-table {
    width: 100%;
}
#information .acms-table th,
#information .acms-table td {
    display: block;
}
#information .acms-table th {
    padding-bottom: 0;
    border-bottom: none;
}
#information .acms-table td {
    padding-top: 0;
}

#adminBox {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    #information .acms-table {
        width: 75%;
        margin: 0 auto;
    }
    #information .acms-table th,
    #information .acms-table td {
        display: table-cell;
    }
    #information .acms-table th {
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
    #information .acms-table td {
        padding-top: 10px;
    }
}


/* INDEX */
h2.page-heading {
    margin: 0;
    padding: 1rem 0;
    background-color: #222;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
    line-height: 1.4;
}
h2.page-heading div {
    font-size: 1rem;
    letter-spacing: 1px;
}

.service-description {
    padding: 3rem 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 2;
}
.service-description h3 {
    font-size: 1.5rem;
}
.service-description p {
    font-size: 1.125rem;
}
.work-item {
    margin: .25rem 0;
    padding: .5rem 1em;
    background-color: #888;
    color: #fff;
    text-align: center;
}
.work-item:last-child {
    margin-bottom: 2rem;
}

.summary-image {
    display: flex;
    justify-content: center;
    background-color: #f5f5f5;
}

/* ABOUT */
.ost-policy {
    max-width: 825px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}
.ost-policy h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #b0835b;
    letter-spacing: 1px;
    border-top: 1px solid #47433f;
    border-bottom: 1px solid #47433f;
}
.ost-policy p {
    margin: 20px 0 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
}

/* SDGs */
#sdgs {
    max-width: 825px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
}
.sdgs-item {
    display: flex;
    padding: 20px 0;
}
.sdgs-sign {
    padding-right: 1rem;
}
.sdgs-summary h3 {
    margin: 4px 0 20px;
    line-height: 1;
}
.sdgs-summary dt {
    font-size: 1.25rem;
    line-height: 1;
}
.sdgs-summary dt::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: .5em;
    background-color: #333;
    vertical-align: bottom;
    margin-right: 4px;
}
.sdgs-summary #s03 dt::before {
    background-color: #3a8d42;
}
.sdgs-summary #s05 dt::before {
    background-color: #e83d33;
}
.sdgs-summary #s06 dt::before {
    background-color: #0fa3d3;
}
.sdgs-summary #s08 dt::before {
    background-color: #aa3537;
}
.sdgs-summary #s09 dt::before {
    background-color: #ec572e;
}
.sdgs-summary #s11 dt::before {
    background-color: #f4822a;
}
.sdgs-summary #s12 dt::before {
    background-color: #b87330;
}
.sdgs-summary #s13 dt::before {
    background-color: #3c5f37;
}
.sdgs-summary #s17 dt::before {
    background-color: #283759;
}
.sdgs-summary dd {
    margin-left: 1.25rem;
    padding: 8px 0 16px;
    font-size: 1.125rem;
    line-height: 1;
    color: #999;
}

.links {
    padding: 40px 0;
    color: #47433f;
    text-align: center;
}
.links h2 {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1;
}
.links p {
    margin: 0;
    font-size: 1rem;
}
.links-banner {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

#sustaineability {
    margin: 40px 0;
    padding: 20px 40px;
    border: 2px solid #0fa3d3;
    border-radius: 30px;
}
#sustaineability h2, #sustaineability h3 {
    color: #0fa3d3;
    text-align: center;
}
#sustaineability h2 {
    font-size: 1.75rem;
}
#sustaineability h3 {
    font-size: 1.25rem;
}
#sustaineability p {
    font-size: 1.25rem;
}
#sustaineability p.en {
    font-size: 1rem;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .ost-policy p {
        font-size: 1.5rem;
        letter-spacing: .125em;
    }
    .links h2 {
        font-size: 1.5rem;
    }
    .links p {
        font-size: .875rem;
    }
    .links-banner li {
        width: 33%;
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 480px) {
    .ost-policy p {
        font-size: 1.5rem;
        line-height: 1.5;
    }
    .sdgs-item {
        flex-direction: column;
    }
    .sdgs-sign {
        padding-bottom: 1rem;
        display: flex;
        justify-content: center;
    }
    .sdgs-summary h3 {
        display: flex;
        justify-content: center;
    }
    .links-banner {
        flex-direction: column;
    }
    .links h2, .links p {
        text-align: left;
        line-height: 1.5;
    }
    .links h2 {
        font-size: 1.5rem;
    }
    .links-banner li {
        width: 100%;
        padding: 20px 0;
    }
    #sustaineability {
        padding: 20px;
    }
    #sustaineability h2 {
        font-size: 1.5rem;
    }
    #sustaineability p {
        font-size: 1rem;
    }
}

/* TOP SDGs */
#ourSDGs {
    padding: 40px 1rem;
    background-color: #fff;
}
.sdgs-wrap {
    max-width: 825px;
    width: 100%;
    margin: 0 auto;
}
.sdgs-more {
    text-align: center;
    font-size: 1rem;
}

/* INQUIRY */
.page-inquiry {
    padding: 40px 0;
}
.form-btn-box {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
.form-btn-box form {
    margin: 0 10px;
}