/*
 Theme Name: Arkhe Child
 Template: arkhe
*/
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}
/*----------------------------- */
/* ■ 文字関係
/* ---------------------------- */
p{
    margin-bottom:20px;
}
@media (min-width: 768px) {
    p{
        margin-bottom:25px;
    }    
}
.title_en{
    font-weight:bolder;
    display:inline-block;
    margin-right:20px;
}
.title_jp{
    font-size: 1.2rem; 
    font-weight:normal;
}
@media (min-width: 768px) {
    .title_jp{
        font-size: 1.4rem; 
    }    
}
/*----------------------------- */
/* ■ 共通
/* ---------------------------- */
.center{
    text-align: center;
}
/*----------------------------- */
/* ■ header
/* ---------------------------- */
/* 記事内の見出しに上下マージンを付ける */
/* --- スマホ向け（デフォルト） --- */
.l-content h1 { 
    font-size: 1.8rem; 
    margin: 1.5rem 0 2rem 0; 
}
.l-content h2 { 
    font-size: 1.6rem; 
    margin: 1.3rem 0 0.7rem 0; 
}
.l-content h2.border{
    border-top:3px solid #dee2eb;
    padding-top:20px;
    position:relative;
}
.l-content h2.border:before{
    border-top:3px solid #cb5520;
    position:absolute;
    top:-3px;
    left:0px;
    width:120px;
    content:"";
}
.l-content h3 { 
    font-size: 1.4rem; 
    margin: 1.1rem 0 0.6rem 0; 
}
.l-content h4 { 
    font-size: 1.2rem; 
    margin: 0.9rem 0 0.5rem 0; 
}
.l-content h5 { 
    font-size: 1rem; 
    margin: 0.8rem 0 0.4rem 0; 
}
.l-content h6 { 
    font-size: 0.9rem; 
    margin: 0.7rem 0 0.3rem 0; 
}
/* --- PC向け（768px以上） --- */
@media (min-width: 768px) {
    .l-content h1 { 
        font-size: 2.5rem; 
        margin: 2rem 0 1rem 0; 
    }
    .l-content h2 { 
        font-size: 2rem; 
        margin: 1.8rem 0 0.9rem 0; 
    }
    .l-content h2.border:before{
        width:150px;
    }    
    .l-content h3 { 
        font-size: 1.8rem; 
        margin: 1.5rem 0 0.75rem 0; 
    }
    .l-content h4 { 
        font-size: 1.5rem; 
        margin: 1.2rem 0 0.6rem 0; 
    }
    .l-content h5 { 
        font-size: 1.2rem; 
        margin: 1rem 0 0.5rem 0; 
    }
    .l-content h6 { 
        font-size: 1rem; 
        margin: 0.8rem 0 0.4rem 0; 
    }
}
/*----------------------------- */
/* ■ SPのみ表示／PCのみ表示
/* ---------------------------- */
@media (min-width: 768px) {
    .only_sp{
        display:none;
    }
}
.only_pc{
    display: none;
}
@media (min-width: 768px) {
    .only_pc{
        display:block;
    }
}
/*----------------------------- */
/* ■ ファーストビュー
/* ---------------------------- */
/* .hero{
    border-radius:20px;
    overflow: hidden;
    aspect-ratio: 3/4;
}
@media (min-width: 768px) {
    .hero{
        aspect-ratio: 4/3;
    }    
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 3/4;
}
@media (min-width: 768px) {
  .hero {
    aspect-ratio: 4/3;
  }
}
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero img.active {
  opacity: 1;
  z-index: 1;
}

/*----------------------------- */
/* ■ ボタン
/* ---------------------------- */
.button_main{
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.3s;    
    border:2px solid #cb5520;
    color: #cb5520;
    width:fit-content;
    /* margin-right:auto;
    margin-left:auto; */
}
/* メイン色（強調したいボタン） */
.btn-primary:hover {
  background-color: #cb5520;
}
/*----------------------------- */
/* ■ 私たちについて
/* ---------------------------- */
.about_us_block{
    margin-top:20px;
    display:flex;
    flex-direction: column;
    gap:20px;
    padding-top:20px;  
}
@media (min-width: 768px) {
    .about_us_block{
        gap:100px;
        flex-direction: row;
        padding:20px;        
    }    
}
.about_us_block .tagline{
    display:flex;
    font-weight:bold;
    font-size:20px;
}
@media (min-width: 768px) {
    .about_us_block .tagline{
        writing-mode: vertical-rl;  /* 縦書き（右から左へ） */
        text-orientation: upright;  /* 文字を正しく縦に表示 */
        font-size:24px;
    }
}
.about_us_block .content{
    display:flex;
    flex-direction: column;
    gap:20px;
    align-items: center;
}
@media (min-width: 768px) {
    .about_us_block .content{
        align-items:normal;
    }  
}
/*----------------------------- */
/* ■ 会社情報ブロック
/* ---------------------------- */
.company_outline_block{
    margin-top:20px;
    display:flex;
    flex-direction: column;
    gap:20px;
    padding-top:20px;      
}
@media (min-width: 768px) {
    .company_outline_block{
        flex-direction: row;
        padding:20px 0px;        
    }    
}
.company_outline_block .photo{
    border-radius:20px;
    overflow: hidden;
}
@media (min-width: 768px) {
    .company_outline_block .photo{
        width:calc((100% - 20px)/2);
    }    
}
.company_outline_block .content{
    display:flex;
    flex-direction: column;
    gap:20px;
    align-items: center;    
}
@media (min-width: 768px) {
    .company_outline_block .content{
        align-items:normal;
        width:calc((100% - 20px)/2);
        justify-content: center;
    }  
}
/*----------------------------- */
/* ■ 事業紹介ブロック
/* ---------------------------- */
.our_business_block{
    display:flex;
    flex-direction: column;
    gap:20px;
    align-items: stretch; /* 子要素を同じ高さに揃える */
}
@media (min-width: 768px) {
    .our_business_block{
        flex-direction: row;
    }    
}
.our_business_block .our_business_item{
    border-radius: 20px;
    overflow: hidden;
    width:100%;
    position:relative;
    aspect-ratio: 750/500;
}
@media (min-width: 768px) {
    .our_business_block .our_business_item{
        width:calc((100% - 40px)/3);
    }    
}
.our_business_block .title{
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%); /* 中央にずらす */
    color: #fff;  /* 背景に合わせて白文字など */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;    
}
/*----------------------------- */
/* ■ ニュース SP
/* ---------------------------- */
.news_area{
    background:#d8d8d8;
    margin:0 -30rem;
    display:flex;
    justify-content: center;
    padding-bottom:40px;
}
.news_area .news_content{
    max-width:1104px;
    width:100%;
    margin-right:auto;
    margin-left:auto;
}
/* SP用スワイパー */
.news_block{
    width:100%;
    max-width:100vw;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:40px;
    padding-right:5px;
    padding-left:5px;
}
.news_swiper{
	position:relative;
}
.news_swiper .news_swiper_main{
	width:100%;
	overflow: scroll;
	-ms-overflow-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	position: relative;
	z-index: 1;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.news_swiper .news_swiper_wrapper{
	display: flex;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	position: relative;
	z-index: 1;
	gap:30px;
	height: 100%;
    margin-left: 25px;
	-webkit-transition-property: -webkit-transform;
	transition-property: -webkit-transform;
	transition-property: transform;
	transition-property:transform, -webkit-transform;
	transition: ease-out 0.1s;/* 【丹澤確認】実機でスピード確認 */
	-webkit-transform: translate3d(0px, 0, 0);
    transform: translate3d(0px, 0, 0);
}
.news_swiper_item{
	box-sizing:content-box;
	border-radius:40px;
	padding:0px;
    position: relative;
    width: calc(100% - 40px);
    width:calc(100vw - 50px);
    text-align: center;
    flex-shrink: 0;/* 要素を縮めないため */
	display: flex;
    flex-direction: column;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    scroll-snap-align: start;/* スワイプの先端にピタッと合わせる */
	scroll-snap-stop: always;/* スワイプが通り過ぎるのを防ぐ */
    color:#333;
}
.news_swiper_item .img{
    border-radius:20px 20px 0 0;
    overflow: hidden;
    aspect-ratio: 750/500;
}
.news_swiper_item .img img{
    vertical-align:top;
}
.news_swiper_item .content{
    border-radius:0 0 20px 20px;
    overflow: hidden;
    background:#fff;
    padding-top:10px;
}
/*----------------------------- */
/* ■ ニュース PC
/* ---------------------------- */
.news_block_pc{
    width:100%;
    max-width:1104px;
    display:flex;
    gap:20px;
    margin-bottom:40px;
}
.news_item_pc{
	box-sizing:content-box;
	border-radius:40px;
	padding:0px;
    position: relative;
    width:calc((100% - 40px)/3);
    text-align: center;
    flex-shrink: 0;/* 要素を縮めないため */
	display: flex;
    flex-direction: column;
    color:#333;    
}
.news_item_pc .img{
    border-radius:20px 20px 0 0;
    overflow: hidden;
    aspect-ratio: 750/500;
}
.news_item_pc .img img{
    vertical-align:top;
}
.news_item_pc .content{
    border-radius:0 0 20px 20px;
    overflow: hidden;
    background:#fff;
    padding-top:10px;
}
.news_item_pc .content .title{
    margin-bottom:10px;
}
/*----------------------------- */
/* ■ コンタクト
/* ---------------------------- */
.contact_block{
    background:#d8d8d8;
    /* margin:0 -30rem; */
    /* max-height:500px; */
    width: 100vw;      /* ビューポート幅いっぱい */
    width:100%;
    margin-left: calc(50% - 50vw);
    background: #d8d8d8;    
}
.contact_block .contact_link{
    position: relative;
    display:block;
    width:100%;
    max-width: 100vw;
    margin-right:auto;
    margin-left:auto;
    display: block;
    width: 100vw;
    height: 300px; /* 高さ固定 */
    background: url("images/pc.jpg") center/cover no-repeat;    
    /* height:fit-content; */
    /* vertical-align: top; */
}
@media (min-width: 768px) {
    .contact_block .contact_link{
        height: 500px; /* 高さ固定 */
    }
}
.contact_block .contact_link::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2); /* 黒20%透明 */
    pointer-events: none; /* クリックなどを邪魔しない */
}
.contact_block .contact_link img{
    width:100%;
    vertical-align: top;
}
.contact_block .contact_text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; /* 白文字 */
    font-weight: bold;
    z-index: 1; /* 擬似要素より前面 */
    display:flex;
    flex-direction: column;
    align-items: center;
}
.contact_block .contact_text_jp{
    font-size: 1.2rem;
} 
.contact_block .contact_text_en{
    font-size: 2rem;
} 
.contact_block .contact_btn {
    position: absolute;
    bottom: 5%; right: 5%;
    /* transform: translate(-50%, -50%); */
    color: #cb5520; 
    font-size:1.6rem;
    font-weight: bold;
    z-index: 1; /* 擬似要素より前面 */
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius:50%;
    background:#fff;
    width:56px;
    height:56px;
}
/*----------------------------- */
/* ■ h1
/* ---------------------------- */
/* ページタイトル（h1）のデザイン変更 */
.p-topArea.-noimg {
    position: relative; /* ← 擬似要素を重ねるため必須 */
    background: url("images/head_office_exterior.jpg") center/cover no-repeat;
    /* width:calc(100% - 40px); */
    /* max-width:1104px; */
    margin-right:auto;
    margin-left:auto;
    /* border-radius:20px; */
    min-height:180px;
}
@media (min-width: 768px) {
    .p-topArea.-noimg {
        min-height:200px;
    }    
}
.page-id-19 .p-topArea.-noimg {
  background-image: url("images/pc.jpg");
}
.page-id-61 .p-topArea.-noimg {
  background-image: url("images/pc.jpg");
}
.p-topArea.-noimg::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.1); /* 黒幕（20%透明） */
  /* border-radius: 20px;  */
  z-index: 0; /* テキストの下に置く */
}
/*----------------------------- */
/* ■ フッター
/* ---------------------------- */
.u-flex--c{
    flex-direction: column;
    align-items: flex-end;  /* 横方向（右寄せ） */
    gap:10px;
    flex-wrap:nowrap;
}
@media (min-width: 768px) {
    .u-flex--c{
        flex-direction: row;
    }    
}
.footer_text{
    text-align: center;
    /* font-size:14px; */
    margin-bottom:15px;
}

