



/*========= 共通 ===============*/


body{
  font-style: normal;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'myfont';
  src: url('../font/TsunagiGothic.ttf') format('truetype');
  font-display: swap;
}





/*========= PC ===============*/
@media only screen and  (min-width : 481px) {


  /* パソコンで見たときは"pc"のclassがついた画像が表示される */
  .pc { display: block !important; }
  .sp { display: none !important; }

    /* パソコンで見たときのみ改行 */
  .br-sp {display: none; }



/*ハンバーガーメニュー*/
#logo{
  width: 300px;
  display: block;
  align-items: center;
}

/* 追従ヘッダー */
header{
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
}

header .pc_nav {
  align-items: center;
  margin: auto;
  width: 90%;
  height:100px;
}


body,ul,li,h1,p {margin: 0;padding: 0;}
a {text-decoration: none; color: #000;}
li {list-style-type: none;}

/* ヘッダー分だけコンテンツが隠れないように */
body{
  padding-top: 100px;
}

/*------------------------------------
汎用 ↓
------------------------------------*/
.flex {display: flex;justify-content: center;}
.aic {align-items: center;}
.jcb {justify-content: space-between;}

/*------------------------------------
ヘッダー a hover:下線アンダーライン ↓
------------------------------------*/


header ul li a {
  position: relative;
  display: flex;
  justify-content: flex-end;
  text-decoration: none;
}

header ul li a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

/*------------------------------------
ヘッダー pcハンバーガーメニュー ↓
------------------------------------*/


header .pc_nav div .crumbs ul li {

  margin-right: 40px;
}
header .pc_nav div .crumbs ul li:last-of-type {
  margin-right: 0;
}

/*------------------------------------
ヘッダー spハンバーガーメニュー ↓
------------------------------------*/

.sidemenu {
  background-color: #fff;
  height: 100vh;
  padding-top: 200px;
  position: fixed;
  right: -100%; /*メニュー幅*/
  transition: all 0.6s;
  top: 0;
  width: 100%; /*メニュー幅*/
  z-index: 2;
  margin: 0 auto;
  text-align: center;
}

.sidemenu nav ul li a {
  display: block;
  text-align: center;
}

.sidemenu nav ul li {
  margin: 0 auto;
  font-size: 20px;
  padding: 20px;
}

#link {
  font-family: "Zen Kaku Gothic New", sans-serif;
  border-bottom: solid 1px #664b86 ;
}

.sidemenu nav {
  text-align: center;
}

.hamburger {
  cursor: pointer;
  height: 50px;
  position: absolute;
  right: 10px;
  top: 25px;
  width: 50px;
  z-index: 3;
  background-color: #664b86;
  border-radius: 5px;
}

.hamburger span {
  background-color: #fff;
  height: 2px;
  left: 11px;
  position: absolute;
  transition: all 0.6s;
  width: 30px;
}

.hamburger_linetop {
  top: 15px;
}

.hamburger_linecenter {
  top: 25px;
}

.hamburger_linebottom {
  top: 35px;
}

/*------------------------------------
メニュークリックした後 ↓
------------------------------------*/

.nav_open .sidemenu {
  right: 0;
}

.nav_open .hamburger_linetop {
  top: 25px;
  transform: rotate(45deg);
}

.nav_open .hamburger_linecenter {
  left: 50%;
  width: 0;
}

.nav_open .hamburger_linebottom {
  top:25px;
  transform: rotate(-45deg);
}

.nav_open .overlay {
  opacity: 0.8;
  visibility: visible;
}

/*------------------------------------
メニュークリック後メニュー外の背景 ↓
------------------------------------*/

.overlay {
  background-color: #fff;
  cursor: pointer;
  height: 100vh;
  right: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all 0.6s;
  visibility: hidden;
  width: 100vw;
  z-index: 1;
}

/*------------------------------------
@media screen 1000px~999px ↓
------------------------------------*/

@media screen and (max-width: 1000px) {

  .sidemenu {
    right: -100%;
    width: 100%;
  }
}

@media screen and (min-width: 999px) {

  .pc_no {
    display: none;
  }
}

#toiawase{
  margin: 20px auto 0 auto;
  align-items: center;
  display: block;
  max-width: 20%;
  width: 100%;
}

#denwa{
  margin: 0;
  align-items: center;
  display: block;
  width: 300px;
}

/*ハンバーガーメニュー*/


