html {
    /* scroll-behavior: auto !important; */
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: auto;
    };
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "游ゴシック Medium", "Yu Gothic", YuGothic, YuGothicMedium, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

h2 {
    position: relative;
    display: inline-block;
}

.no-deco{
    text-decoration: none;
    display: inline-block;
}

h2:before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;/*線の上下位置*/
    display: inline-block;
    width: 60px;/*線の長さ*/
    height: 5px;/*線の太さ*/
    transform: translateX(-50%);/*位置調整*/
    background-color: darkblue;/*線の色*/
}

.list-design {
    position: relative;
    display: inline-block;
    padding: 0 55px;
}

.list-design:before {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #707070;
}

.list-design:before {
    left: 0;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

.container-fluid{
    max-width: 1100px;
}

.head-tel{
    font-family: "m-plus-2p", sans-serif;
    font-weight: 900;
    font-style: normal;
    color: white !important;
    font-size: 1.6rem !important;
    background-color: brown !important;
}
@media not screen and (min-width: 992px){
    .head-tel {
        font-family: "m-plus-2p", sans-serif;
        font-weight: 900;
        font-style: normal;
        color: brown !important;
        font-size: 1.6rem !important;
        background-color: transparent !important;
    }
}

.text-small {
    font-size: 14px;
}

.breadcrumb-item a{
    color: black;
    text-decoration: none;
    transition: .3s;
}

.breadcrumb-item a:hover{
    color: #033592
}

.ion--ios-home {
    display: inline-block;
    width: 1em;
    height: 1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M258.5 104.1c-1.5-1.2-3.5-1.2-5 0l-156 124.8c-.9.8-1.5 1.9-1.5 3.1v230c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V322c0-1.1.9-2 2-2h92c1.1 0 2 .9 2 2v140c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V232c0-1.2-.6-2.4-1.5-3.1l-156-124.8z' fill='%23000'/%3E%3Cpath d='M458.7 204.2l-189-151.4C265.9 49.7 261 48 256 48s-9.9 1.7-13.7 4.8L160 119.7V77.5c0-1.1-.9-2-2-2H98c-1.1 0-2 .9-2 2v92.2l-42.7 35.1c-3.1 2.5-5.1 6.2-5.3 10.2-.2 4 1.3 7.9 4.1 10.7 2.6 2.6 6.1 4.1 9.9 4.1 3.2 0 6.3-1.1 8.8-3.1l183.9-148c.5-.4.9-.4 1.3-.4s.8.1 1.3.4l183.9 147.4c2.5 2 5.6 3.1 8.8 3.1 3.7 0 7.2-1.4 9.9-4.1 2.9-2.8 4.4-6.7 4.2-10.7-.3-4-2.2-7.7-5.4-10.2z' fill='%23000'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    vertical-align: -0.1rem;
  }

.bi--telephone-fill {
    display: inline-block;
    width: 1em;
    height: 1em;
    font-size: 0.8em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.68.68 0 0 0 .178.643l2.457 2.457a.68.68 0 0 0 .644.178l2.189-.547a1.75 1.75 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.6 18.6 0 0 1-7.01-4.42a18.6 18.6 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877z'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

#pagetitle h1{
    font-size: 1.7rem;
}

#pagetitle2 h1{
    font-size: 1.7rem;
}

@media not screen and (min-width:992px){
    #pagetitle2 h1{
        font-size: 1.7rem;
        padding-left: 50px;
    }
}

.title{
    text-align: center;
}

.top img{
    width: 100%;
    height: auto;
    background-image: url(../image/akbmetal_top.jpg);
    background-repeat: no-repeat;
}

.top{
    position: relative;/*親要素にrelative*/
}

.logo__mobile{
    display: none;
 }
 
 /*---------------------------------
  以下レスポンシブデザイン（モバイル）で表示させたいCSS
 --------------------------------- */
 @media (max-width: 599px) {
    .logo__mobile{
    width: 300px;
    height: 70px;
    display: block;
    }
    
    .logo__pc{
    display: none;
 }
 
 }