/*----------------------------- */
/* ■ 企業情報ページ
/* ---------------------------- */
/*----------------------------- */
/* ■ トップメッセージ
/* ---------------------------- */
.top_message{
    font-size:20px;
    font-weight:bold;
    line-height: 2;
}
@media (min-width: 768px) {
   .top_message{
        font-size:23px;
    } 

}
.top_message_image{
    border-radius:20px;
    overflow: hidden;
    width:100%;
    margin-bottom:20px;
}
@media (min-width: 768px) {
    .top_message_image{
        margin-bottom:25px;
    }   
}
.top_message_image img{
    vertical-align: top;
}
/* 広めのline-height */
.line_height_middle p{
    line-height:1.8;
}
/*----------------------------- */
/* ■ 会社概要
/* ---------------------------- */
.company_outline_list{
    margin-top:20px;
}
@media (min-width: 768px) {
    .company_outline_list{
        margin-top:25px;
    }    
}
.company_outline_list .company_outline_item{
    width:100%;
    display:flex;
    flex-direction:column;
}
@media (min-width: 768px) {
    .company_outline_list .company_outline_item{
        flex-direction:row;
        border-bottom: 1px solid rgba(37, 30, 28, .1);
        border-top: 1px solid rgba(37, 30, 28, .1);        
    }
}
.company_outline_list .company_outline_item dt{
    background-color: #f4f4f4;
    padding:10px 15px;
    width: 100%;    
    line-height:1.8;
    font-weight:bold;
}
@media (min-width: 768px) {
    .company_outline_list .company_outline_item dt{
        width: 10.5rem;    
        padding:20px 25px;
    }    
}
.company_outline_list .company_outline_item dd{
    flex:1;  
    padding:10px 15px;
    line-height:1.8;
}
@media (min-width: 768px) {
    .company_outline_list .company_outline_item dd{
        padding:20px 25px;
    }    
}
/*----------------------------- */
/* ■ 会社沿革
/* ---------------------------- */
.history_block{
    display:flex;
    flex-direction: column;
}
.history_block .history_item{
    display: flex;
    width:100%;
    position: relative; /* 擬似要素の基準にする */    
    align-items: flex-start;
}
/* 丸自体 */
.history_block .circle_red {
  display: inline-block;
  margin-right: 20px;
  background: #cb5520;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  z-index: 1; 
}