/*TOPページ*/


 .container {
  margin: 100px auto 0 auto;
    background-color: #fff;
}

.slider-area {
  margin: 0 auto;
  display: block;
    position: relative;
    width:80%;
    height:850px;
}

.slider-item {
  width:80%;
  margin: 0 auto;
  display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    animation: slideShow 25s linear infinite 0s;
}

.slider-item:nth-child(2) {
    animation-delay: 10s;
}

.slider-item:nth-child(3) {
    animation-delay: 20s;
}

.slider-item:nth-child(4) {
    animation-delay: 30s;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }

    20% {
        opacity: 1;
    }

    40%,
    100% {
        opacity: 0;
    }
}

/*TOPページ*/

/*キャンペーンスライド*/
.slider {
  margin: 50px auto ;
  max-width: 600px;
  width: 100%;
}
.slick-img img {
  height: auto;
  width: 100%;
}
/*キャンペーンスライド*/

/*各カテゴリー*/
.category{
  margin: 200px auto;
}

.category2{
  max-width: 80%;
  padding: 350px 0;
  margin: 200px auto;
  background-color: #f4f3f9;

  /* 長楕円 */
  border-radius: 9999px;
}

.category h2,.category2 h2{
  font-family: 'myfont', sans-serif;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  font-weight: 900;
}

.category .sub,.category2 .sub{
  font-family: 'myfont', sans-serif;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
color: #664b86;
}

#setsumei2{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 30px auto;
  font-size: 20px;
  line-height: 30px;
  color: #000;
}

#setsumei3{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 30px auto 50px auto;
  font-size: 25px;
  color: #000;
}

#setsumei4{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 100px auto 50px auto;
  font-size: 20px;
   line-height: 30px;
  color: #000;
}

#kigen{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 50px auto;
  font-size: 20px;
  line-height: 30px;
  font-weight: bold;
  color: #664b86;
  width: 250px;
  border-bottom: double 5px #664b86;
}

.tyushaku{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 50px auto;
  font-size: 15px;
  color: #000;
}



#setsumeic nav ul{
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0 auto;
  width: 60%; 
}

#setsumeic nav ul li{
  list-style: none;
}


#setsumei{
   font-family: 'myfont', sans-serif;
  line-height: 50px;
  text-align: left;
  font-size: 25px;
  color: #664b86;
}


#image{
  display: block;
  width: 500px;
}

/* 初期状態 */
.fade-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示状態 */
.fade-target.show {
  opacity: 1;
  transform: translateY(0);
}
/*各カテゴリー*/


/*メイン商材*/

#mainshouzai{
  max-width: 80%;
  margin: 20px auto;
}

#mainshouzai ul{
  display: flex;
  justify-content: center;
}

#mainshouzai ul li{
  display: flex;
    justify-content: center;
  align-items: center;
  gap: 20px;
  border-bottom: solid 1px #664b86;
  padding: 20px 0;
  width: 40%;
}

#mainshouzai ul li img{
  width: 50%;
  display: block;
}

#mainshouzai ul li p{
 font-family: 'myfont', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #664b86;
  margin: 0;
}
/*メイン商材*/



/*サブ商材*/
#subshouzai{
  max-width: 100%;
  margin: 20px auto;
  text-align: center;
}

#subshouzai ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#subshouzai ul li{
  gap: 5px;
  padding: 20px 0;
  width: 30%;
  text-align: center;
}

#subshouzai ul li img{
  width:50%;
  display: block;
  margin: 0 auto;
}

#subshouzaip{
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: fit-content;
  min-height: 60px;

  padding: 5px 28px;
  border: 1px solid #664b86;
  border-radius: 9999px;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #664b86;

  margin: 30px auto;
  text-align: center;
  line-height: 1.5;
}
/*サブ商材*/

/*サブ商材2*/
#subshouzai2{
  max-width: 90%;
  margin: 20px auto;
  text-align: center;
}

#subshouzai2 ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#subshouzai2 ul li{
  gap: 5px;
  padding: 20px 0;
  width: 20%;
  text-align: center;
}

#subshouzai2 ul li img{
  width:80%;
  display: block;
  margin: 0 auto;
}

#subshouzai2 ul li p{
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: fit-content;
  min-height: 60px;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #664b86;

  margin: 30px auto;
  text-align: center;
  line-height: 1.5;
}
/*サブ商材2*/


