*{
    box-sizing: content-box;
}
.article-header{
    display: none;
}
.one-column #main{
    max-width: 100%;
}
.page:not(.no-bg) #inner-content, .wrap {
    width: 100%;
}
#introduction, #google_reviews, #event_slider, #jirei, #Compatible_area, #column, #news, #company{
    width: 1180px;
    margin: 0 auto;
}
.entry-content {
    padding-left: 0; 
    padding-right: 0;
    padding-top: 0;
}
/* スライダー--------------------- */
.wp-block-sgb-splide .js-sng-splide .splide__track{
    padding-left: 0!important;
    padding-right: 0!important;
    margin: 0 auto;
}
.entry-content .wp-block-sgb-splide .splide__pagination {
    bottom: -25px;
}

.entry-content p{
    margin-bottom: 28px;
}
/* スライダーここまで---------------------*/

/* イントロエリア ---------------------*/
.introduction_tl, .google_reviews_tl, .event_slider_tl, .jirei_tl, .column_tl, .news_tl, .company_tl{
    margin: 70px auto auto;
    text-align: center;
}

.introduction_tl #introduction_h1,
.google_reviews_tl #google_reviews_h2,
.event_slider_tl #event_slider_h2,
.jirei_tl #jirei_h2,
.column_tl #column_h2,
.news_tl #news_h2,
.company_tl #company_h2{
    font-size: 32px;
    margin: 0 0 5px 0;
}

