/*
Theme Name: 株式会社Altus-Five
Theme URI: https://xxx.com/
Description: This is my original theme.
*/

body {
    margin: 0 auto;
     font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
    color: #222;
    font-size: 16px;
}
.wrap,.wrapper,.content {
    max-width: 1157px;
    width: 100%;
    margin: 0 auto;
}
img {
    max-width: 100%;
}
p {
    line-height: 1.5;
    text-align: justify;
   letter-spacing: 1.2px;
}
a {
    text-decoration: none;
    color: #222;
    cursor:pointer;
}
a:visited {
    color: #222;
}
a:hover {
    opacity: 0.5;
}
.pc-dn {
    display: none;
}
.sp-dn {
    display: block;
}
/*カラム設定*/

section {
    padding: 6em 0;
    z-index: 9;
}
/*タイトル*/
.wrap h1{
     font-size: 60px;
    font-family: "Poppins", sans-serif;
  font-weight: 500;
    color: #222;
    border-bottom: 3px solid #EAEE13;
    letter-spacing: 1.8px;   
        padding-top:1em;
    margin: 0;
}
.wrap h1 span{
    font-size: 70px;
}
.title1{
    font-size: 20px;
    margin-bottom: 4em;
}
.wrap h2{
    font-size: 60px;
    font-family: "Poppins", sans-serif;
  font-weight: 600;
    margin:auto;
    color: #222;
    text-align: center;
  position:relative;
}
.wrap h2 span{
    font-size: 70px;
}
.wrap h2::after{
  content:'';
  width: 240px;
  height: 3px;
  background-color:#EAEE13;
  position:absolute;
  bottom: -2px;
  left:50%;
  transform: translateX(-50%)
}
.title{
    font-size: 18px;
    text-align: center;
}
/*リンクボタン設定*/

a.btn{
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 18px;
    padding: 0.3em;
    padding-left: 0.8em;
    position: relative;
    color: #E31A1C;
    z-index: 1;
    margin: 0;
    float: right;
     font-family: "Poppins", sans-serif;
}
/* サイドバー用の縮小ボタン */
.side-category .subcat-read-more a.btn.read-more-link{ 
  font-size:12px; 
  padding:0.2em 0.5em 0.2em 0.6em; 
  float:none; 
  display:inline-flex; 
  margin-top:4px; 
}
.side-category .subcat-read-more a.btn.read-more-link .sankaku{ 
  border-left-width:3px; 
  border-top-width:3px; 
  border-bottom-width:3px; 
  margin-top:0; 
}
/* 右端寄せ */
.side-category .subcat-read-more { 
  text-align:right; 
  list-style:none; 
  margin-top:4px; 
}
a.btn::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border: 1px solid #E31A1C;
    transform: scaleY(0.8) perspective(.8em) rotateX(357deg);
    transform-origin: bottom left;
    border-radius: 4px;
}
.btn .sankaku{
    width: 0;
    height: 0;
    border-left: 4px solid #E31A1C;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-top: 0.1em;
}
/*reCHAPTCHA*/

.grecaptcha-badge {
    visibility: hidden;
}

/* サムネイル 16:9 ユーティリティ
    グローバル比率ユーティリティ: 16:9 を維持し、メディクエリのブレークポイントで高さを制限します */