/*続きはこちら*/
.read-more-3 {
    position: relative;
    padding-bottom: 80px;
}

/* checkbox */
.read-more-3 input {
    display: none;
}

.read-more-3 #subshouzai2 {
    position: relative;
    max-height: 500px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

/* 開いた時 */
.read-more-3:has(input:checked) #subshouzai2 {
    max-height: 300vh;
}

.read-more-3 #subshouzai2::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 500px;
    background: linear-gradient(
        to top,
        #f4f3f9 0%,
        rgba(244, 243, 249, 0.9) 5%,
        rgba(244, 243, 249, 0.5) 10%,
        rgba(244, 243, 249, 0) 80%
    );
    content: '';
    pointer-events: none;
}

.read-more-3:has(input:checked) #subshouzai2::after {
    content: none;
}

.read-more-3 label {
  font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 0 4px;

    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);

    padding: 10px 20px;

    border-radius: 25px;
    background-color: #664b86;
    color: #fff;

    cursor: pointer;
    z-index: 10;
}

.read-more-3 label:hover {
    border:1px solid #664b86;
    background-color: #fff;
    color: #664b86;
}

/* 白い丸 */
.read-more-3 label::after{
    content: '';

    width: 28px;
    height: 28px;

    margin-left: 10px;

    border-radius: 50%;
    background: #fff;

    display: inline-block;

    position: relative;
    z-index: 1;
}

/* 線の三角 */
.read-more-3 label::before{
    content: '';

    position: absolute;

    right: 30px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #664b86;
    border-bottom: 2px solid #664b86;

    transform: translateY(-70%) rotate(45deg);

    z-index: 2;
}

/* hover時 */
.read-more-3 label:hover::after{
    background-color: #664b86;
}

.read-more-3 label:hover::before{
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* テキスト切り替え */
.read-more-3 .close-text{
    display: none;
}

.read-more-3:has(input:checked) .open-text{
    display: none;
}

.read-more-3:has(input:checked) .close-text{
    display: inline;
}

/* 三角を上向きに */
.read-more-3:has(input:checked) label::before{
    transform: translateY(-20%) rotate(-135deg);
}
/*続きはこちら*/


/*問い合わせ*/
#toiawase2{
  margin: 100px auto;
}

#toiawase2 img{
  margin: 50px auto;
  width:900px;
}
/*問い合わせ*/


/*相続相談*/
/*吹き出し*/
.balloon1 {
  font-family: 'myfont', sans-serif;
  position: relative;
  display: block;
  width: fit-content;
  margin: 80px auto 30px auto;
  padding: 20px 50px;
  min-width: 120px;
  max-width: 100%;
  text-align: center;
  color: #664b86;
  font-size: 25px;
  background: #FFF;
  border: solid 3px #664b86;
  box-sizing: border-box;
  border-radius: 100px;
}

.balloon1:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.balloon1:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #664b86;
  z-index: 1;
}

.balloon1 p {
  margin: 0;
  padding: 0;
}
/*吹き出し*/

.onayamip{
    display: inline-flex;
  justify-content: center;
  align-items: center;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #664b86;

  margin: 20px auto;
  text-align: center;
  line-height: 30px;
}


.souzokuimg{
  margin: 50px auto;
}

.souzokuimg img{
  margin: 50px auto;
  display: block;
  width: 30%;
}



.souzoku {
  margin: 150px auto;
}


.souzoku h3{
  max-width: 40%;
  font-family: 'myfont', sans-serif;
  text-align: center;
  font-size: 30px;
  margin: 0 auto 10px auto;
  font-weight: 900;
  color: #664b86;
  border-bottom: solid 1px #664b86;
  padding-bottom: 10px;
}

.souzoku img{
  width: 30%;
  display: block;
  margin: 30px auto;
  text-align: center;
}

/*アコーディオンメニュー*/

#accordion {
    margin:30px auto;
}

.accordion-004 {
    margin: 20px auto;
    max-width:750px;
    border: 1px solid #664b86;
    border-radius: 25px;
}

.accordion-004 summary {
  font-size: 25px;
    font-family: 'myfont', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #664b86;
    font-weight: 600;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #664b86b3;
    border-right: 3px solid #664b86b3;
    content: '';
    transition: transform .3s;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}

.accordion-004 p {
  font-family: "Zen Kaku Gothic New", sans-serif;
    transform: translateY(-10px);
    opacity: 0;
    font-size: 20px;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #664b86;
    transition: transform .5s, opacity .5s;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}
