/*
Theme Name: Fujio-Sekkei
Theme URI: http://fujio-sekkei.jp/
Description: 藤尾建築設計室
Version: 1.0
Author: Y.Koba
Author URI:https://yp1.jp/
*/
@charset "UTF-8";

/* Common division
------------------------------------------*/
html{
    /*font-size: 125%;*/
    /*font-size: 1.8vw;*/
    scroll-behavior: smooth;
}
body{
    font-family: "sans-serif";
    line-height: 1.25;
    color: #000;
    margin:0;
}

a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
summary{
    list-style-type: block;
}
summary::-webkit-details-marker {
    /* Safariで表示されるデフォルトの三角形アイコンを消します */
    display: none;
}
main{
    width:90%;
    max-width: 1280px;
    padding: 0 5%;
    margin: 0 auto;
    text-align:center;
}
.non-toppage{
    text-align: unset;
}
.top_main{
    position: relative;
}
.page_top_btn {
    position: fixed;
    bottom: 100px;
    right: 5px;
    font-weight: bold;
    padding: 0.7em;
    text-align: center;
    background: #999;
    color: #fff;
    transition: 0.3s;
    opacity: 0.75;
    z-index:50;
    width:40px;
    height:35px;
}
    /* マウスオーバー時 */
.page_top_btn:hover {
    background: #d6e9c4;
    color: rgb(255, 255, 255, 0.8);
}
h2{
    font-size:2.5rem;
}
h2.post-title{
    margin: 0 auto;
}

/* layout division
------------------------------------------*/
.wrapper{
    width: 100%;
    height:100%;
    margin: auto;
    z-index: 10;
}
.single_wrap{
    background: #fff;
}
.align-center{
    text-align:center;
}
.btn{
    display: inline-block;
    font-size: 1.5rem;
    background-color: #0bd;
    color:#fff;
    border-radius: 8px;
    padding:.75rem 1.5rem;
    transition: .5s
}
.btn:hover{
    background-color: #0090aa;
    scale: 1.2;
}
.sp-only{
    display: none;
}
#guide{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    gap:10%;
}
.prev,
.next{
    width: 50%;
}
.next{
    text-align: right;
}
/* header
------------------------------------------*/
header{
    z-index: 100;
    position: sticky;

}


.h1-block{
    text-align: left;
}

.h1-img{
    max-width:400px;
}
.hd_center{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 35;
    width: 100%;
    max-width: 1500px;
    background-color: #f6bdac;
}
.u_hd_center{
    margin: auto;
    left: 0;
    right: 0;
    background-color: #f6bdac;
}
.header_lower_img{
	margin: 0 auto;
    display: block;
    position: relative;
    max-width: 1500px;
    width: 100%;
    top:234px;
}
.header_image{
    text-align: center;
    position: relative;
    width: 100%;
}
.top_img{
    position:relative;
}





.header_desc,
.header_h1{
    margin:0 auto;
    color: #fff;
    text-align: center;
}
.header_desc{
    font-size:2rem;
    margin-bottom: 15px;
    padding-top: 50px;
}

.header_h1{
    font-size:3rem;
}
#top-image{
    background-color: #a8d182;
}

#top-message{
    padding-bottom: 20px;
    border-bottom: 5px dotted #a8d182;
}

.top-image-div{
    display: flex;
}
.top-image-sentence{
    padding-left:1rem;
    color: #FFFFFF;
    font-size: 50px;
    margin: 20px 0 10px;
    text-align: left;
}
.top-image-ul{
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 70%;
    padding-left: 20px;
    margin-top: 10px;
}
.top-image-li{
background-image: url(http://fujio-sekkei.jp/wp-content/uploads/2026/04/bg-list-circle.png);
    /* padding: 33px 0px 0 8px; */
    /* border: 2px solid #ffffff; */
    /* border-radius: 50%; */
    color: #FFFFFF;
    width: 100px;
    height: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    /* align-items: center; */
    padding-top: 20px;
    font-size:28px;
}
.top-image-img{
    width:50%;
    height: 50%;
}
.head-contact{
    text-align: center;
}
.head-contact-a{
    color: #ffffff;
    padding:15px 20px;
    border-radius: 20px;
    margin-left:20px;
    background-color: #fac03d;
}
.contact-a{
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 20px;
    background-color: #fac03d;
    font-weight: bold;
    font-size: 150%;
    position: relative;
}
/* demo image */
/* ベースのリセット */
.site-header {
  width: 100%;
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee; /* 必要に応じて */
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* 両端に寄せる */
  align-items: center;
  padding: 0 20px;
}

/* --- 左：ロゴセクション --- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  height: 40px; /* 画像に合わせて調整 */
}
.logo-text {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #333;
}

