@charset "utf-8";

/**
 * Template: snow-monkey
 * Theme Name: Snow Monkey 
 */

/* -----------------------------------------------------------
    ヘッダー
----------------------------------------------------------- */
.l-header {
    background-color: rgba(255,255,255,0.75);
}
/* ナビ */
.p-global-nav .c-navbar__item>a {
    padding: 1rem;
}
/* PCのみ */
@media (min-width: 64em) {
	/* ロゴ */
    .c-site-branding__title .custom-logo {
		/*max-width: 140px;
		height: auto;*/
		vertical-align: top;
	}
}

/* -----------------------------------------------------------
    ヘッダーメニュー言語切替（PCのみ）
----------------------------------------------------------- */
.menu__lan a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  background-color: var(--accent-color);
  color: #fff;
  border: 1px solid var(--accent-color);
  text-decoration: none;
  padding: 0.2em 0.5em;
  transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
}
.menu__lan a:hover {
  background-color: #fff;
  color: var(--accent-color);
}
.menu__lan span {
  display: inline-block;
  padding-left: 0.8em;
  font-size: 0.8em;
  vertical-align: text-bottom;
}

/* -----------------------------------------------------------
    共通
----------------------------------------------------------- */
body {
    font-family: "TsukuNewsMinPr6-LB", "Noto Serif JP",serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
}
/* 送信ボタン */
.smf-action .smf-button-control__control {
    font-family: "TsukuNewsMinPr6-LB", "Noto Serif JP",serif;
    border-radius: 0 !important;
}

/* PCのみ */
@media (min-width: 64em) {
    .c-container {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}


/* -----------------------------------------------------------
    共通 アニメーション
----------------------------------------------------------- */
/* 下からふわっと */
.fadein-up {
    opacity: 0;
    -webkit-transform: translateY(1.5rem);
            transform: translateY(1.5rem);
}
.fadein-up[data-emergence="visible"] {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.2s, -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.2s, -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.2s, transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.2s, transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.2s, -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.2s;
}

/* ふわっと */
.fadein {
    opacity: 0;
}
.fadein[data-emergence="visible"] {
    opacity: 1;
    -webkit-transition: opacity 1.2s cubic-bezier(.33,1,.68,1) .5s;
    transition: opacity 1.2s cubic-bezier(.33,1,.68,1) .5s;
}

/* -----------------------------------------------------------
    トップページ
----------------------------------------------------------- */
/* トップのみコンテンツ上下のpaddingなし */
.p-section-front-page-content {
    padding-top: 0;
    padding-bottom: 0;
}
/* 見出しの左揃え */
.p-section-front-page-content .smb-section__title {
    text-align: left !important;
}
/* 見出しの下線なし */
.smb-section__title::after {
    height: 0 !important;
}



/* -----------------------------------------------------------
   トップページ スライダー
----------------------------------------------------------- */
.hero__slider {
	width: 100%;
}
.hero__slide {
    position: relative;
}
.hero__slide__title {
    position: absolute;
}
.hero__slide--past .hero__slide__title {
    top: 56px;
    right: min( calc( (60 * 100vw) / 1280), 60px);
    max-width: 10vw;
}
.hero__slide--now .hero__slide__title {
    top: 45%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: min( calc( (95 * 100vw) / 1280), 95px);
    max-width: 38vw;
}

/* SP・タブレットのみ */
@media screen and (max-width: 1023px) {
    .hero__slide--past .hero__slide__title {
        top: 0;
    }
}

/* -----------------------------------------------------------
   トップページ スライダー　アニメーション
----------------------------------------------------------- */
/* 過去 */
.hero__slide--past .hero__slide__title {
    opacity: 0;
    transform: translateX(2rem);
}
.hero__slide--past.is--anime .hero__slide__title {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    -webkit-transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.4s, -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s;
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.4s, -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s;
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.4s, transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s;
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1) 0.4s, transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s, -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s;
}
/* 現在 */
.hero__slide--now .hero__slide__title {
    opacity: 0;
    -webkit-transform: translateY(1.5rem);
            transform: translateY(1.5rem);
}

.hero__slide--now.is--anime .hero__slide__title {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1), -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1), -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1), transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
    transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1), transform 1.2s cubic-bezier(0.33, 1, 0.68, 1), -webkit-transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}