/*.top img {
    height: 65vh;
    object-fit: cover;
}*/

.top-text {
    max-inline-size: 1400px;
    margin-inline: auto;
    padding-inline: 40px;
}

@media (max-width:575.98px) {
    .top-text {
        padding-inline: 20px;
    }
}

.top3{
    position: absolute;
    color: #fff;
    font-size: 1.8rem;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 2px 0 4px 4px;/*文字が折り返される場合*/
    text-shadow: 2px 2px 0px black;
    font-weight: bold;
    line-height: 100%;
    bottom: 59%;
}

.top3 span {
    border: 1px solid white;
    padding: 0 3.6rem;
}

@media not screen and (min-width:992px) {
    .top3{
        font-size: 1.2rem;
        font-weight: bolder;
    }

    .top3 span {
        padding: 0 2.5rem;
    }
}

.top1{
    position: absolute;
    color: #fff;
    font-size: 3.5rem;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 2px 0 4px 4px;/*文字が折り返される場合*/
    text-shadow: 2px 2px 0px black;
    font-weight: bold;
    line-height: 100%;
    bottom: 44%;
}

.top1 .top1bgred {
    background-color: brown;
    display: inline-block;
    line-height: 100%;
    padding: 2px 5px 4px;
}

@media not screen and (min-width:992px) {
    .top1{
        color: #fff;
        font-size: 1.6rem;
        margin: 0!important;/*文字がずれている場合や*/
        padding: 0!important;/*文字が折り返される場合*/
        text-shadow: 1px 1px 0px black;
        font-weight: bold;
    }
}

.top2{
    position: absolute;
    color: #fff;
    font-size: 1.8rem;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 3px 5px 5px;/*文字が折り返される場合*/
    text-shadow: 1px 2px 0px black;
    font-weight: bolder;
    line-height: 100%;
    bottom: 36%;
}

@media not screen and (min-width:992px) {
    .top2{
        color: #fff;
        font-size: 1.2rem;
        margin: 0!important;/*文字がずれている場合や*/
        padding: 0!important;/*文字が折り返される場合*/
        font-weight: bolder;
    }
}

@media  (max-width:575.98px) {
    .top3{
        bottom: 32%;
        text-shadow: 1px 1px 0px black;
    }
    .top1{
        font-size: 2.2rem;
        bottom: 20%;
    }
    .top2{
        bottom: 8%;
        line-height: 120%;
        text-shadow: 1px 1px 0px black;
    }

}

/* フェードイン用アニメーション */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.top3, .top1, .top2 {
    opacity: 0; 
    animation: fadeIn 1s forwards; 
}

.top3 { animation-delay: 0.2s; }
.top1 { animation-delay: 0.6s; }
.top2 { animation-delay: 1s; }

/**/

.sub-menu {
    display: none;
}

