/****************************************
* main.css :トップページ、各固定ページのデザインを記載
* 役割：各ページで独自で適用するデザインを記載する。
***************************************/
/* 基本カラー var(--)で呼び出し */
:root {
  /* color */
  /* brand */
  --primary-color : #0020C3;
  --secondary-color : #42444C;
  
  /* text */
  --color-text: #222222;
  --color-text-light: #666666;
  --color-text-white: #ffffff;
  --color-text-gray:#42444C;
  --color-text-red:#FF0000;


  /* background */
  --color-bg: #ffffff;
  --color-bg-dark: #42444C;
  --color-bg-gray: #EDF4FD;
  --color-after-line:#A7BCD6;
  
  /* gradation */
  --color-grad1: #2e5eb4;
  --color-grad2: #3D74CC ;
  --color-grad3: #4b8ee4;
  --color-grad-tmplate:linear-gradient(to bottom, #0020c3, #58a0fd);



}

/* トップページ */

/* about */
.p-top_about-inner{
  /* padding: 120px 0; */
  margin-bottom: 80px;
  margin-top: 0;
}
.p-top_about-list{
  display: flex;
  column-gap: 14%;
}

.p-top_about-list-textwrap{
  position: relative;
  width: 70%;
  padding: 4rem 0;
}

.p-top_about-title{
  margin-bottom: 8rem;
}

.p-top_about-text{
  color: var(--color-text);
  margin-bottom: 4rem;
}

.p-top_about-title::after {
  position: absolute;
  content: "私たちについて";
  display: block;
  width: 100%;
  top: 80px;
  left: 0;
  font-size: 20px;
  color: #42444C;
  font-weight: normal;
}

.p-top_about-caption{
  font-size: 28px;
  color: #42444C;
  position: relative;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.p-top_about-list-imgwrap {
  position: relative;
  width: 60%;
  height: 490px;
  margin-right: calc(50% - 50vw);
  padding: 8rem 0 4rem;
  z-index: 100;
}

.p-top_about-list-imgwrap img{
border-radius: 10px 0 0 10px;
}

/* renovation */
.p-top_renovation-list-item {
  position: relative;
  left: 50%;
  width: 100vw;
  /* ← 画面幅いっぱい */
  transform: translateX(-50%);
  /* ← 中央に戻す */
  padding: 12rem 0;
  background-image: url(../img/common/top_sentence_bg.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100%;
  overflow: hidden;  /* ← 追加 */
}

.p-top_renovation-inner {
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.p-top_renovation-list-img {
  width: 100%;
  size: 90%;
}

.p-top_renovation_opening{
  display: flex;
  justify-content: space-between;
  position: relative;
}

.item-kansya{ 
  background:var(--color-grad-tmplate);
  /* width: 100%; */
  width: 100vw;                    /* 100% → 100vw */
  margin-left: calc(-50vw + 50%); /* 0 → センタリング */
  margin-left: 0; 
}

.item-kansya-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8rem;
  text-align: left;
  margin: 0 auto;
  max-width: 1100px;
  padding: 6rem 20px;
}

.p-top_renovation_opening-img-wrap{
  padding-top: 5rem;
  padding-bottom: 4.5rem;
  width: 40%;
}

.item-kansya .p-top_renovation_opening-img-wrap{
  padding-top: 0;
  padding-bottom: 0;
  width: 45%;
  display: flex;
  align-items: center;
  order: 1;
}

.p-top_renovation_opening-text-wrap{
  padding-top: 9rem;
  width: 55%;/* 55 */
}

/* テキスト側の縦位置も中央に */
.item-kansya .p-top_renovation_opening-text-wrap {
  padding-top: 0;
  width: 55%; /* 55 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
}

.p-top_renovation_opening-main-head{
  font-size: 32px;
  color: var(--primary-color);
}

.p-top_renovation_opening-sub-head{
  font-size: 32px;
  color: var(--color-text-white);
}

.p-top_renovation_opening-text{
  margin-top: 2rem;
  font-size: 18px;
  color: var(--color-text-light);
}

.p-top_renovation_opening-sub-text{
  margin-top: 2rem;
  font-size: 18px;
  color: var(--color-text-white);
}

.p-top_renovation_opening-img{
  width: 100%;
}

.p-top_renovation_opening-img img{
  width: 100%;
}

/* features */
.p-top_features-list-item {
    position: relative;
    left: 50%;
    width: 100vw;
    /* ← 画面幅いっぱい */
    transform: translateX(-50%);
    /* ← 中央に戻す */
    background-color:var(--color-bg-gray);/*--color-bg-gray */
    padding: 8rem 0;
}

.p-top_features__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.p-top_features__title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.p-top_features__text {
    font-size: 16px;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 50px;
}

.p-top_features__items {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.p-top_features-item {
    text-align: center;
}

.p-top_features-item__icon {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.p-top_features-item__icon img {
    width: 200px;
    height: auto;
}

.p-top_features-item__title {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1.4;
}

/* work */
.p-top_works-bg {
  width: 100%;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.p-top_works-inner{
  margin-top: 0;
  margin-bottom: 0;
  padding: 160px 0 0;
}

.p-top_works-wrap{
  display: flex;
  justify-content: space-between;
}

/* タイトル */
.p-top_works-text-textwrap {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}


/* 3列グリッド */
.p-top_works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

 .p-top_works-list-item {
  position: relative;
  padding-top: 0rem;
  border-bottom: none;
  height: 340px;
  min-width: 0;
}

.p-top_works-title-sub{
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

.p-top_works-title{
  margin-bottom: 4rem;
}

.p-top_works-text{
  color: var(--color-text);
  margin-bottom: 4rem;
}

.p-top_works-title::after {
  position: absolute;
  content: "施工実績";
  display: block;
  width: 100%;
  top: 80px;
  left: 0;
  font-size: 20px;
  color: #42444C;
  font-weight: normal;
}

/* work 新規 */
/* セクションブロック間の余白 */
.p-top_works-section {
  margin-bottom: 40px;
  position: relative;
  z-index: 0;
}

/* 3列グリッド */
.p-top_works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

/* カード */
.p-top_works-list-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg);
  border-radius: 10px; /* アピアランス10 */
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10); /* ← 追加 */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* ← 追加 */
}

/* 画像 */
.p-top_works_image_wrapper {
  width: 100%;
  aspect-ratio: 285 / 147;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-color: #f0f0f0;  /* 余白部分の背景色 */
}

.p-top_works_image_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* cover → contain に変更 */
  object-position: center;
}

.p-top_works_image_wrapper-osusume {
  width: 100%;
  aspect-ratio: 285 / 147;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.p-top_works_image_wrapper-osusume img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カード本文 */
.p-top_works_card_body {
  padding: 20px;
  margin: 0 auto;
}

.p-top_works_card_inner{
    display: flex;
}
.p-top_works_date {
display: flex;
  align-items: center;
  justify-content: center;
  height: 31px;
  color: #97A0AA;
  font-size: 13px;
  font-weight: bold;
  padding-right: 16px;
  border-radius: 20px;
}

.p-top_works_text {
  color: #222222;
  font-size: 14px;
}

/* カテゴリバッジ（青い丸角ラベル） */
.p-top_works_category {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 31px;
  background: var(--primary-color);
  color:var(--color-text-white);
  font-size: 13px;
  font-weight: bold;
  padding: 2px 2px;
  border-radius: 20px;
  margin: 0 0 6px;
}

/* カテゴリバッジ 色分け */
.p-top_works_category[data-type="work-setsubikouji"] {
  background: #93c5fd;
  color: #1e40af;
}

.p-top_works_category[data-type="work-reform-small"] {
  background: #99f6e4;
  color: #0f6e56;
}

.p-top_works_category[data-type="work-reform"] {
    background: #fbcfe8;
    color: #9d174d;
}

/* カードタイトル */
.p-top_works_card_title {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: bold;
  margin: 0 0 8px;
  padding-bottom: 8px;           /* 追加：線との余白 */
  border-bottom: 1px solid var(--color-after-line); /* 追加：下線 */
}

/* 価格エリア */
.p-top_works_price_wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 「工事費込み」タグ */
.p-top_works_cardtag {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 90px;
  height: 31px;
  background: var(--primary-color);
  color: var(--color-text-white);
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

/* 価格 */
.p-top_works_price {
  display: flex;
  align-items: end;
  gap: 2px;
  /* font-size: 40px; */
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: bold;
  color: var(--color-text-red);
  margin: 0;
  line-height: 1;
  padding: 0 0 0 19px;
}

.p-top_works_price_suffix {
  display: flex;
  flex-direction: column;  /* 税込みを上、円を下に縦並び */
  align-items: flex-start;
  line-height: 1.2;
  margin-bottom: 2px;
}

/* 税こみタグ */
.p-top_works_cardtag-tax {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 35px;
  height: 14px;
  background: var(--primary-color);
  color: var(--color-text-white);
  font-size: 9px;
  font-weight: bold;
  white-space: nowrap;
}

.p-top_works_price_unit {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text-red);
}

/* 1番目のセクションの左側に配置 */
.p-top_works-section:nth-of-type(1)::before {
    content: "";
    position: absolute;
    display: block;

    /* 画像のサイズ（実際のサイズに合わせて調整） */
    width: 65%;
    height: 65%;

    background-image: url('../img/common/top_works_circle01.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* 位置：セクションの左端から少し外に出すならマイナス値 */
    top: 70%;
    left: -230px; /* 左側に浮かせる */
    transform: translateY(-50%); /* 上下中央揃え */
    z-index: 1;
}

/* 1番目のセクションの右側に配置 */
.p-top_works-section:nth-of-type(1)::after {
    content: "";
    position: absolute;
    display: block;

    /* 画像のサイズ */
    width: 60%;
    height: 60%;

    background-image: url('../img/common/top_works_circle02.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* 位置：セクションの右端から少し外に出す */
    top: -15%;
    right: -450px; /* 右側に浮かせる */
    z-index: 1;
}

/* 2番目のセクションの右側に配置 */
.p-top_works-section:nth-of-type(2)::after {
    content: "";
    position: absolute;
    display: block;

    /* 画像のサイズ */
    width: 120px;
    height: 120px;

    background-image: url('../img/common/top_works_circle03.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* 位置：セクションの右端から少し外に出す */
    top: 25%;
    right: -60px; /* 右側に浮かせる */
    z-index: -1; 
}

/* 3番目のセクションの左側に配置 */
.p-top_works-section:nth-of-type(3)::before {
    content: "";
    position: absolute;
    display: block;

    /* 画像のサイズ（実際のサイズに合わせて調整） */
    width: 30%;
    height: 30%;

    background-image: url('../img/common/top_works_circle04.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* 位置：セクションの左端から少し外に出すならマイナス値 */
    top: 60%;
    left: -100px; /* 左側に浮かせる */
    transform: translateY(-50%); /* 上下中央揃え */
    z-index: 1;
}

/* 3番目のセクションの右側に配置 */
.p-top_works-section:nth-of-type(3)::after {
    content: "";
    position: absolute;
    display: block;

    /* 画像のサイズ */
    width: 20%;
    height: 20%;

    background-image: url('../img/common/top_works_circle05.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* 位置：セクションの右端から少し外に出す */
    top: 10%;
    right: -200px; /* 右側に浮かせる */
    z-index: 1;
}

/* work サービス一覧 */
.p-top-work-service-title{
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}
.p-top-work_menu{
  /* margin-top: 8rem; */
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.p-top-work_menu-list{
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  justify-content: space-between;
}

/* 左側に配置 */
.p-top-work_menu-list::before {
    content: "";
    position: absolute;
    display: block;

    /* 画像のサイズ（実際のサイズに合わせて調整） */
    width: 10%;
    height: 10%;

    background-image: url('../img/common/top_works_circle04.png');
    background-size: contain;
    background-repeat: no-repeat;

    /* 位置：セクションの左端から少し外に出すならマイナス値 */
    top: 73%;
    left: 200px; 
    z-index: -1;
}

.p-top-work_menu-list-item{
  width: calc(25% - 15px);
  list-style:none;
  margin: 0.019em;
  margin-bottom: 2.5rem;
  z-index: 2;
}

/* 中央配置のコア設定 */
.p-top-work_menu-link {
    display: flex;
    justify-content: center; /* 水平中央 */
    align-items: center;     /* 垂直中央 */
    
    height: 180px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 29px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6); /* 文字を見やすく */
    
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

/* サービス一覧の画像の取得 */
.item-toilet    { background-image: url(../img/common/reform01.jpg)}
.item-unit-bus  { background-image: url(../img/common/reform02.jpg)}
.item-system-kitchen    { background-image: url(../img/common/reform03.jpg)}
.item-ubathroom-vanity  { background-image: url(../img/common/reform04.jpg)}
.item-water-heater      { background-image: url(../img/common/facility01.jpg)}
.item-gas-stove         { background-image: url(../img/common/facility02.jpg)}
.item-range-hood        { background-image: url(../img/common/facility03.jpg)}
.item-jyaguchi          { background-image: url(../img/common/facility04.jpg)}

.p-top-work_menu-list-item-head{
  font-size: 16px;
  color: #E6001F;
  background: none;
  font-weight: bold;
  margin-bottom: 1rem !important;
}

.p-top-work_menu-list-item-img{
  margin-bottom: 1rem;
}

.p-top-work_menu-list-item-img img{
  width: 100%;
}

/* .p-top-work_menu-head{
  position: relative !important;
  width: 32%;
  margin: 0 auto 4rem !important;
} */

.p-top-work_flow{
  margin-top: 8rem;
}

/* .p-top-work_flow-head{
  position: relative !important;
  width: 20%;
  margin: 0 auto 4rem !important;
} */

.p-top-work_flow-item{
  line-height: 2.2;
}

.p-top-work_flow-item-head{
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.p-top-work_flow-item-head-step{
    font-size: 24px;
    color: #fff;
    background-color: #E6001F;
    font-weight: bold;
    width: 17%;
    text-align: center;
}

.p-top-work_flow-item-head-title{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 20px;
  font-weight: bold;
  color: #42444C;
}

.p-top-work_flow-item-content{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #707070;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}

.p-top-work_flow-item-content-img{
  width: 20%;
}

.p-top-work_flow-item-content-img img{
  width: 100%;
  height: auto;
  display: block;
}

.p-top-work_flow-item-content-text{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 16px;
}

/* p-service-setsubikouji_goodsのリスト */
.p-service-setsubikouji_goods .p-top_works-list-item {
  height: auto;
}

.p-service-setsubikouji_goods {
    margin: 8rem 0;
}

.p-service-setsubikouji_goods .p-top_works-list-sub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-service-setsubikouji_goods .p-top_works_list_item_inner {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

.p-service-setsubikouji_goods .p-top_works_image_wrapper img {
    width: 100%;
    display: block;
}

.p-service-setsubikouji_goods .p-top_works_card_inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p-service-setsubikouji_goods .p-top_works_price_note {
    font-size: 12px;
    color: #666;
    margin: 8px 0;
}

/* 価格表 */
.p-service-setsubikouji_goods .p-top_works_price_table {
    border-top: 1px solid #e5e5e5;
}

.p-service-setsubikouji_goods .p-top_works_price_row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}

.p-service-setsubikouji_goods .p-top_works_price_row:last-child {
    border-bottom: none;
}

.p-service-setsubikouji_goods .p-top_works_price_size {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
}

.p-service-setsubikouji_goods .p-top_works_price_info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.p-service-setsubikouji_goods .p-top_works_price_type {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.p-service-setsubikouji_goods .p-top_works_price_value {
    color: #cc1c2c;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.p-service-setsubikouji_goods .p-top_works_price_value span {
    font-size: 14px;
}

/* 注意書き */
.p-service-setsubikouji_goods .p-top_works_notes {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.p-service-setsubikouji_goods .p-top_works_notes li {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

.p-service-setsubikouji_goods .p-top_works-list-item--more {
    display: none;
}

.p-service-setsubikouji_goods .p-top_works-list-item--more.is-show {
    display: block;
}

/* もっと見るボタン */
.p-service-setsubikouji_goods .p-top_works-more_btn-wrap {
    text-align: center;
    margin-top: 32px;
}

.p-service-setsubikouji_goods .c-btn-more_goods {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.p-service-setsubikouji_goods .c-btn-more_goods:hover {
    background: var(--primary-color);
    color: #fff;
}

.p-service-setsubikouji_goods .c-btn-more_goods_icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

/* 開いている時はアイコンを上向きに */
.p-service-setsubikouji_goods .c-btn-more_goods.is-open .c-btn-more_goods_icon {
    transform: rotate(-135deg);
}

/* recruit */
:root {
  --recruit-left: clamp(280px, 34vw, 520px);
  --recruit-gap: 12px;
  --recruit-row-h: 490px;
}

#recruit {
  overflow-x: clip;
}

.p-top_recruit-bg {
  width: 92%;
  background: var(--color-grad-tmplate);
  /* 実績非表示の時のは0消してコメントアウト外す */
  /* margin-top: 0; */
  margin-top: 46px;
  padding-top: 71px;
  position: relative;
}

.p-top_recruit-inner {
  position: relative;
  height: 550px;
  margin-top: 0;
  margin-bottom: 14rem;
  overflow: visible; 
}

.p-top_recruit-title {
  color: #fff;
  margin-bottom: 4rem;
  position: relative;
}

.p-top_recruit-title::after {
  content: "採用情報";
  position: absolute;
  bottom: -70px;
  left: 0;
  font-size: 16px;
  color: #fff;
}

.c-btn_recruit {
  background-color: var(--color-bg);
  color: var(--primary-color);
}

.c-btn_recruit:hover {
  background: var(--primary-color);
  color: var(--color-bg);
  border-color: var(--primary-color);
}

.p-top_recruit-img-list {
  position: relative;
  left: 57%;
  transform: translateX(-50%);
  width: 100vw;
  padding-left: var(--recruit-left);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--recruit-gap);
  height: var(--recruit-row-h);
  margin: 0;
  list-style: none;
  top: 10px;
  z-index: 50;
  overflow: hidden;
}

.p-top_recruit-img-list-item {
  margin: 0;
  overflow: hidden;
}

.p-top_recruit-img-list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.p-top_recruit-img-list-item:hover img {
  transform: scale(1.05);
}

.p-top_recruit-messagewrap {
  position: absolute;
  left: 0;
  bottom: 85px;
  width: var(--recruit-left);
  padding-right: 24px;
  z-index: 100;
}

.p-top_recruit-message-text {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  color: #fff;
  padding-bottom: 4rem;
}

/* instagram */
.instagram {
    text-align: center;
}
.p-top_instagram-message-text {
    color:var(--color-text)
}

.c-btn_instagram {
    margin: 0 auto;
}
.p-top_instagram_inner {
    width: 100%;
    margin-bottom: 2.5rem;
}

.p-top_instagram_inner .sbi_item .sbi_type_carousel{
  border-radius: 10px;
}

/* アーカイブページ---works */
.p-works-archive-title {
  margin-bottom: 40px;
}

/* サブページ---company */
.p-company_inner{
  margin-top: 160px;
}

.p-company_greeting-name{
  font-size: 28px;
  font-weight: bold;
  color: #42444C;
  text-align: right;
  line-height: 2.8;
}

.p-company_greeting{
  margin-bottom: 8rem;
}

.p-company_greeting-title{
  font-size: 24px;
  font-weight: bold;
  color: #42444C;
  text-align: center;
  vertical-align: middle;
  margin-bottom: 4rem;
}

.p-company_greeting-name-title{
  font-size: 20px;
  font-weight: bold;
  color: #42444C;
  padding-right: 1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.p-company_profile-table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 24px 0;
}
.p-company_profile{
  margin-bottom: 8rem;
}

.p-company_profile-table-th{
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 17px 25px;
  line-height: 2.2;
  border-top: 1px solid #ddd;
  border-right: none;
  border-left: none;
  font-weight: bold;
  color: #42444C;
  vertical-align: middle;
}

.p-company_profile-table-td{
  color: #42444C;
  border-top: 1px solid #ddd;
  border-right: none;
  border-left: none;
  vertical-align: middle;
  border: 1px solid #ddd;
  padding: 17px 25px;
  line-height: 2.2;
  background: #fff;
}

/* サブページ---parther */
.p-partner-message {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0;
  background: url(../../albatemplate/img/common/partner-bg.jpg) center top / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.p-partner-banner_content {
  background: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 80px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.p-partner-banner_title {
  color: #E6001F;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

.p-partner-banner_text {
  color: #333;
  font-size: 16px;
  max-width: 525px;
  text-align: justify;
}

.p-partner_profile{
  margin-top: 8rem;
}

.p-partner_profile-table{
  margin: 0 0 24px 0;
  width: 100% !important;
  border-collapse: collapse;
  border-spacing: 0;
}

.p-partner_profile-table-th{
  border: 1px solid #ddd;
  padding: 17px 25px;
  line-height: 2.2;
  background: #f7f7f7;
  font-weight: normal;
}

.p-partner_profile-table-td{
  border: 1px solid #ddd;
  padding: 17px 25px;
  line-height: 2.2;
  background: #fff;
}

/* サブページ---faq */
.p-faq-h2-businesspartner {
    margin-top: 90px !important;
}

.p-faq_accordion {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #fff;
  overflow: hidden;
}

.p-faq_accordion summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 16px;
  list-style: none;
  font-weight: bold;
  font-size: 16px;
  color: var(--color-text);
  position: relative;
}

.p-faq_accordion[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
  opacity: 0;
}

.p-faq_accordion-divider {
  display: block;
  margin: 0 65px 0 100px;
  height: 4px;
  background-image: radial-gradient(circle, var(--primary-color) 2px, transparent 2px);
  background-size: 12px 4px;
  background-repeat: repeat-x;
}

.p-faq_accordion-q-head {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  font-size: 26px;
  margin: 20px;
  flex-shrink: 0;
}

.p-faq_accordion summary::before {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 2px;
  height: 20px;
  background: var(--primary-color);
  transform: translateY(-50%);
}

.p-faq_accordion summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  transform: translateY(-50%);
}

.p-faq_accordion .p-faq_accordion-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.p-faq_accordion[open] .p-faq_accordion-a {
  display: flex;
  align-items: center;
  max-height: 500px;
  opacity: 1;
  padding: 12px 16px;
}

.p-faq_accordion-a-head {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-weight: bold;
  font-size: 26px;
  flex-shrink: 0;
  margin: 20px;
}

.p-faq_accordion-a-text {
  flex: 1;
  display: block;
  line-height: 27px;
  margin-right: 20px;
  color: var(--color-text);
}

.p-faq_accordion-a-text-img{
  width: 40%;
  margin-top: 16px;
}

.p-faq_accordion-a-text-img img{
  width: 100%;
}

/* サブページ---service-mokukouji */
/* .p-service-mokukouji_inner {}

.p-service-mokukouji_opening {
    display: flex;
    justify-content: space-between;
}

.p-service-mokukouji_opening-img-wrap {
    width: 40%;
}

.p-service-mokukouji_opening-text-wrap {
    width: 48%;
    margin-top: 4rem;
}

.p-service-mokukouji_opening-text {
    margin-top: 2rem;
}

.p-service-mokukouji_opening-img {
    width: 100%;
}

.p-service-mokukouji_opening-img img {
    width: 100%;
} */

.p-service-price_font{
  font-weight: bold;
}

.p-service-setsubikouji_inner{
  margin-top: 160px;
}

.p-service-setsubikouji_opening{
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}

.p-service-setsubikouji_opening-img-wrap{
  width: 40%;
}

.p-service-setsubikouji_opening-text-wrap{
  width: 48%;
  margin-top: 4.5rem;
}

.p-service-setsubikouji_opening-sub-head{
  font-size: 24px;
  color: #42444C;
}

.p-service-setsubikouji_opening-text{
  margin-top: 2rem;
}

.p-service-setsubikouji_opening-img{
  width: 100%;
}

.p-service-setsubikouji_opening-img img{
  width: 100%;
}

.p-service-setsubikouji_menu{
  margin-top: 8rem;
}

.p-service-setsubikouji_menu-list{
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  justify-content: space-between;
}

.p-service-setsubikouji_menu-list-item{
  width: 30%;
  list-style:none;
  margin-bottom: 1rem;
}

.p-service-setsubikouji_menu-list-item-head{
  font-size: 16px;
  color: #E6001F;
  background: none;
  font-weight: bold;
  margin-bottom: 1rem !important;
}

.p-service-setsubikouji_menu-list-item-img{
  margin-bottom: 1rem;
}

.p-service-setsubikouji_menu-list-item-img img{
  width: 100%;
}

.p-service-setsubikouji_price_img{
  width: 100%;
  margin-top: 4rem;
}

.p-service-setsubikouji_price_img img{
  width: 100%;
}

.p-service-setsubikouji_flow{
  margin-top: 8rem;
}

.p-service-setsubikouji_flow-item{
  line-height: 2.2;
}

.p-service-setsubikouji_flow-item-head{
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.p-service-setsubikouji_flow-item-head-step{
    font-size: 24px;
    color: #fff;
    background-color: #E6001F;
    font-weight: bold;
    width: 17%;
    text-align: center;
}

.p-service-setsubikouji_flow-item-head-title{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 20px;
  font-weight: bold;
  color: #42444C;
}

.p-service-setsubikouji_flow-item-content{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #707070;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}

.p-service-setsubikouji_flow-item-content-img{
  width: 20%;
}

.p-service-setsubikouji_flow-item-content-img img{
  width: 100%;
  height: auto;
  display: block;
}

.p-service-setsubikouji_flow-item-content-text{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 16px;
}

/* 投稿セクション top流用 */
/* セクションブロック間の余白 */
.p-top_works-section-sub {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: var(--color-bg-gray);
  margin-top: 40px;
  margin-bottom: 80px;
}

/* 中身は最大幅で中央寄せ */
.p-top_works-section-sub-inner {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 160px
}

.p-service-cbn-inner {
  align-items: center;  
  display: flex;
  justify-content: center; /* 左右中央揃え */
  padding-bottom: 80px;
}

.features {
    position: relative;
    left: 50%;
    width: 100vw;
    /* ← 画面幅いっぱい */
    transform: translateX(-50%);
    /* ← 中央に戻す */
    background-color: #F4F7F9;
    padding: 8rem 0;
    margin-top: 70px
}

.features__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.features__title {
    font-size: 24px;
    font-weight: bold;
    color: #E6001F;
    margin-bottom: 16px;
}

.features__text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 50px;
}

.features__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    width: 300px;
    text-align: center;
}

.feature-item__icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.feature-item__icon img {
    width: 90px;
    height: auto;
}

.feature-item__title {
    font-size: 16px;
    font-weight: bold;
    color: #E6001F;
    margin-top: 8px;
    line-height: 1.4;
}

/* サブページ---service-reform */
.p-service-reform_inner{
    margin-top: 160px;
}

.p-service-reform_section{
  margin-top: 80px;
}

.p-service-reform_opening{
  display: flex;
  justify-content: space-between;
}

.p-service-reform_opening-img-wrap{
  width: 40%;
}

.p-service-reform_opening-text-wrap{
  width: 48%;
  margin-top: 4.5rem;
}

.p-service-reform_opening-sub-head{
  font-size: 24px;
  color: #42444C;
}

.p-service-reform_opening-text{
  margin-top: 2rem;
}

.p-service-reform_opening-img{
  width: 100%;
}

.p-service-reform_opening-img img{
  width: 100%;
}

.p-service-reform_menu{
  margin-top: 8rem;
}

.p-service-reform_menu-list{
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  justify-content: space-between;
}

.p-service-reform_menu-list-item{
  width: 30%;
  list-style:none;
  margin-bottom: 1rem;
}

.p-service-reform_menu-list-item-head{
  font-size: 16px;
  color: #E6001F;
  background: none;
  font-weight: bold;
  margin-bottom: 1rem !important;
}

.p-service-reform_menu-list-item-img{
  margin-bottom: 1rem;
}

.p-service-reform_menu-list-item-img img{
  width: 100%;
}

/* .p-service-reform_menu-head{
  position: relative !important;
  width: 32%;
  margin: 0 auto 4rem !important;
} */

.p-service-reform_flow{
  margin-top: 8rem;
}

/* .p-service-reform_flow-head{
  position: relative !important;
  width: 20%;
  margin: 0 auto 4rem !important;
} */

.p-service-reform_flow-item{
  line-height: 2.2;
}

.p-service-reform_flow-item-head{
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.p-service-reform_flow-item-head-step{
    font-size: 24px;
    color: #fff;
    background-color: #E6001F;
    font-weight: bold;
    width: 17%;
    text-align: center;
}

.p-service-reform_flow-item-head-title{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 20px;
  font-weight: bold;
  color: #42444C;
}

.p-service-reform_flow-item-content{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #707070;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}

.p-service-reform_flow-item-content-img{
  width: 20%;
}

.p-service-reform_flow-item-content-img img{
  width: 100%;
  height: auto;
  display: block;
}

.p-service-reform_flow-item-content-text{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 16px;
}

/* 投稿セクション top流用 */
/* セクションブロック間の余白 */
.p-top_works-section-sub {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: var(--color-bg-gray);
  margin-top: 40px;
  margin-bottom: 48px;
}

/* 中身は最大幅で中央寄せ */
.p-top_works-section-sub-inner {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 160px
}

/* タイトル */
.p-top_works-text-textwrap {
  text-align: center;
  margin-bottom: 20px;
}

/* .p-top_head.p-top_works-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff; /* 背景が青い場合
} */

/* 3列グリッド */
.p-top_works-list-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 40px 0 0 0;
  padding-top: 80px;
}

/* サブページ---works */
.p-works_inner {
  margin-top: 160px;
}

.p-works_text_wrapper .c-sec_title {
  text-align: center;
}

.p-works_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  grid-auto-rows: auto;
}

.p-works_list_item {
  background: #fff;
  box-shadow: 0px 3px 6px gray;
}

.p-works_list_item a {
  display: block;
}

.p-works_list_item_inner {
  padding: 2vw 2vw 4vw;
}

.p-works_list_item:hover {
  opacity: 0.6;
  transition: all 0.4s ease-in-out;
}

.p-works_image_wrapper {
  height: 160px;
}

.p-works_image_wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}

.p-works_image_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.p-works_category {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  background: #F5F7F9;
  border-radius: 16px;
  margin: 1vw 0 1.5vw;
  padding: 0.5vw 1.5vw;
  color: #E6001F;
}

.p-works_category a {
  display: block;
  padding: 0.5vw 1.5vw;
}

.p-works_title {
  font-size: 20px;
  font-weight: bold;
  color: #E6001F;
  margin: 0 0 1vw 0;
  padding: 0 0 1vw 0;
  border-bottom: 1px solid #707070;
}

.p-works_text {
  font-size: 18px;
  font-weight: bold;
}

.p-works_view-more_wrapper {
  position: relative;
}

.p-works_view-more_wrapper .c-btn_view-more_wrapper {
  bottom: -120px;
  right: 50%;
  transform: translateX(50%);
}

.p-works_empty{
  text-align: center;
  font-size: 16px;
}

.p-entry__thumbnail{
  width: 100%;
  height: 556px;
  margin-bottom: 0 !important;
}

.p-entry__thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サブページ---works-single */
.p-works-single_inner {
  margin-top: 160px;
}

.p-works-single_post_header {
  margin-bottom: 2rem;
}

.p-works-single_post_header_inner {
  display: flex;
  align-items: center;
}

.p-works-single_post_title {
  font-size: 36px;
  margin: 0;
  font-weight: bold;
  color: var(--primary-color);
}

.p-works-single_post_header_inner p {
  font-size: 18px;
  padding-left: 2vw;
}

.p-works-single_inner .c-btn_view-more_wrapper {
  bottom: 60px;
  right: 50%;
  transform: translateX(50%);
  height: 66px;
  margin-top: 4rem;
}

.p-works-single_before-after {
  display: flex;
  justify-content: space-between;
  gap: 105px;
  margin: 80px 0 40px 0;
}

.p-works-single_before {
  width: 48%;
}

.p-works-single_after {
  width: 48%;
}

.p-works-single_before img,
.p-works-single_after img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.p-works-single_before-after_label {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.p-works-single_postkv {
  aspect-ratio: 1059 / 383;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f0f0f0;  /* 余白部分の背景色 */
}

.p-works-single_postkv img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* ← 追加 */
  object-position: center;
}

.p-works_btn-wrap{
  text-align: center;
  justify-items: center;
  margin-top: 4rem;
}

.p-works-table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 24px 0;
}
.p-works_profile{
  margin-bottom: 4rem;
}

.p-works_profile-table-th{
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 17px 25px;
  line-height: 2.2;
  border-top: 1px solid #ddd;
  border-right: none;
  border-left: none;
  font-weight: bold;
  color: #42444C;
  vertical-align: middle;
}

.p-works_profile-table-td{
  color: #42444C;
  border-top: 1px solid #ddd;
  border-right: none;
  border-left: none;
  vertical-align: middle;
  border: 1px solid #ddd;
  padding: 17px 25px;
  line-height: 2.2;
  background: #fff;
}

/* サブページ---contact */
.p-contact_head_text_wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.p-contact_head_text {
    font-size: 18px;
    font-weight: bold;
    line-height: 2 !important;
    color: #42444C;
}

.p-contact_main_text{
    color: #42444C;
}

.p-contact_content {
    width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 3rem 5rem;
    box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 16%);
}

.p-contact_sub_text {
    display: inline-block;
    font-size: 13px;
    border-radius: 2px;
    margin-left: 2rem;
    padding: 0.3rem 0.9rem;
    border-radius: 5px;
}

.p-contact_content_list_item {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8rem;
    margin-bottom: 2rem;
}

.p-contact_content_list{
    width: 850px;
}

.p-contact_text {
    width: 30%;
    display: flex;
    justify-content: flex-start;
    font-size: 18px !important;
    font-weight: bold;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.p-contact_input {
    width: 43%;
}

.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
    font-size: 16px;
    color: #707171 !important;
    background: #F5F5F5 !important;
    padding: 0.5rem 1rem;
    border: solid #E1E1E1 1px;
    border-radius: 5px;
}

.p-contact_bg {
  background: #EBF6FB;
}

#page_content .wpcf7 {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  background: none;
}

.wpcf7 form {
  margin: 0;
}

.p-contact_head_text_wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.p-contact_head_text {
  font-size: 18px;
  font-weight: bold;
  line-height: 2 !important;
}

.p-contact_content {
  background: #F7F8FA;
  border-radius: 30px;
  padding: 3rem 5rem;
  box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 16%);
}

.p-contact_content_list_item {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8rem;
  margin-bottom: 2rem;
}

.p-contact_content_list_item:last-child {
  align-items: flex-start;
}

.p-contact_text {
  width: 30%;
  display: flex;
  justify-content: space-between;
  font-size: 18px !important;
  font-weight: bold;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.p-contact_sub_text {
  display: inline-block;
  font-size: 13px;
  border-radius: 2px;
  margin-left: 2rem;
  padding: 0.3rem 0.9rem;
  border-radius: 5px;
}

.p-contact_sub_text.required {
  background: var(--primary-color);
  color: #fff;
  border-radius: 5px;
}

.p-contact_sub_text.any {
  background: #B4B7BC;
}

.p-contact_input {
  width: 43%;
  font-size: 14px;
}

.p-contact_input textarea {
  resize: none;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  font-size: 16px;
  color: #707171 !important;
  background: #F5F5F5 !important;
  padding: 0.5rem 1rem;
}

.wpcf7 select {
  color: #707171;
}

::placeholder {
  font-size: 16px;
  color: #B8B9BA !important;
  border: none;
}

input:-internal-autofill-selected {
  background: #F5F5F5 !important;
}

.p-contact_text_sub {
  font-size: 15px;
  margin-bottom: 1rem;
}

.p-contact_text_sub a{
  color: var(--primary-color);
}

.p-contact_content_footer {
  margin-top: 8rem;
  text-align: center;
}

.p-contact_content_footer .p-contact_text_sub:not(:last-of-type) {
  margin-bottom: 1rem;
}

.p-contact_content_footer .p-contact_text_sub:last-of-type {
  margin-bottom: 3rem;
}

.wpcf7 .contact_submit {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #fff!important;
  background: #fff !important;
  background-color:  var(--primary-color) !important;
  border-radius: 30px;
  margin: 0 auto;
  padding: 0.8rem 6rem;
  width: auto;
  height: auto;
}

.p-contact_submit {
  position: relative;
}

.p-contact_submit:hover .contact_submit {
  color: var(--primary-color) !important;
  background: #fff !important;
  border:  solid 2px var(--primary-color) !important;
    cursor: pointer;
}

/* サブページ---contact-complete */
.p-contact-complete_text_wrapper{
  text-align: center;
}

.p-contact-complete_head_text{
  font-size: 30px;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 40px;
}

.p-contact-complete_body_text{
  margin-bottom: 40px;
}

.p-contact-complete_btn-box{
  width: 230px;
  margin: 0 auto;
}

/* サブページ---news */
.p-sub_news_bg {
  background: var(--color-bg);
}

.p-sub_news_inner {
  display: flex;
  justify-content: space-between;
  padding: 80px 0 160px;
}

.p-sub_news_main_contents {
  width: 65%;
}

.p-sub_news_list {
  position: relative;
  margin: 0 0 2vw 0;
  background: var(--color-bg);
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.p-sub_news_list a {
  display: block;
  padding: 2vw;
}

.p-sub_news_date {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 1vw;
}

.p-sub_news_title {
  font-size: 20px;
  font-weight: bold;
  line-height: 2;
  color: var(--primary-color);
}

.p-sub_news_side_contents {
  width: 30%;
}

.p-sub_news_side_contents_item {
  position: relative;
  margin: 0 0 3vw 0;
  background: var(--color-bg);
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.p-sub_news_side_contents_item_inner {
  padding: 2rem;
}

.p-sub_news_side_title {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 2vw
}

.p-sub_news_side_contents_list {
  list-style: none;
  margin: 0 0 1.8rem 0;
}

.p-sub_news_side_contents_list a {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 1vh;
}

.p-sub_news_side_date {
  display: block;
  font-size: 13px;
  font-weight: bold;
}

.p-sub_news_side_post_title {
  font-size: 15px;
  font-weight: bold;
  line-height: 2;
}

.p-sub_news_list:hover {
  background: var(--primary-color);
  transition: all .5s cubic-bezier(0, 0, 0, 1);
}

.p-sub_news_list:hover .p-sub_news_date,
.p-sub_news_list:hover .p-sub_news_title {
  color: var(--color-bg) !important;
}

.p-sub_news_side_contents_list:hover .p-sub_news_side_date,
.p-sub_news_side_contents_list:hover .p-sub_news_side_post_title {
  color: var(--primary-color) !important;
}

.p-sub_news_side_contents_list:hover a {
  color: var(--primary-color);
}

/* サブページ---news-single */
.p-single-news_post_wrapper {
  position: relative;
  background: var(--color-bg);
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
  padding: 4rem;
  border-radius: 10px;
}

.p-single-news_date {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 1vw;
}

.p-news_btn-wrap {
  text-align: center;
  margin-top: 4rem;
}

.p-single-news_post_title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #707070;
  margin: 0;
  padding-bottom: 1vw;
  line-height: 2;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.p-single-news_post p {
  font-size: 16px;
  padding: 2vw 0;
  line-height: 2;
}

.p-sub_news_main_contents .c-btn_view-more_wrapper {
  position: static;
  margin: 4vw 0;
  text-align: center;
}

.p-sub_news_main_contents .c-btn_view-more_wrapper a {
  display: inline-block;
}

.c-btn_view-more:hover .c-btn_view-more_arrow.news circle {
  fill: #E5EEFA;
}

body.news.admin-bar {
  padding-top: 0 !important;
}

body.news.admin-bar {
  padding-top: 0 !important;
}

/* サブページ---privacy-policy */

.l-inner.p-privacy_inner {

}

.p-privacy-policy_head_text_wrapper {
  margin-bottom: 80px;
}

.p-privacy-policy_head_text {
  font-size: 16px;
}

.p-privacy-policy_body_text_wrapper {
  background: #fff;
}

.p-privacy-policy_text_wrapper {
  margin-bottom: 3rem;
}

.p-privacy-policy_text_wrapper:last-child {
  margin-bottom: 0;
}

.post_content h3 {
  margin: 0;
  line-height: 1.5;
}

.p-privacy-policy_title {
  font-size: 24px !important;
  color: var(--primary-color);
  padding-bottom: 0.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

.p-privacy-policy_text {
  font-size: 16px;
}

/* サブページ---flow */
.p-flow_inner{
  margin-top: 160px;
}

.p-flow_item{
  line-height: 2.2;
}

.p-flow_item-head{
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.p-flow_item-head-step{
    font-size: 24px;
    color: #fff;
    background-color: var(--primary-color);
    font-weight: bold;
    width: 17%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-flow_item-head-title{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 24px;
  font-weight: bold;
  color:  var(--color-text);
}

.p-flow_item-content{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #707070;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}

.p-flow_item-content-img{
  width: 20%;
}

.p-flow_item-content-img img{
  width: 100%;
  height: auto;
  display: block;
}

.p-flow_item-content-text{
  margin-bottom: 0 !important;
  width: 72%;
  font-size: 16px;
}

/* サブページ---recruit */
.p-recruit_inner{
  margin-top: 160px;
}

.p-recruit_requirements{
  margin-top: 8rem;
}

.p-recruit_environment{
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:var(--color-grad-tmplate);
    padding: 4rem 0;
}

.p-recruit_environment-head{
    color: #fff;
  text-align: center;
}

.p-recruit_environment-text{
  color: #fff;
    text-align: center;
}

.p-recruit_environment-head::before{
  content: none;
}

.p-recruit_environment__items {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.p-recruit_environment-item {
    text-align: center;
}

.p-recruit_environment-item__icon {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.p-recruit_environment-item__icon img {
    width: 200px;
    height: auto;
}

.p-recruit_environment-item__title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1.4;
}

.p-recruit_btn-wrap{
  width: 300px;
  margin: 40px auto;
}

/* サブページ---404 */
.p-404_text{
  color: var(--color-text);
  text-align: center;
}

.p-404_btn-wrap{
  width: 230px;
  margin: 40px auto;
}