@charset "UTF-8";
/* CSS Document */

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

/*==========基本設定==========*/
.pc{
	display: none;
}

.sp{
	display: block;
}

.content{
	width: 90%;
}

.sp_br{
	display: inline;
}

.pc_br{
	display: none;
}


/*==========テキスト設定==========*/

h2{
	font-size: 2.4rem;
	margin-bottom: 0.5em;
	line-height: 1.5em;
}

h3{
	font-size: 2.4rem;
	margin-bottom: 0.3em;
	line-height: 1.5em;
}


/*==========箱の並びの設定==========*/

.box{
	flex-direction: column;
}

.box .box-two,
.box .box-three,
.box .box-four,
.box .one-two,
.box .one-three{
	width: 100%;
}

.box .box-three{
	margin-bottom: 1em;
}


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

.sec01,
.sec02,
.sec03,
.sec04,
.sec05,
.sec06{
	margin-bottom: 8em;
}

.w-70{
	width: 100%;
}

.post_area img{
	border-radius: 10px;
}


/* ========================================
  HEADER
======================================== */

:root{
	--header-height: 54px;
}

.site-header{
	position: fixed !important;
	top: 16px;
	left: 0;
	right: 0;
	z-index: 1100;
	width: 95%;
	margin: 0 auto;
	padding: 0;
	transform: none !important;
}