/* -----------------------------------------------------------
    トップページ 企業理念
----------------------------------------------------------- */
#philosophy {
    margin-top: -1px;
    padding-top: 0;
}
#philosophy .smb-section__inner {
    position: relative;
    overflow: hidden;
}
#philosophy .smb-section__header {
    display: flex;
    flex-direction: column;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    background-color: var(--accent-color);
}
#philosophy h2 {
    margin: 0 auto;
    padding: 0.5rem 8rem;
    width: 100%;
    max-width: var(--_container-max-width,1280px);
    color: #fff;
    letter-spacing: 0.5rem;
}
#philosophy h3 {
    margin-bottom: 3rem;
    border-bottom: none;
    letter-spacing: 0.5rem;
    line-height: 1.8;
}
#philosophy h4.philosophy__h4Bg {
    margin-bottom: calc(var(--_space, 1.8rem)*1*var(--_margin-scale, 1));
}
#philosophy h4.philosophy__h4Bg .sme-bg-color {
    padding: 0.1rem 2rem 0.2rem;
    letter-spacing: 0.3rem;
    display: inline; /* 背景色をテキストにのみ適用するため */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
#philosophy .philosophy__exp-labWrapper {
    display: flex;
    flex-direction: column;
}
#philosophy .philosophy__experienceGroup p {
    font-size: 20px;
    text-align: center;
}
#philosophy .philosophy__labelGroup {
    pointer-events: none;
}
#philosophy .philosophy__labelGroup .smb-buttons:not(:first-child){
    margin-top: 1rem;
}
#philosophy .philosophy__labelGroup .smb-btn {
    padding: calc(var(--_space, 1.8rem)*.3) calc(var(--_space, 1.8rem)*.8);
    cursor: auto;
}
#philosophy hr {
    margin-top: 4rem;
}
#philosophy .philosophy__careerGroup-wrapper {
    margin-top: calc(var(--_space, 1.8rem)*2*var(--_margin-scale, 1));
}
#philosophy .philosophy__careerGroup {
    padding-left: 2.5rem;
}
#philosophy .philosophy__captionGroup {
    margin-top: 3rem;
    letter-spacing: 0.1rem;
}
#philosophy .philosophy__captionGroup p {
    text-align: center;
}
#philosophy .philosophy__careerGroup h4 {
    margin-bottom: calc(var(--_space, 1.8rem)*1*var(--_margin-scale, 1));
}
#philosophy .philosophy__careerGroup .smb-information__item>.c-row {
    --_gap: 0px;
}
#philosophy .philosophy__careerGroup .smb-information__body>:not(:first-child) {
    margin-top: calc(var(--_space, 1.8rem)*0.3*var(--_margin-scale, 1));
}


/* SP・タブレットのみ */
@media screen and (max-width: 1023px) {
    #philosophy h2 {
        padding: 0.5rem calc(var(--_container-margin-sm, .9rem) + env(safe-area-inset-left));
    }
    #philosophy h4.philosophy__h4Bg {
        text-align: center;
    }
    #philosophy .philosophy__experienceGroup p {
        font-size: 16px;
        text-align: left;
    }
    #philosophy .philosophy__labelGroup .smb-buttons{
        justify-content: center;
    }
    #philosophy .philosophy__careerGroup {
        padding-left: 0;
    }
    #philosophy .philosophy__captionGroup p {
        text-align: left;
    }
    #philosophy .philosophy__careerGroup .smb-information__body>:not(:first-child) {
        margin-top: calc(var(--_space, 1.8rem)*0.8*var(--_margin-scale, 1));
    }
    #philosophy .philosophy__careerGroup .smb-information:not([data-sm-split-column=true]) .smb-information__item__body {
        margin-top: calc(var(--_space, 1.8rem)*0.1*var(--_margin-scale, 1));
    }
}

/* -----------------------------------------------------------
    トップページ 事業案内
----------------------------------------------------------- */
#service {
    background-image: url(https://ohara-shoten.co.jp/wp/wp-content/uploads/2021/10/bg_service.png);
    background-repeat: no-repeat;
    background-position: top -2px center;
    background-size: contain;
    margin-top: 0;
    padding-top: 3rem;
}
#service h2 {
    color: #fff;
    letter-spacing: 0.5rem;
}
#service h3 {
    border: none;
    margin-bottom: 0;
}
#service .smb-section__body {
    margin-top: 1rem;
}
#service .wp-block-snow-monkey-blocks-media-text:not(:first-child) {
    margin-top: 2.5rem;
}
#service .service-box .smb-media-text__body {
    margin-top: 0.5rem;
}

