:root {
  --content-width: 1200px;
  --text: #263c42;
  --color-1: #168b69;
  --color-2: #62c9df;
  --muted: #e6e6e6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.7 "LINE Seed JP", sans-serif;
}
a {
  color: inherit;
  transition: .3s all;
	text-decoration: none;
}
a:hover {
	opacity:.75;
}
img {
	max-width: 100%;
}
.container {
  width: min(100% - 32px, var(--content-width));
  margin-inline: auto;
}

.site-main {
	min-height: 65vh;
	padding-block: min(4.166vw, 50px) min(13.33vw, 160px);
}
body.home .site-main {
	padding-bottom: 64px;
}

@media (max-width: 600px){
	body{
		font-size: 14px;
	}
}

/*************************************
HEADER
**************************************/
.site-header {
  position: relative;
  z-index: 1000;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding: 20px 0;
	border-bottom: 1px solid var(--text);
}

.site-title {
  font-weight: 400;
  font-size: 1em;
  margin: 0 auto 0 0;
	letter-spacing: .1em;
	width: fit-content;
}
.site-title a {
	text-decoration: none;
}
.site-title span {
	display: inline-block;
}
.site-title strong {
  font-weight: 900;
  font-size: 1.25em;
	display: inline-block;
}

/*** MENU ***/
.menu-toggle {
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  display: block;
  padding: 0 1em;
  line-height: 1.875;
	border: 0 none;
	outline: 0 none;
  transition: .3s opacity;
}
.menu-toggle:hover {
  opacity: .75;
}

.menu-toggle__icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
}

.uhas-link a {
  display: block;
  border: 1px solid var(--text);
  padding: 0 1em;
  line-height: 1.875;
  font-weight: 700;
  font-size: 1em;
	text-decoration: none;
	white-space: nowrap;
}

/* 背景オーバーレイ */
.global-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.85);
}