.site-header__inner{
	position: relative;
	min-height: var(--header-height);
	padding: 6px 7px 6px 16px;
	background-color: transparent;
	border-radius: 4px;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* ヘッダー背景・ぼかし */
.site-header__inner::before{
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: rgba(255, 255, 255, 0.5);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border-radius: 4px;
}

.site-header__logo img{
	width: 150px;
}

.menu-button{
	position: relative;
	z-index: 1200;
	display: block;
}


/* ========================================
  HAMBURGER MENU
======================================== */

.global-nav{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 110px 24px 40px;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: white;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-10px);
	transition: visibility 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.global-nav.is-open{
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.global-nav__list{
	display: block;
	width: 100%;
	max-width: 480px;
	margin: 50px auto 0;
	padding: 0;
	overflow: visible;
	background-color: transparent;
	border-radius: 0;
	text-align: center;
}

.global-nav__item{
	margin: 0 0 0.5em;
	padding: 0;
	border: none;
	border-bottom: 1px solid #E8E8E8;
}

.global-nav__item + .global-nav__item{
	border-top: none;
}

.global-nav__link{
	display: block;
	width: 100%;
	padding: 1em 0;
	font-size: 1.4rem;
	text-align: center;
}

.global-nav__link::after{
	display: none;
}

.global-nav__item_contact{
	margin-top: 0.5em;
}

.global-nav__item_contact .global-nav__link{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50%;
	min-height: 42px;
	margin: 0 auto;
	padding: 0.5em 1.5em;
	border-radius: 87px;
}

body.menu-open{
	overflow: hidden;
}
	
/* ========================================
  TOP
======================================== */

    .fv {
        height: auto;
        min-height: 0;
        aspect-ratio: 5 / 6;
    }

    .fv__visual {
        width: 90%;
        height: 100%;
    }

    .fv__visual img {
        content: url("../img/fv_sp.jpg");
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* キャッチコピー */
    .fv__title {
        left: 5%;
        bottom: 5%;
        gap: 5px;
        font-size: clamp(1.4rem, 4.5vw, 2rem);
        line-height: 1.5;
    }

    .fv__title-line {
        padding: 0.3em 0.6em;
        white-space: nowrap;
    }

    /* 40周年バッジ */
    .fv__badge {
        top: auto;
        left: auto;
        right: 3%;
        bottom: 5%;
        width: 90px;
        transform: none;
    }


/* ========================================
  MORE BUTTON
======================================== */

.more-btn{
	margin: 0 auto;
}


/* ========================================
  TOP-ABOUT
======================================== */

.sec-about__inner{
	flex-direction: column;
	gap: 3em;
}

.sec-about__contents,
.sec-about__visual{
	width: 100%;
}


/* ========================================
  TOP-SERVICE
======================================== */

.sec-service{
	padding: 7em 0 8em;
	overflow: hidden;
}

.sec-service__inner{
	width: 100%;
}

.sec-service__heading{
	gap: 0.7em;
	margin: 0 6% 2em;
}

.sec-service__label{
	font-size: 2.6rem;
}

.sec-service__label-ja{
	font-size: 1.1rem;
}

.sec-service__lead{
	margin: 0 6% 3em;
	font-size: 1.3rem;
}


/* 横スクロール */

.sec-service__scroll{
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 6% 1.5em;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.sec-service__scroll::-webkit-scrollbar{
	display: none;
}

.sec-service__list{
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	width: max-content;
}

.sec-service__item{
	width: 64vw;
	max-width: 280px;
	flex: 0 0 64vw;
	scroll-snap-align: start;
}

.sec-service__visual{
	aspect-ratio: 1 / 1.15;
}

.sec-service__body{
	padding-top: 1.2em;
}

.sec-service__title{
	font-size: 1.3rem;
}
	
/* ========================================
  TOP-NEWS
======================================== */
.sec-news__inner{
	width: 90%;
	flex-direction: column;	
}
	
.sec-news__contents {
    width: 100%;
}
	
.sec-news__heading .sec-heading {
    align-items: center;
}
	
.sec-news__heading {
    width: 100%;
}
	
/* ========================================
  COMMON CONTACT
======================================== */
	
.sec-links__inner{
	width: 90%;
	margin: 0 auto;
}

.common-contact{
	width: 100%;
	padding: 10em 0;
	background-color: var(--bg);
}

.common-contact__inner{
	width: 91%;
	margin: 0 auto;
}

.common-contact__heading{
	margin: 0 0 3em;
	text-align: center;
}

.common-contact__title{
	margin: 0 0 0.5em;
	padding: 0;
	font-size: 2.8rem;
	line-height: 1;
	letter-spacing: 0.05em;
	color: var(--green);
}

.common-contact__title-ja{
	margin: 0;
	font-size: 1.7rem;
	line-height: 1.6;
	text-align: center;
}

.common-contact__lead{
	margin: 0 0 3em;
	text-align: center;
}

.common-contact__buttons{
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.common-contact__btn{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 105px;
	padding: 0 2em;
	border-radius: 0;
}

.common-contact__btn--tel{
	background-color: var(--green);
}

.common-contact__btn--mail{
	background-color: var(--blue);
}

.common-contact__btn-label{
	margin: 0 0 0.4em;
	font-size: 1.5rem;
	line-height: 1.5;
	color: #fff;
}

.common-contact__tel{
	margin: 0;
	font-size: 2.5rem;
	line-height: 1.3;
	color: #fff;
}

.common-contact__note{
	margin: 0.5em 0 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #fff;
}

.common-contact__mail{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 0.5em;
	font-size: 1.1rem;
	line-height: 1.5;
	color: #fff;
}

.common-contact__arrow{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background-color: #fff;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.common-contact__arrow::before{
	content: "";
	width: 5px;
	height: 5px;
	margin-left: -2px;
	border-top: 1.5px solid var(--blue);
	border-right: 1.5px solid var(--blue);
	transform: rotate(45deg);
}

.common-contact__btn--mail:hover .common-contact__arrow{
	transform: translateX(4px);
}
	
.sec-links__title {
		font-size: 2rem;
}

/* ========================================
  FOOTER
======================================== */

.site-footer{
	width: 100%;
	padding: 7em 0 2.5em;
	background-color: #00582F;
}

.site-footer__inner{
	display: block;
	width: 90%;
	margin: 0 auto;
	text-align: center;
}

.site-footer__info{
	margin: 0 0 3em;
	text-align: center;
}

.site-footer__info img{
	margin: 0 auto 3em;
}

.site-footer__name{
	margin: 0 0 1em;
	font-size: 1.6rem;
	line-height: 1.5;
	text-align: center;
	color: #fff;
}

.site-footer__address,
.site-footer__tel{
	margin: 0;
	font-size: 1rem;
	line-height: 2;
	text-align: center;
	color: #fff;
}

.footer-nav{
	width: 100%;
	padding: 0;
}

.footer-nav__list{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5em 1.8em;
	width: 100%;
	margin: 0;
	padding: 0;
}

.footer-nav__item{
	margin: 0;
	padding: 0;
	border: none;
}

.footer-nav__item:nth-child(odd){
	border: none;
}

.footer-nav__item a{
	display: block;
	padding: 0;
	font-size: 1.1rem;
	line-height: 2;
	color: #fff;
	white-space: nowrap;
}

.site-footer__copy{
	margin: 3em 0 0;
	font-size: 0.8rem;
	line-height: 1.5;
	text-align: center;
	color: #fff;
}
	
/* ========================================
  事務所概要
======================================== */
	
/*==========業務内容 ジャンプボタン==========*/
.service-jump{
	width: 90%;
	margin-top: 30px;
}
	
.service-detail__intro{
	gap: 0px;
	margin-bottom: 0;
}

.service-jump__list{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.service-jump__item{
	width: 100%;
}

.service-jump__link{
	min-height: 48px;
	padding: 6px 8px;
	line-height: 1.35;
}
	
#company .content {
    width: 90%;
}
	
.service-detail__body {
    padding: 2em 0 0;
}
	
.service-detail__title,
.service-detail__body{
	margin-bottom: 0;
}
	
#individual, #establishment, #inheritance, #consultation, #audit {
    margin-bottom: 3em;
}
	
.service-detail__title {
	font-size: 2rem;
}
	
.service-detail__intro{
	margin-bottom: 2em;
}
	
.service-detail__item {
    padding: 4em;
}

.service-detail__item-title {
    margin: 0 0 0.5em;
}
	
.sec-strengths {
	padding: 7em 0;
	margin-bottom: 7em;
}
	

/*==========ABOUT PROFILE==========*/

.about-profile{
	padding: 20px 0 50px;
}

.about-profile__inner{
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.about-profile__image{
	width: 65%;
	max-width: 260px;
	margin: 0 auto;
}

.about-profile__image img{
	width: 100%;
	height: auto;
}

.about-profile__body{
	display: block;
	padding: 0;
}

.about-profile__title{
	margin-bottom: 14px;
	font-size: 1.8rem;
	line-height: 1.6;
}

.about-profile__text{
	font-size: 1.3rem;
	line-height: 2;
}

.about-profile__text p + p{
	margin-top: 8px;
}

.about-profile__signature{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 25px;
	padding-top: 0;
}

.about-profile__position{
	font-size: 1rem;
}

.about-profile__name{
	flex-shrink: 0;
	font-size: 1.4rem;
}
	
/*==========HISTORY==========*/

.history{
	padding: 55px 0 60px;
}

.history__heading{
	margin-bottom: 40px;
}

.history__en{
	font-size: 3rem;
}

.history__title{
	margin-top: 3px;
	font-size: 1.2rem;
}

.history__timeline{
	width: calc(100% + 5vw);
	overflow: hidden;
}

.history__scroll{
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.history__scroll::-webkit-scrollbar{
	display: none;
}

.history__list{
	width: max-content;
	min-width: 100%;
}

.history__list::before{
	width: 100%;
}

.history__item{
	flex: 0 0 170px;
	width: 170px;
	padding: 23px 10px 0;
}

.history__year{
	margin-bottom: 7px;
	font-size: 1.3rem;
}

.history__career{
	font-size: 1.4rem;
	line-height: 1.6;
}

.history__description{
	margin-top: 35px;
	font-size: 1.4rem;
	line-height: 2;
}

.history__description p + p{
	margin-top: 4px;
}

/*==========PROFILE INFO==========*/

.profile-info{
	padding: 50px 0 60px;
}

.profile-info__grid{
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.profile-info__card{
	min-height: 0;
	padding: 28px 24px;
}

.profile-info__title{
	margin-bottom: 12px;
	font-size: 1.8rem;
}

.profile-info__text{
	font-size: 1.3rem;
	line-height: 1.8;
}

.profile-info__text p + p{
	margin-top: 5px;
}

.profile-info__link{
	margin-top: 14px;
	font-size: 1.3rem;
}


/*==========講師実績==========*/

.profile-info__lecture{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
}

.profile-info__image{
	width: 100%;
}

.profile-info__image img{
	width: 100%;
	height: auto;
}
	
/*==========FAQ==========*/

.faq-list{
	padding: 45px 0 60px;
}

.faq-item{
	margin-bottom: 12px;
}

.faq-item__question{
	grid-template-columns: 40px 1fr 20px;
	min-height: 75px;
	padding: 18px 20px;
}

.faq-item__number,
.faq-item__answer-number{
	font-size: 2rem;
}

.faq-item__question-text{
	padding-right: 12px;
	font-size: 1.3rem;
	line-height: 1.6;
}

.faq-item__icon{
	width: 16px;
	height: 16px;
}

.faq-item__icon::before{
	width: 16px;
}

.faq-item__icon::after{
	height: 16px;
}


/*==========ANSWER==========*/

.faq-item__answer-inner{
	grid-template-columns: 40px 1fr;
	margin: 0 20px;
}

.faq-item.is-open .faq-item__answer-inner{
	padding: 18px 0 28px;
}

.faq-item__answer-text{
	font-size: 1.3rem;
	line-height: 1.9;
}
	
/*==========NEWS ARCHIVE==========*/

.news-archive{
	padding: 45px 0 60px;
}

.news-archive__inner{
	display: flex;
	flex-direction: column;
	gap: 35px;
}


/* カテゴリーを一覧より上に配置 */

.news-category{
	order: 1;
	width: 100%;
	padding-top: 0;
}

.news-archive__main{
	order: 2;
	width: 100%;
}

.news-category__title{
	margin-bottom: 12px;
	font-size: 1.8rem;
}

.news-category__list{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.news-category__list li{
	margin: 0;
}

.news-category__link{
	font-size: 1.2rem;
}


/*==========NEWS LIST==========*/

.news-list__link{
	padding: 16px 0 18px;
}

.news-list__meta{
	gap: 10px;
	margin-bottom: 5px;
}

.news-list__date,
.news-list__category{
	font-size: 1rem;
}

.news-list__title{
	display: -webkit-box;
	overflow: hidden;
	font-size: 1.3rem;
	line-height: 1.7;
	white-space: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}


/*==========PAGINATION==========*/

.pagination{
	margin-top: 45px;
}

.pagination__list{
	gap: 7px;
}

.pagination__item{
	width: 30px;
	height: 30px;
	font-size: 1.2rem;
}
	
/*==========NEWS DETAIL==========*/

.news-detail{
	padding: 45px 0 60px;
}

.news-detail__inner{
	display: flex;
	flex-direction: column;
	gap: 45px;
}

.news-detail__main{
	width: 100%;
}


/*==========HEADER==========*/

.news-detail__header{
	padding-bottom: 16px;
}

.news-detail__meta{
	gap: 10px;
	margin-bottom: 6px;
}

.news-detail__date,
.news-detail__category{
	font-size: 1rem;
}

.news-detail__title{
	font-size: 2rem;
	line-height: 1.5;
}


/*==========CONTENT==========*/

.news-detail__content{
	padding-top: 24px;
	font-size: 1.4rem;
	line-height: 2;
}

.news-detail__content p{
	margin-bottom: 1em;
}

.news-detail__content h2{
	font-size: 2rem;
}

.news-detail__content h3{
	font-size: 1.6rem;
}

.news-detail__content figure{
	width: 100%;
}

.news-detail__content li{
	padding-left: 15px;
}

/*==========BACK==========*/

.news-detail__back{
	margin-top: 35px;
	padding-top: 25px;
}

.news-detail__back a{
	font-size: 1.2rem;
}

/*==========CATEGORY==========*/

.news-category{
	width: 100%;
	padding-top: 0;
}

.news-category__title{
	margin-bottom: 12px;
	font-size: 1.8rem;
}

.news-category__list{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.news-category__list li{
	margin: 0;
}

.news-category__link{
	font-size: 1.2rem;
}
	
/*==========CONTACT FORM==========*/

.contact-form{
	padding: 45px 0 60px;
}

.contact-form__row{
	display: block;
}

.contact-form__label{
	margin-bottom: 8px;
	padding-top: 0;
	font-size: 1.3rem;
}

.contact-form__required{
	font-size: 1rem;
}

.contact-form__field input[type="text"],
.contact-form__field input[type="tel"],
.contact-form__field input[type="email"]{
	height: 38px;
	padding: 1em;
	font-size: 1.4rem;
}

.contact-form__field textarea{
	height: 180px;
	padding: 12px;
	font-size: 1.3rem;
}
	
.contact-form__form {
    width: 100%;
}


/*==========CHECKBOX==========*/

.contact-form__checkbox-list{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.contact-form__checkbox{
	font-size: 1.2rem;
	line-height: 1.5;
}


/*==========PRIVACY==========*/

.contact-form__privacy{
	margin-top: 35px;
	padding: 30px 0;
}

.contact-form__privacy-box{
	width: 100%;
	height: 180px;
	padding: 20px;
	overflow-y: auto;
}

.contact-form__privacy-box p{
	font-size: 1.2rem;
	line-height: 1.8;
}


/*==========SUBMIT==========*/

.contact-form__submit{
	margin-top: 30px;
}

.contact-form__agree{
	margin-bottom: 20px;
	font-size: 1.2rem;
}

.contact-form__button{
	width: 210px;
	height: 50px;
	font-size: 1.3rem;
}
	
/*==========404==========*/

.error-404{
	padding: 7em 0 8em;
}

.error-404__number{
	font-size: 6rem;
}

.error-404__title{
	font-size: 1.8rem;
	line-height: 1.7;
}

.error-404__text{
	margin-bottom: 2.5em;
	font-size: 1.3rem;
	line-height: 1.9;
}
	

	
}/*end*/