/*
Theme Name: shabon2.1.6
Description: shabon Theme 2.1.6　2022/08/09　固定ページのテンプレートを追加
*/
* {
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: bold;
}

iframe {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

header {
    min-width: 1040px;
    height: 130px;
    margin: 0 30px;
}

header nav {
    display: inline-block;
}

footer {
    min-width: 1100px;
    height: 130px;
    background: #212121;
    color: #fff;
}

header h1, footer h1 {
    float: left;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

header h1 img {
    width: 120px;
    height: auto;
}

footer h1 {
    margin-left: 30px;
    font-family: 'Comfortaa', cursive;
    font-size: 11px;
    letter-spacing: 0.05em;
}

footer h1 img {
    display: block;
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

header nav, footer nav {
    float: right;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

footer nav {
    margin-right: 30px;
}

header nav ol li,
footer nav ol li {
    float: left;
    display: inline-block;
    width: 100px;
    text-align: center;
}

header nav ol li.shabon,
footer nav ol li.shabon {
    width: 110px;
}

footer nav ol li.insta {
    position: relative;
    top: 2px;
    width: 40px;
}

footer nav ol li.twitter {
    position: relative;
    top: 5px;
    width: 40px;
}

footer nav ol li.youtube {
    position: relative;
    top: 0;
    width: 40px;
    height: 29px;
}

footer nav ol li.youtube a {
    position: relative;
    width: 28px;
    height: 28px;
}

footer nav ol li.youtube img {
    width: 28px;
    height: auto;
}

header nav ol li,
footer nav ol li {
    margin-right: 10px;
}

header nav ol li:last-child,
footer nav ol li:last-child {
    margin-right: 0;
}

header nav ol li a,
footer nav ol li a {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    text-decoration: none;
    color: #000;
    font-family: 'Comfortaa', cursive;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.1em;
}

header nav ol li a::after,
footer nav ol li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

footer nav ol li a::after {
    background: #fff;
}

footer nav ol li.twitter a,
footer nav ol li.insta a,
footer nav ol li.youtube a {
    padding: 0;
}

header nav ol li a:hover::after,
footer nav ol li a:hover::after {
    transform: scale(1, 1);
}

footer nav ol li a {
    color: #fff;
}

footer nav ol li.twitter a::after,
footer nav ol li.insta a::after,
footer nav ol li.youtube a::after {
    background: none;
    transform: none;
}

footer nav ol li.twitter a:hover::after,
footer nav ol li.insta a:hover::after,
footer nav ol li.youtube a:hover::after {
    transition: none;
}

#menu {
    display: none;
}

.page {
    display: block;
    padding: 100px 0;
    font-size: 15px;
    line-height: 200%;
    letter-spacing: 0.1em;
}

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

.page h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 32px;
    letter-spacing: 0.2em;
}

#top-image {
    margin: 0 30px;
}

#top-image img {
    width: 100%;
    height: auto;
}

#tvcm {
    width: calc(100% - 60px);
    max-width: 1024px;
    height: 160px;
    margin: 50px auto 20px;
    background-color: #fff;
    /*background-image: url("./images/shabon_tvcm_bnr_pc.jpg");*/
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
}

#contact h2 {
    color: #fff;
}

#mission h2:after,
#message h2:after,
#company h2:after {
    display: block;
    margin: 0 auto 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #000;
}

#service h2:after {
    display: block;
    margin: 0 0 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #000;
}

#contact h2:after {
    display: block;
    margin: 0 auto 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #fff;
}

.page h3 {
    margin: 1em 0;
    color: #e895ab;
    font-size: 20px;
    font-weight: bold;
}

.page h4 {
    display: inline-block;
    margin: 1em 0 2em;
    padding: 1em 2em;
    border: 1px solid #000;
    background-color: #fff;
    font-weight: bold;
}

.page h4 a {
    text-decoration: none;
    color: #000;
}

.page-content {
    margin: 0 auto;
    width: 1000px;
}

#mission {
    text-align: center;
    background-image: url("./images/bg_mission1.jpg"), url("./images/bg_mission2.jpg");
    background-repeat: no-repeat;
    background-position: center left, center right;
    background-size: 378px auto, 374px auto;
}