nav.navbar{
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nav-item:nth-child(3) .nav-link:not(.dropdown-toggle) {
    display: none;
}

.nav-item:nth-child(3) .nav-link.dropdown-toggle {
    display: block;
}

.dropdown-menu {
    margin: 0 2rem;
    border: unset;
}

@media (min-width:992px) {
    .navbar-expand-lg .navbar-nav .nav-item .nav-link {
        padding: 1.5rem 2rem;
    }

    .navbar-expand-lg .navbar-nav .nav-item:last-child .nav-link {
        padding: 1.5rem 2.25rem;
    }

    .nav-item .nav-link::before {
        position: absolute;
        content: '';
        height: 3px;
        width: 0%;
        bottom: 1rem;
        left: 0;
        background-color: var(--main-color);
        transition: 0.3s;
    }

    .nav-item:last-child .nav-link::after {
        background-color: transparent;
    }

    .nav-item:hover .nav-link::after,
    .nav-item.nav-active .nav-link::after {
        width: 100%;
    }

    .nav-item:nth-child(3) .nav-link:not(.dropdown-toggle) {
        display: block;
    }

    .nav-item:nth-child(3) .nav-link.nav-link.dropdown-toggle {
        display: none;
    }

    .sub-menu {
        display: block;
        position: absolute;
        /* width: 100vw; */
        padding: 1rem;
        background-color: black;
        right: 0;
        left: 0;
        opacity: 0;
        transition: 0.5s;
        pointer-events: none;
        z-index: 998;
    }

    .sub-menu ul {
        display: flex;
        list-style: none;
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem 0;
        gap: 0.5rem;
    }

    .sub-menu ul li {
        position: relative;
        width: calc(100% / 5);
        text-align: center;
        background-color: white;
        padding: 0.25rem;
    }

    .sub-menu ul li img {
        width: 100%;
        height: 5rem;
        object-fit: cover;
        filter: brightness(80%);
    }

    .sub-menu ul li a {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-decoration: none;
        font-weight: bold;
        color: white;
        line-height: 5.5rem;
        z-index: 999;
        transition: 0.3s;
    }

    .sub-menu ul li a:hover {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .nav-item:hover .sub-menu {
        opacity: 1;
        pointer-events: auto;
    }
}

.box{
    margin: auto;
    height: 43px;
    background: #033592;
    color: #FFF;
    font-size: 25px;
    font-weight: bold;
    position: absolute;
}
.scrapItem{
    margin-left: auto !important;
    margin-right: auto !important;
}

.scrapItem a img:hover{
    opacity: 0.7;
    transition: 0.3s;
}

@media (max-width:767.98px) {
    .sp-width {
        width:100%;
    }
}

.scrap{
    /* width: 20rem !important; */
    margin-left: auto;
    margin-right: auto;
}

.scrap h2 {
    padding-top: 104px;
    margin-top: -104px;
}

.scrap2{
    width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.explanation{
    font-style: normal;
    font-size: 18.5px;
}

@media(max-width:769px){
    .explanation{
        font-size: 1.1rem;
    }
}

@media not screen and (min-width:992px){
    .submargin{
        font-size: 1.1rem;
    }
}

.annotation{
    font-size: 1rem;
    color: #323232;
}

.newsdummy{
    padding-bottom: 200px;
    padding-top: 200px;
}

.footer{
    background-color: darkblue;
}

.footer .container{
    margin-right: auto;
    margin-left: auto;
}

.footer a{
    color: white;
    text-decoration: underline;
    padding: 10px 0px 10px 0px;
    font-size: 1rem;
}

.footer p {
    color: white;
    font-size: 1.1rem;
}

.footer address {
    color: white;
    font-size: 1.1rem;
}

.footer .copyright {
    margin-bottom: 2px;
    font-size: 14px;
}

.akb {
    color: white;
    font-size: 1.65rem !important;
    letter-spacing: 0.7px;
    margin: 0;
    font-weight: bold;
    line-height: 1.3;
}

@media (max-width:575.98px) {
    .akb {
        font-size: 1.3rem !important;
    }
}

.footer img{
    width: 61%;
}
@media screen and (max-width: 991px) {
    .footer img {
       width: 70%;
   }
}@media screen and (max-width: 480px) {
        .footer img {
            width: 100%;
        }
    }

.copyright{
    border-top: 1px solid white;
}

.buyItem{
    text-decoration: none;
    height: 25%;
    top: 50%;
}

.gobuy{
    float: right;
    color: darkblue;
    text-decoration: none;
    font-size: 1.3rem;
    transition: 0.5s;
    border-bottom: 3px solid darkblue;
}

.gobuy:hover{
    color: #677bbe;
    border-bottom: 3px solid #677bbe;
    transition: 0.2s;
}

.allow{
    font-size: 1.25rem;
    display: inline-block; 
    transition: transform 0.3s ease;
}

a:hover .allow {
    transform: translateX(4.5px); /* 右に5px動かす */
}

.top-caption{
    font-size: 2.85rem;
    font-weight: bold;
    color: rgb(189, 29, 34);
    text-shadow: 1px 1px 0 white, -1px -1px 0 white,
  -1px 1px 0 white,  1px -1px 0 white,
  1px 0 0 white, -1px  0 0 white,
  0 1px 0 white,  0 -1px 0 white;
    position: relative;
}

.head-border{
    position: relative;
    display: inline-block;
    padding: 0 55px;
}

.head-border:before,
.head-border:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #033592;
}

.head-border:before {
    left: 0;
}

.head-border:after {
    right: 0;
}

.top-caption-3{
    font-size: 2.85rem;
    font-weight: bold;
    color: darkblue;
    text-shadow: 1px 1px 0 white, -1px -1px 0 white,
  -1px 1px 0 white,  1px -1px 0 white,
  1px 0 0 white, -1px  0 0 white,
  0 1px 0 white,  0 -1px 0 white;
}

@media (max-width:575px){
    .top-caption{
        font-size:1.8rem;
    }
    .top-caption-3{
        font-size:1.8rem;
    }
}

.top-items p{
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: darkblue;
    padding: 8px;
    display: block;
    border-radius: 15px;
}
@media (max-width:575px){
    .top-items p{
        font-size: 1rem;
    }
}

#buy a p{
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width:90%;
    text-align: center;
}

#company-overview table tbody tr{
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    font-size: 1.1rem;
}

