@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;

    color: #ffff;
    background-color: #38435E;
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin: 0;
}

a {
    text-decoration: none;
    text-decoration-color: none;  /*リンクの色を消す*/

    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

img {
    object-fit: fill;
    object-position: center center;
    width: 100%;
}

.logo{
    object-fit: contain;
}

p{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;

    color: #ffff;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.midasi {
    letter-spacing: 0.1em;
    font-weight: 600;
}

.text{
    letter-spacing: 0.1em;
    font-size: 16px;
    line-height: 1.5;
}



body {
	animation: fadein 3s forwards;
}

@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}






  html,body {
    overflow-x: hidden;
  }

/*追従*/

.form{
    position: fixed;
    z-index: 99999;
    bottom: 50px;
    right: 50px;
    width: 350px;
}

.inner {
    width: 820px;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/*画像の下の隙間を消すコード-----------*/

div{
	text-align:center;
}

img{
	vertical-align:top;
}



/* HEADER
------------------------------- */

.pc_header {
    display: block;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px 0px 30px;
    position: fixed;
    width: 100%;
    height: 100px;
}

.pc_header.headerColorScroll {
    background-color: rgba(52, 52, 52, 0.562);
    transition: color 0.4s ease-in;
  }


.top_sp {
    display: none;
}


.top_icon {
    width: 110px;
    height: auto;
}

.pc_menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pc_menu .menu_box {
    display: flex;
    gap: 50px;
    background-color: #38435E;
    border: solid 1px #ffff;
    border-radius: 100px;
    padding: 10px 50px;
}

.pc_menu p{
    font-size: 15px;
    color: #ffff;
    font-weight: 700;
}

.menu_box a {
    font-size: 16px;
    height: max-content;
    color: #ffff;
    
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

    letter-spacing: 0.1em;
}


.pc_menu hr {
    transform: rotate(-60deg);
    width: 31px;
    border: 0;
    border-top: 2px solid #ffff;
    margin: 0;
    padding: 0;
    transform-origin: 50% 0%;
}



/* ボタン------------------------------- */

.btn {
    background-color: #EDC300;
    border-radius: 100px;
    padding: 10px 30px;
    color: #38435E;
    font-weight: 400;
    line-height: 1;
}

.page-fotter .btn {
    padding: 10px 50px;
}

.profile .area5 .btn {
    background-color: #ffff;
    display: flex;
    gap: 5px;
    margin-top: 30px;
}

.profile .area5 .btn img {
    width: auto;
    height: 18px;
    border-radius: 0px;
    margin-bottom: 0px;
}












/* top_ga------------------------------- */

.top_ga {
    margin-top: 100px;
}

.top_ga li img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }
    }
    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding: 0;
      gap: 30px;
      padding-right: 30px;
    }
    .scroll-infinity__list--left {
      animation: infinity-scroll-left 60s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(100vw / 3);
      height: 560px;
    }
    .scroll-infinity__item>img {
      width: 100%;
    }

/*

.top_ga {
    height: 640px;
    background-image: url(../images/20241004_1545.svg);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
}

.top_ga .text_box {
    width: 1000px;
}

.top_ga .no1 {
    font-weight: 700;
    font-size: 45px;
    color: #FF0000;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    padding: 0.2em;
    line-height: 2.2;
    background-color: #ffff;
}

.top_ga .no2 {
    font-weight: 700;
    font-size: 18px;
    color: #FF0000;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    padding: 0.2em;
    line-height: 2.2;
    background-color: #ffff;
}

*/

/* midasi------------------------------- */

.midasi_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
    gap: 25px;
}

.midasi_box .roma {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.midasi_box img {
    width: 200px;
}

.midasi_box .solid {
    height: 1.5px;
    width: 70px;
    background-color: #ffff;
}



/* area2------------------------------- */


.area2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    position: relative;
}

.area2 .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area2 .text {
    text-align: center;
}

.area2 .btn {
    margin-top: 50px;
}

/* area3------------------------------- */

.area3 {
    padding: 120px 0;
}

.area3 .inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area3 .box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 45px 35px;
    margin-bottom: 50px;
}

.area3 .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.area3 .item .img_box {
    height: 170px;
    width: 100%;
}

.area3 .item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.area3 .item .text {
    text-align: center;
}




