/*==================================共通==================================*/


/*===========フォントの設定===========*/
html {
    font-size: 8.5px;
}

@media screen and (max-width:768px) {
    html {
        /* タブレットビューではベースのfont-sizeは14px相当 */
        font-size: 5px;
    }
}


body {
    margin: 0px;
    font-family: 'Yu Gothic','Noto Sans JP', sans-serif;
    font-family: "Poppins",sans-serif,"Noto Sans JP", sans-serif;
}

ul {
    display: flex;
    list-style-type: disc;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}


.jp {
    font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 6rem;
    letter-spacing: 1rem;
}

h2 {
    font-size: 5rem;
    text-align: center;
}

h3 {
    font-size: 2.3rem;
    letter-spacing: 0.5em;
}

@media screen and (max-width:767px){
    h3 {
        font-size: 2.0rem;
    }
}

.hjp{
    font-size:2.5rem;
}

.kana {
    font-family: 'Monomaniac One', sans-serif;
    letter-spacing: 1.5rem;
    padding-left: 15px;
    font-size: 3rem;
}

/*linkの設定*/
a {
    text-decoration: none;
    letter-spacing: 0.6rem;
    color: black;
}

.border-radius {
    width: 400px;
    height: 120px;
    background-color: lightgray;
    border-radius: 30% 70% 35% 65% / 50% 50% 50% 50%;
}

.sectionmargin {
    margin-top: 64px;
    margin-bottom: 64px;
}



.right {
    text-align: right;
    text-align: left;
    margin-right: 0rem;
}