#mission-bg {
    height: 100%;
    background: none;
}

.mission-text {
    opacity: 0;
}

#service {
    padding: 50px 0 150px;
    background-color: #fcf4f6;
    background-image: url("./images/bg_service.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

#service-content,
#why-content {
    width: 1000px;
    margin: 0 auto;
}

.shabon-text {
    float: left;
    width: 50%;
    margin-top: 100px;
    opacity: 0;
}

.shabon-image {
    float: left;
    width: 50%;
}

.shabon-image img {
    max-width: 100%;
    margin-bottom: 100px;
}

a.icon-sns {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-right: 5px;
    overflow: hidden;
}

a:hover.icon-sns img {
    filter: invert(100%);
    -webkit-transition: all .5s;
    transition: all .5s
}

#whyshabon {
    background-image: url("./images/bg_why.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}

.why-text {
    float: right;
    width: 50%;
    opacity: 0;
}

#message {
    background-image: url("./images/bg_message1.jpg"), url("./images/bg_message2.jpg");
    background-repeat: no-repeat;
    background-position: top left, bottom right;
    text-align: center;
}

.message-content {
    opacity: 0;
    width: 800px;
    margin: 0 auto;
    padding: 50px;
    background-color: #fff;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.02);
}

.chiba {
    margin-right: 50px;
    text-align: right;
}

#company {
    text-align: center;
    background-color: #fcf4f6;
}

#company-profile {
    width: 1000px;
    margin: 50px auto;
}

#company-profile:after {
    content: '';
    display: block;
    clear: both;
}

#company-name {
    float: left;
    margin-top: 2em;
    width: 35%;
    font-size: 16px;
    text-align: center;
    vertical-align: center;
}

#company-detail {
    float: left;
    width: 65%;
    padding-left: 50px;
    border-left: 1px solid #000;
}

#company iframe {
    width: 1000px;
    height: 250px;
}

#company table.company-table {
    margin: 50px auto;
    width: 1000px;
}

#company th {
    width: 120px;
    color: #e895ab;
}

#company th, #company td {
    text-align: left;
}

.company-text {
    opacity: 0;
}

.c-name {
    float: left;
    position: relative;
    width: 40%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#contact {
    background-image: url("./images/bg_contact.jpg");
    background-size: cover;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

#contact-form {
    margin: 0 auto;
    width: 800px;
}

.form-parts {
    float: left;
    width: 50%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"] {
    display: block;
    width: calc(100% - 10px);
    margin: 0 5px 5px;
    height: 50px;
    padding: 10px 30px;
    border: none;
    border-radius: 0;
    outline: none;
    font-size: 14px;
}

#contact textarea {
    width: 100%;
    height: 215px;
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    outline: none;
    font-size: 14px;
}

#contact button {
    display: block;
    margin: 0 auto;
    width: 800px;
    height: 60px;
    background-color: #f3bac9;
    border: none;
    border-radius: 0;
    outline: none;
    color: #fff;
}

div.wpcf7 {
    margin: 0;
    padding: 0
}

div.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: 0;
    padding: 0;
    border: 0
}

div.wpcf7-response-output {
    box-sizing: border-box;
    margin: 15px auto 20px;
    padding: .2em 1em;
    /*border: 2px solid red*/
    background: red;
}

div.wpcf7-mail-sent-ok {
    /*border: 2px solid #398f14*/
    background: #398f14;
}

div.wpcf7-mail-sent-ng, div.wpcf7-aborted {
    /*border: 2px solid red*/
}

div.wpcf7-spam-blocked {
    /*border: 2px solid orange*/
    background: orange;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    /*border: 2px solid #f7e700*/
    background: red;
}

.wpcf7-form-control-wrap {
    position: relative
}

span.wpcf7-not-valid-tip {
    color: red;
    font-size: 1em;
    font-weight: 400;
    display: block
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
    position: absolute;
    top: 20%;
    left: 20%;
    z-index: 100;
    border: 1px solid red;
    background: #fff;
    padding: .2em .8em
}

span.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 1em
}

span.wpcf7-list-item-label::before, span.wpcf7-list-item-label::after {
    content: " "
}

.wpcf7-display-none {
    display: none
}