.h1_sab, .h2_sab{
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.introduction_box{
    max-height: 600px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.introduction_box p {
    font-size: 16px;
    text-align: center;
    line-height: 23px;
    margin: 7px;
}

/* ロゴ */
.anniversary_logo {
    max-width: 300px;
    min-width: 150px;
    text-align: center;
}

/* イントロエリアここまで-----------------------------*/


/* リンクボタンアイコン----------------------------------- */
.button006 a {
    background: #008B43;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: min(40px, 4vw) auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button006 a:before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: -2em;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 12px;
    height: 2px;
    background-color: #b1e4c0;
    transition: 0.3s;
}
.button006 a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2em;
    transform: translateY(-50%);
    width: 60px;
    height: 2px;
    background-color: #b1e4c0;
    transition: 0.3s;
}
.button006 a:hover:before, .button006 a:hover:after {
    right: -2.5em;
}
.button006 a:hover {
    background: #83deaf;
    color: #008B43;
}
/* リンクボタンアイコンここまで----------------------------------- */
/* backgroundエリア--------------------- */

/* 全体レイアウト */
.slider-section {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    max-height: 100%;
}

/* テキストボックス */
.introduction_text {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.anniversary_logo {
    text-align: center;
}

.anniversary_logo img {
    max-width: 260px;
    width: 100%;
}

/* 背景スライダー行 */
.slider-rows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px; /* 3行 × 200px */
    z-index: 1;
    pointer-events: none;
}

.slider-row {
    position: absolute;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.slider-row.right { top: 0;}
.slider-row.left  { top: 205px;}
.slider-row.right:nth-of-type(3) { top: 410px;}
.slider-row.left:nth-of-type(4) { top: 615px;}

/* 背景画像レイヤー */
.inner-row {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: var(--bg);
    background-repeat: repeat-x;
    background-size: auto 100%;
    animation: slideRight 150s linear infinite alternate;
    opacity: 0.9;
    z-index: 0;
}

/* 左向きスライド用クラス */
.slider-row.left .inner-row {
    animation-name: slideLeft;
}

/* アニメーション定義 */
@keyframes slideRight {
    from { background-position: 0 0; }
    to   { background-position: 1600px 0; } /* ← strip画像の幅に合わせる */
}

@keyframes slideLeft {
    from { background-position: 1600px 0; }
    to   { background-position: 0 0; }
}

/* 口コミエリア -------------------------------* */
.WidgetBackground__Wrapper-sc-386b5057-1{
    padding: 0 !important;
}
/* 相談会イベントエリア --------------------------* */

.makers_area {
    margin-bottom: 4rem;
} 
.grid-cols{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    line-height: 100%;
}
.makers_group{
    border-width: 2px;
    padding: 1rem;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    border-radius: 0.5rem;
}
.border-green{
    border: solid rgb(229 231 235);
}
.border-green:hover {
    border: solid rgb(34, 139, 67);
}
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.meker_img{
    display: flex;
    align-items: center;
    height: 8rem;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
}
.m_btn_box{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: rgb(255 255 255);
    border-radius: 0.25rem;
    padding: 15px;
}
.lixil_cr{
    background-color: rgb(226 107 13);
}
.toto_cr{
    background-color: rgb(0 85 158);
}
.cleanup_cr{
    background-color: rgb(215 11 36);
}
.takara_cr{
    background-color: rgb(8 86 160);
}
.m_btn_box:hover{
    opacity: 0.5;
}
.makers_btn a i{
    position: relative;
    left: 20px;
}
.text_makers{
    color: rgb(55 65 81);
    line-height: 1.625;
    font-size: 0.75rem;
    text-align: left;
    margin-bottom: 1rem;
}
.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.leading-relaxed {
    line-height: 1.625;
}
.text-xs {
    font-size: 0.75rem;
}
.text-left {
    text-align: left;
}
.mb-4 {
    margin-bottom: 1rem;
}

/* 対応エリア -------------------------------*/

.Compatible_box h3 a, .area_title a, .area_list div, .area_title div{
    color: #252525;
    min-width: 90px;
    text-align: left;
}
.Compatible_box h3{
    margin-top: 0;
    margin-bottom: 0;
}
.Compatible_box .area_title div{
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}
.Compatible_box .area_title div::after{
    content: "";
    height: 1px;
    border-top: 1.5px dotted #252525;
    flex-grow: 1;
}
.Compatible_box .area_list{
    align-items: left;
    display: inline-block;
    padding: 0 22px 0 0;
    margin-bottom: 0;
}
#Compatible_area .Compatible_box p small{
line-height: 3px!important;
}
.icon-right {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    width: 10px;
    height: 10px;
    border: 0.2em solid rgb(0, 139, 67);
    background: rgb(0, 139, 67);
    border-radius: 100%;
    box-sizing: content-box;
    margin: 0 4px 1px 0;
}

.icon-right::before {
    content: '';
    color: #fff;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 3px 4px;
    border-left-color: currentColor;
    border-right: 0;
    transform: translateX(15%);
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* 会社概要エリア -------------------------------*/

.company_table {
    width: 100%;
    table-layout: fixed;
    margin: 10px 0 65px;
}
.company_table tr th{
    width: 20%;
    background-color: #f9f9f9;
    color: #555555;
}
.company_table td{
    line-height: 1;
}
.company_table th, .company_table td{
    font-size: .9em;
    border: 0.5px solid #ccc;
    padding: 10px;
}


/* レスポンシブ対応 --------------------------------------------------------------*/
body,  #wpadminbar, #container{
    max-width: 100%!important;
    width: 100%!important;
    height: auto!important;
    overflow-x: hidden;
}

@media (max-width: 1090px) {

#introduction, #google_reviews, #event_slider, #jirei, #Compatible_area, #column, #news, #company{
    width: 92%;
    margin: 0 auto;
}

/* 相談会イベントエリア --------------------------* */
.makers_btn a i{
    left: 1vw;
}
.meker_img{
    height: 2rem;
}
/* 相談会イベントエリア ここまで--------------------------* */
}

@media (max-width: 920px) {
.page:not(.no-bg) #inner-content, .wrap {
    width: 100%;
}

.introduction_tl .h1_sab{
    padding-top: 10px;
    line-height: 24px;
}

.slider-row.left  { top: 205px;}
.slider-row.right:nth-of-type(3) { top: 410px;}
.slider-row.left:nth-of-type(4) { top: 615px;}

.introduction_text {
    padding: 3rem 1.5rem;
}

.introduction_box {
    padding: 2rem;
}

.introduction_box p {
    font-size: 15px;
    line-height: 17px;
}

.anniversary_logo img {
    max-width: 240px;
}
.introduction_tl{
    margin-top: 10px;
}
.introduction_tl #introduction_h1, .introduction_tl #introduction_h2 {
    font-size: 28px;
    line-height: 34px;
}

.h1_sab {
    font-size: 18px;
    line-height: 28px;
}

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

.maker .maker_ue{
    margin-bottom: 5px;
}

.maker .maker_ue, .maker .maker_sita {
    display: flex;
}

.maker .maker_logo:nth-of-type(2){
    margin: 0;
}

.maker a img{
    max-height: 103px;
}

/*   会社概要--------------------------- */