/*アコーディオンメニュー*/

/*相続相談*/


/*店舗情報*/

.table {
font-family: "Zen Kaku Gothic New", sans-serif;
 width: 40%;
 margin: 0 auto;
 text-align: left;
 border-collapse: collapse;
 border-spacing: 0;
 border-top: solid 1px #664b86;
}

.table th,
.table td {
 padding: 50px 20px;
 border-bottom: solid 1px #664b86;
}

.table th{
  font-weight: bold;
 font-size: 20px;
 color: #664b86;
}

.table td {
  line-height: 25px;
 font-size: 18px;
 color: #000;
}

.button-2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin: 50px auto;
    padding: .9em 2em;
    border: none;
    border-radius: 50px;
    background-color: #664b86;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}

/* 白丸 */
.button-2::before {
    content: '';

    width: 32px;
    height: 32px;

    border-radius: 50%;
    background: #fff;

    position: absolute;
    right: 20px;
}

/* 矢印 */
.button-2::after {
    content: '';

    position: absolute;
    right: 35px;

    width: 8px;
    height: 8px;

    border-top: 2px solid #664b86;
    border-right: 2px solid #664b86;

    transform: rotate(45deg);

    z-index: 1;
}

.button-2:hover {
    background-color: #664b86;
}
/*店舗情報*/


/*フッター*/


.footer-001 {
  font-family: "Zen Kaku Gothic New", sans-serif;
      flex-direction: column;
    padding: 50px 10px ;
    background-color: #f4f3f9;
}

.footer-001__logo {
    width: 20%;
    height: auto;
    margin-bottom: 50px;
}

.footer-001__list p{
    text-align: left;
    font-size: 15px;
    margin: 20px;
    line-height: 30px;
}


.footer-001__copyright {
  padding: 10px 0;
  bottom: 0;
  text-align: center;
    color: #fff;
    background-color: #664b86;
    font-weight: 200;
    font-size: 15px;
}
/*フッター*/

/*プライバシーポリシー*/

.Privacy{
    font-family: "Zen Kaku Gothic New", sans-serif;
  width: 60%;
  margin: 30px auto;
}
.Privacynaiyou{
  font-size: 15px;
  text-align: left;
  line-height: 25px;
}

.Privacyt{
  margin: 50px auto 30px auto;
  font-weight: bold;
  font-size: 20px;
  text-align: left;
  line-height: 25px;
}

/*プライバシーポリシー*/

  }














/*========= スマホ ===============*/
@media only screen and  (max-width : 481px) {
    


/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
.pc { display: none !important; }
.sp { display: block !important; }

  /* パソコンで見たときのみ改行 */
  .br-pc {display: none; }


/*ハンバーガーメニュー*/
#logo{
  width: 90%;
  display: block;
  align-items: center;
}

/* 追従ヘッダー */
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
}

/* ヘッダー分だけ下げる */
body{
  padding-top: 70px;
}

header .pc_nav {
  align-items: center;
  margin: auto;
  width: 100%;
  height:70px;
}

#denwa{
  display: block;
  width: 70%;
  margin-right: 20px;
  align-items: center;
}

#toiawase{
  margin: 20px auto 0 auto;
  display: block;
  width: 95%;
  align-items: center;
}



body,ul,li,h1,p {margin: 0;padding: 0;}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style-type: none;
}

/*------------------------------------
汎用 ↓
------------------------------------*/

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

.aic {
  align-items: center;
}

.jcb {
  justify-content: space-between;
}

/*------------------------------------
ヘッダー a hover:下線アンダーライン ↓
------------------------------------*/

header ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

header ul li a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

/*------------------------------------
ヘッダー pcハンバーガーメニュー ↓
------------------------------------*/

header .pc_nav div .crumbs ul li {
  margin-right: 40px;
}

header .pc_nav div .crumbs ul li:last-of-type {
  margin-right: 0;
}

/*------------------------------------
ヘッダー spハンバーガーメニュー ↓
------------------------------------*/

header .sp_nav {
  text-align: center;
}

.sidemenu {
  background-color: #fff;
  height: 100vh;
  padding-top: 200px;
  position: fixed;
  right: -100%; /*メニュー幅*/
  transition: all 0.6s;
  top: 0;
  width: 100%; /*メニュー幅*/
  z-index: 2;
}

