/* ==========================================================================
   WhiTech: responsive.css
   ブレークポイント(元サイトと同じ): 1140px / 840px / 540px
   ========================================================================== */

@media (max-width: 1140px) {
	.bluebox { border-radius: 400px 400px 60px 60px; }
	.section__inner { padding-left: 40px; padding-right: 40px; }
	.subhero--service .subhero__text { width: auto; flex: 1; }
	.service-row { width: 100%; padding: 0 20px; }
	.service-row__body { width: auto; flex: 1; }
	.worries { flex-wrap: wrap; gap: 20px; }
	.board { width: 100%; }
	.team__img1 { width: 58%; }
	.team__img2 { width: 50%; }
	.case-card__name { flex: 1 1 auto; }
	.strengths3__list { gap: 30px; }
	.why { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 840px) {
	.bluebox { border-radius: 200px 200px 40px 40px; gap: 60px; padding: 60px 20px; }
	.section__inner { padding: 50px 30px; }
	.gnav__dropdown, .gnav > .gnav__link { display: none; }
	.gnav .gnav__menu { display: flex; }
	.gnav { gap: 10px; }
	.site-header { padding: 5px 10px; }
	.site-header__logo { width: 130px; }
	.site-header__logo img { width: 120px; }
	.pill--header .pill__inner { padding: 8px 13px; }

	.hero__title { font-size: 42px; line-height: 58.8px; }
	.hero__mark { width: 240px; height: 240px; }
	.hero__inner { padding: 50px 0; }

	.heading__en { font-size: 40px; line-height: 48px; }
	.heading__ja { font-size: 13px; line-height: 15.6px; }
	.heading { margin-bottom: 25px; }
	.section__inner--wide { padding: 25px 0; }
	.block { padding: 0 25px; }

	.service-row { flex-direction: column; align-items: center; padding: 0; gap: 15px; }
	.service-row__img { width: 238px; align-items: center; }
	.service-row__img img { width: 238px; }
	.service-row__body { width: 100%; }
	.service-row__en { font-size: 24px; line-height: 28.8px; }
	.service-row__ja { font-size: 15px; line-height: 15px; }
	.service-row__text { margin: 10px 0; }
	.service-row__text p { font-size: 14px; line-height: 19.6px; }
	.pill--service .pill__inner { padding: 8px 13px; font-size: 14px; line-height: 19.6px; }
	.pill--service .pill__icon--chevron { font-size: 20px; width: 20px; height: 20px; }

	.greeting { background: transparent; padding: 25px 0; }
	.greeting__bg { inset: 25px 0; background: #333; overflow: hidden; }
	.greeting__inner { padding: 20px 0; }
	.greeting__inner > * { margin-left: 25px; margin-right: 25px; }
	.greeting__text p { font-size: 14px; line-height: 23.8px; }
	.greeting__text { padding: 15px 10px; }

	.achv-list { width: 100%; max-width: 100%; margin: 2px 0; gap: 10px; }
	.achv-card { padding: 5px; gap: 5px; border-radius: 12px; }
	.achv-card__img, .achv-card__img img { width: 82px; }
	.achv-card__body { gap: 10px; }
	.achv-card__name { font-size: 16px; line-height: 19.2px; }
	.achv-card__service { font-size: 12px; line-height: 14.4px; }
	.achv-card__more { font-size: 14px; line-height: 16.8px; }
	.achv-card__point { font-size: 14px; line-height: 19.6px; }

	.home-topics { gap: 10px; }
	.home-topic__inner { padding: 15px; }
	.home-topic__meta { margin: 5px 0; }
	.home-topic__date, .chip--sm { font-size: 8px; line-height: 8px; }
	.home-topic__title { font-size: 16px; line-height: 19.2px; margin: 0 0 5px; }
	.home-topic__excerpt { font-size: 12px; line-height: 20.4px; max-height: 41px; overflow: hidden; }
	.pill--more .pill__inner { font-size: 14px; padding: 8px 15px; }

	.security { flex-direction: column; padding: 20px; }
	.section--about .block { padding: 0 25px; }
	.company__row dt { width: 110px; font-size: 16px; }
	.company__row dd { font-size: 14px; }

	.cta__title { font-size: 24px; line-height: 33.6px; }
	.cta__lead { padding: 0 10px; font-size: 14px; }
	.section--cta .section__inner--cta { padding: 25px 15px; }
	.cta { border-radius: 32px; }
	.logo-big img { width: 80%; }
	.section--logo .section__inner--logo { padding: 80px 0; }
	.site-footer { padding: 30px 20px; }
	.site-footer__inner { gap: 20px; }

	/* サブページ */
	.subhero, .subhero--service, .subhero--about { flex-direction: column; gap: 20px; align-items: center; }
	.section--hero-sub { justify-content: flex-start; }
	.section--hero-sub .section__inner { padding: 50px 30px; }
	.section__inner.section__inner--security { padding: 30px 0; }
	.section__inner.section__inner--illust { padding: 0 30px; }
	.section__inner.section__inner--strengths { padding-top: 130px; }
	.section__inner.section__inner--wide { padding: 25px 0; }
	.section__inner.section__inner--blue { padding: 50px 0; }
	.subhero__label, .subhero__label--blue { font-size: 13px; }
	.subhero__lead, .subhero__lead--24 { font-size: 14px; line-height: 24px; }
	.subhero--about .subhero__text, .subhero--service .subhero__text { width: 100%; }
	.subhero--about .subhero__mark { width: 240px; height: 240px; }
	.subhero--service .subhero__mark { width: 240px; height: 240px; }
	.subhero__title { font-size: 28px; line-height: 39.2px; }
	.section__inner--team { flex-direction: column; align-items: center; }
	.team__img1 { width: 100%; margin: 0; }
	.team__img2 { display: none; }
	.team__sp-wrap { display: flex; justify-content: flex-end; width: 100%; padding: 25px 30px 0 60px; }
	.team__img2-sp { width: 100%; height: auto; border-radius: 4px; }
	.subhero--about .subhero__text { order: -1; }
	.message__title { font-size: 28px; line-height: 39.2px; }
	.strength { flex-direction: column; align-items: flex-start; }
	.grad-num--box { width: auto; align-self: flex-start; padding: 10px 0; }
	.sec-head__title { font-size: 24px; line-height: 33.6px; }
	.sec-head__lead { font-size: 14px; line-height: 19.6px; }
	.sec-head { margin-bottom: 25px; }
	.sec-head--gap50 { margin-bottom: 25px; }
	.worries { flex-direction: column; gap: 15px; width: 100%; }
	.worries__pair { gap: 15px; width: 100%; }
	.worry { max-width: none; }
	.section--illust { overflow: hidden; }
	.illust { margin: 50px 0; }
	.case-card { flex-direction: row; padding: 8px 12px; border-radius: 12px; gap: 8px; text-align: left; }
	.case-card__body { flex: 1 1 auto; }
	.case-card__name, .case-card__name--24 { flex: 1 1 auto; font-size: 14px; line-height: 19.6px; }
	.case-card__logo, .case-card__logo img { width: 56px; }
	.case-card__shot, .case-card__shot img { width: 70px; }
	.flow__step { flex-direction: column; align-items: flex-start; }
	.flow__body { width: 100%; }
	.flow__no { width: auto; padding: 0; }
	.grad-num { font-size: 32px; line-height: 44px; }
	.flow__title { font-size: 16px; line-height: 22.4px; }
	.flow__text { font-size: 14px; line-height: 19.6px; }
	.flow { gap: 20px; }
	.worries__pair { flex-direction: column; }
	.worry { width: 100%; }
	.strengths3__list { flex-direction: column; align-items: center; gap: 30px; }
	.s3 { width: 280px; }
	.price__options { flex-direction: column; }
	.opt { width: 100%; flex: none; }
	.estimate__amount { font-size: 36px; }
	.contact { padding: 30px 20px; }
	.contact__title { font-size: 40px; line-height: 48px; }
	.contact__intro { font-size: 16px; line-height: 28px; padding: 0; }
	.page-title { font-size: 40px; line-height: 48px; }
	.section-inner--page { padding: 30px 10px; }

	/* Topic */
	.topic-item__link { flex-direction: column; gap: 5px; }
	.topic-item__thumb { width: 100%; }
	.topic-item__date { font-size: 13px; line-height: 18.2px; }
	.topic-item__title { font-family: var(--ff-jp); font-size: 18px; line-height: 25.2px; }
	.topic-item__excerpt { font-family: var(--ff-jp); font-size: 14px; line-height: 22.4px; }
	.topic-tabs { gap: 24px 8px; }
	.topic-tabs__list { gap: 8px; }
	.topic-tabs .pill__inner { padding: 8px 13px; }
	.article { padding: 20px; border-radius: 20px; }
	.article__title { font-size: 24px; line-height: 36px; }
	.prose h2 { font-size: 20px; line-height: 32px; }
	.member-card { flex-direction: row; padding: 20px; gap: 15px; width: 371px; }
	.member-card__side { width: 106px; }
	.member-card__photo { width: 106px; height: 106px; }
	.member-card__main { width: 210px; gap: 10px; }
	.member-card__mark { width: 60px; height: 60px; }
	.member-card__sns a, .member-card__sns .fa-brands { font-size: 26px; line-height: 26px; }
	.member-card__bio { font-size: 12px; line-height: 16.8px; }
}

@media (max-width: 540px) {
	.bluebox { border-radius: 999px 999px 80px 80px; padding: 100px 25px; gap: 100px; }
	.article { padding: 25px; }
	.article__head { padding: 15px 0; gap: 5px 0; }
	.article__date { font-size: 14px; line-height: 19.6px; }
	.article__head .chip { font-size: 8px; line-height: 8px; }
	.article__title { font-size: 20px; line-height: 30px; }
	.article__body .prose { margin: 20px 0; font-size: 15px; line-height: 25.5px; }
	.article__body .prose p { line-height: 25.5px; }
	.prose h2 { font-size: 20px; line-height: 32px; }
	.contact { padding: 30px 10px; }
	.contact__intro { font-size: 13px; line-height: 22.1px; padding: 0 10px; }
	.cform { margin: 40px 0; }
	.cform__label { font-size: 13px; line-height: 18.2px; }
	.cform__input { height: 40px; font-size: 14px; line-height: 19.6px; }
	.cform__textarea { height: 150px; }
	.cform__agree a { font-size: 12px; line-height: 16.8px; }
	.cform__submit { width: 185px; }
	.cform__submit button { font-size: 15px; }
	.section--logo-contact .section__inner--logo { padding: 25px 0; }
	.policy { padding: 20px; }
	.site-footer { padding: 60px; }
	.site-footer__inner { flex-direction: column; gap: 30px; }
	.site-footer__legal { align-items: center; }
	.site-footer .social { gap: 0; width: 180px; justify-content: space-between; }
	.site-footer .social__link { width: 60px; height: 60px; }
	.site-footer .social__link img { width: 45px; height: 45px; }
	.company__row dt { width: 83px; padding: 15px 5px; font-size: 14px; line-height: 19.6px; align-items: center; }
	.company__row dd { font-size: 12px; line-height: 16.8px; }
	.subhero--about { margin-top: 30px; }
	.member { flex-direction: row; width: 100%; max-width: 360px; padding: 20px 10px; border-radius: 12px; gap: 10px; align-items: flex-end; }
	.member__top { flex-direction: row; align-items: center; width: auto; flex: 1; }
	.member__photo { width: 100px; height: 100px; flex: none; }
	.member__role { font-size: 13px; line-height: 15.6px; }
	.member__name, .member__en { font-size: 18px; line-height: 21.6px; }
	.member__more { width: auto; padding: 0; margin: 0; }
	.member__more-text { display: none; }
	.board { gap: 20px; width: 100%; }
	.section__inner--blue { padding: 50px 0; }
	.bluebox .sec-head__title { font-size: 20px; line-height: 28px; }
	.why { flex-direction: column; align-items: center; gap: 30px; }
	.why__card { width: 303px; max-width: 100%; }
	.price__body { max-width: 100%; gap: 30px; width: 100%; }
	.price__no { font-size: 13px; line-height: 13px; }
	.price__name { font-size: 15px; line-height: 15px; }
	.opt { height: auto; padding: 10px; }
	.opt p:first-child, .opt p:last-child { font-size: 15px; line-height: 15px; }
	.func { padding: 10px; }
	.func p { font-size: 15px; }
	.func__check img { width: 16px; height: 16px; }
	.func__check { padding: 2px; }
	.price__note { font-size: 13px; }
	.others { padding: 15px; border-radius: 32px; }
	.estimate { padding: 20px; border-radius: 32px; }
	.menu-panel { width: 273px; }
	.board { gap: 20px; }
}

@media (max-width: 540px) { .est-list > div { grid-template-columns: 1fr; gap: 2px; } }

@media (max-width: 840px) { .logo-big img { width: 46%; } .section--logo .section__inner--logo { padding: 60px 0 40px; } }

/* ==========================================================================
   スマホ表示の追加調整(社内FB対応)
   ========================================================================== */
@media (max-width: 840px) {
	h1, h2, h3, h4, .estimate__lead, .sec-head__lead { text-wrap: balance; }
	.topic-item__title, .home-topic__title, .achv-card__name { text-wrap: wrap; }
	.cta__lead, .section__lead, .why__card p, .strength p { text-wrap: pretty; }
}
@media (max-width: 540px) {
	.cta__title { font-size: 21px; line-height: 30px; }
	.cta__lead { font-size: 13px; text-wrap: wrap; }
	.estimate__lead { font-size: 14px; line-height: 1.6; }
	/* 実績・事例(Web制作): ロゴ+名前を上段、スクリーンショットを下段いっぱいに */
	.case-card { flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px; border-radius: 16px; }
	.case-card__logo, .case-card__logo img { width: 56px; }
	.case-card__body { flex: 1 1 0; min-width: 0; }
	.case-card__body .case-card__name, .case-card__name--24 { font-size: 15px; line-height: 21px; }
	.case-card__desc { font-size: 13px; line-height: 1.6; }
	.case-card__shot { flex: 0 0 100%; width: 100%; max-height: 150px; overflow: hidden; border-radius: 10px; }
	.case-card__shot, .case-card__shot img { width: 100%; }
	.case-card__shot img { height: 150px; object-fit: cover; object-position: top center; }
	/* 実績カード(TOP): 長い名前でもはみ出さない */
	.achv-card__head { min-width: 0; }
	.achv-card__name { font-size: 15px; line-height: 21px; overflow-wrap: anywhere; }
	/* Topic一覧: サムネイル未設定時のロゴは小さく */
	.topic-item__thumb img[src*="logo-wordmark"] { width: 132px; margin: 4px 0 2px; }
	.topic-item__link { padding: 20px 18px; }
}
@media (max-width: 360px) {
	.heading__en { font-size: 34px; line-height: 42px; }
	.member__name, .member__en { font-size: 16px; line-height: 20px; }
	.member__photo { width: 84px; height: 84px; }
}