.company_table tr th{
    width: 30%;
}
}

@media (max-width: 768px) {

    
.slider-section {
}

.introduction_text {
    padding: 2.5rem 1rem;
}

.introduction_box {
    padding: 1.5rem;
}

.anniversary_logo img {
    max-width: 170px;
}

.introduction_tl #introduction_h1, .introduction_tl #introduction_h2 {
    font-size: 24px;
    line-height: 30px;
}

.h1_sab {
    font-size: 16px;
    line-height: 24px;
}

.entry-content p{
    margin-bottom: 8px;
}

.slider-rows { height: auto; }
.slider-row { height: 150px; }
.slider-row.left  { top: 155px;}
.slider-row.right:nth-of-type(3) { top: 310px;}
.slider-row.left:nth-of-type(4) { top: 465px;}

.introduction_box p {
    font-size: 1rem;
    text-align: left;
    line-height: 3vw;
}
/*  相談会イベントエリア ---------------------------- */
.grid-cols{
    grid-template-columns: 48% 48%;
    gap: 1vw;
}
/*  相談会イベントエリア ここまで---------------------------- */

/*  会社概要--------------------------- */
#company{
    padding-bottom: 10px;
}
}

@media (max-width: 480px) {

    
.slider-row { height: 140px; }
.slider-row.left  { top: 145px;}
.slider-row.right:nth-of-type(3) { top: 290px;}
.slider-row.left:nth-of-type(4) { top: 430px;}

.introduction_text {
    padding: 1rem 0.8rem;
}

.introduction_box {
    padding: 1.2rem;
}

.introduction_box p {
    font-size: 14px;
    line-height: 4vw;
}

.anniversary_logo img {
    max-width: 100px;
}

.introduction_tl #introduction_h1, .introduction_tl #introduction_h2 {
    font-size: 22px;
    line-height: 25px;
    margin: 0 0 5px 0;
}

.h1_sab, .h2_sab {
    font-size: 15px;
    padding-top: 5px;
    line-height: 19px;
}

.button006 a {
    font-size: 12px;
}
}
@media (max-width: 430px) {

    
/*  相談会イベントエリア ---------------------------- */
.grid-cols{
    grid-template-columns: 100%;
}
.makers_group{
    padding: 30px 10px 10px;
}
/*  相談会イベントエリア ここまで---------------------------- */
}
/* ... その他テキスト関連CSS（ロゴ、pタグなど）は前回と同じものを維持 ... */

/* よくある質問 -------------------------------------------*/
.event_tl{
  text-align: center;
}
.entry-content .event_tl h2{
  color: var(--sgb-main-color);
  margin: 0;
}
.h2_border{
  width: 80px;
  display: inline-block;
  position: relative;
  top: -10px;
}
.h2_border hr{
  margin: 0;
}
.event_tl p{
  font-size: 14px;
  position: relative;
  top: -10px;
}
#faq_area{
  padding: 0;
}
#faq_area .alignfull {
  background-color:#f5f9ff;
  padding: 80px 20px;
}
.faq_wrap, #archive_area{
  max-width: 1180px;
  margin: 0 auto;
}
.faq-item {
  position: relative;
  margin-bottom: 30px;
}
.faq-item dt{
  font-size: 22px;
  color: #ffffff;
  background-color: var(--sgb-main-color);
}
.faq-item dd{
  font-size: 16px;
  color: #707070;
  background-color: #fff;
}
/* --- Q（質問）吹き出し --- */
.faq-item dt{
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 12px;
  border-radius: 10px;
  padding: 14px 16px;
  line-height: 1.6;
}
/* Qアイコン */
.faq-item dt::before {
  content: "Q";
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--sgb-main-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}
.faq-item dt::after {
  content: "";
  /* borderで三角形を作る */
  border-width: 20px;
  border-style: solid;
  border-color: var(--sgb-main-color) transparent transparent transparent;
  aspect-ratio: 1;
  clip-path: polygon(50% 70%, 0% 0%, 50% -10%);

  /* 配置する */
  position: absolute;
  top: 99%;
  left: 8%;
  transform: translateX(-50%);
}
/* --- 回答部分 --- */
.faq-item dd {
  font-size: 15px;
  line-height: 1.8;
  border-radius: 10px;
  margin-top: 25px;
  padding: 25px;
}
.sgb-acc__input:checked~.sgb-acc__content{
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