#company-overview table tbody tr th{
    width: 200px;
}

@media (max-width:540px){
    #company-overview table tbody tr th{
        width:100px;
    }
}

#company-overview table tbody tr td{
    padding: 1.5rem 0;
    font-size: 1.1rem;
}


.company-mission p{
    font-size: 18px;
}

.contact-text {
    font-size: 17.5px;
}

@media not screen and (min-width:992px){
    .company-mission p,.contact-text {
        font-size: 17px;
    }
}

/* contact_form */
.test1{
    padding: 5% 10%;
    margin-top: 7%;
    margin-bottom: 5%;
}

#contact-form table{
    width: 1100px;
    height: 400px;
}

#contact-form table tbody tr td{
    color: #033592;
    font-weight: bold;
    height: 50px;
}

#contact-form h2{
    font-size: 1.5rem;
    color: #033592;
    line-height: 2.1rem;
}


#contact-form h2::before{
    content: none;
}


#contact-form h3{
    font-size: 1.4rem;
    line-height: 2.1rem;
}

@media (max-width:575.98px) {
    #contact-form h2{
        font-size: 1.3rem;
    }
    #contact-form h3 {
        font-size: 1.2rem;
    }
}

.rounded-box {
    width: 40px;
    height: 25px;
    border-radius: 15px;
    background-color: #033592;
    color: white;
    font-size: 10px;
    text-decoration: none;
    margin-left: 40px;
}
#comment{
    width: 475px;
    height: 200px;
    resize: none;
}
#button2{
    width: 240px;
    height: 45px;
    background: #012362;
    color: #FFF;
}
.item_back{
    width: 249px;
    height: 223px;
    margin: 0 auto;
    top: 50%;
    font-size: 1.3rem !important;
    font-weight: bold;
    background-color: #142C59;
}

@media not screen and (min-width:992px){
    .item_back{
        height: 123px;
    }
}

