:root{
    --btnColor-blue:#3f527b;
}

html {
    font-size: 62.5%; 
}

body{
    color: #333;
    font-size: 1.4rem;
    line-height: 4rem;
    font-family: "FP-ヒラギノUD角ゴ StdN W3", Meiryo, sans-serif;
    z-index: 0;
    position: relative;
    width: 100%;
    height:100%;
}

img{
    display: block;
    width:100%
}

a{
    text-decoration: none;
    color: #333;
}

b{
    font-family: "FP-ヒラギノUD角ゴ StdN W6";
    font-weight: bold;
}

a:visited{
    color: inherit;
}

 button{
    border: none;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 2rem;
    z-index: 20;
    transition: .35s;
    border-radius: 10px;
    padding:0 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

 button:hover{
    background: #555;
 }

  button::after{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../../images/btn_arrow.svg) 0 0 no-repeat;
    background-size: contain;
    margin-left: 5px;
  }

/*ヘッダ*/
header {
    position: relative; /* 子要素のabsolute配置の基準 */
    width: 100%;
    height: calc(100vh - 300px);
    overflow: hidden; /* 動画がはみ出さないように */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* ヘッダーコンテンツの色 */
    text-align: center;
    z-index: 10;
}

button.hamburger-menu{
    display: none;
}


.header-video {
    position: absolute; /* 親要素（.hero-header）を基準に配置 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画が要素全体をカバーするように拡大縮小 */
    z-index: -1; /* 他のコンテンツの下に表示 */
}

.header-content {
    position: relative; /* z-indexが-1の動画より手前に表示 */
    z-index: 1;
    padding: 20px;
    background-color: rgb(0 13 45 / 66%);
    width: 100%;
    height: 100%;
}

.header-content h1 {
    position: absolute;
    top: calc(100% * .45);
    left: 50%;
    transform: translate(-50% , -50%);
    font-size: 3em;
    margin-bottom: 10px;
    max-width: calc(100vw * .2);
}

.header-content ul {
    font-size: 1rem;
    display: flex;
    margin: calc(100vw * .043) auto 0;
    justify-content: center;
    align-items: center;
    width:100%;
}

.header-content ul li a{
    display: block;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-decoration: none;
    line-height: 41px;
    padding: 0 20px;
    transition: .35s;
}

.header-content ul li.jp a{
    background-color: rgba(0, 0, 0, 0.6);
}

.header-content ul li:first-of-type a{
    padding-left: 40px;
}
.header-content ul li:last-of-type a{
    padding-right: 40px;
}

.header-content ul li.end a{
    padding-right: 40px;
}

.header-content ul li.jp.first a{
    padding-left: 40px;
}

.header-content ul li a:hover{
    background-color: rgba(0, 0, 0, 1);
}

header .btnBox {
    position: absolute;
    bottom: calc(100vw * .047);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 700px;
}

header .btnBox button{
    background:var(--btnColor-blue);
    width: 325px;
    margin-bottom: 20px;
}

header .btnBox button:hover{
    filter: brightness(1.2);
}

header.company,
header.business,
header.knowledge,
header.news{
    height: calc(100vh - 300px);
}
/*
header.company .header-content h1,
header.business .header-content h1,
header.knowledge .header-content h1,
header.news .header-content h1 {
    top: 40%;
    max-width: calc(100vw * .2);
}

header.company .btnBox,
header.business .btnBox,
header.knowledge .btnBox,
header.news .btnBox {
    bottom: 70px;
    width: 100%;
    max-width: 700px;
    justify-content: space-between;
    flex-wrap: nowrap;
}
*/

header.company{
    background: url(../../images/header_bg_company.png) center center no-repeat;
    background-size: cover;
}

header.business{
    background: url(../../images/header_bg_business.png) center center no-repeat;
    background-size: cover;
}

header.knowledge{
    background: url(../../images/header_bg_knowledge.png) center center no-repeat;
    background-size: cover;
}