/* アイテム全体に縦棒をつける */
.history_block .history_item::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 11px;   
  width: 2px;
  height:100%;
  background: #cb5520;
}

/* 最後のアイテムは棒を消す */
.history_block .history_item:last-child::before {
  display: none;
}
.history_block dt{
    font-weight:bold;
    padding:10px 10px 10px 6px;
    width: 120px;
    line-height:1.7;
}
.history_block dd{
    flex:1;  
    padding:10px 0px;
    line-height:1.7;
}
/*----------------------------- */
/* ■ タンタンコーポレーションについてページ
/* ---------------------------- */
/*----------------------------- */
/* ■ 企業ロゴ
/* ---------------------------- */
.logo_block{
    margin-top:20px;
    display:flex;
    flex-direction: column;
    gap:20px;
    padding-top:20px;      
}
@media (min-width: 768px) {
    .logo_block{
        flex-direction: row;
        padding:20px;        
    }    
}
.logo_block .photo{
    border-radius:20px;
    overflow: hidden;
    width:70%;
    margin-right:auto;
    margin-left:auto;
}
@media (min-width: 768px) {
    .logo_block .photo{
        width:300px;
    }    
}
.logo_block .content{
    display:flex;
    flex-direction: column;
    gap:20px;
    align-items: center;    
}
@media (min-width: 768px) {
    .logo_block .content{
        align-items:normal;
        width:calc(100% - 300px);
        justify-content: center;
    }
}
/*----------------------------- */
/* ■ Eコマース事業ページ
/* ---------------------------- */
/*----------------------------- */
/* ■ 運営店舗
/* ---------------------------- */
.shop_list{
    display:flex;
    flex-wrap: wrap;
    gap:20px;
}
.shop_list .shop_item{
    border:2px solid #e4e4e9;
    border-radius:10px;
    width:100%;
}
@media (min-width: 768px) {
    .shop_list .shop_item{
        width:calc((100% - 40px)/3);
    }   
}
.shop_list .shop_link{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px 30px 10px 10px;
    min-height:70px;
    position:relative;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}