.ratio-16-9 {
    display: flex;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 画像はボックスを埋める（デフォルト） */
.ratio-16-9 img {
    /* width: 103px; */
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/*============================
mobile style
============================*/

@media screen and (max-width: 1170px) {
    .wrap,.wrapper,.content {
        max-width: 100%;
        width: auto;
        margin: 0 auto;
        padding: 0 1em;
    }
    
}

/* サムネイル 16:9 ユーティリティ
    ブレークポイント: デスクトップ >=1001, タブレット 769-1000, スマホ <=768
*/
@media screen and (min-width: 1001px) {
    .ratio-16-9 { max-height: 360px; }
}

@media screen and (max-width: 1000px) {
    section {
        padding: 4em 0;
    }
    .wrap h1{
        font-size: 42px;
    }
    .wrap h1 span{
        font-size: 49px;
    }
    .title1,.title{
        font-size: 14px;
    }
    a.btn{
        margin-right: 1em;
        font-size: 13px;
        padding-top: 0.4em;
    }
    .wrap h2{
        font-size: 42px;
    }
    .wrap h2 span{
        font-size: 49px;
    }
    .wrap h2::after {
        width: 168px;
        height: 2px;
    }

    .ratio-16-9 { max-height: 240px; }

    /* サムネイルをカードの左上に固定幅で配置して本文を回り込ませる */
    .box .img {
        float: left;
        width: 160px;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        margin: 0 1rem 0.6rem 0; /* 右側にスペースを確保 */
        display: block;
    }

    .box .img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        object-position: center;
    }

    .box { overflow: visible; }
    .box::after { content: ""; display: table; clear: both; }
}

@media screen and (max-width: 768px) {
    .ratio-16-9 { max-height: 180px; }

    .box .img {
        width: 120px; /* モバイルではやや小さめ */
        margin: 0 0.8rem 0.6rem 0; /* 右側にスペースを確保 */
    }
}

/*----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
共通エリア
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
----------------------------------------------------------*/


/* -------------------- */
/* header
/* -------------------- */
#top-head h2{
    font-size: 0;
}
#top-head .logo img {
    width: 200px;
    margin: auto;
}
/* 追加: デスクトップ時 ロゴとナビの間隔 */
@media screen and (min-width:1001px){
  #top-head .logo{margin-right:40px;display:flex;align-items:center;}
  #top-head .logo img{margin:0;}
}

#top-head {
    width: 100%;
    height: 95px;
    display: flex;
    position: fixed;
    z-index: 99999;
    background: #fff;
}

#top-head .inner {
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#top-head .inner h1 {
    margin: 0;
    padding: 0.5em 0;
    text-align: center;
}


/*nav style*/

#top-head ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#top-head ul li {
    display: flex;
    align-content: center;
}

.gnavi__lists {
    display: flex;
    justify-content: center;
    gap: 2em;
    align-items: center;
}




/*ヘッダーボタン*/
#top-head ul li.header-btn{
    display: inline-flex;
    justify-content: center;
    gap: 1em;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
        background: #E4C016;
    padding: 0.3em 1.5em;
    border-radius: 50px;
}
#top-head ul li.header-btn a{
    color: #fff;
}
/*nav link style*/

#top-head nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #222;
    font-size: 18px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.5;
}

#top-head nav ul li a span{
    font-size: 24px;
}
#nav_toggle {
    display: none;
}


/*ヘッダー分下に下げたい時

.header-height {
    opacity: 1;
    background: #FFF;
    height: 160px;
}
*/

/*============================
mobile style
============================*/


/*カラム落ち防止*/

@media screen and (max-width:1000px) {
   #top-head.scrollbk  #nav_toggle span,#top-head.open  #nav_toggle span{
     background: #222;
    }
    .is-fixed {
        overflow: hidden;
    }
    #top-head .logo img {
        width: 144px;
        position: relative;
        padding: 10%;
        z-index: 99;
    }
    /*hamburger menu style*/
    #nav_toggle {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        top: 4px;
        z-index: 100;
    }
    #top-head ul li.header-btn{
        display: block;
        font-weight: 500;
    font-size: 18px;
    background: #fff;
    padding: 0.3em 1.5em;
    border-radius: 50px;
    }
    #top-head ul li.header-btn img{
        display: none;
    }
    #top-head nav ul li a,#top-head ul li.header-btn a{
        padding: 0.5em 0;
        border-left: none;
        color: #222;
    }
    #nav_toggle div {
        position: relative;
    }
    .toggle_bk {
        width: 60px;
        height: 100%;
        background: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sp-dn gnavi__wrap {
        overflow: auto;
    }
    /*hamburger menu close style*/
    #nav_toggle span {
        display: block;
        height: 2px;
        background: #222;
        position: absolute;
        width: 100%;
        left: 0;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
    }
    #nav_toggle span:nth-child(1) {
        top: 0px;
    }
    #nav_toggle span:nth-child(2) {
        top: 10px;
    }
    #nav_toggle span:nth-child(3) {
        top: 20px;
    }
    /*hamburger menu open style*/
    .open #nav_toggle span:nth-child(1) {
        top: 10px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav_toggle span:nth-child(3) {
        top: 10px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    /*nav style*/
    #top-head .inner {
        width: 98%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
    }
    #top-head nav {
        display: none;
        position: fixed;
        top: 0;
        padding-top: 60px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 99;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
         pointer-events: none;
    }
    #top-head.open nav{
        display: block;
        animation: fadeIn 0.2s ease 0s 1 normal backwards;
    }
    @keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
    #top-head nav ul {
        display: block;
        width: 90%;
        margin: 2em auto;
        padding: 0;
        margin-top: 0em;
        pointer-events: auto;
        overflow-y: scroll;
        height: 100vh;
    }
    #top-head nav ul img.img {
        width: 79px;
    }
    #top-head nav ul img.img2{
    margin-top: 2em;
    margin-bottom: 7em;
                margin-bottom: 10em;
    }
    #top-head nav ul li {
        text-align: center;
        padding: 0 1em;
        display: block;
    }
    #top-head nav ul li p {
        margin: 0.5em 0;
        font-size: 15px;
    }
    #top-head nav ul li .contact-box a.btn2 {
        justify-content: center;
        margin: 1em 0;
    }
    #top-head nav .sns {
        display: flex;
        justify-content: center;
    }
    #top-head nav .sns img {
        width: 50%;
    }
    #top-head nav .sns a {
        text-align: center;
    }
    /*nav link style*/
    #top-head nav ul li a {
        display: inline-block;
    }
    /*ボタン*/
    #top-head ul li.header-btn2 a,#top-head.scrollbk ul li.header-btn2 a {
    display: flex;
        width: 309px;
    justify-content: center;
    gap: 0.5em;
    align-items: center;
    padding: 1.5em 0;
    background: linear-gradient(130deg, #ffffff00 0%, #ffffff00 4%, #094E8F 0%, #094E8F 96%, #ffffff00 96%, #ffffff00 100%);
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
}
    #top-head ul li.header-btn2 span.yajirusi{
    color: #fff;
}
.hexagon-2 {
        width: 309px;
        height: 80px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5em;
        color: #0a4e90;
        margin-bottom: 0.5em;
        margin-top: 2em;
    font-size: 18px;
    }