/* --- 右：ユーティリティセクション --- */
.header-utils {
  display: flex;
  align-items: center;
  gap: 25px; /* 要素間の隙間 */
}

/* 電話番号 */
.tel-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tel-label {
  color: #4a66a0; /* 紺色/青系 */
  font-weight: bold;
  font-size: 20px;
}
.tel-number {
  font-size: 180%;
  font-weight: bold;
  color: #000;
}

/* お問合せボタン */
.btn-contact {
  position: relative;
  background-color: #fdb846; /* オレンジ色 */
  color: #fff;
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}
.btn-contact:hover {
  background-color: #e6a539;
}
.head-cursor-img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 30px;
}
.cursor-img {
  position: absolute;
  width: 30px;
  bottom: -15%;
}

/* ハンバーガーメニュー */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 110;
  position: fixed;
  right: 15px;
}
.hamburger {
  width: 40px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #4a66a0;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-label {
  font-size: 14px;
  font-weight: bold;
  color: #4a66a0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }


.menu-btn.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn.is-active span:nth-child(2) { opacity: 0; }
.menu-btn.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- メニュー本体 --- */
.menu {
  position: fixed;
  top: 0;
  right: -100%; /* 最初は隠しておく */
  width: 60%;
  height: 100vh;
  background-color: #fff;
  z-index: 105;
  transition: all 0.4s ease; /* ゆっくりスライド */
  padding-top: 80px;
  opacity: 0.85;
}

.menu.is-active {
  right: 0; /* クラスがついたら表示 */
}

.nav-menu__list {
  list-style: none;
  padding: 0;
}

.nav-menu__list li a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}


/* オーバーレイ（背景を暗くする） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.overlay.is-active {
  opacity: 1;
  visibility: visible;
}



/* main
------------------------------------------*/
.bg_img{
    width:75%;
    max-width:750px;
    margin:15px auto;
}
.sec_about_txt{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size:200%;
    margin-bottom: 15px;
}
.sec_report_txt,
.sec_post_area_txt{
    font-size:150%;
    width: 75%;
    margin: 0 auto;
}
.sec_link_txt,
.sec_contact_txt{
    font-size:120%;
    width: 80%;
    margin: 0 auto;
}
.sec_link_txt a{
    color:#000;
}
.sec_link_txt::after,
.sec_link_txt::before{
    content:"●";
    color:#f6bdac;
    font-size:120%;
}

#report,
#post_area,
#link,
#contact{
    margin-top:100px;
}

.h2-mincho{
    font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    font-size:50px;
    margin-bottom: 0;
}

#case1{
    position: relative;
    padding: 20px 20px 0;
    z-index: 1;
}
.section-box-msg{
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 50%;
    margin: 0 auto;
    position: relative;
}

.section-box-msg-p{
    border: 1px solid #aaaaaa;
    padding: 10px;
    box-shadow: 0 0 10px grey;
    width: 45%;
    background-color: #fff;
    font-weight: bold;
    position: relative;
    font-size: 130%;;
}

.example-title{
    border-bottom: 3px #a8d182 solid;
}

.example-title-span{
    background-color: #a8d182;
    padding: 5px 10px 0;
    font-size: 24px;
}

/* mail Form
------------------------------------------*/
#contact{
    position: relative;
    z-index: 1;
    margin-bottom:20px;
}