/* vision.html-------------------------------------------------------------------------------------------- */

.vision .area2 {
    margin-top: 200px;
}

.vision .area3 p {
    text-align: center;
}





/* portfolio.html-------------------------------------------------------------------------------------------- */
/* area4------------------------------- */

.area4 {
    margin-top: 200px;
    margin-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.area4 .inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area4 .box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 45px 35px;
    margin-bottom: 50px;
}

.area4 .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.area4 .item .title_box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.area4 .item .img_box {
    height: 170px;
    width: 100%;
}

.area4 .item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.area4 .item .btn {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
}

.area4 .item .btn img {
    width: 8px;
    height: auto;
}





/* sakuhin.html-------------------------------------------------------------------------------------------- */
/* area5------------------------------- */

.area5 {
    margin-top: 200px;
    margin-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.area5 .inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.video {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    margin-bottom: 70px;
  }
  
  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }

  .area5 .midasi_box {
    align-items: flex-start;
  }

  .area5 .midasi_box img {
    width: 250px;
  }

  .area5 .text_box {
    margin-bottom: 50px;
  }




/* profile-------------------------------------------------------------------------------------------- */

.profile .area5 img {
    height: 560px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 70px;
}

.area5 .myname {
    font-size: 30px;
    margin-bottom: 25px;
}

.profile .area5 .midasi_box {
    gap: 0px;
}

.area5 .midasi_box .roma {
    margin-bottom: 5px;
}

.area4 iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.profile .area4 {
    margin-top: 50px;
    margin-bottom: 0px;
    margin-left: 0px;
    width: 100%;
}

.profile .area4 .box {
    margin-top: 20px;
}




/* footer------------------------------------------------------------------------------------------------ */

.page-fotter {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
}

footer .inner {
    width: 85%;
    display: flex;
    border: solid 1px #ffff;
    border-radius: 30px;
    padding: 30px;
}

