@charset 'utf-8';
/*
Theme Name: prof-s
*/
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Noto+Sans+JP:wght@100..900&display=swap');


/*reset*/
/*******************************************************************/
html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]{-webkit-appearance:textfield;appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button;appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:transparent;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none;appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}img{width:auto;max-width:100%;height:auto;border-style:none;vertical-align:middle}i{vertical-align:middle}progress{vertical-align:baseline}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}ul,ol{list-style:none}i,em{font-style:normal}
figure { margin: 0;}
a { color: #222; transition: all .2s ease-out; text-decoration: none;}
a:hover { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60); opacity: 0.6;}
*:focus { outline: none;}


/*LAYOUT*/
/*******************************************************************/
html { font-size: 62.5%;}
body { -webkit-text-size-adjust: 100%; -webkit-overflow-scrolling: touch; height: 100%; font-family: "Noto Sans JP", serif; font-optical-sizing: auto; font-size: 1.6rem; line-height: 1.4; color: #222; }
#container { width: 100%; overflow: hidden;}
i { font-family: "Figtree", sans-serif; font-optical-sizing: auto; font-style: normal;}


/*HEADER*/
/*******************************************************************/
#header { position: fixed; top: 0; left: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; height: 80px; padding: 0 24px; z-index: 100; transition: .2s ease-out;}
#nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 16px;}
.menu { display: flex; align-items: center; gap: 16px;}
.menu > li > a { font-weight: 700;}
.menu > li:not(.btn) > a { white-space: nowrap;}
.menu .btn { margin-top: 0;}
.sns { display: flex; align-items: center; gap: 9px;}
#header.is-fixed { background: #FFF; box-shadow: 0 0 6px rgba(0,0,0,.06);}
@media only screen and (min-width: 1141x){
	#open { display: none;}
}
@media only screen and (max-width: 1140px){
	#header { padding: 0 10px;}
	#header .sns { margin-left: auto;}
	#nav { pointer-events: none; opacity: 0; position: fixed; top: 0; right: 0; transform: translateX(100%); display: flex; flex-direction: column; gap: 24px; min-width: 200px; max-height: 100svh; padding: 80px 48px; background: #FFF; border-bottom-left-radius: 30px; box-shadow: 0 0 10px rgba(0,0,0,.15); z-index: 1000; transition: .4s cubic-bezier(.645,.045,.355,1); overflow-y: auto; overscroll-behavior: contain;}
	#nav .menu { width: 100%; flex-direction: column;}
	#nav .menu li { padding: 8px 0;}
	#open { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; background: #296150; border-radius: 50%; cursor: pointer; z-index: 9999;}
	#open div { position: relative; display: block; width: 22px; height: 10px; transition: .2s linear;}
	#open span { position: absolute; left: 0; display: block; width: 22px; height: 2px; background: #FFF; border-radius: 2px; transition: .2s linear;}
	#open span:nth-child(1) { top: 0;}
	#open span:nth-child(2) { top: 9px; width: 12px;}
	.open #open span:nth-child(1) { top: 5px; transform: rotate(45deg);}
	.open #open span:nth-child(2) { top: 5px; transform: rotate(-45deg); width: 22px;}
	.open #nav { pointer-events: auto; opacity: 1; transform: translateX(0);}
}


/*FOOTER*/
/*******************************************************************/
#footer { position: relative; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; background: #296150; color: #FFF;}
.global a { text-decoration: underline; color: #FFFF;}
@media only screen and (max-width: 1024px){
	#footer { flex-direction: column;}
}


/*CONTENTS*/
/*******************************************************************/
article { position: relative; clear: both; padding: 80px 0;}
article header { width: 92%; max-width: 980px; margin: 0 auto 40px; text-align: center;}
article header h2 { font-size: 3.2rem;}
article header i { font-size: 4.5rem; font-weight: 700; text-transform: uppercase; color: #296150;}
article header i::after { content: ''; display: block; width: 60px; height: 3px; margin: 8px auto 16px; background: #CBAC6C;}
article header i + h2 { font-size: 1.8rem;}
section { width: 92%; max-width: 980px; margin: 0 auto;}
.narrow { max-width: 700px;}
p { line-height: 1.8;}
p:not(:last-child) { margin-bottom: 1em;}
figure { position: relative;}
figcaption { display: block; margin-top: 8px; text-align: center;}
.bg { background: #F9FBFB;}
.center { text-align: center!important;}
.right { text-align: right!important;}
.left { text-align: left!important;}
.clear { clear: both;}
.btn a { display: inline-block; padding: 8px 24px; text-align: center; background: #FFF; border: 2px solid #31775D; border-radius: 48px; font-weight: 700; color: #31775D;}
.btn a.alt { background: #F35F39; border-color: #F35F39; color: #FFF;}
.underline { text-decoration: underline;}
.green { color: #296150 !important;}
.bold { font-weight: 700;}
.marker { background: linear-gradient( transparent 60%, #FFEC5D 60%);}
.sp { display: none;}
.fadeInUp{ animation-name: fadeInUp;}
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0);} to { opacity: 1; transform: translate3d(0, 0, 0);}}
.animated { opacity: 0; animation-duration: 0.7s; animation-delay: 0.2s; animation-fill-mode: both;}


/*TOP*/
#mv { display: flex; flex-direction: column; justify-content: center; gap: 40px; height: 100svh; min-height: 768px; padding-left: 7%;}
.boxvisible { position: relative; display: inline-block; overflow: hidden;}
.boxvisible > * { position: relative; display: inline-block; padding: 2px 4px 6px; opacity: 0; font-size: 5rem; background: #FFEC5D;}
.boxvisible::after { content: ""; position: absolute; width: 100%; height: 100%; top: 0; left: -100%; background: #CCC;}
.boxvisible.alt > * { background: #FFF; font-size: 2.3rem;}
body.start .boxvisible:after { animation-name: boxvisible; animation-timing-function: ease-in-out; animation-duration: 0.8s;}
body.start .boxvisible.delay:after { animation-delay: 0.2s;}
body.start .boxvisible.delay2:after { animation-delay: 0.4s;}
body.start .boxvisible > * { opacity: 1; transition-delay: 0.4s;}
body.start .boxvisible.delay > * { transition-delay: 0.6s;}
body.start .boxvisible.delay2 > * { transition-delay: 0.8s;}
@keyframes boxvisible { 0% { left: -100%;} 20% { left: 0;} 70% { left: 0;} 100% { left: 100%;}}
#mv h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 0; border-bottom: none;}
#mv figure { position: absolute; top: 0; right: 0; bottom: 0; left: 34%; display: grid; grid-template-columns: 1fr 1fr; z-index: -1;}
#mv figure img { width: 100%; height: 100%; object-position: center top; object-fit: cover;}
#scrollline { position: absolute; bottom: 0; left: 14%; z-index: 10;}
#scrollline::after { content: ''; display: block; width: 1px; height: 40px; margin: 0 auto; background-color: #000; opacity: 0.25; transform-origin: bottom; animation: scrollline 3s cubic-bezier(0.84, 0.09, 0.2, 0.95) infinite;}
#scrollline i { display: block; margin-bottom: 10px; font-size: 1.1rem; color: #000;}
@keyframes scrollline { 0% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); -webkit-transform-origin: bottom; transform-origin: bottom} 25% { -webkit-transform: scale3d(1, 0, 1); transform: scale3d(1, 0, 1); -webkit-transform-origin: bottom; transform-origin: bottom} 26% { -webkit-transform: scale3d(1, 0, 1); transform: scale3d(1, 0, 1); -webkit-transform-origin: top; transform-origin: top} 50% {-webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); -webkit-transform-origin: top; transform-origin: top}}
#mv .btn a { display: flex; justify-content: center; align-items: center; width: 360px; height: 70px; font-size: 2.4rem;}

#about p { text-align: center; font-size: 2.8rem; font-weight: 700; line-height: 1.4;}
#about .about { position: relative; margin: 56px 0; padding: 40px; background: #FFF; border: 2px solid #6DA091; border-radius: 20px;}
#about .about p { position: absolute; left: 50%; padding: 0 16px; font-size: 1.8rem;}
#about .about p.top { top: 0; transform: translate(-50%,-50%); background: linear-gradient( #F9FBFB 50%, #FFF 50%);}
#about .about p.bottom { bottom: 0; transform: translate(-50%,50%); background: linear-gradient( #FFF 50%, #F9FBFB 50%);}
#about .about ol { display: grid; gap: 16px;}
#about .about li { display: grid; grid-template-columns: auto 1fr; gap: 16px; font-size: 2.4rem; font-weight: 700; color: #296150;}
#about .about li i { display: flex; align-items: center; gap: 8px; font-size: 3rem; color: #CBAC6C;}
#about .about li i::after { content: '';}

.condition ul { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; text-align: center;}
.condition p { margin-top: 8px; font-size: 1.8rem; font-weight: 700; color: #296150;}
.result h3 { margin-top: 40px; padding-top: 80px; text-align: center; background: url(img/top/arrow.svg) center top no-repeat; font-size: 2.8rem;}
.result ul { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 40px 24px; margin: 24px 0;}
.result li { display: flex; flex-direction: column; justify-content: space-around; align-items: center; padding-bottom: 48px; text-align: center; background: url(img/top/result.svg) center bottom no-repeat; font-family: "Figtree", "Noto Sans JP", serif; font-weight: 700; line-height: 1;}
.result li span { font-size: 2.8rem;}
.result li span em { font-size: 7rem;}
.result li:last-of-type span em{ font-size: 3.6rem;}

#message { display: grid; grid-template-columns: auto 1fr; gap: 48px; width: 92%; max-width: 980px; margin: 0 auto;}
#message::after { content: ''; position: absolute; top: 0; left: 64px; right: 0; bottom: 0; background: #F9FBFB; z-index: -1;}
#message header { width: auto; text-align: left; -webkit-writing-mode: vertical-rl; writing-mode: vertical-rl;}
#message header i::after { width: 3px; height: 60px; margin: 0 8px 0 16px;}
#message section { display: grid; grid-template-columns: 50% 1fr; gap: 48px; width: auto;}
#message section figure { order: 1; margin-right: -20%;}

#consultant { background: url(img/top/bg_l.svg) left top no-repeat, url(img/top/bg_r.svg) right bottom no-repeat;}
.consultant { display: grid; grid-template-columns: 300px 1fr; gap: 24px 40px;}
.consultant .prof { align-self: flex-start; display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: flex-start; gap: 16px;}
.consultant .prof figure { grid-column: 1 / 3;}
.consultant .prof h3 { font-size: 1.4rem; font-weight: 500; color: #AAAAAA;}
.consultant .prof h3 em { font-size: 3.2rem; color: #296150;}
.consultant .prof .sns { justify-content: flex-end;}
.consultant .contents dl { display: grid; grid-template-columns: auto 1fr;}
.consultant .contents dt { padding: 16px 24px 16px 0; border-bottom: 1px solid #CCCCCC; color: #296150;}
.consultant .contents dd { padding: 16px 0; border-bottom: 1px solid #CCCCCC;}
.consultant.alt { grid-template-columns: 1fr 300px; margin-top: 56px;}
.consultant.alt .prof { order: 1;}
.consultant.alt .prof h3 { order: 1; text-align: right;}
.consultant.alt .prof .sns { flex-direction: row-reverse;}

#mission { display: grid; grid-template-columns: auto 1fr; gap: 32px; width: 92%; max-width: 980px; margin: 0 auto;}
#mission::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; background: url(img/top/mission.jpg) left top no-repeat; background-size: cover; z-index: -3;}
#mission header { width: auto; text-align: left;}
#mission section { width: auto;}
.mission p { margin-top: 20px; font-size: 1.5rem;}
.mission ol { display: grid; gap: 20px;}
.mission li { position: relative; display: flex; align-items: center; gap: 24px; padding:  24px 32px;}
.mission li:nth-child(1) { margin-left: 50px;}
.mission li:nth-child(3) { margin-left: -50px;}
.mission li::before { content: ''; position: absolute; top: 0; left: 0; right: -50vw; bottom: 0; background: #FFF; border: 1px solid #296150; border-radius: 100px 0 0 100px; z-index: -2;}
.mission li::after { content: ''; position: absolute; top: 0; left: 0; right: -50vw; bottom: 50%; border-top: 3px solid #296150; border-left: 3px solid #296150; border-top-left-radius: 100px; z-index: -1;}
.mission li i { font-size: 4.5rem; font-weight: 700; color: #CBAC6C;}
.mission li span { font-size: 1.8rem; font-weight: 700; color: #296150;}

.flow ol > li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 32px}
.flow ol > li i { display: flex; justify-content: center; align-items: center; width: 80px; height: 80px; background: #CBAC6C; border-radius: 50%; font-size: 4rem; font-weight: 700; color: #FFF;}
.flow ol > li:not(:last-child) { padding-bottom: 32px;}
.flow ol > li::after { content: ''; position: absolute; top: 0; left: 39px; width: 3px; height: 100%; background: #CBAC6C; z-index: -1;}
.flow ol > li:last-child::before { content: ''; position: absolute; bottom: 0; left: 39px; width: 3px; height: 18px; transform-origin: right bottom; transform: rotate(-45deg); background: #CBAC6C; z-index: -1;}
.flow ul { display: grid; gap: 4px; list-style: disc; margin-left: 1.5em;}
.flow h3 { margin-bottom: 0.5em; font-size: 2.4rem; color: #296150;}

.casestudy { position: relative; max-width: 920px;}
.casestudy .swiper { height: 810px; padding: 10px 0;}
.case { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 24px; height: 200px; margin: 0 5px; padding: 25px; background: #FFF; overflow: auto; border-radius: 20px; box-shadow: 0 1px 6px rgba(0,0,0,.1);}
.case .before { font-weight: 700;}
.case h3 { margin-bottom: 0.5em; padding-left: 40px; padding-bottom: 8px; background: url(img/top/after.svg) left center no-repeat; border-bottom: 2px solid #296150; font-size: 2rem; color: #296150;}
.swiper-button-prev { left: -30px !important; cursor: pointer;}
.swiper-button-next { right: -30px !important; cursor: pointer;}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction { position: relative; margin-top: 24px;}
.swiper-pagination-bullet-active { background: #296150;}

.faq dt { position: relative; padding: 24px 56px 24px 72px; background: #FBFAF8; border: 1px solid #C4D4CF; font-size: 1.8rem; font-weight: 500; line-height: 1.4; color: #296150; cursor: pointer; transition: .3s ease-out;}
.faq dt::after { content: '＋'; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); font-size: 1.8rem; font-weight: 700; color: #296150;}
.faq dt:not(:first-of-type) { margin-top: 16px;}
.faq dt.on::after { content: 'ー';}
.faq dt::before { content: 'Q'; position: absolute; top: 50%; left: 16px; transform: translateY(-50%); font-family: "Figtree", sans-serif; font-size: 3.6rem; font-weight: 700; color: #296150;}
.faq dd { position: relative; display: none; padding: 24px 16px 24px 72px; line-height: 1.8;}
.faq dd::before { content: 'A'; position: absolute; top: 0; left: 18px; font-family: "Figtree", sans-serif; font-size: 3.6rem; font-weight: 700; color: #CBAC6C;}

#company { display: grid; grid-template-columns: 1fr 40%; gap: 0 32px; width: 92%; max-width: 980px; margin: 0 auto;}
#company header { width: auto; margin-left: 0; text-align: left;}
#company header i::after { margin-left: 0;}
#company section { width: auto; margin-left: 0;}
#company figure { grid-column: 2/ 3; grid-row: 1 / 3;}
.company { border-collapse: separate;}
.company th, .company td { padding: 12px 0; vertical-align: middle;}
.company th { padding-right: 32px; text-align: right; vertical-align: top; white-space: nowrap;}

.form { max-width: 780px;}
.form dl { display: grid; grid-template-columns: auto 1fr; margin: 40px 0;}
.form dt { display: flex; justify-content: space-between; align-items: flex-start; padding: 28px 24px 24px 0; text-align: left; font-size: 1.8rem; font-weight: 700; color: #296150;}
.form dd { padding: 16px 0;}
.form dd span { margin: 0 8px;}
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="url"] { display: inline-block; width: 100%; padding: 12px; background: #FFF; border: 1px solid #CCC; border-radius: 5px; vertical-align: middle;}
.form textarea:read-only, .form input[type="text"]:read-only { background: #F4F4F4!important;}
.form select { padding: 12px 48px 12px 12px; background: #FFF url("img/common/select.svg") right 16px center no-repeat; border: 1px solid #CCC; border-radius: 5px;}
.form textarea { width: 100%; min-height: 240px; padding: 12px; background: #FFF; border: 1px solid #CCC; border-radius: 5px;}
.form textarea.eventname { min-height: 3em;}
.form label { display: inline-block; padding: 8px 0;}
.form input[type="checkbox"] { display: none;}
.form input[type="checkbox"] + span { position: relative; display: inline-block; padding: 16px 0 16px 40px; line-height: 1; cursor: pointer;}
.form input[type="checkbox"] + span::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 30px; height: 30px; background: #EEE; border: 1px solid #CCCCCC; border-radius: 6px;}
.form input[type="checkbox"] + span::after { content: ''; position: absolute; top: 50%; left: 9px; transform: translateY(-50%) rotate(-45deg); width: 12px; height: 5px; border-left: 2px solid #CCC; border-bottom: 2px solid #CCC;}
.form input[type="checkbox"]:checked + span::before { background: #E68222;}
.form input[type="checkbox"]:checked + span::after { border-color: #FFF;}
.form input[type="radio"] { display: none;}
.form input[type="radio"] + span { position: relative; display: inline-block; margin-right: 24px; padding-left: 28px; vertical-align: middle; line-height: 2;}
.form input[type="radio"] + span::before { content: ''; position: absolute; top: 4px; left: 0; display: block; width: 24px; height: 24px; background: #FFF; border: 1px solid #CCC; border-radius: 50%;}
.form input[type="radio"]:checked + span::after { content: ''; position: absolute; top: 9px; left: 5px; display: block; width: 14px; height: 14px; background: #864549; border-radius: 50%;}
.form input.middle { width: 60%;}
.form ::-webkit-input-placeholder { font-weight: 400; color: #CCCCCC;}
.form ::-moz-placeholder { font-weight: 400; color: #CCCCCC;}
.form :-ms-input-placeholder { font-weight: 400; color: #CCCCCC;}
.form .inputTextShort { width: 75% !important;}
.form .inputTextShortest { width: 50% !important;}
.form .wm { width: 25% !important;}
.form .ws { width: 20% !important;}
.must { margin-left: 16px; padding: 2px 6px; background: #F28766; border-radius: 40px; font-size: 1.5rem; color: #FFF; white-space: nowrap;}
.any { margin-left: 16px; padding: 2px 6px; background: #BFC4C4; border-radius: 40px; font-size: 1.5rem; color: #FFF; white-space: nowrap;}
.note { font-size: 1.3rem; color: #555555; word-break: break-all;}
.privacy { height: 240px; padding: 24px; border: 1px solid #DDDDDD; overflow: auto;}
.submit { clear: both; position: relative; display: block; max-width: 180px; margin: 48px auto 0; text-align: center;}
.submit input[type="submit"], .formBtn { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; min-height: 60px; padding: 8px 16px; text-align: center; background: #296150; border-radius: 40px; font-size: 1.8rem; font-weight: 700; color: #FFF;}
.submit button[type="submit"] { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; min-height: 60px; padding: 8px 16px; text-align: center; background: #A2A2A2; transition: .2s ease-out;}
.confirm { margin-top: 32px;}
.confirm .confirm-hide { display: none;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { font-size: 1.6rem;}
.wpcf7-spinner { display: block; margin: 8px auto;}
#main .form .formTable { border: none;}
#main .form .formTable th { border: none; background-color: #FFF !important;}
#main .form .formTable td { border: none;}


/*PAGE*/
#title { width: 92%; text-align: center; margin: 0 auto; padding-top: 160px;}
#title h1 { font-size: 2.8rem;}
#title + .bg { margin-top: 64px;}





@media only screen and (max-width: 1023px){
#logo img { height: 56px;}
.sp { display: block;}
.pc { display: none!important;}


/*TOP*/
#mv { gap: 16px; padding-top: 100px; min-height: initial;}
.boxvisible { position: relative; display: inline-block; overflow: hidden;}
.boxvisible > * { padding: 6px; font-size: 2.4rem;}
.boxvisible::after { top: -100%; left: 0;}
.boxvisible.alt > * { font-size: 1.4rem;}
.boxvisible.alt .marker { background: linear-gradient(90deg, #FFEC5D 40%, transparent 40%);}
body.start .boxvisible:after { animation-name: boxvisibleSp;}
@keyframes boxvisibleSp { 0% { top: -100%;} 20% { top: 0;} 70% { top: 0;} 100% { top: 100%;}}
#mv .title { width: 40%;}
#mv h1 { justify-content: flex-end; -webkit-writing-mode: vertical-rl; writing-mode: vertical-rl; white-space: nowrap;}
#mv figure { left: 50%; grid-template-columns: 100%; grid-template-rows: 1fr 1fr;}
#mv figure span { width: 100%; height: 50svh;}
#scrollline { left: 2%;}
#scrollline::after { height: 20px;}
#scrollline i { transform: scale(0.7); font-size: 1rem;}
#mv .btn { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);}
#mv .btn a { width: 200px; height: 40px; font-size: 1.6rem; white-space: nowrap;}

#about p { font-size: 2.4rem; white-space: nowrap;}
#about .about li { font-size: 2rem;}
#about .about li i {font-size: 3rem;}

#message { grid-template-columns: 100%; gap: 24px;}
#message header { text-align: center; -webkit-writing-mode: horizontal-tb; writing-mode: horizontal-tb;}
#message header i::after { width: 60px; height: 3px; margin: 8px auto 16px;}
#message section { grid-template-columns: 100%;}
#message section figure { order: -1; margin: 0; text-align: center;}
#message section figure img { width: 100%; max-width: 480px;}
#message .btn { text-align: center;}

.consultant { grid-template-columns: 100%;}
.consultant .prof figure { text-align: center;}
.consultant .prof figure img { width: 100%; max-width: 480px;}
.consultant.alt { grid-template-columns: 100%;}
.consultant.alt .prof { order: -1;}
.consultant.alt .prof h3 { text-align: left;}
.consultant.alt .prof .sns { order: 1; flex-direction: row;}

#mission { grid-template-columns: 100%;}
#mission::before { background-size: 200% auto; background-position: left 50px;}
#mission header { text-align: center;}
.mission li { padding: 24px 0 24px 32px;}
.mission li:nth-child(1) { margin-left: 0;}
.mission li:nth-child(3) { margin-left: 0;}
.mission li i { font-size: 2.6rem;}
.mission li span { font-size: 1.6rem;}

.flow ol > li { grid-template-columns: 50px 1fr; gap: 24px}
.flow ol > li i { width: 50px; height: 50px; font-size: 2.6rem;}
.flow ol > li::after { left: 25px;}
.flow ol > li:last-child::before { left: 25px;}
.flow h3 { font-size: 2rem;}

.casestudy .swiper { height: auto;}
.case { grid-template-columns: 100%; height: auto;}
.case figure { text-align: center;}
.swiper-button-prev { left: -15px !important; cursor: pointer;}
.swiper-button-next { right: -15px !important; cursor: pointer;}

#company { grid-template-columns: 100%;}
#company header { margin-left: auto; text-align: center;}
#company header i::after { margin-left: auto;}
#company section { width: auto; margin-left: 0;}
#company figure { grid-column: auto; grid-row: auto; margin-top: 40px;}

.form dl { grid-template-columns: 100%;}
.form dt { padding: 24px 0 0;}
}





@media only screen and (max-width: 325px){
#mv { justify-content: flex-start; padding-top: 80px;}
.boxvisible > * { font-size: 1.5rem;}
.boxvisible.alt > * { font-size: 1rem;}
#mv .btn { bottom: 20px;}
#mv .btn a { width: 160px; height: auto; font-size: 1.2rem;}
}





@media print {
#container { width: 1024px;}
}