.mail_form_group{
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
}
.mail_form_group:nth-child(even){
    background-color: #fafafa;
}
.mail_form_group:nth-child(odd){
    background-color: #fff;
}
.no-bg{
    background-color: #fff;
}
.mail_form_group p{
    margin:0;
    padding:5px;
}
input,
textarea{
    border-radius: 5px;
    border-width: 1px;
}
input{
    height:30px;
    width: 70%;
}
input[type="radio"],
input[type="checkbox"]{
    width: auto;
}
textarea{
    width: 70%;
}

.form_chk_btn{
    background-color: #d6e9c4;
    color: #FFF;
    border: 1px solid #a8d9c4;
    width: auto;
    height: auto;
    padding: 10px;
    position: relative;
    top:120px;
}
.form_confrm_btn{
    top: 0;
    margin: 0 15px;
    padding: 10px 20px;
}
.cc-btn{
    text-align: center;
}
input:focus,
input:hover,
input:active,
textarea:focus,
textarea:hover,
textarea:active{
    border:1px solid #CCFFD8;
    background-color:rgba(	204,255,242, 0.75);
}
.form_label_p{
    width: 30%;
    text-align: left;
    font-size: 110%;
}
.form_label_p::before{
    content: "　";
}
.mail_form_span{
    width: 10%;
    text-align: right;
    font-size: 90%;
    color:#ff0000;
}
.mail_form_group p:first-child{
    width: 0%;
}
.mail_form_group p:last-child{
    width: 70%;
    text-align: left;
}
.wpcf7-not-valid-tip{
    text-align: right;
    display: inline-block !important;
}
.form_confirm_btn{
    background-color: #d6e9c4;
    color: #FFF;
    border: 1px solid #a8d9c4;
    width: 45%;
    margin: 0 2%;
}
.form_textarea{
    margin-top:140px;
}
.sec_contact_info_txt ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
    margin: 0 auto;
    text-align: left;
}
.sec_contact_info_txt p{
    text-align: center;
    font-size: 120%;
}


/* footer
------------------------------------------*/
.top-page-footer{
    width:100%;
    background-color: #d3e6f7;
}

.page-footer{
    width:100%;
    background-color: #d3e6f7;
    padding-bottom: 65px;
}
.page-wrapper{
    width:60%;
    margin:50px auto 0;
    padding:10px 0 75px;
    gap: 5%;
    justify-content: center;
    max-width: 1280px;
    text-align: center;
}
.foot-logo{
    width: 30%;
    max-width: 200px;
    max-height:200px;
    object-fit: cover;
    margin-top:20px;
}
.foot-text{
    width: 70%;
    display: flex;
    flex-direction: column;
}
.foot-text p{
    color:#000;
}
.foot-h3{
    margin-bottom: 0;
}
.foot-first,
.foot-second{
    margin-bottom:0;
    margin-top:15px;
/*    white-space: nowrap;*/
    font-size:90%;
}
.foot-first a,
.foot-second a,
.foot-third a{
    color:#000;
}
.foot-link {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    text-decoration: none;
}
.foot-link::before{
    content: "▲";
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(0%) rotate(90deg);
}
.foot-link:first-child{
    margin-right:15px;
}
.foot-third{
    font-size: 90%;
}
.foot-tel{
    pointer-events: none;
}
.footer-menu {
    display:block;
    position: fixed;
    bottom: 0;
    left:0;
    width: 100%;
    background-color: #fff;
    color: white;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #000;
    opacity: 0.8;
}
.footer-menu a{
    color: #000;
    border: 1px solid #a8d9c4;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #d6e9c4;
}
.foot-img{
    max-width:400px;
    margin-top: 30px;
}


.foot-detail{
    font-weight: bold;
}
.foot-address{
    margin: 0;
}
.foot-tel{
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
}
.foot-tel-label{
    color: #4a66a0;
    font-weight: bold;
    font-size: 20px;
}
.foot-tel-number{
    font-size: 24px;
    font-weight: bold;
    color: #000;
}


/* swiper
------------------------------------------*/
.swiper-area{
    width: 100%;
    margin-bottom: 40px;
    padding: 40px 0;
}
.swiper,
.swiper-example{
    width: 80%;
}
.swiper-slide img{
    aspect-ratio: 4 / 3;
}