.page-fotter .copy_box {
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fotter p {
    color: #ffff;
}

.page-fotter .l {
    width: 70%;
}

.page-fotter .l img {
    width: 200px;
    margin-bottom: 30px;
}

.page-fotter .r {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-fotter .r a {
    color: #ffff;
}

.page-fotter .r .btn {
    color: #38435E;
    width: fit-content;
    margin-top: 10px;
}

.page-fotter .r img {
    width: 250px;
}

.page-fotter .icon_box {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    height: 70px;
}

.page-fotter .icon_box a{
    width: 50px;
}

.page-fotter span {
    width: 1px;
    height: 20px;
    background-color: #ffff;
}

.page-fotter .copy_box p {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
}
















/*タブレット版
----------------------------------------------------------------------------------------------------------------------------タブレット版*/


@media screen and (min-width: 600px) and (max-width: 1024px) {
   

    .inner {
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    p {
        line-height: 1.2em;
        font-size: 14px;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .text {
        font-size: 14px;
    }
    


    /* ヘッダー------------------------------- */

    .pc_header {
        display: none;
    }





    .top_icon {
        width: 100px;
    }


    .top_sp{
        width: 100%;
        display: block;
        position: fixed;
        z-index: 100;
        margin: 20px 0;

        display: flex;
        flex-direction: column;
        align-items: center;

    }

  .headerColorScroll {
        background-color: rgba(52, 52, 52, 0.562);
    }

    .top_sp header {
        width: 85%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 40px;
        padding: 0 20px;

        border: solid 1px #ffff;
        background-color: #38435E;
        border-radius: 100px;
    }


    .top_sp h1 {
        margin-top: 520px;
        margin-left: 5%;
        font-size: 32px;
        line-height: 1.5em;
    }

    .top_sp .contactbutton_sp {
        background-color: #85AC3C;
        border-radius: 50px;
        padding: 5px 10px;
        color: #ffff;
        margin-top: 8px;
        margin-right: -50px;
    }

    .top_sp .logo_box {
        display: flex;
        align-items: center;
    }

    .top_sp .logo_box img{
        width: 55px;
        height: auto;
    }

    .top_sp .btn {
        width: fit-content;
        margin-top: 20px;

    }

    .top_ga {
        margin-top: 80px;
    }

    .scroll-infinity__list {
        gap: 10px;
        padding-right: 10px;
    }

    .scroll-infinity__item {
        width: calc(100vw /1.5);
        height: 680px;
      }
    






    /* ハンバーガーボタンのデザイン */
    .drawer__button {
        position: relative;
        width: 15px;
        height: 15px;
        border: none;
        cursor: pointer;
        z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
    }
    
    /* ハンバーガーボタン内の線 */
    .drawer__button > span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 1px;
        background-color: #ffff;
        transform: translateX(-50%);
    }
    .drawer__button > span:first-child {
        transform: translate(-50%, calc(-50% - 0.35rem));
        transition: transform 0.3s ease;
    }
    .drawer__button > span:nth-child(2) {
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }
    .drawer__button > span:last-child {
        transform: translate(-50%, calc(-50% + 0.35rem));
        transition: transform 0.3s ease;
    }


    /* 展開時のデザイン */
    details[open] span:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);
        background-color: #38435E;
    }
    details[open] span:nth-child(2) {
        opacity: 0;
    }
    details[open] span:last-child {
        transform: translate(-50%, -50%) rotate(45deg);
        background-color: #38435E;
    }




/* アコーディオン式メニューバーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */




/* リセットCSS */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* 外枠 */
article {
  margin: 20px auto;
  padding: 20px;
  width: 300px;
  background-color: whitesmoke;
}

details {
    width: 85%;
}

details img {
    width: 55px;
}

/* アコーディオン　見出し部分 */
details > summary {
  cursor: pointer;
  padding: 0px 20px;
  background-color: #38435E;
  border: 1px solid #ffff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  height: 40px;
  justify-content: space-between;
}

details .after {
    display: none;
}

/* アコーディオン　見出し部分　オープン時 */
details[open] > summary {
  background-color: #ffff;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

details[open] .before {
    display: none;
}

details[open]  .after {
    display: block;
}

/* アコーディオン　内容部分 */
details > div {
  padding: 0px 50px 40px 50px;
  background-color: #ffff;
}

/* アコーディオン　内容部分　オープン時 */
details[open] > div {
  border-top-style: none;
  border-radius: 0 0 20px 20px;
  background-color: #ffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

details .sp_menu_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

details .sp_menu_box a {
    width: 100%;
    color: #38435E;
    padding: 20px 0;
    text-align: center;
    border-bottom: solid 1px #38435E;
}



details a {
    font-size: 20px;
}




/* アコーディオン　見出し部分　プラス・マイナスのマーク */
details {
  position: relative;
}

/* アコーディオン　Safariの▲マークを消す */
details > summary::-webkit-details-marker {
  display: none;
}

/* アコーディオン間のスペース */
details + details {
  margin-top: 10px;
  width: 100%;
}







/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */







    /* メニューのデザイン */
    .drawer__nav {
        position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
        top: 0;
        left: 0;
        width: 100%;
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }



    /* 募集要項ボタン */
    .top_sp .btn img {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 100%;
        display: block;
        -webkit-transition: .4s ease-in-out;
        transition: .4s ease-in-out;
    }
    .top_sp .btn:hover img:nth-of-type(2) {
        opacity: 0;
    }






    .drawer__nav.active {
        opacity: 1;
        visibility: visible;
        z-index: 10;
        margin-top: 20px;
    }

    .drawer__nav__inner {
        position: relative;
        width: 85%;
        height: 100%;
        background-color: #ffff;
        padding: 3rem 0rem;
        margin: 0 auto;
        overflow: scroll;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
    }
    .drawer__nav.active .drawer__nav__inner {
        transform: translateX(0);
    }

    .drawer__nav__inner img {
        margin-bottom: 20px;
    }

    .drawer__nav__menu {
        list-style: none;
        padding-left: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    .drawer__nav__link {
        display: block;
        color: black;
        text-decoration: none;
        padding: 2rem 1rem;
        border-bottom: solid 1px lightgray;
        text-align: center;
        font-family: "Noto Sans JP", sans-serif;
    }

    /* ハンバーガーメニュー展開時、背景を固定 */
    body.active {
        height: 100%;
        overflow: hidden;
    }




    .drawer__nav__inner .tel_a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        background-color: rgb(239, 73, 43);
        padding: 15px 0;
        border-radius: 100px;
        color: #ffff;
    }

    .drawer__nav__inner .tel_a .no2 {
        font-size: 20px;
    }

    .drawer__nav__inner .tel_box {
        display: flex;
        align-items: center;
        padding-top: 5px;
        flex-direction: column;
        position: relative;
    }

    .drawer__nav__inner .tel_box .tel {
        font-size: 35px;
        padding: 0 10px 0 10px;
        line-height: 1em;
        margin-left: 25px;
    }

    .drawer__nav__inner .tel_box .tel_icon {
        position: absolute;
        top: 10px;
        left: 0px;
        width: 25px;
    }

    .drawer__nav__inner .yajirusi {
        position: absolute;
        top: 10px;
        left: 295px;
        width: 20px;
        height: auto;
    }

    .drawer__nav__inner .page-fotter {
        width: 100%;
        position: fixed;
        bottom: 0;
    }




    /* midasi------------------------------- */

    .midasi_box {
        margin-bottom: 50px;
    }



    /* area2------------------------------- */


    .area2 {
        padding-top: 60px;
    }


    /* area3------------------------------- */

    .area3 .box {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px 10px;
    }

    .area3 .item .img_box {
        height: 120px;
    }

    .area3 .item {
        gap: 10px;
    }


    /* vision------------------------------- */

    .vision .area2 {
        margin-top: 80px;
    }

    /* area4 ------------------------------- */

    .area4 {
        margin-top: 80px;
        padding-top: 60px;
    }

    .area4 .box {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px 10px;
    }

    .area4 .item {
        gap: 10px;
    }

    .area4 .item .img_box {
        height: 120px;
    }

    .area4 .item .btn img {
        width: 5px;
    }

    .area4 .item .btn_box {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .area4 .item .btn {
        padding: 8px 25px;
    }

    .area4 .item .title_box {
        flex-direction: column;
        height: 100%;
    }



    /* area5 ------------------------------- */

    .area5 {
        margin-top: 100px;
    }

    .video {
        margin-bottom: 50px;
    }

    .video iframe {
        border-radius: 10px;
    }

    /* profile-------------------------------------------------------------------------------------------- */

    .profile .area5 img {
        height: 350px;
        margin-bottom: 50px;
    }

    .profile .area4 {
        padding: 0px;
    }


    

    /* footer------------------------------------------------------------- */


    .page-fotter {
        padding: 0px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    footer .inner {
        gap: 50px;
    }

    .page-fotter .r a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
    }

    .page-fotter .l {
        width: 100%;
    }

    .page-fotter .l img {
        width: 160px;
    }

    .page-fotter .r {
        width: 100%;
    }

    

    footer .name {
        font-size: 20px;
    }

    footer .roma {
        font-size: 30px;
    }

    .page-fotter .copy_box p {
        transform: rotate(-90deg); 
        white-space: nowrap;
        font-size: 30px;
        margin-bottom: 100px;
        margin-right: -30%;
    }

    .page-fotter .copy_box {
        height: 300px;
        justify-content: flex-end;
    }


    /* contact------------------------------- */

    label {
        font-size: 14px;
    }

    .contact {
        padding: 30px 0;
        margin-bottom: 70px;
    }

    .contact .inner {
        width: 90%;

    }

    form {
        width: 100%;
    }

    form div {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .contact label {
        margin-bottom: 10px;
    }

    input[type="text"], input[type="email"], input[type="tel"], select {
        width: 100%;
    }

    textarea {
        width: 100%;
    }

    input[type="image"]{
        width: 100%;
        margin-top: 20px;


    }




  }
 

















/*モバイル版
--------------------------------------------------------------------------モバイル版*/
@media (max-width: 600px) {


    .inner {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    p {
        line-height: 1.2em;
        font-size: 14px;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .text {
        font-size: 14px;
    }
    


    /* ヘッダー------------------------------- */

    .pc_header {
        display: none;
    }





    .top_icon {
        width: 100px;
    }


    .top_sp{
        width: 100%;
        display: block;
        position: fixed;
        z-index: 100;
        margin: 20px 0;

        display: flex;
        flex-direction: column;
        align-items: center;

    }

  .headerColorScroll {
        background-color: rgba(52, 52, 52, 0.562);
    }

    .top_sp header {
        width: 85%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 40px;
        padding: 0 20px;

        border: solid 1px #ffff;
        background-color: #38435E;
        border-radius: 100px;
    }


    .top_sp h1 {
        margin-top: 520px;
        margin-left: 5%;
        font-size: 32px;
        line-height: 1.5em;
    }

    .top_sp .contactbutton_sp {
        background-color: #85AC3C;
        border-radius: 50px;
        padding: 5px 10px;
        color: #ffff;
        margin-top: 8px;
        margin-right: -50px;
    }

    .top_sp .logo_box {
        display: flex;
        align-items: center;
    }

    .top_sp .logo_box img{
        width: 55px;
        height: auto;
    }

    .top_sp .btn {
        width: fit-content;
        margin-top: 20px;

    }

    .top_ga {
        margin-top: 80px;
    }

    .scroll-infinity__list {
        gap: 10px;
        padding-right: 10px;
    }

    .scroll-infinity__item {
        width: calc(100vw /1.5);
        height: 320px;
      }
    






    /* ハンバーガーボタンのデザイン */
    .drawer__button {
        position: relative;
        width: 15px;
        height: 15px;
        border: none;
        cursor: pointer;
        z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
    }
    
    /* ハンバーガーボタン内の線 */
    .drawer__button > span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 1px;
        background-color: #ffff;
        transform: translateX(-50%);
    }
    .drawer__button > span:first-child {
        transform: translate(-50%, calc(-50% - 0.35rem));
        transition: transform 0.3s ease;
    }
    .drawer__button > span:nth-child(2) {
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }
    .drawer__button > span:last-child {
        transform: translate(-50%, calc(-50% + 0.35rem));
        transition: transform 0.3s ease;
    }


    /* 展開時のデザイン */
    details[open] span:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);
        background-color: #38435E;
    }
    details[open] span:nth-child(2) {
        opacity: 0;
    }
    details[open] span:last-child {
        transform: translate(-50%, -50%) rotate(45deg);
        background-color: #38435E;
    }




/* アコーディオン式メニューバーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */




/* リセットCSS */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* 外枠 */
article {
  margin: 20px auto;
  padding: 20px;
  width: 300px;
  background-color: whitesmoke;
}

details {
    width: 85%;
}

details img {
    width: 55px;
}

/* アコーディオン　見出し部分 */
details > summary {
  cursor: pointer;
  padding: 0px 20px;
  background-color: #38435E;
  border: 1px solid #ffff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  height: 40px;
  justify-content: space-between;
}

details .after {
    display: none;
}

/* アコーディオン　見出し部分　オープン時 */
details[open] > summary {
  background-color: #ffff;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

details[open] .before {
    display: none;
}

details[open]  .after {
    display: block;
}

/* アコーディオン　内容部分 */
details > div {
  padding: 0px 50px 40px 50px;
  background-color: #ffff;
}

/* アコーディオン　内容部分　オープン時 */
details[open] > div {
  border-top-style: none;
  border-radius: 0 0 20px 20px;
  background-color: #ffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

details .sp_menu_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

details .sp_menu_box a {
    width: 100%;
    color: #38435E;
    padding: 15px 0;
    text-align: center;
    border-bottom: solid 1px #38435E;
}



details a {
    font-size: 20px;
}




/* アコーディオン　見出し部分　プラス・マイナスのマーク */
details {
  position: relative;
}

/* アコーディオン　Safariの▲マークを消す */
details > summary::-webkit-details-marker {
  display: none;
}

/* アコーディオン間のスペース */
details + details {
  margin-top: 10px;
  width: 100%;
}







/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */







    /* メニューのデザイン */
    .drawer__nav {
        position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
        top: 0;
        left: 0;
        width: 100%;
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }



    /* 募集要項ボタン */
    .top_sp .btn img {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 100%;
        display: block;
        -webkit-transition: .4s ease-in-out;
        transition: .4s ease-in-out;
    }
    .top_sp .btn:hover img:nth-of-type(2) {
        opacity: 0;
    }






    .drawer__nav.active {
        opacity: 1;
        visibility: visible;
        z-index: 10;
        margin-top: 20px;
    }

    .drawer__nav__inner {
        position: relative;
        width: 85%;
        height: 100%;
        background-color: #ffff;
        padding: 3rem 0rem;
        margin: 0 auto;
        overflow: scroll;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 20px;
    }
    .drawer__nav.active .drawer__nav__inner {
        transform: translateX(0);
    }

    .drawer__nav__inner img {
        margin-bottom: 20px;
    }

    .drawer__nav__menu {
        list-style: none;
        padding-left: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    .drawer__nav__link {
        display: block;
        color: black;
        text-decoration: none;
        padding: 2rem 1rem;
        border-bottom: solid 1px lightgray;
        text-align: center;
        font-family: "Noto Sans JP", sans-serif;
    }

    /* ハンバーガーメニュー展開時、背景を固定 */
    body.active {
        height: 100%;
        overflow: hidden;
    }




    .drawer__nav__inner .tel_a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        background-color: rgb(239, 73, 43);
        padding: 15px 0;
        border-radius: 100px;
        color: #ffff;
    }

    .drawer__nav__inner .tel_a .no2 {
        font-size: 20px;
    }

    .drawer__nav__inner .tel_box {
        display: flex;
        align-items: center;
        padding-top: 5px;
        flex-direction: column;
        position: relative;
    }

    .drawer__nav__inner .tel_box .tel {
        font-size: 35px;
        padding: 0 10px 0 10px;
        line-height: 1em;
        margin-left: 25px;
    }

    .drawer__nav__inner .tel_box .tel_icon {
        position: absolute;
        top: 10px;
        left: 0px;
        width: 25px;
    }

    .drawer__nav__inner .yajirusi {
        position: absolute;
        top: 10px;
        left: 295px;
        width: 20px;
        height: auto;
    }

    .drawer__nav__inner .page-fotter {
        width: 100%;
        position: fixed;
        bottom: 0;
    }




    /* midasi------------------------------- */

    .midasi_box {
        margin-bottom: 50px;
    }



    /* area2------------------------------- */


    .area2 {
        padding-top: 60px;
    }


    /* area3------------------------------- */

    .area3 .box {
        grid-template-columns: 1fr 1fr;
        gap: 25px 10px;
    }

    .area3 .item .img_box {
        height: 120px;
    }

    .area3 .item {
        gap: 10px;
    }


    /* vision------------------------------- */

    .vision .area2 {
        margin-top: 80px;
    }

    /* area4 ------------------------------- */

    .area4 {
        margin-top: 80px;
        padding-top: 60px;
    }

    .area4 .box {
        grid-template-columns: 1fr 1fr;
        gap: 25px 10px;
    }

    .area4 .item {
        gap: 10px;
    }

    .area4 .item .img_box {
        height: 120px;
    }

    .area4 .item .btn img {
        width: 5px;
    }

    .area4 .item .btn_box {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .area4 .item .btn {
        padding: 8px 25px;
    }

    .area4 .item .title_box {
        flex-direction: column;
        height: 100%;
    }



    /* area5 ------------------------------- */

    .area5 {
        margin-top: 100px;
    }

    .video {
        margin-bottom: 50px;
    }

    .video iframe {
        border-radius: 10px;
    }

    /* profile-------------------------------------------------------------------------------------------- */

    .profile .area5 img {
        height: 240px;
        margin-bottom: 50px;
    }

    .profile .area4 {
        padding: 0px;
    }


    

    /* footer------------------------------------------------------------- */


    .page-fotter {
        padding: 0px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    footer .inner {
        gap: 50px;
    }

    .page-fotter .r a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
    }

    .page-fotter .l {
        width: 100%;
    }

    .page-fotter .l img {
        width: 160px;
    }

    .page-fotter .r {
        width: 100%;
    }

    

    footer .name {
        font-size: 20px;
    }

    footer .roma {
        font-size: 30px;
    }

    .page-fotter .copy_box p {
        transform: rotate(-90deg); 
        white-space: nowrap;
        font-size: 30px;
        margin-bottom: 100px;
        margin-right: -30%;
    }

    .page-fotter .copy_box {
        height: 300px;
        justify-content: flex-end;
    }


    /* contact------------------------------- */

    label {
        font-size: 14px;
    }

    .contact {
        padding: 30px 0;
        margin-bottom: 70px;
    }

    .contact .inner {
        width: 90%;

    }

    form {
        width: 100%;
    }

    form div {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .contact label {
        margin-bottom: 10px;
    }

    input[type="text"], input[type="email"], input[type="tel"], select {
        width: 100%;
    }

    textarea {
        width: 100%;
    }

    input[type="image"]{
        width: 100%;
        margin-top: 20px;

        
    }


    

}