/* 閉じるボタン */
.global-menu__close {
    position: absolute;
    top: 44px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.global-menu__close span {
    position: absolute;
    display: block;
    width: 28px;
    height: 2px;
    background: currentColor;
}

.global-menu__close span:first-child {
    transform: rotate(45deg);
}

.global-menu__close span:last-child {
    transform: rotate(-45deg);
}

/* メニュー本体 */
.global-menu {
	display: none;
    position: fixed;
    top: 0;
    right: 0;
	z-index: 9999;
	width: 80%;
	height: 100%;
	overflow-y: auto;
	max-width: 400px;
    padding: 100px 24px 40px;
    background: var(--color-1);
    color: #fff;
    box-shadow: 0 8px 16px rgb(0 0 0 / 10%);
}

.global-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.global-menu__list li {
	border-bottom: 1px solid #fff;
}

.global-menu__list a,
.global-menu__list span {
    display: block;
    padding: 16px 0;
    color: inherit;
    text-decoration: none;
}
.global-menu__list span {
	opacity: .5;
}

.global-menu__list a:hover {
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle__icon span {
        transition: none;
    }
}

@media (max-width: 600px) {
  .site-header__inner {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
	  position: relative;
  }
	.site-title {
		position: absolute;
    	left: 0;
    	width: 60%;
	}
}

/*************************************
FOOTER
**************************************/
.site-footer {
  /*padding-block: 20px;*/
  color: #fff;
  background: var(--color-1);
	padding-top: min(160px,13.33vw);
	padding-bottom: min(220px, 18.33vw);
	letter-spacing: .1em;
}

/*** footer contents 1 ***/
.footer-contents-1 {
	display: flex;
    align-items: flex-start;
    justify-content: space-between;
	gap: min(80px, 6.751vw);
	padding-bottom: min(120px, 10vw);
}
.footer-departments{
	display: flex;
    align-items: flex-start;
    justify-content: space-between;
	gap: 6%;
	flex: 1;
	width: min(725px, 60.416vw);
}
.footer-logo{
	text-align: center;
	width: min(395px, 32.833vw);
}
.footer-logo p{
	margin-top: 0;
	margin-bottom: 0;
}
.footer-summary {
	font-size: min(1.5rem, 2.85vw);
	font-weight: 400;
}
.footer-sitename {
	font-size: min(2.25rem, 4.28vw);
	font-weight: 900;
	margin-top: .4em;
	margin-bottom: .25em;
}
.footer-description {
	font-size: min(1.25rem, 2.38vw);
	font-weight: 700;
}

.footer-departments__col {
	width: 47%;
}
.footer-departments__col h3{
	font-size: 1rem;
}
.footer-departments__col h3:first-child{
	margin-top: 0;
}
.footer-departments__col dl {
	border-top: 1px solid currentColor;
	padding-top: 1em;
	line-height: 2.0;
}
.footer-departments__col dl dt {
	font-weight: 700;
}
.footer-departments__col dl dd {
	margin-left: 0;
}

@media (max-width: 840px) {
	.footer-contents-1{
		flex-direction: column;
		align-items: center;
	}
	.footer-logo,
	.footer-departments {
		width: 100%;
	}
}
@media (max-width: 440px) {
	.footer-departments {
		flex-direction: column;
	}
	.footer-departments__col {
		width: 100%;
	}
}

/*** footer contents 2 ***/
.footer-contents-2 {
	border-top: 1px solid currentColor;
	padding-top: 40px;
	text-align: center;
}
.footer-nav{
	margin-bottom: 40px;
}
.footer-nav .nav{
	display: flex;
	justify-content: center;
	list-style: none;
	gap: min(2.5em, 4.76%);
	margin-top: 0;
	margin-bottom: 0;
	flex-wrap: wrap;
}
.footer-nav .nav li {
	white-space: nowrap;
}
.footer-contents-2 p {
	margin-top: 0;
	margin-bottom: 0;
}

/*************************************
ENTRY
**************************************/
.interview_header{
	margin: 0 auto min(5.833vw, 70px);
	line-height: 1.0;
}
.interview_header img {
	display: block;
}

.entry-header { margin-bottom: 24px; }
.entry-header h1 {
	margin: 0;
}
.entry-header h1 img {
	display: block;
}

.entry-content .entry-ttl {
	margin: 0 auto min(5.833vw, 70px);
}
.entry-content .entry-ttl img {
	display: block;
}
.entry-thumbnail img, .entry-content img { max-width: 100%; height: auto; }
.post-meta { color: var(--muted); font-size: .9rem; }

.entry-content > section + section {
	margin-top: min(8.33vw, 100px);
}

article.single-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(21.66vw, 260px);
	grid-template-rows: auto 1fr;
    column-gap: min(5.833vw, 130px);
    align-items: stretch;
}

article.single-post > .entry-header {
    grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: min(6.66vw, 80px);
}

article.single-post > .entry-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
	overflow-wrap: anywhere;
}
article.single-post > .entry-content p:not(.outline-p) {
	text-indent: 1em;
	line-height: 2.0;
	margin-top: 0;
	margin-bottom: 1.375em;
	letter-spacing: .1em;
	text-align: justify;
}

article.single-post > .entry-footer {
    grid-column: 2;
    grid-row: 2;
    position: sticky;
    bottom: 30px;
    align-self: end;
    height: fit-content;
    width: min(21.66vw, 260px);
	margin-top: calc(min(65.0833vw, 781px) + min(6.66vw, 80px));
}
article.single-post > .entry-footer .btn-pagetop {
	text-align: center;
	margin-top: 25px;
	margin-bottom: 0;
}
body:not(.single) .btn-pagetop {
	position: fixed;
	right: 16px;
    bottom: 16px;
    z-index: 100;
	margin-bottom: 0;
}
.btn-pagetop a {
	display: inline-block;
	width: 100px;
	height: 100px;
}
.footer-illust img{
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 260px;
	width: 100%;
}
.footer-illust img + img {
	margin-top: 25px;
}

