* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #303030;
    line-height: 1.6;
    font-size: 14px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5em;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 3em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 2em;
    margin: 0em auto;
    max-width: 800px;
}

.common-font{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
}

section h2 {
    font-weight: bold;
    color: #1F5D83;
    text-align: center;
}

.subtitle {
    font-weight: lighter;
    color: #638397;
    text-align: center;
    margin-bottom: 30px;
}

section h3 {
    border-bottom: 1px solid #1F5D83;
    text-align: center;
    width: 100px;
    color: #1F5D83;
    font-weight: bold;
    margin-bottom: 15px;
}

section .readmoreKensetu h3{
    width: 230px;
}

/* Services Section Styling */
.service-panel {
    border: 1px solid #ccc;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.service-panel h3 {
    margin-bottom: 0.5em;
}

/* Pricing Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

table th, table td {
    padding: 0.75em;
    border: 1px solid #ccc;
    text-align: left;
}

table th {
    background-color: #24476f;
    color: #fff;
    font-weight: 300;
}

table td {
    background-color: #f9f9f9;
    text-align: center;
}

table .side-title{
    width: 30%;
}

table thead th{
    text-align: center;
}

#contact ul {
    list-style-type: none;
    padding-left: 1em;
}

#contact ul li {
    margin: 0.5em 0;
}

.font-size-14{
    font-size: 14px;
    font-weight: 400;
}

.font-size-16{
    font-size: 16px;
    font-weight: 700;
}

.font-size-20{
    font-size: 20px;
    font-weight: 400;
}

.font-size-36 {
    font-size: 36px;
    font-weight: 400px;
}


/* トップ */
.section-top{
    position:relative;
    padding: 0em;
    margin: 0rem;
    max-width: none;
    background: linear-gradient(125deg, #EEF5FD, #A2CBFF);
}

.section-top .img-cover {
    position: relative;
}

.section-top .img-cover:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(125deg, #eef5fd8e, #a2caff79) */
    /* background-color: #5b89bf82;     */
}

.section-top .content {
    position: absolute;/*絶対配置*/
    color: white;/*文字は白に*/
    text-align: left; 
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
}

.section-top .flame {
    position: absolute;/*絶対配置*/
    color: white;/*文字は白に*/
    text-align: left; 
    top: 54%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0; 
    width: 90%;
    height: 80%; 
}

.flame svg {
  max-width: 100%;
}

.section-top nav {
    position: absolute;/*絶対配置*/
    color: white;/*文字は白に*/
    text-align: left; 
    top: 10%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    min-width: 900px;
}


nav ul {
    margin: 0 ;
    padding: 0 ;
}

nav ul li {
    list-style: none;
    display: inline-block;
    position: relative;
    /* width: 18%; */
    /* min-width: 90px; */
}

nav ul li a {
    text-decoration: none;
}

nav ul li:not(:last-child) a:after {
    top: 3px;
    right: -20px;
    width: 1px;
    height: 17px;
    transform: rotate(45deg);
    content: '';
    display: block;
    position: absolute;
    background-color: #fff;
}

nav ul li a:hover {
    color: #c7c7c79e;
}


.section-top .top {
    max-width: 650px;
    text-align: center;
}

.section-top .title {
    margin-bottom: 40px;
    color: #1F5D83;
}

/* .inview {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 1s,visibility 1s, transform 1s;
}
.inview.load {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
} */

/* タイトルのロード時フェード アニメーション */
.load-fade {opacity : 0; transition : all 2s/*処理にかかる時間*/;}
.load-fade.done {opacity : 1; transform : translate(0, 0);}

.load-fade-3 {opacity : 0; transition : all 3s/*処理にかかる時間*/;}
.load-fade-3.done {opacity : 1; transform : translate(0, 0);}



.section-top .detail {
    position: absolute;/*絶対配置*/
    color: #184c6c;/*文字は白に*/
    text-align: left; 
    top: 28%;
    right: 0%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
}

.section-top .accent {
    border: 1px solid #fff;
    font-weight: 600;
    background-color: #e3eeff;
}

.section-top .detail p {
    padding-left: 30px;
    padding-right: 20px;
}

.section-top img {
    width: 100%;
}

.section-top .Introduction {
    text-align: left;
    color: #184c6c;
}

.section-top .Introduction .accent-16 {
    font-size: 16px;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
    border-bottom: 3px solid #fff;
}







/* 当事務所について */
.section-description {
    padding: 0em;
    max-width: none;
    background-color: #F0F7FF;
}

.descriptionArea {
    padding: 40px;
    max-width: 1100px;
    margin: 0em auto;
    display: flex;
    justify-content:space-between;
    align-items: flex-start;
}

.descriptionArea-img-box {
    text-align: center;
}

.descriptionArea img {
    height: auto;
    width: 460px;
    box-shadow: 10px 10px 0px rgba(161, 176, 191, 1);
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    display: block;
}

.descriptionArea .title h2, .descriptionArea .title p {
    text-align: left;
}

.descriptionArea .description {
    background-color: #fff;
    padding: 35px;
    width: 500px;
}






/* 業務内容 */

/* タイトルのロード時フェード アニメーション */

.scroll-up, .scroll-up-2{opacity: 0; transform: translateY(50px)/*スクロールアップする距離*/; transition: all 1s/*処理にかかる時間*/;}
.scroll-up.done{opacity : 1; transform : translate(0, 0);}
.scroll-up-2.done{opacity : 1; transform : translate(-50%);}

.scroll-fade{opacity: 0; transition: all 0.5s/*処理にかかる時間*/;}
.scroll-fade.done{opacity : 1; transform : translate(-50%);}



.section-business-outline{
    padding: 0em;
    margin: 0rem;
    max-width: none;
    background: linear-gradient(125deg, #EEF5FD, #A2CBFF);
}

.section-business-outline h4 {
    margin-bottom: 5px;
}

.businessArea {
    padding: 40px;
    max-width: 1000px;
    margin: 0em auto;
}

.business-outline {
    background: linear-gradient(125deg, #ffffff, #e2f0ff, #F5FAFF);
    padding: 40px;
    border: solid 13px #fff;    	/* 内側の線になる一本線の枠線をひく*/
	outline-offset: 4px;        /* 外側の線と内側の線の空き具合を調整*/
}

.business-bottom {
    margin-bottom: 15px;
}

.business-outline-gap {
    margin-bottom: 90px;
}

.panels {
    display: flex;
    justify-content:space-between;
}

.box {
    padding: 0.5em 2em;
    margin: 0.4em 0;
    color: #5d627b;
    background: white;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.22);
    width: 200px;
    position: relative;
    min-height: 70px;
}

.box-2 {
    padding: 0.5em 2em;
    margin: 0.4em 0;
    color: #5d627b;
    background: white;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.22);
    width: 400px;
    position: relative;
    min-height: 70px;
}

.box p {
    margin: 0; 
    padding: 0;
}

/* ラベル部分 左上に表示 */
.box::before ,.box-2::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #FFD57A; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}

/* .box::after ,.box-2::after {
    padding-left: 2px;
    content: "1.";
    display: block;
    top: 0px; */
    /* transform: rotate(-45deg); */
    /* ↓文字色はここで変更 */
    /* color: #fff(0, 0%, 100%); 
    font-size: 15px;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    left: 0;
    position: absolute;
    z-index: 101;
} */

.box .index,.box-2 .index {
    position: absolute;
    top: -1px;
    left: 5px;
    z-index: 101;
}

section .kensetu h3 {
    width: 220px;
}

section .shougyo h3 {
    width: 135px;
}

.br-sp {
    display: none;
}

.br-sp-reverse {
    display: block;
}


/* 料金案内 */

.priceArea{
    background: linear-gradient(90deg, #F5FAFF, #C9E2FF,#F5FAFF);
    padding: 40px;
    border: solid 1px #F1F7FF;    	/* 内側の線になる一本線の枠線をひく*/
	outline: solid 1px #F1F7FF;    /* 外側の線になる一本線の枠線をひく*/
	outline-offset: 4px;        /* 外側の線と内側の線の空き具合を調整*/
	margin: 2px;            	/* 外側の線を広げた分、要素の大きさを調整する*/
}

.readmore {
    position: relative;
    margin: 50px auto 0;
    padding: 0 0 75px;
  }

.readmore label {
    position: absolute;
    display: table;
    left: 50%;
    bottom: 0;
    margin: 0 auto;
    width: 200px;
    padding: 10px 0;
    color: #24476F;
    text-align: center;
    border-radius: 20px;
    background-color: #99cbfa;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1;
  }

  .readmore label::after {
    display: inline-block;
    width: 15px;
    height: 10px;
    background-color: #24476F;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    margin-left: 5px;
}

/* start 続きを見る（相続・遺言）*/
  .readmoreSouzoku label::before{
    content: '続きを見る';
  }
  
  .readmoreSouzoku input[type="checkbox"]:checked ~ label::before {
    content: '閉じる';
  }
  
  .readmoreSouzoku input[type="checkbox"]{
    display: none;
  }
  
  .readmore-content-souzoku {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .readmoreSouzoku input[type="checkbox"]:checked ~ .readmore-content-souzoku {
    height: auto;
  }
  

/* end 続きを見る（相続・遺言） */


/* start 続きを見る（不動産登記）*/  
  .readmoreHudousan label::before{
    content: '続きを見る';
  }
  
  .readmoreHudousan input[type="checkbox"]:checked ~ label::before {
    content: '閉じる';
  }
  
  .readmoreHudousan input[type="checkbox"]{
    display: none;
  }
  
  .readmore-content-hudousan {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .readmoreHudousan input[type="checkbox"]:checked ~ .readmore-content-hudousan {
    height: auto;
  }

/* end 続きを見る（不動産登記） */

/* start 続きを見る（商業登記）*/  
  .readmoreShougyo label::before{
    content: '続きを見る';
  }
  
  .readmoreShougyo input[type="checkbox"]:checked ~ label::before {
    content: '閉じる';
  }
  
  .readmoreShougyo input[type="checkbox"]{
    display: none;
  }
  
  .readmore-content-shougyo {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .readmoreShougyo input[type="checkbox"]:checked ~ .readmore-content-shougyo {
    height: auto;
  }

/* end 続きを見る（商業登記） */

/* start 続きを見る（建設業）*/
  .readmoreKensetu label::before{
    content: '続きを見る';
  }
  
  .readmoreKensetu input[type="checkbox"]:checked ~ label::before {
    content: '閉じる';
  }
  
  .readmoreKensetu input[type="checkbox"]{
    display: none;
  }
  
  .readmore-content-kensetu {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .readmoreKensetu input[type="checkbox"]:checked ~ .readmore-content-kensetu {
    height: auto;
  }

  .center {
    text-align: center;
  }

/* end 続きを見る（建設業） */





/* 所属司法書士・行政書士 */
.section-member{
    padding: 0em;
    margin: 0rem;
    max-width: none;
    background: linear-gradient(125deg, #EEF5FD, #A2CBFF);
}

.memberArea{
    padding: 40px;
    max-width: 1000px;
    margin: 0em auto;
}

.member{
    background-color: #fff;
    margin-right: 120px;
    padding: 40px;
    border: solid 1px #F1F7FF;    	/* 内側の線になる一本線の枠線をひく*/
	outline: solid 1px #F1F7FF;    /* 外側の線になる一本線の枠線をひく*/
	outline-offset: 4px;        /* 外側の線と内側の線の空き具合を調整*/
    height: 400px;
}

.member-detail span {
    text-align: right;
}

.license, .member-name-read, .member-name {
    display: block;
}

.license {
    margin-top: 44px;
}

.name-box {
    text-align: center;
    margin-left: 30px;
    margin-right: 80px;
}

.member-detail {
    display: flex;
    position:relative;
    z-index: 0;
}

.section-member li{
    list-style:none;
    margin-top: 20px;
    margin-bottom: 10px;
}

.section-member .index{
    float: left;
    margin-right: 30px;
}

.section-member li .info {
    overflow: auto;
}

.member-title {
    display: flex;
    border-bottom: solid 1px #1F5D83;
    position: relative;
    justify-content: end;
}

.member-name {
    font-size: 36px;
}

.status {
    margin-top: 20px;
    margin-left: 40px;
}

.status ul {
    border-bottom: solid 1px #1F5D83;
}

.member img {
    position:relative;
    top:-290px;
    right: -96%;
    z-index: 0;
    outline: solid 1px #F1F7FF;
    outline-offset: 4px;
}



/* 事務所概要 */

.section-profile{
    padding: 0em;
    max-width: none;
    background: linear-gradient(180deg, #FFFFFF, #DBECFF);
}

.profileArea{
    padding: 40px;
    max-width: 1000px;
    margin: 0em auto;
}

.profile {
    display: flex;
    justify-content:space-between;
}

.section-profile table, .section-member table {
    width: 450px;
}

.section-profile table tr, .section-member table tr {
    border-bottom:solid 1px #1F5D83;
}

.section-profile table th, .section-member table th {
    border: none;
    background-color: transparent;
    color: #303030;
}

.section-profile table td, .section-member table td  {
    border: none;
    background-color: transparent;
    text-align: left;
}

.section-profile table .side-title, .section-member table .side-title {
    width: 120px;
}

.section-profile iframe {
    width: 400px;
    height: 400px;
    box-shadow: 10px 10px 0px rgba(232, 242, 254, 1);
    max-width: 100%
}



/* お問い合わせ */

.section-contact{
    padding: 0em;
    max-width: none;
    background: linear-gradient(90deg, #DBECFF, #FFFFFF);
}

.contactArea{
    padding: 40px;
    max-width: 1000px;
    margin: 0em auto;
}



.contact iframe {
    width: 100%;
}


.contact iframe body {
    width: 100%;
}



/* フッター */
footer {
    background-color: #24476F;
}

.footerArea {
    padding: 40px;
    max-width: 1000px;
    margin: 0em auto;
    color: #fff;
    display: flex;
}

footer .title {
    margin-right: 90px;
}

footer nav {
    margin-top: 35px;
    font-size: 12px;
}