.hexagon-2 div:nth-of-type(1) {
    width: 294px;
    left: 15px;
}
.hexagon-2 div:nth-of-type(2) {
    width: 294px;
}
.hexagon-2 div:nth-of-type(3) {
    transform: rotate(136deg);
    width: 20px;
    left: 264px;
    top: 4px;
}
.hexagon-2 div:nth-of-type(4) {
    transform: rotate(135deg);
    width: 21px;
    left: -31px;
    top: -60px;
}
.hexagon-2 div:nth-of-type(5) {
    width: 65px;
    top: 7px;
    left: 7px;
}
.hexagon-2 div:nth-of-type(6) {
    width: 65px;
    left: 237px;
    top: -7px;
}
    #top-head ul li.header-btn span.yajirusi {
    color: #0a4e90;
    }
.hexagon-2 div {
    width: 309px;
    height: 80px;
    border-top: 1px solid #0a4e8f;
    border-bottom: 1px solid #0a4e8f;
    box-sizing: border-box;
    }
    #top-head {
        height: 60px;
    }
    .header-home {
        opacity: 1;
        background: #ffffff;
        height: 90px;
    }
    .toggle_title {
        position: relative;
        padding: 15px;
        cursor: pointer;
        font-size: 20px;
    }
    .toggle_btn {
        position: absolute;
        top: 50%;
        right: 119px;
        transform: translateY(-50%);
        display: block;
        width: 50px;
        height: 29px;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        border-radius: 50%;
    }
    .toggle_btn:after {
        content: '';
        position: absolute;
        top: 34%;
        right: 9px;
        transform: rotate(135deg);
        width: 10px;
        height: 10px;
        border-top: 2px solid #37C2D7;
        border-right: 2px solid #37C2D7;
    }
    .toggle_title.selected .toggle_btn:after {
        content: '';
        position: absolute;
        top: 43%;
        right: 5px;
        transform: rotate(318deg);
        width: 5px;
        height: 5px;
        border-top: 2px solid #37C2D7;
        border-right: 2px solid #37C2D7;
    }
    .toggle_contents dd {
        display: none;
        margin: 0;
    }
    .toggle_contents dd ul {
        margin: 0!important;
        width: 100% !important;
    }
    .toggle_contents dd li {
        border-bottom: none !important;
        width: 100%;
        padding: 1em 0 !important;
        font-size: 16px !important;
        margin-left: 2em;
    }
    /*翻訳*/
    #top-head .language{
        display: none;
    }
    #top-head section.yoyaku {
    position: static;
    background: #fff;
    display: flex;
    width: auto;
    justify-content: center;
    margin: 2em;
    border: 1px solid #BD934F;
    margin-top: 0;
}
    #top-head section.yoyaku h2{
        font-size: 24px;
    }
    #top-head section.yoyaku a img {
    width: 30px;
}
    #top-head .language-sp{
            display: flex;
    gap: 2em;
    justify-content: space-between;
    width: 85%;
    margin: 0 auto;
    }
    #top-head .language-sp a{
    border: 1px solid #f2f2f2;
    padding: 0.5em 1em;
}
}