section.catalog .tab__menu-item {
    white-space: nowrap;
    float: left;
    background-color: #9b9b9b;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-top: #fff 1px solid;
    cursor: pointer;
    transition: all .3s;
  }

  section.catalog .tab__menu-item button{
    color: #fff;
  }

  section.catalog .tab__menu-item:hover {
    background-color: #111F4C;
    cursor: pointer;
  }

  ul .active{
    content: '';
    display: inline-block;
    bottom: 40px;
    left: 0;
     width: 10%;
    height: 2px;
    background-color: #111F4C;
  }

  section.catalog ul{
    margin: 0 auto !important;
  }

  section.catalog .tab__menu-item {
    border-right: solid #fff 2px;
    border-left: solid #fff 2px;
    border-bottom: solid #fff 2px;
  }

  .buy-tab{
    display: inline-block;
    color: #111F4C;
    background-color: #d9d9d9;
    font-size: 1.1rem;
  }
  .buy-tab:hover {
    color: #2c3f7e;
    background-color: #8ebbff;
    cursor: pointer;
  }

  .tab__panel-box001{
    background-color: rgb(205, 246, 246);
    display: none;
  }
  .tab__panel-box002{
    background-color: rgb(249 227 243);
    display: none;
  }
  .tab__panel-box003{
    background-color: rgb(200, 248, 195);
    display: none;
  }
  .is-panel-show{
    display: block;
  }

  .btn-normal {
    display: inline-block;
    background: #111F4C;
    color: #fff;
    padding: .5rem 3rem;
    position: relative;
    border: 1px solid #111F4C;
  }

  section.news-main .btn-center {
    margin: 0 auto;
  }

  .marker{
    color: rgb(189, 29, 34);
    background: linear-gradient(transparent 60%, #FDE001 60%);
  }

  section.catalog .tab_item {
    white-space: nowrap;
    width: calc(100%/6);
    float: left;
    background-color: #d9d9d9;
    color: #111F4C;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: .5rem 0rem;
    border-top: #fff 1px solid;
  }
  
  section.catalog .tab_item:hover {
    opacity: 0.75;
  }

  section.catalog .tab_item {
    border-right: solid #fff 2px;
    border-left: solid #fff 2px;
    border-bottom: solid #fff 2px;
  }

  @media (max-width: 1000px) {
    section.catalog .tab_item {
      width: calc(100%/3);
    }
  }


  .tab-area .tab_item {
    cursor: pointer;
    list-style: none;
  }

  .active-tab {
    background-color: #111F4C !important;
    color: #fff !important;
  }

  section.catalog .tab_item {
    white-space: nowrap;
    width: calc(100%/3);
    float: left;
    background-color: #d9d9d9;
    color: #111F4C;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: .5rem 0rem;
    border-top: #fff 1px solid;
  }

  section.catalog .tab_item:hover {
    opacity: 0.75;
  }

  @media (max-width: 1000px) {
    section.catalog .tab_item {
      width: calc(100%/1);
    }
  }

  .tab-area {
    padding: 0;
  }

  .tab-area .tab_item {
    cursor: pointer;
    list-style: none;
  }

  section.catalog .tab_item {
    border-right: solid #fff 2px;
    border-left: solid #fff 2px;
    border-bottom: solid #fff 2px;
  }
  .content-area .tab_content {
    display: none;
  }
  
  .content-area .tab_content.show {
    display: block;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }


  /* この下追加した項目*/
  .nav-item .nav-link::after {
    position: absolute;
    content: '';
    height: 3px;
    width: 0%;
    bottom: 0.1rem;
    left: 0;
    background-color: #012362;
    transition: 0.3s;
}

.sub-top {
    height: 220px;
    background-image: url(../image/subtop_mob.jpg);
    background-size: cover;
}

@media (min-width: 768px){
    .sub-top{
    height: 410px;
    background-image: url(../image/top_img.png);
    background-size: cover;
    }
   }

.subcon {
    background-color: #f5f5f5;
    padding-top: 5px;
}

.subcon2 {
    padding-top: 10px;
    padding-bottom: 8px;
}

.bcbackground {
    background-color:#f5f5f5;
    display: inline-block;
    width: 100%;
}

.makersenter {
    text-align: center;
    display: block;
}

.makerleft {
    text-align: left;
}

.picturemargin img{
    width: 47%;
    
}

.bluefont {
    color: #033592;
}

.bluefont p {
    font-size: 25px;
}

@media(max-width:575.98px) {
    .bluefont p {
        font-size: 20px;
    }
}

.button {
    display: block;
    padding: 1rem;
    background: #033592;
    color: #FFF;
    text-align: center;
    letter-spacing: .1rem;
    text-decoration: none;
}

#top-go-info button{
    display: block;
    width: 20rem;
    padding: 1rem;
    background: #033592;
    color: #FFF;
    text-align: center;
    letter-spacing: .1rem;
    text-decoration: none;
    font-size: 1.1rem;
    border: none;
}

