/* 共通設定 */

* {
    box-sizing: border-box;
}

h1,h2,h3,h4 {
    font-family: heisei-maru-gothic-std, sans-serif;
    font-weight: 800;
    font-style: normal;
}

p {
    font-family: heisei-maru-gothic-std, sans-serif;
    font-weight: 800;
    font-style: normal;
}

a {
    font-family: heisei-maru-gothic-std, sans-serif;
    text-decoration: none;
    color: #000;
}

a:link {
    color: #000;
}

a:visited {
    /* color: #609; */
    color: #000;
}

a:hover {
    color: #367f93;
}

table {
    border-collapse: collapse;　/* 枠線を二重線から一本線への指定*/
}


/* スマホ */
body {
    width: 100%;
}

header {
    background-color: #8E8181;
}

header p {
    font-size: 10px;
    color: #ffffff;
    text-align: left;
    padding: 5px 0 5px 5px;
}

.logo {
    padding: 5px 0 5px 10px;
}

/*スマホ画面でハンバーガーメニューの形にする*/
/*　ハンバーガーボタン　*/
.hamburger {
    display : block;
    position: fixed;
    z-index : 3;
    right : 13px;
    top   : 12px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #555;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top : 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }
  
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
  }
  
  nav.globalMenuSp {
    position: fixed;
    z-index : 2;
    top  : 0;
    left : 0;
    color: #000;
    background: #fff;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
  }
  
  nav.globalMenuSp ul {
    background: #ccc;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  nav.globalMenuSp ul li:hover{
    background :#ddd;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration :none;
  }
  
  .globalMenuSp ul li a span {
    display: block;
    font-size: 12px;
  }
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    transform: translateY(0%);
  }
  /* ハンバーガーメニューここまで */


.globalnav-pc {
    display: none;　
}

.main-img {
    margin-bottom: 30px;
}

.main-img img {
    width: 100%;　/* 親要素に対して画像の比率を指定　これがないと画像の元の大きさで表示されてしまう */
}

main {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    grid-template-rows: repeat(3,auto);
}

.menu {
    display: none;　/* スマホ版ではグローバルナビゲーションを非表示にする指定 */
}

.information {
    grid-column: 2;
    grid-row: 1;
    border: 1px solid #707070;
    margin-bottom: 30px;
}

.information h1 {
    font-size: 11px;
    border-bottom: 1px solid #707070;
    padding: 10px 15px 10px 15px;
}

.information h1 span {
    font-size: 7px;
    color: #53EC68;
    padding-left: 15px;
}

.info-dl {
    height: 201px;
    overflow: auto;
    padding: 15px;
}

.info-dl dt {
    font-size: 11px;
    color: #53EC68;
    margin-bottom: 6px;
}

.info-dl dd {
    font-size: 11px;
    color: #000000;
    padding-bottom: 6px;
    border-bottom: 1px dashed #707070;
    margin-bottom: 8px;
}

.service {
    grid-column: 2;
    grid-row: 2;
    border: 1px solid #707070;
    margin-bottom: 30px;
}

.service h1 {
  font-size: 11px;
  border-bottom: 1px solid #707070;
  padding: 10px 15px 10px 15px;
  margin-bottom: 16px;
}

.service h1 span {
    font-size: 7px;
    color: #53EC68;
    padding-left: 15px;
}

/* グリッドレイアウトを使用する場合 */
.service-article {
    display: grid;
    grid-template-columns: 4.7% 24.76% 7.9% 58.41% 4.7%;
    grid-row: 1;
    margin-bottom: 24px;
}

.service-img {
    grid-column: 2;
    grid-row: 1;
}

.service-img img {
    width: 100%;
}

.s-article {
    grid-column: 4;
    grid-row: 1;
}

.s-article h2 {
    font-size: 12px;
    color: #53EC68;
    margin-bottom: 9px;
}

.s-article p {
    font-size: 10px;
    color: #000;
}
/* グリッドレイアウトを使用する場合　ここまで */


/* フレキシブルボックスを使用する場合 */
/* .service-article {
    display: flex;
    margin-bottom: 24px;
}

.service-img {
    width: 24.76%;
    margin-left: 4.7%;
    margin-right: 7.9%;
}

.service-img img {
    width: 100%;
}

.s-article {
    width: 58.41%;
    margin-right: 4.7%;
}

.s-article h2 {
    font-size: 12px;
    color: #53EC68;
    margin-bottom: 9px;
}

.s-article p {
    font-size: 10px;
    color: #000;
} */