div.wpcf7 .ajax-loader {
    visibility: hidden;
    display: inline-block;
    background-image: url(../../plugins/contact-form-7/images/ajax-loader.gif);
    width: 16px;
    height: 16px;
    border: none;
    padding: 0;
    margin: 0 0 0 4px;
    vertical-align: middle
}

div.wpcf7 .ajax-loader.is-active {
    visibility: visible
}

div.wpcf7 div.ajax-error {
    display: none
}

div.wpcf7 .placeheld {
    color: #888
}

div.wpcf7 input[type=file] {
    cursor: pointer
}

div.wpcf7 input[type=file]:disabled {
    cursor: default
}

div.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed
}

.clearfix:after {
    clear: both;
    content: '';
    display: block;
    height: 0;
}

@media only screen and (max-width: 640px) {
    html, body {
        box-sizing: border-box;
        overflow-x: hidden;
        width: 100%;
    }

    header {
        position: fixed;
        display: block;
        margin: 0;
        top: 0;
        left: 0;
        z-index: 10;
        width: 100%;
        min-width: inherit;
        height: 50px;
        background: #fff;
    }

    header h1 {
        margin-left: 20px;
    }

    #menu {
        display: inline-block;
        margin-top: 10px;
        cursor: pointer;
        float: right;
        width: 40px;
        height: 40px;
        background-image: url("./images/icon-menu.svg");
        background-repeat: no-repeat;
        background-size: 35px auto;
    }

    #menu.open {
        background-image: url("./images/icon-close.svg");
    }

    header nav {
        float: none;
        display: none;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        width: 250px;
        min-width: inherit;
        background-color: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 50px;
        right: 0;
        z-index: 10;
        padding: 10px;
        transition: all .5s;
    }

    header nav ol li {
        float: none;
        display: block;
        width: 150px;
        height: 40px;
        text-align: left;
    }

    header nav ol li a {
        display: block;
        width: 150px;
        height: 40px;
        color: #fff;
    }

    header nav ol li a::after {
        display: none;
    }

    footer {
        min-width: inherit;
        max-width: 100%;
        margin: 0;
        height: 70px;
    }

    footer h1 img {
        margin-bottom: 10px;
    }

    footer nav {
        display: none;
    }

    .page {
        padding: 50px 0;
        font-size: 15px;
        line-height: 200%;
        letter-spacing: inherit;
    }

	 .page h2 {
        font-size: 28px;
        letter-spacing: 0.1em;
    }

    .page h3 {
        font-size: 18px;
        letter-spacing: 0.1em;
    }

    .page h4 {
        max-width: calc(100% - 40px);
        margin: 1em 0 2em;
        padding: 1em 1em;
        line-height: 150%;
    }

    #home {
        height: 50px;
    }

    #top-image {
        margin: 0;
    }

    #tvcm {
        max-width: calc(100% - 40px);
        height: 80px;
        margin: 20px auto;
        /*background-image: url("./images/shabon_tvcm_bnr_sp.jpg");*/
        background-size: 100% auto;
    }

    #mission {
        background-image: url("./images/bg_mission1.jpg");
        background-repeat: no-repeat;
        background-position: top left;
    }

    #mission-bg {
        background: rgba(255, 255, 255, 0.7);
    }

    #service-content,
    #why-content {
        width: 100%;
    }

    #service .shabon-text {
        float: none;
        width: calc(100% - 40px);
        margin: 0 20px;
    }

    #service .shabon-image {
        float: none;
        text-align: center;
        width: 100%;
    }

    #service .shabon-image img {
        width: 80%;
        margin-bottom: 30px;
    }

    #whyshabon h2 {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1));
    }

    #whyshabon h3 {
        filter: drop-shadow(1px 1px 1px rgba(255, 255, 255, 1));
    }

    #whyshabon .why-text {
        float: none;
        width: calc(100% - 40px);
        margin: 0 20px;
    }

    #message {
        background-size: 60% auto, 60% auto;

    }

    .message-content {
        width: 95%;
    }

    .chiba {
        margin-right: 0;
    }

    #company-profile {
        width: 100%;
        margin: 30px auto;
    }

    #company-profile:after {
        content: '';
        display: block;
        clear: both;
    }

    #company-name {
        float: none;
        margin-top: 0;
        margin-left: 30px;
        width: 100%;
        text-align: left;
    }

    #company-detail {
        float: none;
        width: 100%;
        padding-left: 30px;
        border-left: none;
    }

    #company iframe {
        width: 100%;
        height: 250px;
    }

    #contact-form {
        width: 100%;
    }

    .form-parts {
        float: none;
        width: 100%;
    }

    #contact textarea,
    #contact button,
    div.wpcf7-response-output {
        width: calc(100% - 10px);
    }
}


 /* Add 2019-11-11- PRESS RELEASE */