.flex {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

a {
    text-decoration: none;
}

/*PCのみ改行*/
@media(max-width:768px) {
    .only-pc {
        display: none;
    }
}

/*SPのみ改行*/
.only-sp {
    display: none;
}

@media(max-width:768px) {
    .only-sp {
        display: block;
    }
}

/*==================================ヘッダー=============================*/

header {
    position: sticky;
    z-index: 1000;
    top: 0;
}

.navset-container {
    margin-top: 0px;
}

.navimg {
    font-size: 2rem;
    align-content: center;
}

    .navimg img {
        height: auto;
        max-width: 180px;
        min-width: 100px;
        vertical-align: middle;
    }

.navmail img {
    text-align: right;
    width: 30px;
    height: auto;
    margin: 0.5rem 1rem 0.5rem 1rem;
    min-width: 30px;
}

.navmail-container {
    position: fixed; /*Header固定*/
    width: 200px;
    height: 200px;
    bottom: 10px;
    right: 20px;
    row-gap: 24px;
    font-size: 1.2rem;
    letter-spacing: 0.6rem;
    text-align: center;
    color: black;
    font-weight: bold;
    z-index: 100;
}

.navmail {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    .navmail .slash {
        display: inline-block;
        transform: rotate(-30deg);
    }

    .navmail .back-slash {
        display: inline-block;
        transform: rotate(30deg);
    }

    .navmail > .cta > p {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin-bottom: 0;
    }

        .navmail > .cta > p::before,
        .navmail > .cta > p::after {
            content: '';
            position: relative;
            width: 1px;
            height: 2rem;
            background-color: black;
            transform-origin: center;
        }

        .navmail > .cta > p::before {
            left: -10px;
            transform: rotate(-30deg);
        }

        .navmail > .cta > p::after {
            right: -10px;
            transform: rotate(30deg);
        }


.navset-full {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 16px;
}

.hamburger-menu {
    display: none;
}

@media(max-width:1080px) {
    header {
        background-color: rgba(255,255,255,0.8);
    }

    .navul {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .navmail-container {
        width: 100%;
        height: auto;
        left: -.75%;
        bottom: 0;
        border: 5px double #737373;
        background: rgba(250,250,250,.8);
        border-radius: 42px;
    }

    .navmail {
        flex-direction: row;
        gap: 20px;
        justify-content: space-evenly;
    }
}

@media(max-width:600px) {
    header {
        background: #fff;
        padding: 8px;
    }

    .navimg img {
        width: 65%;
    }

    .navmail-container {
        font-size: 12px;
        width: 100%;
        left: -1.25%;
    }
}



.menu {
    position: sticky;
    display: flex;
    position: absolute;
    align-items: center;
    z-index: 1000;
    /*  background-color: rgba(210, 210, 210, 0.3); 背景のみ半透明 */
}

.navset-full li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s; /*変形の時間*/
}

.navset-full li a:hover::after {
    transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

li a {
    padding-bottom: 10px;
}

.navul {
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-end;
}

    .navul > ul 
    {
        display: flex;
        margin: 0;
        padding: 0;
    }

        .navul > ul > li {
            font-weight: bold;
            font-size: 2rem;
            list-style: none;

        }

.navli1
{
    margin: 0rem 3rem;
}

.navli2
{
    margin: 0rem 3rem;
}

.navli3
{
    margin: 0rem 0rem;
}

.navli4
{
    margin: 0rem 0rem;
}

.navli5
{
    margin: 0rem 3rem;
}

.navli6
{
    margin: 0rem 3rem;
}

.navli7
{
    margin: 0rem 3rem;
}

@media screen and (min-width: 768px) {
    .openbtn1 {
        display: none
    }
}

@media screen and (max-width: 767px) {
    .menu {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .navul {
        display: none;
    }
}


@media screen and (max-width: 767px) {
    .triangle {
        display: flex;
        flex-direction: column;
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    .triangle {
        margin: 0;
    }
}


@media screen and (max-width: 767px) {
    .sectionmargin {
        margin: 0rem;
        padding: 0rem;
    }
}
/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2) {
    display: none;
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1) {
    display: none; /*透過0に*/
}

.btntextchange:focus span:nth-child(1) {
    display: none; /*透過0に*/
}

.btntextchange:hover span:nth-child(2) {
    display: inline-block;
    /*不透明に*/
}

.btntextchange:focus span:nth-child(2) {
    display: inline-block;
    /*不透明に*/
}

.menujp {
    font-size: 15px;
}
/*======再校後　ここから=====*/

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2) {
    display: hidden;
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1) {
    display: hidden; /*透過0に*/
}

.btntextchange:focus span:nth-child(1) {
    display: hidden; /*透過0に*/
}

.btntextchange:hover span:nth-child(2) {
    display: inline-block;
    /*不透明に*/
}

.btntextchange:focus span:nth-child(2) {
    display: inline-block;
    /*不透明に*/
}





/* --- 安定版：英/日を重ねてフェード切替（レイアウト不変） --- */
.navul a.btntextchange {
    display: inline-grid;
    grid-template-areas: "stack";
    align-items: center;   /* 垂直位置：中央。左寄せ維持 */
    justify-items: start;  /* 左寄せ */
    position: relative;
    overflow: hidden;      /* 念のためはみ出し防止 */
    line-height: 1.2;      /* 必要に応じて調整 */
    text-decoration: none; /* お好みで */
  }
  
  /* 2つのテキストを同じグリッドセルに重ねる */
  .navul a.btntextchange span {
    grid-area: stack;
    display: inline-block !important;  /* 既存の display:none を無効化 */
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;              /* テキスト間でのヒットずれ防止 */
  }
  
  /* 初期：英語だけ見える */
  .navul a.btntextchange span:nth-child(1) { opacity: 1; }
  
  /* ホバー・フォーカスで日本語にフェード */
  .navul a.btntextchange:hover span:nth-child(1),
  .navul a.btntextchange:focus-visible span:nth-child(1) { opacity: 0; }
  
  .navul a.btntextchange:hover span:nth-child(2),
  .navul a.btntextchange:focus-visible span:nth-child(2) { opacity: 1; }
  
  /* 日本語の字サイズ（必要なら） */
  .menujp { font-size: 15px; }
  
  /* ユーザーがアニメ低減設定の場合は瞬時切替に */
  @media (prefers-reduced-motion: reduce) {
    .navul a.btntextchange span { transition: none; }
  }






/* メニュー全体 */
.navul ul {
    display: flex;
    justify-content: space-between; /* 均等配置 */
    gap: 10px;  /* 項目間の間隔を狭める */
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* 各メニュー項目の幅はテキストに合わせつつ折り返さない */
  .navul li {
    white-space: nowrap; /* 折り返さない */
  }
  
  /* リンク全体をブロック化してクリック範囲を確保 */
  .navul a.btntextchange {
    display: inline-grid;
    grid-template-areas: "stack";
    align-items: center;
    justify-items: center;
    overflow: hidden;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap; /* 折り返し防止 */
  }
  
  /* 英語・日本語の重ね表示（フェード切替） */
  .navul a.btntextchange span {
    grid-area: stack;
    display: inline-block !important;
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;
  }
  
  /* 初期状態：英語だけ表示 */
  .navul a.btntextchange span:nth-child(1) { opacity: 1; }
  
  /* ホバーで切替：日本語にフェード */
  .navul a.btntextchange:hover span:nth-child(1),
  .navul a.btntextchange:focus-visible span:nth-child(1) { opacity: 0; }
  
  .navul a.btntextchange:hover span:nth-child(2),
  .navul a.btntextchange:focus-visible span:nth-child(2) { opacity: 1; }
  
  


/*======再校後　ここまで=====*/


/*======トップ=====*/


#top {
    position: relative;
    width: 100%;
}



.change {
    animation: changeimg 4s infinite;
}

@keyframes changeimg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.toppage {
    display: flex;
    align-items: flex-end;
     margin: 0 auto;
     width: 84%;
   /* margin: 0 80px;*/
}

    .toppage img {
        border-radius: 0 0 50% 0;
        width: 40vw;
        height: auto;
        text-align: right;
        justify-items: right;
        margin: 0 0 0 auto;
    }

@media(max-width:1080px) {
    .toppage {
        align-items: center;
        flex-direction: column;
        margin: 0 auto;
        width: 95%;
    }

        .toppage img {
            margin: 0 auto;
            width: 70vw;
            order: 1;
        }

        .toppage .imgflex {
            order: 2;
        }
}

.imgflex {
    display: flex;
    flex-flow: column;
    bottom: 0;
}



main {
    letter-spacing: 0.5rem;
    width: 90%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    main {
        width: 95%;
    }
}

.h2down {
    margin-top: 0
}


/*=============== お悩み ===============*/

.onayamiex2 {
    position: relative;
    background-color: #f2f2f2;
}

    .onayamiex2::before {
        position: absolute;
        content: '';
        left: 50%;
        z-index: 10;
        width: 150px;
        height: 101px;
        border-radius: 50%;
        background: inherit;
        transform: translateX(-50%) translateY(50%);
        bottom: 0px;
    }

.onayamiex {
    text-align: center;
}

.onayamiex1 {
    font-size: 2rem;
    text-align: center;
}

.onayami3 img {
    width: 3%;
    height: auto;
    margin: 2rem;
}

.onayamiex2 {
    display: flex;
    flex-flow: column;
}

.onayami3 {
    display: flex;
    background-color: #3C3C3C;
    border-radius: 10px;
    color: white;
    margin: 1rem;
    padding: 1rem;
    align-items: center;
    text-align: center;
}

.onayami4 {
    margin: 3rem;
    font-size: 3rem;
    display: flex;
    align-content: center;
    flex-direction: row;
    justify-content: center;
}

    .onayami4 img {
        width: 50px;
        height: auto;
    }

.onayami5 {
    text-align: left;
}


.onayami-illustration {
    position: relative;
    height: 600px;
}

.hukidashi {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 300px;
}

.hukidashi-in {
    position: relative;
    top: 25%;
}

    .hukidashi-in > p {
        padding: 4.5rem 0rem;
        width: 80%;
        margin: 0 auto;
        transform: translateX(5%);
    }

.hukidashi.balloon1 {
    transform: translate(-105%, -150%);
    background: url(../img/balloon_lt.webp);
    background-size: 100% 100%;
    z-index: 10;
}

.hukidashi.balloon2 {
    transform: translate(55%,-155%);
    background: url(../img/balloon_rt.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
    background-position: center;
}

.hukidashi.balloon3 {
    transform: translate(-100%, 55%);
    background: url(../img/balloon_lb.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
    background-position: center;
}

.hukidashi.balloon4 {
    transform: translate(50%, 75%);
    background: url(../img/balloon_rb.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 10;
    background-position: center;
}

.komari img {
    width: 300px;
    height: auto;
}

.komari {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.komari1 {
    text-align: right;
}

.komari2 {
    text-align: left;
}

.komari3 {
    text-align: right;
}

.komari4 {
    text-align: left;
}

@media(max-width:1080px) {
    .onayami-illustration {
        width: 85%;
        margin: 0 auto;
        transform: translateX(-8%);
    }
}

@media(max-width:768px) {
    .onayami-illustration {
        transform: translateX(0);
        height: 300px;
        margin: 15rem auto;
    }

    .hukidashi-in > p {
        width: 88%;
    }

    .hukidashi.balloon1 {
        transform: translate(-100%, -200%) !important;
        ;
    }

    .hukidashi.balloon2 {
        transform: translate(25%, -220%) !important;
    }

    .hukidashi.balloon3 {
        transform: translate(-115%, 75%);
    }

    .hukidashi.balloon4 {
        transform: translate(23%, 70%) !important;
    }

    .hukidashi.balloon2 > .hukidashi-in > p {
        transform: translateX(10%);
    }

    .hukidashi.balloon3 > .hukidashi-in > p {
        transform: translateX(10%);
    }

    .hukidashi.balloon4 > .hukidashi-in > p {
        transform: translateX(13%);
    }

    .hukidashi {
        width: 155px;
    }
}



/*=============== アバウト ===============*/

.xiumais {
    padding-top: 20rem;
}


.aboutex {
    font-size: 2rem;
    text-align: left;
}

.aboutex_f {
    line-height: 2;
    text-align:center;
}

.aboutcolom {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 2%;
    margin-bottom: 20rem;
}

    .aboutcolom > img /*シマウマ*/ {
        width: 40%;
        height: auto;
    }

.aboutlistti {
    margin: 5rem auto 1rem 2rem;
    display: flex;
}

    .aboutlistti img /*icon*/ {
        width: 5%;
        height: auto;
        margin-right: 1.5rem;
    }


.canspan {
    display: inline-block;
    min-width: 9.4rem;
    margin: 0.5rem;
    text-align: center;
    font-size: 2rem;
    line-height: 2.8rem;
    background-color: #f1f3f4;
    padding: 0.6rem 3.5%;
    border-radius: 2rem;
    box-sizing: border-box;
}

@media(max-width:1080px) {
    .aboutcolom {
        flex-direction: column;
    }

        .aboutcolom > img {
            width: 75%;
        }
}
/*=============== コンセプト ===============*/

.concept-title {
    padding-top: 10rem;
}

.conceptex {
    font-size: 2.3rem;
}

.circle {
    width: 200px;
    height: 200px;
    border: 3px solid gray;
    border-radius: 50%;
    align-content: center;
    margin: 15px;
}


.big {
    font-family: 'Yu Gothic';
    font-size: 4rem;
}


.conceptbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    margin-top: 5rem;
}

.concepth {
    font-weight: 900;
    font-size: 4.5rem;
    color: gray;
}

.conceptis {
    text-align: right;
}


.triangle {
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 0 0 0 118px;

}

.trianglebottom {
    display: flex;
    flex-direction: row-reverse;
}

.conceptbottom {
    font-size: 2rem;
    text-align: left;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.conceptbottomtitle {
    font-size: 2.75rem;
    background: linear-gradient(transparent 60%, #fff970 60%);
    border-radius: 80% 50% 60% 5%/80% 75% 15% 75%;
}

.center {
    text-align: center;
}

.concept {
    display: flex;
    text-align: left;
    /* margin-left: 0rem; */
    margin-right: auto;
    /* margin-bottom: -8rem; */
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}


.conceptimg {
    width: 2rem;
    height: auto;
}

.conceptcolom {
    display: flex;
    flex-flow: column;
    width: 85%;
    margin: 0 0 0 110px;
}

@media(max-width:1080px) {
    .conceptbox {
        margin-top: 0;
        flex-direction: column;
    }
}

@media(max-width:768px) {
    .conceptcolom {
        display: flex;
        flex-flow: column;
        width: 85%;
        margin: 0 0 0 0px;
    }
    .triangle {
        margin: 0 0 0 0px;
    }

    .circle {
        width: 130px;
        height: 130px;
    }

        .circle > .big {
            font-size: 4rem;
        }

    .conceptcolom {
        width: 100%;
    }
}

.securitybtn {
    font-size: 2.3rem;
}
/*================== FAQ ===============*/
#faq {
    font-size: 2rem;
}


.qa-title {
    padding-top: 20rem;
}

.qa-container {
    margin-bottom: 20rem;
}

.qa-006 {
    margin-bottom: 45px;
    border-bottom: 2px solid #d6dde3;
}

    .qa-006 summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 1em 2em 1em 3em;
        color: #333333;
        font-weight: 600;
        cursor: pointer;
    }

        .qa-006 summary::before,
        .qa-006 p::before {
            position: absolute;
            left: 1em;
            font-weight: 600;
            font-size: 1.3em;
        }

        .qa-006 summary::before {
            color: #75bbff;
            content: "Q";
        }

        .qa-006 summary::after {
            transform: translateY(-25%) rotate(45deg);
            width: 7px;
            height: 7px;
            margin-left: 10px;
            border-bottom: 3px solid #333333b3;
            border-right: 3px solid #333333b3;
            content: '';
            transition: transform .5s;
        }

    .qa-006[open] summary::after {
        transform: rotate(225deg);
    }

    .qa-006 p {
        position: relative;
        transform: translateY(-10px);
        opacity: 0;
        margin: 0;
        padding: .3em 3em 1.5em;
        color: #333;
        transition: transform .5s, opacity .5s;
    }

    .qa-006[open] p {
        transform: none;
        opacity: 1;
    }

    .qa-006 p::before {
        color: #ff8d8d;
        line-height: 1.2;
        content: "A";
    }
/*================== カンパニー ===============*/


.companypage {
    display: flex;
    flex-direction: row;
    text-align: center;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}

.dice {
    width: 20%;
    height: auto;
    margin: 27px;
    z-index:1;
}

.companytipc {
    text-align: right;
    margin-left: auto;
    padding-top: 5rem;
}

.companyimg {
    width: 45%;
    height: auto;
    transform: scale(-1, 1);
}

#company {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.company-container {
   position:relative;
    padding-bottom: 10rem;
}
.square {
    position:absolute;
    top:20px;
    left:40px;
    width:500px;
    height:500px;
    background-color: #d2d2d2;
    z-index:0;
}
.square2 {
    position: absolute;
    top: 100px;
    left: 240px;
    width: 800px;
    height: 500px;
    background-color: #f2f2f2;
    z-index: 0;
}
@media (max-width: 768px) {
    .square {
        display:none;
    }
    .square2 {
        display:none;
    }
    }

.companyex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-evenly;
}

.companylink {
    font-size: 5rem;
    width: 90%;
}

.button {
    font-size: 2.5rem;
    margin-top: 35px;
    border: 2px solid black;
    padding: 0.6rem 3.1rem;
    border-radius: 14rem;
    background-color: #f1f3f4;
    transition: all 0.3s 0s ease;
    text-align: center;
}

    .button:hover, a.button:hover {
        opacity: 0.5;
    }





@media screen and (max-width: 768px) {
    .companyti {
        writing-mode: horizontal-tb;
        font-size: 5px;
    }

    .companytipc {
        display: none;
    }

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


        .companyex > img {
            order: 1;
        }

    .company-container {
        background-color: #f2f2f2;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .companypage {
        flex-direction: column;
    }
}





.mail {
    color: black;
    font-family: Meiryo;
}
/*================== アクセス　===============*/

.box6 {
    margin: 2em auto;
    padding: 2em; /*内側の余白*/
    background: none; /*元のボックス背景色なし*/
    border: 1px solid #ccc; /*線の太さ・種類・色*/
    position: relative; /*配置（基準）*/
}

    .box6:after {
        background-color: #eee; /*ずらしたボックスの背景色*/
        border: none;
        content: '';
        position: absolute;
        top: 15px;
        right: 30px;
        width: 100%;
        height: 100%;
        z-index: -1;
    }


.access-title {
    padding-top: 15rem;
}


.accessex {
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accessta {
    padding: 10rem;
    font-size: 2.5rem;
    text-align: left;
}

@media(max-width:1080px) {
    .accessex {
        flex-direction: column;
    }

    .accessta {
        padding: 5rem;
        order: 1;
    }

    .access-map {
        order: 2;
        width: 100%;
    }
    .companytableth1 {
        padding-left: 2rem;
        height: 60px;
    }
}



/*================== リクルート===============*/
.recruitti {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin-left: 0;
    margin-right: auto;
    margin-top: 30px;
    transform: rotateY( 180deg );
}

.companyti h2 {
    margin: 0px;
}




/*================== コンタクト ===============*/

#contact {
    text-align: center;
    font-size: 2rem;
}

.contact-title {
    padding-top: 15rem;
}

.maillink img {
    width: 50px;
    height: auto;
}

.tellink img {
    width: 50px;
    height: auto;
}

.contactex p {
    letter-spacing: 2rem;
    font-size: 2rem;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    margin: auto;
    font-weight: bold;
}

.contact a {
    margin-bottom: 100px;
    font-weight: bold;
}

.form {
    display: flex;
    flex-direction: column;
}

    .form label {
        padding: 20px;
    }

.contactex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 700px;
    margin: 8rem auto;
}

.mailco:after {
    margin: 0 1rem;
    content: "";
    height: 100%;
    background-color: #000;
    position: absolute;
    left: 100%;
}

/*========= フッター ===============*/
.u-pcbottom {
    margin: 0;
    transform: translateY(4px);
}

footer {
    display: flex;
    flex-flow: column;
    font-size: 1.8rem;
    font-family: ;
    text-align: center;
}

footer .jp{
    font-size:1.8rem;
}

    footer a {
        text-decoration: none;
        letter-spacing: 0rem;
    }


.footerlogo {
    display: flex;
    flex-direction: column;
    height: auto;
    /* align-items: center; */
}

    .footerlogo img {
        width: 200px;
        height: auto;
        padding: 10px;
    }

@media(max-width:768px) {

    .footerlogo {
        display: flex;
        flex-direction: column;
        height: auto;
        align-items: center;
    }

        .footerlogo img {
            width: 50%;
            height: auto;
        }
}


svg {
    fill:#f2f2f2;
}
.footimg {
    text-align: center;
    align-items: center;
}
.footer {
  
    align-items: left;
    display: flex;
    text-align: left;
    flex-flow: column;
    padding: 20px;
    background-color: #f2f2f2;
}

@media(max-width:768px) {
    .footer {
        background-color: #f2f2f2;
        align-items: center;
        display: flex;
        flex-flow: column;
        padding: 50px;
    }
}


svg {
    vertical-align: bottom;
    fill: #f2f2f2;
}




    .tell {
        background-image: url(img/tel1.png);
        width: 30px;
        height: auto;
        background-repeat: no-repeat;
    }

        .tell:hover {
            background: url('img/tel.png');
            width: 30px;
            height: auto;
            background-repeat: no-repeat;
        }

    .mail {
        background: url('img/mail1.png');
        width: 30px;
        height: auto;
        background-repeat: no-repeat;
    }

    .mail1:hover {
        background: url('img/mail.png');
        width: 30px;
        height: auto;
        background-repeat: no-repeat;
    }

    @media(max-width:768px) {
        .footer {
            padding: 0 0 70px 0;
            text-align:center;
        }
    }
@media(max-width:768px) {
    .footermenu {
        display: none;
    }
}
.footercolumn {
    display: flex;
    flex-flow: column;
    flex-direction: row;
    padding:50px;
    position:relative;
}
.footerinfo {
    display: flex;
    flex-flow: column;
}


.footerinfo .jp {
    font-size: 16px;
    margin-left:20px;
    white-space: nowrap;
}

.footmenuset {
    right: 180px;
    padding-top: 59px;
    display: flex;
    flex-flow: column;
    flex-direction: row;
    margin-left: auto;
    margin-right:80px;
}

@media (max-width: 768px) {
    .footmenuset {
        right: auto;          /* PC用の right は無効化 */
        margin-right: auto;   /* 自動調整 */
        margin-left: auto;    /* 中央寄せにしたい場合 */
        padding-top: 20px;    /* スマホでは余白を小さめに */
    }
}

.footmenuset .nav-modal-menu {
    font-weight: bold;
    position: relative;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    list-style: none;
    gap: 30px;
}

.navifont {
    font-size: 13.5px;
}



/*お問い合わせ*/
.contactex {
    display: flex;
    gap: 40px; /* メールと電話の間隔 */
    align-items: center;
    font-family: "Noto Sans JP", sans-serif;
}

/* 共通リンクスタイル */
.contactex a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

/* アイコン画像 */
.contactex img {
    width: 40px; /* アイコンの大きさ */
    height: auto;
    margin-right: 8px;
}

/* メール部分 */
.mailco a {
    flex-direction: column; /* 縦に並べる */
    align-items: flex-start;
}

.mailco a span {
    font-size: 14px;
    margin-top: 4px;
}

.mailco a strong {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* 電話部分 */
/* 全体コンテナ */
.contact-block1 {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 50px;
}
.contact-block {
    gap: 40px;
    align-items: center;
    font-family: "Noto Sans JP", sans-serif;
}

/* 共通リンクスタイル */
.contact-block a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

/* アイコン画像 */
.contact-block img {
    width: 40px;
    height: auto;
    margin-right: 8px;
}

/* メール部分 */
.contact-mail a {
    flex-direction: column;
    align-items: flex-start;
}

.contact-mail span {
    font-size: 14px;
    margin-top: 4px;
}

.contact-mail strong {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* 電話部分 */
.contact-tel a {
    flex-direction: row;
    align-items: flex-start;
}

.contact-tel .contact-jp {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.contact-tel .contact-jp p {
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.contact-tel .contact-jp strong {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 4px;
}

.contact-tel {
    display: flex
;
gap: 10px;
height: 65px;
align-items: center;
}
.contact-mail {
    display: flex
;
gap: 10px;
height: 65px;
align-items: center;
}
.contact-mail span {
    margin-top: 0px;
}

@media(max-width:768px) {
    .contact-block1 {
        display: grid
    ;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
    }
    .contact-tel .contact-jp p {
        font-size: 14px;
        margin: 0;
        text-align: left;
    }
    .contact-block a {
        display: flex
    ;
        align-items: center;
        text-decoration: none;
        color: #000;
        font-size: 14px;
    }
    .contact-tel {
        display: flex
    ;
    gap: 10px;
    height: 55px;
    align-items: center;
    }
    .contact-mail {
        display: flex
    ;
    gap: 10px;
    height: 55px;
    align-items: center;
    }
    .contact-block img {
        width: 40px;
        height: auto;
        margin-right: 8px;
    }
}

.companytable {
    font-size: 18px;
    border: white;
    text-align: left;
    justify-items: flex-start;
    vertical-align: baseline;
    padding: 0.8rem;
}

    .companytable tr {
        padding: 5px;
    }

    .companytable th {
        vertical-align: top;
    }
    .companytable th,
    .companytable td {
         /* 固定の高さにする */
        vertical-align: text-top; /* 上下中央に揃える */
    }
    .companytable td {
        padding-left: 30px;
    }

    .companytableth {
        padding: 2rem!important;
    }
.companytableth1 {
        padding-left: 2rem;
        height: 80px;
    }
    .companytableth2 {
        height: 46px;
    }
    .contact-block-mail strong {
        margin-left: 59px;
    }
    .contact-block-tel strong {
        margin-left: 59px;
    }

@media (max-width: 768px) {
    .companytable {
        font-size: 12px;
        border: white;
        text-align: left;
        justify-items: flex-start;
        vertical-align: baseline;
        padding: 0.8rem;
    }
    .companytableth1 {
        padding-left: 2rem;
        height: 45px;
    }
    .companytableth2 {
        height: 23px;
    }    
}


    html { scroll-behavior: auto; }
body { overflow-anchor: none; }