.swiper-slide .post__thumb--img {
    margin: 0 0 15px;
}
.swiper-slide .post__thumb--img a {
    padding-top: 62.5%;
    width: 100%;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.swiper-nav{
    position: relative;
    top:-160px;
}
.report_list{
    text-align: center;
}
.report_list_btn{
    border: 3px solid #ffc1c1;
    border-radius: 10px;
    padding: 15px 30px;
    transition: 0.5s;
}
.report_list_btn:hover{
    background-color: #ffdbed;
    color: #fff;
}
.swiper-slide__inner{
    background-color: #ffefef;
    padding: 10px;
}
.swiper-h3{
    overflow: hidden;
}
.h3-report{
    display: block;
    height:100px;
}
.swiper-button-prev,
.swiper-button-next{
    color: #333 !important;
}
/* Archive
------------------------------------------*/
.archive{
    border-bottom:1px solid #ccc;
    padding-bottom: 50px;
    min-height:165px;
}
.archive h3{
    text-align: left;
}
.post-date{
    text-align: left;
}
.archiveleft{
    margin-right: 20px;
    float: left;
    width:120px;
    text-align: center;
}
.archiveright{
    width:100%;
    text-align: left;
}
.cls{
    clear:both;
}
.wp-pagenavi {
    clear: both;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
#content{
    margin:0 auto;
    background-color: #fff;
    padding: 15px 5%;
    text-align: left;
}
.cnt-red{
    color:#ff0000;
}
.cnt-red::before{
    content: "  ";
}
.form{
    width: 80%;
    background-color: #d6e9c4;
    margin: 0 auto;
    border: 2px solid #006400;
    padding: 0% 2%;
}
.add-tbl{
    border-top: none;
}

.form-tr td:first-child{
    width:30%;
}
.form-txt{
    text-align: center;
}





/* demo image */
/* 全体のリセットとベース */
.banner-wrapper {
    overflow: hidden;
    border-bottom: 5px #a8d182 dotted;
}
.sp-banner-wrapper{
    display: none;
}

/* --- 上段セクション --- */
.top-section {
    display: flex;
    height: 455px;
    background-color: #a8d182;
}

/* 左：家の画像エリア */
.house-box {
    position: relative;
    width: 40%;
    background-color: #a8d182;
    height: 400px;
    text-align: left;
}
.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 25px;
}
.btn-case {
    position: absolute;
    top: 410px;
    left: 10px;
    background-color: #ffb830;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

/* 右：緑のエリア */
.green-content {
  position: relative;
  width: 60%;
  color: #fff;
  padding: 20px 20px;
  box-sizing: border-box;
}

.title {
    line-height: 1.3;
    color: #FFFFFF;
    font-size: 3.125rem;
    margin: 0px 0 10px;
    text-align: left;
    position: relative;
    z-index: 5;
}

/* 4つの円 */
.circle-container {
  display: flex;
  gap: 10px;position: relative;
  z-index: 10;
}
.circle {
  width: 100px;
  height: 100px;
  background-color: #65aadd; /* 水色 */
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
}

.catchphrase {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    margin-top: 10px;
    position: relative;
    z-index: 6;
}

.man-img {
    position: absolute;
    right: 0px;
    bottom: 0;
    height: 320px;
    z-index: 1;
}

.bottom-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: #fff;
}

.bottom-text {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    width: 60%;
    margin: 10px;
}

.cursor-img-example {
    position: absolute;
    width: 30px;
    top: 425px;
    left: 160px;
}

/* 赤い吹き出し */
.speech-bubble {
    position: relative;
    background-color: #e60012;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 40px;
    margin-right: 20px;
}

/* 吹き出しの三角部分 */
.speech-bubble::before {
    content: "";
    position: absolute;
    top: -36px;
    left: 180px;
    border-style: solid;
    border-width: 0px 10px 36px 63px;
    border-color: transparent transparent #e60012 transparent;
    white-space: nowrap;
}