/* SP・タブレットのみ */
@media screen and (max-width: 1023px) {
    #service {
        background-size: auto;
    }
    #service .wp-block-snow-monkey-blocks-media-text:not(:first-child) {
        margin-top: 4rem;
    }
}


/* PCのみ */
@media (min-width: 64em) {
    #service .service-box .c-row__col--lg-2-3 {
        flex: 0 1 57%;
        max-width: 100%;
        max-width: 57%;
        padding-left: 2.5rem;
    }
    #service .service-box .c-row__col--lg-1-3 {
        flex: 0 1 43%;
        max-width: 100%;
        max-width: 43%;
    }
}




/* -----------------------------------------------------------
    トップページ 会社概要
----------------------------------------------------------- */
#about {
    background-color: var(--accent-color);
}
#about h2 {
    margin-top: -1.5rem;
    letter-spacing: 0.5rem;
}
#about .smb-section__body {
    margin-top: 3rem;
}
/* 会社概要テーブル */
#about .about-table {
    color: #fff;
}
#about .about-table td {
    border: none;
    vertical-align: baseline;
}

/* SP・タブレットのみ */
@media screen and (max-width: 1023px) {
    #about .about-table td {
        display: block;
    }
    #about .about-table td:last-child {
        margin-bottom: 2rem;
    }
}
/* PCのみ */
@media (min-width: 64em) {
    #about h2 {
        margin-top: -4rem;
    }
    #about .smb-section__body {
        margin-top: 3rem;
    }
    #service .service-box .c-row__col--lg-2-3 {
        flex: 0 1 57%;
        max-width: 100%;
        max-width: 57%;
        padding-left: 2.5rem;
    }
    #service .service-box .c-row__col--lg-1-3 {
        flex: 0 1 43%;
        max-width: 100%;
        max-width: 43%;
    }
    #about .about-table td:first-child {
        -moz-text-align-last: justify;
        text-align-last: justify;
        text-justify:inter-ideograph;
        width: 180px;
        padding-right: 2rem;
    }
}

/* -----------------------------------------------------------
    トップページ シンガポール法人
----------------------------------------------------------- */
#singapore {
    margin-top: 0;
    padding-top: 0;
    background-color: #615C7F;
}
#singapore h3 {
    margin-bottom: 0;
    padding: calc(var(--_space, 1.8rem) * .25) calc(var(--_space, 1.8rem) * .5);
    border: none;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.3rem;
}
#singapore .smb-section__body {
    margin-top: 0;
}

/* 会社概要テーブル */
#singapore .about-table {
    color: #fff;
}
#singapore .about-table td {
    border: none;
    vertical-align: baseline;
}

/* SP・タブレットのみ */
@media screen and (max-width: 1023px) {
    #singapore .smb-section__body {
        margin-top: 2rem;
    }
    #singapore .about-table td {
        display: block;
    }
    #singapore .about-table td:last-child {
        margin-bottom: 2rem;
    }
}
/* PCのみ */
@media (min-width: 64em) {
    #singapore .about-table td:first-child {
        -moz-text-align-last: justify;
        text-align-last: justify;
        text-justify:inter-ideograph;
        width: 180px;
        padding-right: 2rem;
    }
}


/* -----------------------------------------------------------
    トップページ お問合せ
----------------------------------------------------------- */
#contact h2 {
    letter-spacing: 0.5rem;
}
#contact .smf-checkbox-control {
    align-items: center;
}

@media (max-width: 1279px) {
    #contact .c-container {
      max-width: 100vw;
    }
}

/* -----------------------------------------------------------
    フッター
----------------------------------------------------------- */
.c-copyright {
    background-color: var(--accent-color);
    color: #fff;
    text-align: center;
}


/* -----------------------------------------------------------
   固定ページ
----------------------------------------------------------- */
.page .p-entry-content>h2,
.page .textwidget>h2 {
    background-color: transparent;
    border: none;
    padding: 0;
}
/* PCのみ */
@media (min-width: 64em) {
    .page .l-contents__container {
        padding-top: 5rem;
    }
}