header.news{
    background: url(../../images/header_bg_news.png) center center no-repeat;
    background-size: cover;
}

header.privacy{
    background: url(../../images/header_bg_privacy.png) center center no-repeat;
    background-size: cover;
}


/*メイン*/

main{
    background: url(../../images/bg01.png)top right no-repeat;
    background-size: calc(100vw * .533);
}

main section{
    width: 100%;
    position: relative;
    overflow: hidden;
}

main section>div{
    max-width: 960px;
    margin: 0 auto;
    position:relative;
    padding: 0 10px;
}
main section div h2{
    margin:0 auto 40px;
    font-size: 4rem;
    font-weight: normal;
    text-align: center;
    letter-spacing: .5rem;
}

main section div h2.en{
    text-align: left;
    font-size: 4.2em;
}

main section div h3{
    margin:0;
    font-size: 3.2rem;
    font-weight: normal;
    text-align: left;
}

main section div h4{
    margin:0;
    font-size: 2.4rem;
    font-weight: normal;
    text-align: left;
}

main section:first-of-type{
    padding-top: 90px;
}

main section:last-of-type{
    background: url(../../images/bg03.png) bottom right no-repeat;
    background-size: calc(100vw * .46);
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode:lighten;
    padding-bottom: 240px;
}

/*top*/

main section.topnews{
    padding: 90px 0 112px;
}


main section.topnews .newsbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px 0 0;
    align-items: center;
}

main section.topnews .newsbox dl{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin: 0 0 50px;
}

main section.topnews .newsbox dl dt{
    width: 100px;
    margin: 0;

}