#case2{
    border-bottom: 5px #a8d182 dotted;
}

.perth_ul{
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 15px;
}

.perth_li{
    font-size: 225%;
    color: #fff;
    background-color: #65aadd;
    padding: 5px 0px;
    width: 175px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec_perth_txt{
    margin: 15px;
    font-size: 1.5rem;
    color: #2990d0;
}
.sec_perth_area_txt{
    font-size: 16px;
    white-space: nowrap;
}
.h3-message{
    font-size: 250%;
    margin: 20px 0 12px;
    color: #e50044;
    font-weight: 900;
}
.h4-message{
    margin: 12px 0 12px;
    color: #2990d0;
    font-size: 225%;
    font-weight: 900;
}
.h3-under-txt{
    font-size: 16px;
    white-space: nowrap;
}
.txt-center{
    text-align: center;
    margin: 50px 0;
}

#flow{
    background-color: #d6e9c4;
    padding: 60px 20px 40px;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.h2-circle_flow{
    font-size: 26px;
    margin-bottom: 0;
    display: inline-block;
    padding: 25px;
    border-radius: 50%;
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: #fff;
    border: 3px solid #a2c67b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    z-index: 10;
}

#lower_area{
    display: flex;
    gap: 2%;
    max-width: 1280px;
    margin: 50px auto;
    align-items: stretch; 
}
.sec_service {
    flex: 1;
    background-color: #dae9c8;
    padding: 40px 20px 20px;
    position: relative;
    border-radius: 5px;
}

.h2-circle_title{
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background-color: #fff;
    border: 2px solid #a2c67b;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.2;
}
.small-span{
    font-size: 10px;
    font-weight: normal;
}


#service{
    display: flex;
    justify-content: center;
    gap: 6%;
}

.sec_service_box{
    width:48%;
}
.price_box{
    width: 48%;
}
.service_ul{
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    padding-left: 0;
}
.service_li{
    flex-basis: calc(50% - 5px); /* 2カラムにする設定 */
    background-color: #fff;
    border: 1px solid #5ea1d7;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service_li_upper{
    background-color: #65aadd;
    color: #fff;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    height: 40px;
    align-content: center;
    font-size: 140%;
}
.small-span { font-size: 12px; display: block; }
.service_li_lower{
    padding: 10px 5px;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.service_li:nth-child(4) .service_li_lower{
    display: block;
}
.sp-service_li_lower{
    display: none;
}
.price_ul{
    background-color: #d6e9c4;
    margin-top: 30px;
    text-align: left;
    padding:0px 40px 15px;
}

.price_li{
    list-style-type: "●";
    font-size: 150%;
    line-height: 2.5;
    white-space: nowrap;
}

.price_li::marker {
    color: #65aadd;
}

.price-li-detail{
    list-style-type: none;
    font-size: 16px;
}
.price_li span {
  font-size: 16px;
}

/* demo image */
/* 全体のリセット */
.case-section {
  margin: 0 auto;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  text-align: center;
  position: relative;
  padding-bottom: 50px;
}

.main-title {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #333;
}

/* 斜めの背景 */
.content-wrapper {
  position: relative;
  padding: 0px 0 40px;
}

.diagonal-bg {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 50%; /* カード部分をカバーする高さ */
    background-color: #a8d182; /* 緑色 */
    transform: skewY(5deg);
    z-index: -1;
}

/* 上段のレイアウト */
.top-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 30px;
}

/* アイコン（共通） */
.worker-icon,
.worker-icon3{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 10;
    transform: translate(-50%, -50%);
}
.worker-icon img,
.worker-icon3 img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.worker-icon2,
.worker-icon4 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top:-5%;
    right:-17%;
    z-index: 10;
    transform: translate(-50%, -50%);
}
.worker-icon2 img,
.worker-icon4 img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ケースバッジ（オレンジの丸） */
.case-badge-box{
    position: absolute;
    top: 100px;
    left: 50px;
    display: flex;
    flex-direction: column;
}