.sidemenu nav ul li {
  padding: 20px;
  font-size: 20px;
}

#link{
  font-family: "Zen Kaku Gothic New", sans-serif;
  border-bottom: solid 1px #664b86 ;
}

.hamburger {
  cursor: pointer;
  height: 50px;
  position: absolute;
  right: 5px;
  top: 10px;
  width: 50px;
  z-index: 3;
  background-color: #664b86;
  border-radius: 5px;
}

.hamburger span {
  background-color: #fff;
  height: 2px;
  left: 11px;
  position: absolute;
  transition: all 0.6s;
  width: 30px;
}

.hamburger_linetop {
  top: 15px;
}

.hamburger_linecenter {
  top: 24px;
}

.hamburger_linebottom {
  top: 34px;
}

/*------------------------------------
メニュークリックした後 ↓
------------------------------------*/

.nav_open .sidemenu {
  right: 0;
}

.nav_open .hamburger_linetop {
  top: 25px;
  transform: rotate(45deg);
}

.nav_open .hamburger_linecenter {
  left: 50%;
  width: 0;
}

.nav_open .hamburger_linebottom {
  top: 25px;
  transform: rotate(-45deg);
}

.nav_open .overlay {
  opacity: 0.8;
  visibility: visible;
}

/*------------------------------------
メニュークリック後メニュー外の背景 ↓
------------------------------------*/

.overlay {
  background-color: #fff;
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all 0.6s;
  visibility: hidden;
  width: 100vw;
  z-index: 1;
}

/*------------------------------------
@media screen 1000px~999px ↓
------------------------------------*/

@media screen and (max-width: 1000px) {

  .sidemenu {
    right: -100%;
    width: 100%;
  }
}

@media screen and (min-width: 999px) {

  .pc_no {
    display: none;
  }
}

/*ハンバーガーメニュー*/


/*TOPページ*/


 .container {
  margin: 80px auto 0 auto;
    background-color: #fff;
}

.slider-area {
  margin: 0 auto;
  display: block;
    position: relative;
    width:100%;
    height:550px;
}

.slider-item {
  width:100%;
  margin: 0 auto;
  display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    animation: slideShow 25s linear infinite 0s;
}

.slider-item:nth-child(2) {
    animation-delay: 10s;
}

.slider-item:nth-child(3) {
    animation-delay: 20s;
}

.slider-item:nth-child(4) {
    animation-delay: 30s;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }

    20% {
        opacity: 1;
    }

    40%,
    100% {
        opacity: 0;
    }
}

/*TOPページ*/


/*キャンペーンスライド*/
.slider {
  margin: 50px auto ;
  max-width: 600px;
  width: 95%;
}
.slick-img img {
  height: auto;
  width: 100%;
}
/*キャンペーンスライド*/

/*各カテゴリー*/
.category{
  margin: 100px auto;
  max-width: 95%;
}

.category2{
  max-width: 100%;
  padding: 150px 0;
  margin: 100px auto;
  background-color: #f4f3f9;

  /* 長楕円 */
  border-radius: 9999px;
}


.category h2,.category2 h2{
  font-family: 'myfont', sans-serif;
  text-align: center;
  font-size: 30px;
  margin: 0 auto 10px auto;
  font-weight: 900;
}

.category .sub,.category2 .sub{
  font-family: 'myfont', sans-serif;
  text-align: center;
  font-size: 20px;
font-weight: bold;
color: #664b86;
}

#setsumei{
 font-family: 'myfont', sans-serif;
text-align: center;
font-size: 17px;
font-weight: bold;
line-height: 40px;
color: #664b86;
}

#setsumei2,#setsumei4{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 30px auto;
  font-size: 18px;
  line-height: 30px;
  color: #000;
}

#kigen{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 30px auto;
  font-size: 18px;
  line-height: 30px;
  color: #664b86;
  font-weight: bold;
  width: 200px;
  border-bottom: double 5px #664b86;
}

.tyushaku{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 50px auto;
  font-size: 15px;
  color: #000;
}

#setsumei3{
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  margin: 30px auto 50px auto;
  font-size: 20px;
  color: #000;
}


#image{
  margin-top: 40px;
  width: 100%;
}

/* 初期状態 */
.fade-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示状態 */
.fade-target.show {
  opacity: 1;
  transform: translateY(0);
}
/*各カテゴリー*/


/*メイン商材*/