/* フレキシブルボックスを使用する場合　ここまで */



.r-c {
    grid-column: 2;
    grid-row: 3;
    /* margin: 0 auto; */
    margin-bottom: 30.5px;
}

.recruit {
    width: 39%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.recruit img {
    width: 100%;
}

.contact {
    width: 39%;
    margin: 0 auto;
}

.contact img {
    width: 100%;
}


footer {
    background-color: #E0E9F2;
    padding: 20px 4.7% 20px 4.7%;
}

footer ul {
    margin-bottom: 20px;
}

footer ul li {
    list-style: none;
    margin-bottom: 15px;
    font-size: 15px;
}

footer ul li:last-child {
    margin-bottom: 0;
}

footer p {
    font-size: 12px;
    color: #707070;
    text-align: center;
}

/* business.html */
.subpage-html .main-img {
    display: none;
}


.subpage-wrapper {
    grid-column: 2;
    grid-row: 1;
}

.business-img img {
    width: 100%;
    margin-bottom: 25px;
}

.subpage-continer {
    margin-bottom: 25px;
}

.business-section h1 {
    background-color: #E8E0E0;
    padding: 6px 0 6px 15px;
    font-size: 0.5em;
    margin-bottom: 11px;
}

.business-section h1::before {
    content: "■";
}

.business-section p {
    font-size: 0.5em;
    line-height: 16px;
    padding: 0 10px;
    margin-bottom: 10px;
}


/* .recruit.html */
.subpage-wrapper {
    grid-column: 2;
    grid-row: 1;
}

.subpage-header {
    border: 1px solid #707070;
}

.subpage-header h1 {
    font-size: 11px;
    padding: 10px 15px 10px 15px;
}

.subpage-header h1 span {
    font-size: 7px;
    color: #53EC68;
    padding-left: 15px;
}

.subpage-table {
    border: 1px solid #707070;
    border-top: none;
    padding: 15px 10px;
}

.subpage-table table {
    /* margin-bottom: 25px; */
}

.subpage-table table tr {
    border: 1px solid #707070;
}

.subpage-table table th {
    width: 33.33%;
    font-size: 10px;
    vertical-align: middle;
    background-color: #F5EEEE;
}

.subpage-table table td {
    width: 45.6%;
    font-size: 10px;
    line-height: 22px;
    padding: 10px 15px;
}


/* contact.html */

.input-text {
    width: 100%;
}

.zipcode-size {
    width: 75px;
    margin-bottom: 5px;
}

.adress-p span {
    margin-left: 8px;
}

.select-text {
    width: 75px;
    height: 20px;
    font-size: 4px;
    
}

input[type="submit"] {
    font-size: 8px;
}

.radio-p {
    position: relative;
    top: -3px
}

textarea {
    width: 100%;
}


/* pc用 */
@media screen and (min-width: 1200px) {

    .contanier {
        width: 1200px;
        margin: 0 auto;
    }

    .header-pc {
        width: 1200px;
        margin: 0 auto;
    }

    header p {
        font-size: 15px;
        text-align: right;
    }

    main {
        grid-template-columns: 359px 61px 775px;
        grid-template-rows: repeat(2,auto);
    }

    .hamburger-menu {
        display: none;　/* PC版ではハンバーガーメニューを非表示にする指定 */
    }

    .globalnav-pc {
        display: block;
    }

    
    /* table-cellで横並びにする場合 */

    /* .globalnav-pc ul li {
        list-style: none;
        display: table-cell;
        border: 1px solid #dcdcdc;
        background-color: #F2EAEA;
        line-height: 50px;
        text-align: center;
    }

    .globalnav-pc ul li {
        list-style: none;
        border: 1px solid #dcdcdc;
        background-color: #F2EAEA;
        line-height: 50px;
        text-align: center;
    }

    .globalnav-pc ul li a {
        display: block;
        width: 238px;
        height: 50px;
        transition-property: transform;
        transition-duration: 0.2s;
    } */

    /* table-cellで横並びにする場合　ここまで */



    /* フレキシブルボックスで横並びにする場合 */

    .globalnav-pc ul {
        display: flex;
    }

    .globalnav-pc ul li {
        list-style: none;
        border: 1px solid #dcdcdc;
        background-color: #F2EAEA;
        line-height: 50px;
        text-align: center;
        flex: 1;
    }

    .globalnav-pc ul li a {
        display: block;
        height: 50px;
        transition-property: transform;
        transition-duration: 0.2s;
    }

    /* フレキシブルボックスで横並びにする場合　ここまで */



    .globalnav-pc ul li a:hover {
        background-color: #AED7C1;
        transform: scale(1.2);
    }



    .menu {
        display: block;
        grid-column: 1;
        grid-row: 1;
        border: 1px solid #707070;
        margin-bottom: 30px;
    }
    
    .menu h1 {
        font-size: 20px;
        border-bottom: 1px solid #707070;
        padding: 10px 15px 10px 15px;
        margin-bottom: 20px;
    }

    .menu ul {
        padding-left: 30.5px;
        padding-right: 30.5px;
    }

    .menu ul li {
        list-style: none;
        font-size: 25px;
        border-bottom: 1px dashed #707070;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .menu ul li:last-child {
        border-bottom: none;
    }


    .information {
        grid-column: 3;
        grid-row: 1;
    }

    .information h1 {
        font-size: 20px;
    }

    .information h1 span {
        font-size: 10px;
        padding-left: 30px;
    }

    .info-dl {
        height: 300px;
        padding: 15px 15px 0 15px;
    }
    
    .info-dl dt {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .info-dl dd {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .r-c {
        grid-column: 1;
        grid-row: 2;
    }

    .recruit {
        width: 200px;
        margin-left: 0;
        margin-right: 0;
    }

    .contact {
        width: 200px;
        margin-left: 0;
        margin-right: 0;
    }

    .service {
        grid-column: 3;
        grid-row: 2;
        margin-bottom: 120px;
    }

    .service h1 {
        font-size: 20px;
      }
      
    .service h1 span {
        font-size: 10px;
        padding-left: 30px;
    }
    
    .s-article h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .s-article p {
        font-size: 15px;
    }

    footer ul {
        text-align: center;
    }

    footer ul li {
        display: inline-block;
        border-right: 1px solid #707070;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 15px;
    }

    footer ul li:first-child {
        padding-left: 0;
    }

    footer ul li:last-child {
        padding-right: 0;
        border-right: none;
    }

    footer ul li a {
        color: #707070;
    }

    footer ul li a:link {
        color: #707070;
    }

    footer ul li a:visited {
        color: #707070;
    }


    /* business.html */

    .subpage-html .main-img {
        display: block;
    }

    .subpage-html main {
        grid-template-columns: 359px 61px 775px;
        /* grid-template-rows: repeat(3,auto); */
        grid-template-rows: 410px auto auto;
    }
 
    .subpage-wrapper {
        grid-column: 3;
        grid-row: 1 / 3;
        margin-bottom: 120px;
    }

    .business-img img {
        width: 100%;
        margin-bottom: 25px;
    }

    .subpage-continer {
        margin-bottom: 30px;
    }

    .business-section h1 {
        background-color: #E8E0E0;
        padding: 6px 15px 6px 15px;
        font-size: 20px;
        margin-bottom: 27px;
    }

    .business-section h1::before {
        content: "■";
    }

    .business-section p {
        font-size: 15px;
        line-height: 16px;
        padding: 0 10px;
        margin-bottom: 25px;
    }


    /* .recruit.html */
    .subpage-wrapper {
        /* grid-column: 3; */
        /* grid-row: 1 / 3; */
        /* margin-bottom: 120px; */
    }

    .subpage-header {
        border: 1px solid #707070;
    }

    .subpage-header h1 {
        font-size: 20px;
        padding: 10px 15px 10px 15px;
    }

    .subpage-header h1 span {
        font-size: 10px;
        color: #53EC68;
        padding-left: 15px;
    }

    .subpage-table {
        border: 1px solid #707070;
        border-top: none;
        padding: 15px 10px;
    }

    .subpage-table table tr {
        border: 1px solid #707070;
    }

    .subpage-table table th {
        width: 309px;
        font-size: 20px;
        vertical-align: middle;
        background-color: #F5EEEE;
    }

    .subpage-table table td {
        width: 421px;
        font-size: 15px;
        line-height: 33px;
        padding: 10px 15px;
    }


    /* contact.html */

    .input-text {
        width: 100%;
    }

    .zipcode-size {
        width: 80px;
        margin-bottom: 5px;
    }

    .adress-p span {
        margin-left: 23px;
    }

    .select-text {
        width: 120px;
        height: 22px;
        font-size: 4px;
        
    }

    input[type="submit"] {
        font-size: 15px;
    }

    .radio-p {
        position: relative;
        top: -3px
    }

    textarea {
        width: 100%;
    }

    
}