main section.topnews .newsbox dl dd{
    width:calc(100% - 120px);
    margin: 0;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

main section.topnews .newsbox button{
    width: 424px;
}

main section.topnews img.bg01{
    position: absolute;
    right: -300px;
    top: -100px;
    pointer-events: none;
    width: calc(100vw * .8);
}

main section.about{
    padding-bottom: 100px;
}

main section.about p {
    margin: 0;
}

main section.about .imagebox{
    max-width: 960px;
    display: flex;
    justify-content: space-between;
    margin:55px auto 50px;
}

main section.about .aboutBtn{
    margin: 0 auto;
    width: 416px;
}

main section.about .imagebox figure{
    width: 48%;
    padding:0;
    margin: 0;
    text-align: center;
}

main section.about .imagebox figure figcaption{
    font-weight: bold;
    font-size: 1.2rem;
    padding:0;
    margin: 0;
    font-family: "FP-ヒラギノUD角ゴ StdN W6";
}

main section.about img.bg02{
    position: absolute;
    left: -50px;
    top: -50px;
    pointer-events: none;
    width: calc(100vw * .5);
}

main section.service p{
    text-align: center;
}

main section.service .serviceBox{
    max-width:850px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin:40px auto 50px;
}

main section.service .serviceBox p{
    text-align: left;
    line-height: 2rem;
    font-size: 1.2rem;
}

main section.service .serviceBox img{
    width: calc(100% *.396);
    height: fit-content;
    margin:0 30px 0 0;
}

main section.service .serviceBox>div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


main section.service .serviceBtn{
    width: fit-content; 
    margin: auto auto 0;
}

main.top .bg02{
    width: calc(100vw * .45);
    position: absolute;
    top: 26%;
    pointer-events: none;
}

/*company*/


main.company section.leadtxt p{
    margin: 0 0 55px;
    text-align: center;
    line-height: 4rem;
}

main.company section.leadtxt img{
    width: 240px;
    margin: 0 auto 60px;
}

main.company section.leadtxt blockquote{
    line-height: 1.5rem;
    padding: 20px 20px;
    text-align: left;
    margin: 40px auto 120px;
    font-size: 1rem;
    background-color: #f4f4f4;
    max-width: 592px;
    color: #555;
}

main.company section.ceo .ceoBox{
    display: flex;
    margin: 30px auto 115px;
}

main.company section.ceo .ceoBox h4{
    margin-bottom:15px
}

main.company section.ceo .ceoBox figure{
    margin: 0 0 40px;
    padding:0;
    position: relative;
    width: 100%;
    min-width: 250px;
}

/*
main.company section.ceo .ceoBox figure .txt{
    position: absolute;
    max-width: 430px;
    left: 30px;
    bottom: 20px;
}
*/
main.company section.ceo .ceoBox div{
    margin: 0 0 0 20px;
}

main.company section.ceo .ceoBox p{
    line-height: 2rem;
}

main.company section.gaiyo{
    padding-bottom: 240px;
}

main.company section.gaiyo>div>dl{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-top: 1px solid rgb(0 0 0 / 20%);
    flex-wrap: wrap;
}

main.company section.gaiyo>div>dl>dt,
main.company section.gaiyo>div>dl>dd{
    border-bottom: 1px solid rgb(0 0 0 / 20%);
    min-height: 80px;
    text-align: left;
    margin: 0;
    padding: 0;
    line-height: 2rem;
}


main.company section.gaiyo>div>dl>dt{
    width: calc(100% - 450px);
    font-weight: bold;
    display: flex;
    align-items: center;
    letter-spacing: 1rem;
    font-family: "FP-ヒラギノUD角ゴ StdN W6";
}


main.company section.gaiyo>div>dl>dd{
    width: 450px;
    display: flex;
    align-items: center;
}

main.company section.gaiyo>div>dl>dd dl{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 250px;
}

main.company section.gaiyo>div>dl>dd dl dt{
    width: 16rem;
}


main.company section.gaiyo>div>dl>dd dl dt,
main.company section.gaiyo>div>dl>dd dl dd{
    line-height: 3rem;
    margin: 0;
}

main.company .bg02{
    width: calc(100vw * .55);
    position: absolute;
    top: 40%;
    pointer-events: none;
    left: -50px;
    z-index: -1;
}

/*business*/


main.business p{
    line-height: 2.5rem;
    padding:20px 0 30px;
}

main.business figcaption{
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: "FP-ヒラギノUD角ゴ StdN W6";
}

main.business section.leadtxt{
    padding: 90px 0 115px;
}

main.business section.leadtxt{
    line-height: 3rem;
}

main.business section.bs01,
main.business section.bs02,
main.business section.bs03,
main.business section.bs04,
main.business section.bs05{
    padding-bottom:115px;
}

main.business section.bs01 picture{
    width: calc(100% - 50px);
    padding: 25px;
    margin: 0;
}

main.business section h5,
main.news section h5{
    border-bottom:3px solid #dadada;
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 15px;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}

main.business section h5 span,
main.news section h5 span{
    display: block;
    text-align: center;
    width: 18rem;
    background: #213560;
    padding: 1px 0 0;
    margin: 0 0 -3px;
    line-height: 1;
}

main.business section.bs05 h3,
main.business section.bs06 h3{
    letter-spacing: .5rem;
} 

main.business section.bs05 h3 span,
main.business section.bs06 h3 span{
    font-size: 2.6rem;
    letter-spacing: normal;
}

main.business section div.serviceBox{
    display: grid;
    grid-template-columns: 300px 1fr;
  grid-template-areas:
    "A B"
    "A C";
    gap: 1rem;;
}



main.business section div.serviceBox ul li,
main.business section div.serviceBox ul p{
    line-height: 1.8;
    padding: 0;
    margin: 0;
}

main.business section div.serviceBox div.imgBox{
    width: calc(100% - 300px);
}

main.business section div.serviceBox ul p{
    font-size: 1.2rem;
}

main.business section div.serviceBox ul li:last-of-type{
    padding-top: 2rem;
}

main.business section div.serviceBox ul p.indent{
    padding-left: 1.5rem;
}


main.business section div.serviceBox .right-bottom {
    margin: 40px 0 0;
    max-width: fit-content;
    height: 45px;
}

  main.business section div.serviceBox .left-column {
    grid-area: A;
  }
  main.business section div.serviceBox .right-top {
    grid-area: B;
  }
  main.business section div.serviceBox .right-bottom {
    grid-area: C;
  }



main.business .bg02{
    width: calc(100vw * .55);
    position: absolute;
    top: 30%;
    pointer-events: none;
    left: -50px;
}

/* knowledge */

main.knowledge section.leadtxt{
    padding-bottom: 112px;
}

main.knowledge section.list div>ul{
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin-bottom: 40px;
}

main.knowledge section.list div>ul li{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #dadada;
}

main.knowledge section.list div>ul li figure{
    min-width: 235px;
    max-width: 235px;
    height: 235px;
    position: relative;
    padding: 0;
    margin: 0 20px 0 0;
}

main.knowledge section.list div>ul li figure img{
    width: 100%;
}

main.knowledge section.list div>ul li figure img.label{
    position: absolute;
    bottom: 10px;
    width: calc(100% - 30px);
    left: 50%;
    transform: translateX(-50%);
}

main.knowledge section.list div>ul li div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

main.knowledge section.list div>ul li div .title,
main.news section.list div.newsBox div .title{
    font-size: 2rem;
    margin:0 0 1rem 0;
    line-height: 1;
}

main.knowledge section.list div>ul li div .txt,
main.news section.list div.newsBox div .txt{
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}



main.knowledge section.list div>ul li div .btn{
    margin: auto 0 0 auto;
}

/*NEWS*/

main.news section.leadtxt{
    margin-bottom: 112px;
}

main.news section h5 span{
    width: 106px;
}

main.news section h5.cmp span{
    background-color: #213560;
}

main.news section h5.bsn span{
    background-color: #6d6d6d;
}

main.news section h5.knw span{
    background-color: #7A8DAF;
}

main.news section.list div>ul{
    margin-bottom: 70px;
}

main.news section.list li{
    margin-bottom: 50px;
}

main.news section.list div.newsBox{
    display: flex;
    justify-content: flex-start;
}

main.news section.list div.newsBox>div{
    width: calc(100% - 274px);
}

main.news section.list div.newsBox .btn{
    width: 254px;
    margin-left: 20px;
    display: flex;
    justify-content: end;
    align-items: end;
}

main.news section.list div.newsBox .btn button{
    width: 254px;
}


/*詳細ページ*/


.hero-header.detailPage{
    height: 357px;
    background: url(../../images/detail_header_bg.png) center center no-repeat;
    background-size: cover;
    background-color:unset;
}

.hero-header.detailPage .header-content {
    background-color: unset;
}

.hero-header.detailPage .header-content h1 {
    width: 230px;
}

header.hero-header.detailPage .btnBox{
    width: 100%;
    flex-wrap: nowrap;
    bottom: 20px;
}

header.hero-header.detailPage .btnBox button{
    margin: 0 10px 20px;
}

main.detail{
    background: none;
}

main.detail .title {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

main.detail .title span{
    font-size: 1.4rem;
    display: block;
}

main.detail .txt{
    font-size: 1.2rem;
    line-height: 2;
}

main.detail button{
    width: 289px;
    margin: 70px auto;
}

main.privacy {
    line-height: 2.5rem;
}

main.privacy li.title{
  font-weight: bold;
  font-family: "FP-ヒラギノUD角ゴ StdN W6";
  font-size: 1.6rem;
  margin:1rem 0 ;
}

main.privacy li.txt{
    padding-left: 1rem;
    margin: 0 0 3rem;
}

main.privacy li.txt ol li{
    list-style: decimal;
}


/*ページめくり*/

main section.list nav ul{
    display: flex;
    justify-content: space-evenly;
    width: 596px;
    margin: 0 auto;
}

main section.list nav ul li{
    width: 42px;
    height: 42px;
    border: 1px solid #dadada;
    font-size: 1.3rem;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 42px;
}

main section.list nav ul li:first-of-type,
main section.list nav ul li:last-of-type{
    width: 90px;
}

main section.list nav ul li a{
    width: 100%;
    line-height: 42px;
    text-align: center;
    padding: 0;
    margin: 0;
    display: block;
    transition: .35s;
    background: #fff;
}

main section.list nav ul li.disabled {
    background: #eee;
    color: #555;
}


main section.list nav ul li.ellipsis {
    border: none;
    width: auto;
}

main section.list nav ul li a:hover,
main section.list nav ul li.active {
    background: #333;
    color: #fff;
}


/*パンくず*/

main>nav{
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.breadcrumb-list {
  display: flex; 
  list-style: none;
  padding: 10px;
  margin: 0 auto;
  font-size: 1.2rem; 
  color: #666;
  justify-content: flex-start;
}


.breadcrumb-item {
  display: flex;
  align-items: center;
}


.breadcrumb-item a {
  text-decoration: none;
  color: #333; 
  white-space: nowrap; 
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}


.breadcrumb-item:not(:last-child)::after {
  content: " > ";
  margin: 0 8px;
  color: #999;
}

.breadcrumb-item.active {
  color: #333;
  font-weight: bold;
  font-family: "FP-ヒラギノUD角ゴ StdN W6";
}



/*フッター*/

footer{
    background: url(../../images/footer_top_bg.png)top right no-repeat;
    background-size: calc(100vw * 0.413);
    background-color:#000 ;
    color: #fff;
    position: relative;
}


footer section{
    color: #fff;
    max-width: 800px;
    margin: 0 auto 150px;
    padding: 0 10px;
}

footer video{
    width: 100%;
}

footer .footerMenubox {
    max-width: 738px;
    width: 100%;
    margin: 0 0 auto 0;
}

footer section .logo{
    max-width: 290px;
    width: 100%;
    padding: 100px 0 65px 0;
}

footer ul.footerMenu {
    display: flex;
    justify-content:space-between;
    margin-bottom: 90px;
}

footer ul.footerMenu>li{
    text-align: left;
}

footer ul.footerMenu ul {
    margin: 0;
    padding: 0;
}

footer ul.footerMenu ul li.title{
    font-weight: bold;
    padding: 0 0 3rem 0;
    font-family: "FP-ヒラギノUD角ゴ StdN W6";
}

footer ul.footerMenu ul li{
    line-height: 2;
    padding: 0 1rem 0 0;
}


footer a{
    font-size: 1rem;
    color: #fff;
}


footer .access{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

footer .access>div{
    width: 50%;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

footer .access div img{
    margin-bottom: 20px;
    max-width: 250px;
}

footer .access div b{
    font-size: 2.8rem;
    font-weight: normal;
    margin: 0;
    display: block;
}

footer .access div ul{
    text-align: left;
    margin: 40px 0;
}

footer .access div ul li{
    padding: 5px 0;
}

footer .access div ul li a{
    font-size: 1.2rem;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
}

footer .access div ul li a::before{
    content: "";
    display: block;
    width: 16px;
    height: 5px;
    margin-right: 10px;
    background: url(../../images/line_link.png) 0 0 no-repeat;
    background-size: contain;
}

footer .access div button{
    width: 274px;
    background:var(--btnColor-blue);
    border: none;
    font-size: 1.8rem;
    transition: .35s;
}

footer .access div button:hover{
    filter: brightness(1.2);
}

footer section .copy {
    font-size: 1rem;
    letter-spacing: normal;
    text-align:left;
    margin: auto 0 0 0;
    line-height: 1;
    padding: 0;
}

footer iframe {
    max-width: 350px;
    height: 350px;
    width:100%;
    margin-right: 10px;
}

.forPC{
    display: block;
}
.forSP{
    display: none;
}

/*レスポンシブ
****************************************************************************************************************************************************************************************************************************************************/


@media screen and ( max-width:767px) {

.forPC{
    display: none;
}
.forSP{
    display: block;
}


body{
    line-height: 3rem;
    font-size: 1.2rem;
}

body.no-scroll {
    overflow: hidden;
}

 button{
    font-size: 1.8rem;
    padding:0 10px;
 }

/* -------------------------------------- */
/* ハンバーガーボタンの基本スタイル */
/* -------------------------------------- */


 button.hamburger-menu{
    color: #fff;
    line-height:normal;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    width: 60px; /* ボタン全体の幅 */
    height: 50px; /* ボタン全体の高さ */
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-radius: unset;
    cursor: pointer;
    z-index: 1000; /* 最前面に表示 */
    position: fixed;
    top: 10px;
    right: 10px;
}

 button.hamburger-menu:hover{
    background: unset;
 }

  button.hamburger-menu::after{
    display: none;
  }

/* 3本の線のスタイル */
button.hamburger-menu .line {
    display: block;
    height: 1px;
    background-color: #fff; /* 線の色 */
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
/* ★★★ここから調整★★★ */


button.hamburger-menu .line:nth-child(1) {
  width: 100%; /* 長く */
}

button.hamburger-menu .line:nth-child(2) {
  width: 70%; 
  align-self: right;
}

button.hamburger-menu .line:nth-child(3) {
  opacity: 0; /* 透明にして非表示 */
  visibility: hidden; /* スクリーンリーダーからも隠す */
  height: 0; /* 高さを0にしてスペースも消す */
}


button.hamburger-menu.is-open .line:nth-child(1) {
  width: 100%; 
  transform: translateY(4px) rotate(45deg); 
}

button.hamburger-menu.is-open .line:nth-child(2) {
  width: 100%; 
  transform: translateY(-7px) rotate(-45deg); 
}

button.hamburger-menu.is-open .line:nth-child(3) {
  opacity: 0;
  visibility: hidden;
  height: 0;
}

header {
    height: 100vh; 
}


.header-content ul {
    position: fixed;
    top: -900px;
    left: 0;
    visibility: hidden;
    z-index: 100;
}

.header-content ul.is-open {
    top: 0;
    visibility: visible;
    padding-top: 80px;
    font-size: 1.6rem;
    margin: 0;
    flex-direction: column;
    background-color: rgb(0 0 0 / 30%);
    height: 100vh;
    justify-content: flex-start


}

.header-content ul li {
    width: 100%;

}

.header-content ul li a,
.header-content ul li:first-of-type a,
.header-content ul li:last-of-type a,
.header-content ul li.end a,
.header-content ul li.first a{
    margin: 0;
    padding: 0;
}

.header-content h1 {
    max-width: calc(100vw * .5);
}


header.company,
header.business,
header.knowledge,
header.news{
    height: 100vh; 
    max-height: 100%;
}

header.company .header-content h1,
header.business .header-content h1,
header.knowledge .header-content h1,
header.news .header-content h1 {
    top: 40%;
    max-width: calc(100vw * .5);
}

header.company .btnBox,
header.business .btnBox,
header.knowledge .btnBox,
header.news .btnBox {
    bottom: 70px;
    width: 100%;
    max-width: 700px;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .btnBox {
    flex-direction: column;
    flex-wrap: wrap;
    width: 400px;
    align-content: center;
}

main {
    background-size: calc(100vw * 1);
}

main section:last-of-type{
    background-size: calc(100vw * 1);
    padding-bottom: 100px;
}

main section>div {
    padding: 0 30px;
    z-index: 1;
    position: relative;
}

main section div h2{
    margin: 0 auto 20px;
    text-align: left;
    font-size: 2.6rem;
    letter-spacing: normal;
}
main section.topnews .newsbox dl{
    justify-content: flex-start;
    margin: 0 0 30px;
}
main section.topnews .newsbox dl dt{
    width: 90px;
}

main section.topnews .newsbox dl dd {
    width: calc(100% - 90px);
}

main section.topnews .newsbox{
    padding: 0;
}

main section.about p br{
    display: none;
}

main section.about .imagebox{
    margin: 30px auto;
    flex-direction: column;
}

main section.about .imagebox figure {
    width: 100%;
    margin-bottom: 20px;
}

main section.about .aboutBtn{
    max-width: 416px;
    width: calc(100% - 60px);
}

main section.service p{
    text-align: left;
}

main section.service .serviceBox{
    margin: 40px auto 50px;
    flex-direction: column;
}
main section.service .serviceBox img {
    width: 100%;
    height: fit-content;
    margin: 0 0 20px 0;
}

main section.service .serviceBtn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}


/*company*/
main.company section.leadtxt p {
    margin: 0 0 20px;
    text-align: left;
    line-height: 3rem;
}

main.company section.leadtxt blockquote{
    line-height: 2rem;
}
main.company section.ceo .ceoBox figure .txt {
    max-width: 95%;
    left: 10px; 
    bottom: 10px;
}

main.company section.gaiyo>div>dl>dt{
    width: 100px;
}

main.company section.gaiyo>div>dl>dd{
    width: calc(100% - 100px);
    justify-content: flex-end;
}


main.company section.ceo .ceoBox{
    flex-direction: column;
}


/* Business */
main.business section div.serviceBox{
    grid-template-areas:
      "B"
      "A"
      "C";
    grid-template-columns: 1fr;
}

main.business section div.serviceBox .right-bottom{
    margin: 30px auto 0;
    padding: 0 30px;
    height: auto;
}

/*KNOWLEDGE*/

main.knowledge section.leadtxt{
    padding-bottom: 50px;
}

main.knowledge section.list div>ul li{
    flex-direction: column;
}

main.knowledge section.list div>ul li figure{
    width: 100%;
    height: auto;
    min-width: auto;
    max-width: none;
    margin-bottom: 10px;
}

main.knowledge section.list div>ul li div .title, 
main.news section.list div.newsBox div .title{
    line-height: 3rem;
}

main.knowledge section.list div>ul li div .btn{
    margin: 10px auto 0;
}

main.knowledge section.list div>ul li div .btn button{
    padding: 0 30px;
}

/*NEWS*/

main.news section.leadtxt{
    margin-bottom: 50px;
}

main.news section.list div.newsBox{
    flex-direction: column;
}

main.news section.list div.newsBox>div{
    width: 100%;
}

main.news section.list div.newsBox .btn{
    margin: 20px auto 0;
}

header.hero-header.detailPage .btnBox button{
    margin: 0 auto 20px;
}

.header-content h1 {
    top: calc(100% * .3);
}

/*ページネーション*/

main section.list nav ul{
    justify-content: center;
    width: auto;
}

main section.list nav ul li:first-of-type{
    margin: 0 20px 0 0;
    width: 60px;
}

main section.list nav ul li:last-of-type{
    margin: 0 0 0 20px;
    width: 60px;
}

/*フッター*/

footer{
    background-size: calc(100vw * .6);
}

footer section{
    padding:0 30px;
}


footer section .logo {
    width: calc(100vw * 0.347);
    padding: 50px 0;
}

footer ul.footerMenu {
    margin-bottom: 50px;
    flex-wrap: wrap;
}

footer ul.footerMenu>li {
    width: 50%;
    margin-bottom: 30px;
}

footer ul.footerMenu ul li.title{
    padding: 0 0 2rem 0;
}

footer iframe{
    margin: 20px 0;
    max-width: 350px;
    width: 100%;
}

footer .access {
    flex-direction: column;
}

footer .access>div{
    font-size: 1.2rem;
    width: 100%;
}

footer .access img.forSP{
    max-width: 350px;
    width: 100%;
}

footer section .copy {
    margin: 50px 0 0 0;
}

/*footer .access div ul {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
}*/

footer .access div button{
    max-width: 400px;
    width: 100%;
}

}

@media screen and ( max-width:375px) {

}