#press {
text-align: center;
    background-color: #ffffff;
    margin: 10px auto;

}
#press h2:after {display: block;
    margin: 0 auto 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #000;
}

.msr_newslist04 {
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  max-width: 825px;
  margin: 0 auto;
}
.msr_newslist04 li {
  border-bottom: 1px solid #fcf4f6;
  font-size: 1rem;
}
.msr_newslist04 li a {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #000000;
  display: table;
  padding: 20px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  width: 100%;
}
.msr_newslist04 li a:hover {
  text-decoration: none;
  background: #fcf4f6;
}
.msr_newslist04 li div {
  padding-bottom: 10px;
  width: 144px;
  float: left;
  margin-right: 20px;
}
.msr_newslist04 li p {
  vertical-align: middle;
  text-align: left;
}
/* 時間の設定 */
.msr_newslist04 li time {
  display: table-cell;
  vertical-align: top;
  width: 90px;
}
/* カテゴリの設定 */
.msr_newslist04 li .cat01, .msr_newslist04 li .cat02 {
  background-color: #e895ab;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: table-cell;
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0 2px;
  text-align: center;
	display: none;
}
.msr_newslist04 li .cat02 {
  background-color: #FFFFFF;
  border: 1px solid #fcf4f6;
  box-sizing: border-box;
  color: #000000;
}


#press {
text-align: center;
    background-color: #ffffff;
    margin: 10px auto;

}
#press h2:after {display: block;
    margin: 0 auto 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #000;
}

.msr_newslist04 {
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  max-width: 825px;
  /* display: block; */
  margin: 0 auto;
}
.msr_newslist04 li {
  border-bottom: 1px solid #fcf4f6;
  font-size: 1rem;
}
.msr_newslist04 li a {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #000000;
  display: table;
  padding: 20px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  width: 100%;
}
.msr_newslist04 li a:hover {
  text-decoration: none;
  background: #fcf4f6;
}
.msr_newslist04 li div {
  padding-bottom: 10px;
  width: 144px;
  float: left;
  margin-right: 20px;
}
.msr_newslist04 li p {
  vertical-align: middle;
  text-align: left;
}
/* 時間の設定 */
.msr_newslist04 li time {
  display: table-cell;
  vertical-align: top;
  width: 90px;
}
/* カテゴリの設定 */
.msr_newslist04 li .cat01, .msr_newslist04 li .cat02 {
  background-color: #e895ab;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: table-cell;
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0 2px;
  text-align: center;
  display: none;
}
.msr_newslist04 li .cat02 {
  background-color: #FFFFFF;
  border: 1px solid #fcf4f6;
  box-sizing: border-box;
  color: #000000;
}

/* page 2022-08-08 */
.content-area {
background: #ddd;
    padding: 1rem 0;
}
main {
   width: 95%;
	background: #fff;
    margin: 0 auto;
    padding: 1rem 0;
}
.content-wrapper {
	max-width: 600px;
    margin: 1rem auto;
	padding:1rem;
	line-height:1.7;
}
.title-block {
	margin-bottom: 2rem;
}
.title-block h1{
    font-family: 'Comfortaa', cursive;
    font-size: 32px;
    letter-spacing: 0.2em;
	text-align:center;
}
.title-block h1:after {
    display: block;
    margin: 0 auto 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #000;
}

@media only screen and (max-width: 640px) {
    .title-block h1{
        font-size: 28px;
        letter-spacing: 0.1em;
    }

.title-block h1:after {
    display: block;
    margin: 0 auto 1em;
    width: 25px;
    height: 1em;
    content: ' ';
    border-bottom: 2px solid #000;
}
}