/* -------------------- */


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

section.top-footer{
    padding:0;
}

section.top-footer .wrap{
    padding-top: 6em;
}
section.top-footer h2{
    text-align: center;
    font-size: 160px;
    color: #08B15B;
    line-height: 1;
    margin-bottom: 0.5em;
}
section.top-footer h2::after {
    content: '';
    width: 75%;
    height: 10px;
    background-color: #EAEE13;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
section.top-footer h2 span{
    font-size: 180px;
}
section.top-footer p{
    color: #222;
    text-align: center;
    font-size: 15px;
    margin-top: 2em;
}
section.top-footer .contact-btn{
    display: inline-flex;
    gap: 0.5em;
    align-items: center;
    background: #08B15B;
    color: #fff;
    padding: 1em 6em;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .1);
    position: relative;
}
section.top-footer .contact-btn .sankaku{
    width: 0;
    height: 0;
    border-left: 7px solid #fff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin-top: 0.1em;
    position: absolute;
    right: 2em;
}
section.top-footer .link{
    text-align: center;
        margin-top: 5em;
}
section.top-footer img{
    width: 285px;
        margin-bottom: -2px;
	vertical-align: bottom;
}
section.bottom-footer .content{
    display: flex;
    justify-content: space-between;
}
section.bottom-footer .content .logo img{
    width: 180px;
}
section.bottom-footer .content .txt{
    font-size: 14px;
    color: #fff;
    padding-top: 2em;
}
section.bottom-footer .content .txt a{
     color: #fff;
}
section.bottom-footer{
    background: #08B15B;
    text-align: center;
        padding-bottom: 0;
}
.bottom-footer nav{
    display: flex;
}
.bottom-footer nav ul li{
    list-style: none;
        text-align: right;
}
.bottom-footer nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    font-size: 18px;
    text-align: right;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.5;
}

.bottom-footer nav ul li a span{
    font-size: 24px;
}


.footer-txt {
    font-size: 14px;
    color: #fff;
    padding: 1.5em 0;
    margin-top: 8em
}

.bottom-footer nav ul li.privacy a{
font-size: 14px;
    position: relative;
    top: 5em;
    border-bottom: 1px solid #fff;
        padding-bottom: 1px;
}
/*============================
mobile style
============================*/

@media screen and (max-width: 1000px) {
    .footer .wrap {
        margin: 0;
    }
    .footer .logo img {
        width: 80%;
    }
    .footer .flex {
        display: block;
    }
    .footer-top {
    width: 100%;
}
    .footer-bottom {
        padding: 1em 0 0 0;
    }
    .footer-nav a {
        padding: 0 1.5em;
        margin-bottom: 1.5em;
    }
    .footer-nav {
        margin: 3em 0;
    }
    .footer .policy {
        margin-top: 3em;
    }
    #top-head .inner h1 {
        padding: 0;
        display: flex;
    }
    h1 {
        margin: 0;
    }
    .footer-bottom,
    .footer-bottom nav,
    .footer-bottom {
        display: block;
    }
    .footer-bottom .footer-content {
        display: block;
        margin-top: 2em;
    }
    .footer-bottom nav ul {
        display: block;
        margin-bottom: 4em;
        margin-top: 1em;
    }
       .footer-bottom nav ul li {
        width: auto;
        display: block;
        padding: 1em;
    }
    .footer-bottom .contact-box>div {
        flex: 1;
    }
    .footer-bottom a.btn2 {
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: bold;
    }
   .footer-txt {
        text-align: center;
        margin-top: 2em;
        font-size: 13px;
        font-weight: 300;
    }
    section.bottom-contact h3,
    section.bottom-contact .content p {
        font-size: 14px;
    }
    section.bottom-contact .content {
        margin-top: 2em;
    }
    section.bottom-contact .content .box {
        display: block;
    }
    section.bottom-contact .content .box>div {
        width: auto;
        font-size: 22px;
    }
    section.bottom-contact .content .box>div a {
        margin-bottom: 0.5em;
        gap: 0;
    }
    section.bottom-contact .content .box .tel {
        font-size: 27px;
    }
    section.top-footer h2{
        font-size: 52px;
    }