#mainshouzai{
  max-width: 95%;
  margin: 20px auto;
}

#mainshouzai ul{
  display: flex;
  justify-content: center;
}

#mainshouzai ul li{
  display: flex;
    justify-content: center;
  align-items: center;
  gap: 20px;
  border-bottom: solid 1px #664b86;
  padding: 20px 0;
  width: 50%;
}

#mainshouzai ul li img{
  width: 100%;
  display: block;
}

#mainshouzai ul li p{
 font-family: 'myfont', sans-serif;
  font-size: 25px;
  font-weight: 900;
  color: #664b86;
  margin: 0;
  text-align: center;
}
/*メイン商材*/


/*サブ商材*/
#subshouzai{
  max-width: 100%;
  margin: 20px auto;
  text-align: center;
}

#subshouzai ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#subshouzai ul li{
  gap: 5px;
  padding: 20px 0;
  width: 50%;
  text-align: center;
}

#subshouzai ul li img{
  width:95%;
  display: block;
  margin: 0 auto;
}

#subshouzaip{
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: fit-content;
  min-height: 60px;

  padding: 5px 28px;
  border: 1px solid #664b86;
  border-radius: 9999px;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #664b86;

  margin: 20px auto;
  text-align: center;
  line-height: 1.5;
}
/*サブ商材*/


/*サブ商材2*/
#subshouzai2{
  max-width: 100%;
  margin: 20px auto;
  text-align: center;
}

#subshouzai2 ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#subshouzai2 ul li{
  gap: 10px;
  padding: 20px 0 20px 0;
  width: 30%;
  text-align: center;
}

#subshouzai2 ul li img{
  width:90%;
  display: block;
  margin: 0 auto;
}

#subshouzai2 ul li p{
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: fit-content;
  min-height: 60px;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #664b86;

  margin: 0px auto;
  text-align: center;
  line-height: 1.5;
}
/*続きはこちら*/
.read-more-3 {
    position: relative;
    padding-bottom: 80px;
}

/* checkbox */
.read-more-3 input {
    display: none;
}

.read-more-3 #subshouzai2 {
    position: relative;
    max-height: 600px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

/* 開いた時 */
.read-more-3:has(input:checked) #subshouzai2 {
    max-height: 100vh;
}

.read-more-3 #subshouzai2::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(
        to top,
        #f4f3f9 0%,
        rgba(244, 243, 249, 0.9) 5%,
        rgba(244, 243, 249, 0.5) 10%,
        rgba(244, 243, 249, 0) 80%
    );
    content: '';
    pointer-events: none;
}

.read-more-3:has(input:checked) #subshouzai2::after {
    content: none;
}

.read-more-3 label {
  font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 0 4px;

    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);

    padding: 10px 20px;

    border-radius: 25px;
    background-color: #664b86;
    color: #fff;

    cursor: pointer;
    z-index: 10;
}

.read-more-3 label:hover {
    border:1px solid #664b86;
    background-color: #fff;
    color: #664b86;
}

/* 白い丸 */
.read-more-3 label::after{
    content: '';

    width: 28px;
    height: 28px;

    margin-left: 10px;

    border-radius: 50%;
    background: #fff;

    display: inline-block;

    position: relative;
    z-index: 1;
}

/* 線の三角 */
.read-more-3 label::before{
    content: '';

    position: absolute;

    right: 30px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #664b86;
    border-bottom: 2px solid #664b86;

    transform: translateY(-70%) rotate(45deg);

    z-index: 2;
}

/* hover時 */
.read-more-3 label:hover::after{
    background-color: #664b86;
}

.read-more-3 label:hover::before{
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* テキスト切り替え */
.read-more-3 .close-text{
    display: none;
}

.read-more-3:has(input:checked) .open-text{
    display: none;
}

.read-more-3:has(input:checked) .close-text{
    display: inline;
}

/* 三角を上向きに */
.read-more-3:has(input:checked) label::before{
    transform: translateY(-20%) rotate(-135deg);
}
/*続きはこちら*/
/*サブ商材2*/


/*問い合わせ*/
#toiawase2{
  margin: 150px auto;
}

#toiawase2 img{
  margin: 50px auto;
  width: 95%;
}
/*問い合わせ*/

/*相続相談*/