.case-badge {
  background-color: #f6ad49;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.case-badge-box p { 
    margin: 0;
    color: #FFF;
    font-weight: bold;
}
.case-badge-box p.case-badge { 
    font-size: 36px;
    align-content: space-evenly;
}

/* 白いカード */
.cards-container {
  display: flex;
  gap: 15px;
}
.card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
  min-width: 240px;
}

/* 下部写真エリア */
.photo-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.main-photo {
  width: 100%;
  border-radius: 15px;
  display: block;
}

/* 写真の上のテキスト（縁取り） */
.news-text {
  position: absolute;
  top: 10px;
  width: 100%;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  /* 青い縁取りを再現 */
  text-shadow: 
    -2px -2px 0 #2e60a3,  2px -2px 0 #2e60a3,
    -2px  2px 0 #2e60a3,  2px  2px 0 #2e60a3,
     0px  4px 10px rgba(0,0,0,0.5);
}

/* demp image */
/* 全体コンテナ */
.workflow-section {
  background-color: #dae9c8; /* 薄緑色の背景 */
  padding: 60px 20px 40px;
  position: relative;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  max-width: 1000px;
  margin: 0 auto;
}

/* 上部中央の円形タイトル */
.workflow-title {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: 2px solid #a2c67b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
  z-index: 10;
}

.swiper2{
    margin-top: 20px;
}

/* ステップ外枠（横並び） */
.swiper2-wrapper {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.swiper-flow-slide{
  flex: 1;
  position: relative;
}

/* 各ステップのカード */
.swiper-flow-slide-content {
  background-color: #fff;
  border: 1px solid #d9a641; /* オレンジ/金色の枠線 */
  display: flex;
  flex-direction: column;
}

/* 青い番号アイコン */
.swiper-flow-slide-num {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: #5ea1d7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 26px;
  z-index: 5;
}

/* テキストエリア */
.swiper-flow-slide-txt {
    padding: 20px 5px 10px;
    text-align: center;
    font-weight: bold;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 130%;
}
.swiper-flow-slide-txt span {
  font-size: 13px;
}

/* 画像エリア */
.swiper-flow-slide-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top: 1px solid #d9a641;
}
.swiper-flow-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右矢印のパーツ（最後の要素以外に表示） */
.swiper-flow-slide:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 15%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 10px 0 10px 11px;
  border-color: transparent transparent transparent #ffffff;
  z-index: 11;
}