@media (max-width:575.98px) {
    #top-go-info button{
        font-size: 1.05rem;
    }
}

#top-go-info button:hover{
    background-color:#6175b9;
    transition:0.3s;
}

.button:hover{
    background-color:#6175b9;
    transition:0.3s;
}

@media(max-width:769px){
    .button {
        display: block;
        padding: 1rem;
        background: #033592;
        color: #FFF;
        text-align: center;
        letter-spacing: .1rem;
        text-decoration: none;
    }
    .button :hover{
        background-color:#6175b9;
        transition:0.3s;
    }
}

.subconbackground {
    background-color: #f5f5f5;
    width: 680px;
    padding: 30px 160px;
    margin-bottom: 70px;
    display: inline-block;
}

@media screen and (max-width:770px) {
    .subconbackground {
        background-color: #f5f5f5;
        width: 90%;
        padding: 30px 40px;
        margin-bottom: 60px;
    }
}

.sub-top h1 {
    padding: 5px 50px 5px 100px;
    display:inline-block;
}

@media not screen and (min-width:992px){
    .sub-top h1 {
        padding: 5px 50px 5px 60px;
        display:inline-block;
    }
}

.arrow {
    display:flex;
    max-width: 700px;
}



@media (max-width:770px){
    .arrow img{
        width: 80%;
    }
}

.arrow2 {
    background: url(../image/arrow_1.png) no-repeat right 50%;
}

@media (min-width:770.98px) and (max-width:991.98px){
    .arrow {
        max-width: 900px;
    }
    .arrow img {
        width: 80%;
    }
}
.consultation-item {
    width: 26vw;
    padding-right: 42px;
    padding-left: 5px;
}

@media screen and (max-width:770px) {
    .consultation-item {
        width: 30vw;
        padding-right: 40px;
        padding-left: 10px;
    }
}

.submargin {
    margin-top: 70px;
    margin-bottom: 20px;
}

.subpadding {
    padding-bottom: 70px;
}
/* この上追加した項目*/

.subunderinquiry a:hover{
    background-color: #6175b9;
    transition: 0.3s;

}

.gmap-iframe{
    aspect-ratio: 16 / 9;
    max-width: 1000px;
    width: 100%;
    height: auto;
}

#privacypolicy p{
    font-size: 1.1rem;
}

.bg-secondary {
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .bg-secondary {
        font-size: 1.1rem;
    }
}

.scrap-text{
    height: 9rem;
    background-color: rgb(219 219 219);
    padding: 6px 9px;
}

.scrap-text2{
    height: 6.3rem;
    background-color: rgb(219 219 219);
    padding: 6px 9px;
}

.scrap-text3{
    height: 7.5rem;
    background-color: rgb(219 219 219);
    padding: 6px 9px;
}

@media not screen  and (min-width:992px){
    .scrap-text {
        height: 8rem;
        font-size: 1.1rem;
    }
    .scrap-text2{
        height: 5.7rem;
        font-size: 1.1rem;
    }
    .scrap-text3 {
        height: 6.8rem;
        font-size: 1.1rem;
    }
}

@media screen and (min-width:992px) { 
 .tc {
    text-align: center;
 }
}

.nav-item:nth-child(3) .nav-link:not(.dropdown-toggle) {
    display: block;
}

.sub-top2 {
    height: 220px;
    background-image: url(../image/subtop_mob2.jpg);
    background-size: cover;
}

@media (min-width: 768px){
    .sub-top2{
    height: 410px;
    background-image: url(../image/top_img2.png);
    background-size: cover;
    }
}

.sub-top2 h1 {
    padding: 5px 50px 4px 100px;
    display: inline-block;
}

.contc-tel {
    margin-left: 10px;
}

.cont-text {
    font-size: 17.5px;
}