/*吹き出し*/
.balloon1 {
  font-family: 'myfont', sans-serif;
  position: relative;
  display: block;
  width: fit-content;
  margin: 30px auto 30px auto;
  padding: 20px 50px;
  min-width: 120px;
  max-width: 100%;
  text-align: center;
  color: #664b86;
  font-size: 20px;
  background: #FFF;
  border: solid 3px #664b86;
  box-sizing: border-box;
  border-radius: 100px;
}

.balloon1:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.balloon1:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #664b86;
  z-index: 1;
}

.balloon1 p {
  margin: 0;
  padding: 0;
}
/*吹き出し*/

.onayamip{
    display: inline-flex;
  justify-content: center;
  align-items: center;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #664b86;

  margin: 20px auto;
  text-align: center;
  line-height: 1.5;
}


.souzokuimg{
  margin: 50px auto;
}

.souzokuimg img{
  width: 95%;
  margin: 0 auto;
  display: block;
}



.souzoku{
  margin:100px auto;
}


.souzoku h3{
  font-family: 'myfont', sans-serif;
  text-align: center;
  font-size: 30px;
  margin: 0 auto 10px auto;
  font-weight: 900;
  color: #664b86;
  border-bottom: solid 1px #664b86;
  padding-bottom: 10px;
}

.souzoku img{
  width: 95%;
  margin: 30px auto;
}

/*アコーディオンメニュー*/

#accordion {
    margin:30px auto 150px auto;
}

.accordion-004 {
    margin: 20px auto;
    max-width: 500px;
    border: 1px solid #664b86;
    border-radius: 25px;
}

.accordion-004 summary {
  font-size: 18px;
    font-family: 'myfont', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #664b86;
    font-weight: 600;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #664b86b3;
    border-right: 3px solid #664b86b3;
    content: '';
    transition: transform .3s;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}

.accordion-004 p {
  font-family: "Zen Kaku Gothic New", sans-serif;
    transform: translateY(-10px);
    opacity: 0;
    font-size: 15px;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #664b86;
    transition: transform .5s, opacity .5s;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}
/*アコーディオンメニュー*/

/*相続相談*/

/*店舗情報*/

.table {
font-family: "Zen Kaku Gothic New", sans-serif;
 width: 95%;
 margin: 0 auto;
 text-align: left;
 border-collapse: collapse;
 border-spacing: 0;
 border-top: solid 1px #664b86;
}

.table th,
.table td {
 padding: 50px 20px;
 border-bottom: solid 1px #664b86;
}

.table th{
  font-weight: bold;
 font-size: 18px;
 color: #664b86;
}

.table td {
  line-height: 25px;
 font-size: 15px;
 color: #000;
}

.button-2 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin: 50px auto;
    padding: .9em 2em;
    border: none;
    border-radius: 25px;
    background-color: #664b86;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

/* 白丸 */
.button-2::before {
    content: '';

    width: 32px;
    height: 32px;

    border-radius: 50%;
    background: #fff;

    position: absolute;
    right: 20px;
}

/* 矢印 */
.button-2::after {
    content: '';

    position: absolute;
    right: 35px;

    width: 8px;
    height: 8px;

    border-top: 2px solid #664b86;
    border-right: 2px solid #664b86;

    transform: rotate(45deg);

    z-index: 1;
}

.button-2:hover {
    background-color: #664b86;
}
/*店舗情報*/


/*フッター*/
.footer-001 {
  font-family: "Zen Kaku Gothic New", sans-serif;
    flex-direction: column;
    padding: 50px 5px ;
    background-color: #f4f3f9;
}

.footer-001__logo {
    width: 80%;
    height: auto;
    margin-bottom: 50px;
}

.footer-001__list p{
    text-align: left;
    font-size: 15px;
    margin: 20px;
    line-height: 30px;
}


.footer-001__copyright {
    font-family: "Zen Kaku Gothic New", sans-serif;
  padding: 10px 0;
  bottom: 0;
  text-align: center;
    color: #fff;
    background-color: #664b86;
    font-weight: 200;
    font-size: 15px;
}
/*フッター*/

/*プライバシーポリシー*/

.Privacy{
    font-family: "Zen Kaku Gothic New", sans-serif;
  width: 100%;
  margin: 30px auto;
}
.Privacynaiyou{
  font-size: 14px;
  text-align: left;
  line-height: 25px;
}

.Privacyt{
  margin: 50px auto 30px auto;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  line-height: 25px;
}

/*プライバシーポリシー*/
  }