@media (max-width: 768px){
    .header-inner{
        flex-direction: column;
    }
    .h1-img{
        max-width: 100%;
    }
    .header-utils{
        flex-direction: column;
    }
    .banner-wrapper{
        margin-top: 20px;
    }
    .h2-mincho{
        margin: 1rem 0;
        font-size: 2.5rem;
    }
    .sec_perth_area_txt,
    .h3-under-txt{
        white-space: unset;
        font-size:85%;
    }

    #lower_area{
        flex-direction: column;
    }
    .sec_service_box{
        width: auto;
    }
    .price_box{
        width: auto;
        margin-top: 6vh;
    }
    .price_ul{
        padding: 0 1rem 1vh 0.5rem;
    }
    .price_li{
        font-size: 100%;
        line-height: 1.75;
    }
    .perth_ul{
        padding-left: 0;

    }
    .perth_li{
        font-size: 20px;
        width: 20%;
    }
    .page-wrapper{
        width: 85%;
    }
    .foot-img{
        max-width: 100%;
        margin-top: 15px;
    }
    .sp-img{
        display: block;
        width: 100%;
    }
    .top-section,
    .bottom-section,
    .case-section{
        display: block;
    }
    #case1{
        padding: 0;
        margin-bottom: 3vh;
    }
    .service_li_upper{
        font-size: 110%;
    }
    .price_li span{
        font-size:12px;
    }
    .swiper-flow-slide-txt{
        min-height: 90px;
        font-size: 110%;
    }

    .swiper-nav{
        top: -60px;
    }

    /* temporary Start*/
    .banner-wrapper{
        display:none;
    }
    .sp-banner-wrapper{
        /*display: none;*/
        display: block;
        text-align:center;
        border-bottom: 5px #a8d182 dotted;
        margin-top: 20px;
        padding-bottom: 30px;
    }
    .sp-green-content{
        background-color: #a8d182;
        padding: 2% 1% 1%;
    }
    .sp-title{
        font-size: 1.8rem;
        color: #fff;
    }
    .circle-container{
        padding: 0 2% 5%;
        gap: 2%;
    }
    .circle{
        width: 24%;
        height: auto;
        background-color: #65aadd;
        border: 2px solid #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 120%;
        font-weight: bold;
        line-height: 1.2;
        aspect-ratio: 1 / 1;
        color: #fff;
    }
    .sp-main-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-bottom: 10px;
    }
    .sp-catchphrase {
        font-size: 2rem;
        font-weight: bold;
        line-height: 1.2;
        text-align: center;
        margin: 20px 0;
    }
    .sp-man-img {
        position: relative;
        right: 0px;
        bottom: 0;
        height: 12vh;
    }
    .sp-btn-case{
        position: relative;        
        background-color: #ffb830;
        color: #fff;
        padding: 5px 15px;
        border-radius: 20px;
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
    }
    .sp-cursor-img-example{
        top: 1020px;
        left: 260px;
        position: absolute;
        width: 30px;
        height: auto;
    }
    .sp-bottom-section{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0px 10px;
        background-color: #fff;
    }
    .sp-bottom-text{
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        line-height: 1.4;
        width: 75%;
        margin: 10px;
        text-align: left;
    }
    .sp-speech-bubble{
        position: relative;
        background-color: #e60012;
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
        padding: 10px;
        border-radius: 40px;
        white-space: nowrap;
    }
    .sp-speech-bubble::before {
        content: "";
        position: absolute;
        top: -36px;
        left: 70px;
        border-style: solid;
        border-width: 7px 5px 40px 10px;
        border-color: transparent transparent #e60012 transparent;
    }
    .sp-bottom-section-flexbox{
        display: flex;
        position: relative;
        margin-top: 20px;
    }
    .h2-mincho {
        margin: 1rem 0;
        font-size: 1.7rem;
        width: 100%;
    }
    .section-box-msg {
        display: flex;
        justify-content: space-between;
        text-align: center;
        width: 75%;
        margin: 0 auto;
        position: relative;
        flex-direction: column;
    }
    .worker-icon, .worker-icon3 {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        position: absolute;
        top: 0%;
        left: 0%;
        z-index: 10;
        transform: translate(-50%, -50%);
    }
    .worker-icon2, .worker-icon4 {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        position: absolute;
        top: 50%;
        right: -17%;
        z-index: 10;
        transform: translate(-50%, -50%);
    }
    .main-photo {
        width: 75%;
        border-radius: 15px;
        display: block;
        margin: 0 auto;
    }
    .case-badge-box{
        position: static;
    }
    .section-box-msg{
        display: flex;
        justify-content: space-between;
        text-align: center;
        width: 75%;
        margin: 0 auto;
        position: relative;
        flex-direction: column;
        gap: 10px;
    }
    .sec_about_txt{
        margin: 30px 0;
        font-size: 150%;
    }
    .case-section{
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .section-box-msg-p{
        width: auto;
    }
    #case2{
        padding-bottom: 20px;
    }
    .h3-message {
        font-size: 1.35rem;
        margin: 20px 0 12px;
        color: #e50044;
        font-weight: 900;
    }
    .h4-message {
        margin: 12px 0 12px;
        color: #2990d0;
        font-size: 1.35rem;
        font-weight: 900;
    }
    .content-wrapper{
        padding: 0;
    }
    .sec_perth_txt{
        font-size: 1.35rem;
    }
    .service_li_lower{
        font-size: 90%;
    }

    .sp-service_li_lower{
        padding: 10px 5px;
        text-align: center;
        font-size: 90%;
        line-height: 1.4;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }
    .service_li:nth-child(4) .service_li_lower{
        display: none;
    }
    .form{
        width: 100%;
    }
    input,
    textarea{
        width: 100%;
    }
    .form-tr td:first-child {
    width: 40%;
    }
    /* temporary End */
}