.shop_list .shop_link i{
    color:#cb5520;
    position:absolute;
    right:10px;
    top:50%;
    transform: translateY(-50%);
}
.shop_list .shop_name{
    font-weight:bold;
    font-size:1rem;
    color:#333;
}
/*----------------------------- */
/* ■ SNS
/* ---------------------------- */
.sns_box{
    margin-top:30px;
    display:flex;
    background:#cb5520;
    border-radius:20px;
    flex-direction: column;
    padding:20px;
    justify-content: center;
    align-items: center;
    gap:20px;
}
@media (min-width: 768px) {
  .sns_box{
        flex-direction: row;
        padding:40px 40px;
        gap:50px;
        /* justify-content:flex-start; */
  }  
}
.sns_box .sns_head{
    color:#fff;
    text-align: center;
    font-weight:bold;
}
.sns_box .sns_head_jp{
    font-size:24px;
    margin-bottom:5px;
}
@media (min-width: 768px) {
    .sns_box .sns_head_jp{
        font-size:30px;
        margin-bottom:10px;
    }   
}
.sns_box .sns_head_en{
    font-size:18px;
    margin-bottom:0px;
}
.sns_box  .sns_btn_group{
    display:flex;
    gap:20px;
    justify-content: center;
    align-items: center;
}
.sns_box .sns_btn{
    aspect-ratio: 1 / 1;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100vmax;
    width:50px;
}
@media (min-width: 768px) {
    .sns_box .sns_btn{
        width:80px;
    }    
}
.sns_box .sns_btn img{
    width:30px;
}
@media (min-width: 768px) {
    .sns_box .sns_btn img{
        width:60px;
    }   
}
/*----------------------------- */
/* ■ 強みブロック
/* ---------------------------- */
.strengths_block{
    display:flex;
    flex-direction: column;
    gap:20px;
}
.strengths_block .strengths_item{
    display:flex;
    flex-direction: column;
    gap:30px;
}
@media (min-width: 768px){
    .strengths_block .strengths_item{
        flex-direction: row;
    }    
    .strengths_block .strengths_item:nth-child(even) {
        flex-direction: row-reverse;
    }     
}
.strengths_block .strengths_content{
    display:flex;
    flex-direction: column;
    padding-left:30px;
    position:relative;
}
@media (min-width: 768px){
    .strengths_block .strengths_content{
        width:calc((100% - 20px)/2);
    }
    .strengths_block .strengths_item:nth-child(even) .strengths_content{
        padding-left:0px;
        padding-right:30px;
    }
}
.strengths_block .strengths_virtical_line{
    position: absolute;
    top: 100px; 
    bottom: 0;
    left: 5px;
    width: 2px;
    background-color: #cb5520;
}
@media (min-width: 768px){
    .strengths_block .strengths_item:nth-child(even) .strengths_virtical_line{
        right: 5px;
        left:auto;
    }
}
.strengths_block .strengths_header{
    display:flex;
    flex-direction: column;   
    position:relative;
}
.strengths_block .strengths_virtical_text{
    color:#cb5520; 
    position:absolute;
    writing-mode: vertical-rl;
    white-space: nowrap; 
    left:-33px;
    top:10px;
    font-weight:bold;
    font-size:13px;
}
@media (min-width: 768px){
    .strengths_block .strengths_item:nth-child(even) .strengths_virtical_text{
        right:-33px;
    }
}
.strengths_block .strengths_number{
    color:#cb5520;
    font-size:36px;
    font-weight:bold;
}
@media (min-width: 768px){
    .strengths_block .strengths_item:nth-child(even) .strengths_number{
        text-align: right;
    }
}
.strengths_block .strengths_title{
    font-weight:bold;
    font-size:22px;
    margin-top:0px;
    margin-bottom: 30px;
}
.strengths_block .strengths_text{
    position:relative;
}

.strengths_block .strengths_photo{
    border-radius:20px;
    overflow: hidden;
}
@media (min-width: 768px){
    .strengths_block .strengths_photo{
        width:calc((100% - 20px)/2);
    }    
}