section.top-footer h2 span {
    font-size: 62px;
}
section.top-footer h2::after {
    height: 3px;
    bottom: -6px;
}
section.top-footer .wrap {
    padding-top: 3em;
    text-align: left;
}
section.top-footer p {
        font-size: 12px;
        font-weight: normal;
        margin-top: 1.5em;
        line-height: 2;
    }
section.top-footer .link {
    text-align: center;
    margin-top: 2em;
}
    section.top-footer img {
    width: 114px;
    margin-bottom: -4px;
    margin-top: 2em;
}
    section.top-footer .flex {
    display: block;
    }
    section.top-footer .tel a p {
    font-size: 36px;
    }
    section.top-footer .tel a {
    justify-content: center;
    }
    section.top-footer .tel p {
    margin-top: -12px;
    }
    section.top-footer {
    text-align: center;
    }
    section.top-footer .tel p {
        margin-top: -12px;
        margin-bottom: 2em;
    }
    .bottom-footer nav ul {
    margin: 0;
        padding: 0;
}
.bottom-footer nav ul li {
        padding: 0;
        margin-bottom: 0.5em;
        width: auto;
        text-align: center;
    }
    .bottom-footer nav ul li a {
    font-size: 14px;
    font-weight: 300;
}
    section.top-footer .btn a {
    font-size: 16px;
}
    section.bottom-footer .content {
    display: block;
    text-align: center;
    }
section.bottom-footer .content .txt {
    font-size: 12px;
    padding: 2em 3em;
    display: inline-block;
}
.bottom-footer nav {
    display: block;
    margin: 3em 0;
    }
.bottom-footer nav ul li.privacy a {
    font-size: 12px;
    position: relative;
    top: 1em;
    text-align: center;
}
}


/*============================
mobile style
============================*/

@media screen and (max-width: 1000px) {
    body {
        font-size: 14px;
    }
    .wrap,.wrapper,.content {
        max-width: 100%;
        width: auto;
        margin: 0 auto;
        padding: 0 1.5em;
    }
    .pc-dn {
        display: block;
    }
    .sp-dn {
        display: none;
    }
}
.pc-br {
        display: block;
    }
    .sp-br {
        display: none;
    }
@media screen and (max-width: 768px) {
    .pc-br {
        display: none;
    }
    .sp-br {
        display: block;
    }
}

/* add 202505 */
section.top-footer img{
    width: 160px;
}
@media screen and (max-width: 1000px) {
    section.top-footer img{
        width: 100px;
    }
}

/*============================
20250620 add
============================*/

.pmark {
    padding-left: 3rem;
    display: flex;
    align-items: end;
    padding-bottom: 3rem;
}
@media (max-width: 1000px) {
.pmark {
    padding-left: 0;
    justify-content: center;
    padding-top: 3rem;
}
}

/* --- Footer and remaining global styles continue --- */

/* ==================================================
   Header Shadow (refined) 20250810B
   ================================================== */
#top-head {box-shadow:0 1px 2px rgba(0,0,0,.06),0 3px 6px -2px rgba(0,0,0,.06); position:fixed;}
#top-head::after {content:"";position:absolute;left:0;right:0;bottom:0;height:3px;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,0)0%,rgba(0,0,0,.12)45%,rgba(0,0,0,.12)55%,rgba(0,0,0,0)100%);opacity:.35;}
@media (max-width:1000px){#top-head {box-shadow:0 1px 3px rgba(0,0,0,.12);}#top-head::after{height:2px;}}
/* Optional accent line (comment out if not needed) */
/* #top-head::before {content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,#EAEE13,#08B15B);opacity:.55;} */

/* Back link unified (service / works / generic single) */
.back a {display:inline-flex;align-items:center;gap:.45em;font-size:14px;font-weight:500;text-decoration:none;}
.back .sankaku {width:0;height:0;border-right:7px solid #08B15B;border-top:7px solid transparent;border-bottom:7px solid transparent;line-height:0;}
.back a:hover {opacity:.7;}
/* If we ever need a character arrow fallback: */
/* .back a::before {content:"\25C0";font-size:.8em;line-height:1;position:relative;top:-1px;color:#08B15B;} */
.single-back-out .back a {display:inline-flex;align-items:center;font-size:14px;}