@media (max-width: 767px) {
    article.single-post {
        display: block;
    }
	article.single-post > .entry-content p:not(.outline-p) {
		line-height: 1.75;
	}

    article.single-post > .entry-footer {
        position: static;
        width: auto;
        padding-bottom: 100px;
        margin-top: 40px;
    }
	.btn-pagetop {
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
	.btn-pagetop a {
		width: 80px;
		height: 80px;
	}

    /* articleの終端で止めるときにJSで使用 */
    .entry-footer .btn-pagetop.is-stopped {
        position: absolute;
        bottom: 0;
        
    }
}

/* outline */
p.outline-p {
	text-indent: 1em;
	font-size: 1.125em;
	font-weight: 700;
	line-height: 1.77;
	margin-bottom: min(6.66vw, 80px);
	margin-top: 0;
	letter-spacing: .1em;
	text-align: justify;
}

.outline-section figure.img {
	margin-top: min(6.66vw, 80px);
}
figure.img:last-child {
	margin-bottom: 0;
}
figure.img .cap{
	letter-spacing: .1em;
	line-height: 1.5;
	text-align: left;
	margin-top: .5em;
}

/* section ttl */
.section-ttl {
	font-size: 2em;
	font-family: "Yusei Magic", sans-serif;
	color: var(--color-1);
	padding: .4em 0 .4em 3em;
	margin-bottom: 1.25em;
	font-weight: 400;
	letter-spacing: .1em;
	position: relative;
	line-height: 1.5em;
}
.section-ttl:first-child {
	margin-top: 0;
}
.section-ttl .big {
	font-size: 1.5em;
	font-weight: 400;
}
.section-ttl::before {
	content: "";
	display: block;
	width: 2.5em;
	height: 2.5em;
	position: absolute;
	top: 0;
	left: 0;
	background-position: 0 0;
	background-size: contain;
	background-repeat: no-repeat;
}

@media (max-width: 767px){
	.section-ttl {
		font-size: 21px;
		letter-spacing: .05em;
	}
}

/* FAQ */
.faq-section .section-ttl::before{
	background-image: url(/press_wp/wp-content/themes/uhas-press/assets/img/common/ttlico_faq.png);
}
.faq-section .section-contents p {
	text-indent: 0!important;
}
.faq-section .section-contents p + .faq-item{
	margin-top: 2em;
}

.faq-item {
	margin-top: 1.375em;
	margin-bottom: 1.375em;
	letter-spacing: .1em;
}
.faq-item dt {
	font-weight: 700;
	color: var(--color-1);
	margin-bottom: 1em;
}
.faq-item dd {
	margin-left: 0;
	line-height: 2.0em;
	text-align: justify;
}
.faq-item dt::before,
.faq-item dd::before {
	font-size: 1.5em;
	font-weight: 900;
}
.faq-item dt::before {
	content: "Q";
}
.faq-item dd::before {
	content: "A";
	color: var(--color-2);
}
.faq-section figure.img {
	margin-top: min(5vw, 60px);
}

@media (max-width: 767px) {
	.faq-item dd {
		line-height: 1.75em;
	}
}

/* imps */
.imps-item {
	margin-top: 2em;
	margin-bottom: 2em;
	letter-spacing: .1em;
	line-height: 2.0;
}
.imps-item dd{
	margin-left: 0;
	text-align: justify;
}
.imps-section figure.img {
	margin-top: min(5vw, 60px);
}

@media (max-width: 767px) {
	.imps-item dd {
		line-height: 1.75em;
	}
}

/* next prev */
.nextprev {
	display: flex;
	justify-content: space-between;
	margin-top: min(6.66vw, 80px);
}
.nextprev .prev,
.nextprev .next {
	width: clamp(140px, 25.33%, 190px);
	margin: 0;
	display: block;
}
.nextprev .prev{margin-right: auto;}
.nextprev .next{margin-left: auto;}