@media not screen and (min-width:992px){
    .sub-top2 h1 {
        padding: 5px 50px 5px 60px;
        display:inline-block;
    }
    .contc-tel {
        margin-left: 0;
    }
}

@media screen and (max-width: 992px){
    .contc{
        text-align: center;
    }
}

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

@media screen and (min-width: 707px){
    .conbr{
      display: none;
    }
  }

  @media screen and (min-width: 600px){
    .sp{
      display: none;
    }
    .spbr{
      display: none;
    }
  }

@media screen and (min-width: 505px){
    .conbr2{
      display: none;
    }
  }
  
  .long_word{
    white-space: nowrap;
  }

  @media not screen and (min-width: 992px){
    .pcbr {
        display: none;
    }
}

.link-none {
    pointer-events: none;
 }

 .link-none a{
    color:black;
    text-decoration: none;
 }
 
 .menu{
    padding-left: 0rem !important;
 }

 @media not screen and (min-width:992px) {
    .pt-sm-4 {
      padding-top: 24px !important; /* pt-4 の値 */
    }
  }
  @media (min-width: 768px) and (max-width: 992px) {
    .scrapItem a {
        flex: 0 0 50%; /* 2カラム表示 */
        max-width: 50%;
    }
}

.news-context {
    font-size: 17.5px;
}

@media (max-width:992px) {
    .news-context {
        font-size: 17px;
    }
}

/* iPad Air専用のレイアウト調整 */
@media (min-width: 820px) and (max-width: 1024px) {
    .scrapItem a {
        flex: 0 0 50%; /* 2カラム表示 */
        max-width: 50%;
        padding-left: 3rem;
    }
}

/* デフォルトのスタイル */
.text-explain {
    padding-top: 2rem;
    padding-bottom: 5rem;
    text-align: left;
}

/* iPad向けのメディアクエリ (768px ～ 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .text-explain {
        padding-top: 1rem;
        padding-left: 1rem; /* 左の余白を調整 */
        padding-bottom: 3rem;
        padding-right: 0;
    }
}

/* iPad Air向けのメディアクエリ (820px ～ 1180px) */
@media (min-width: 820px) and (max-width: 1180px) {
    .text-explain {
        padding-top: 1.2rem;
        padding-left: 3rem; /* iPad Air用に左の余白を微調整 */
        padding-bottom: 3rem;
        padding-right: 0;
    }
}
.size{
    font-size: 18px;
}

@media not screen and (min-width:992px){
    .size{
        font-size: 1.1rem;
    }
}

@media (max-width: 576px){
    .navbar-brand img{
       width: 13em;
    }
}



/*フェードイン*/
.fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 0.8s ease;
}

.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadein-bottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* トップに戻るボタン */

.c-page-top {
    aspect-ratio: 1;
    position: fixed;
    bottom: 4rem;
    right: 4rem;
    width: 4.5rem;
    background-color: brown;
    opacity: 0;
    visibility: hidden;
    z-index: 200;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 767.98px) {
    .c-page-top {
        bottom: 2rem;
        right: 2rem;
        width: 4rem;
    }
}

.c-page-top.is-show {
    opacity: 1;
    visibility: visible;
}

.c-page-top__button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.c-page-top__button::after {
            aspect-ratio: 1;
            background-color: currentColor;
            color: white;
            content: '';
            inline-size: 40px;
            inset-block-end: 19px;
            inset-inline-end: 17px;
            mask-image: url('../image/icon/chevron-right.svg');
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: contain;
            position: absolute;
            transition: color v.2s ease-in-out;
            z-index: 1;
            transform: rotate(-90deg);

            @media (max-width: 767.98px) {
                inline-size: 30px;
                inset-block-end: 18px;
                inset-inline-end: 18px;
            }
        }

@media (hover: hover) {
    .c-page-top:hover {
        opacity: 0.8;
    }
}

.text-2line {
    line-height: 1.35;
}

@media (max-width:575.98px) {
    .text-2line {
        line-height: 1.15;
    }
}