html {
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
html,
body {
height: 100%;
}  body {
margin: 0;
} main {
display: block;
} h1 {
font-size: clamp(26px, 4vw, 36px);
margin: 60px 0 60px;
letter-spacing: 0.1em;
}
h1.page-title,
h1.work-title {
font-size: clamp(24px, 4vw, 28px);
letter-spacing: 0.1em;
position: relative;
}
h1.page-title {
margin: 0 0 60px;
}
h1.work-title {
margin: 0 0 5px;
}
.smh-page-heading {
position: relative;
width: min(92%, 1160px);
margin: 0 0 clamp(72px, 8vw, 100px);
margin-inline: auto;
}
.smh-page-heading::after {
content: "";
position: absolute;
width: 200px;
height: 1px;
background: #cfcfcf;
transform: rotate(-45deg);
bottom: -24px;
left: -24px;
}
.smh-page-heading__title {
font-size: clamp(24px, 4vw, 28px);
letter-spacing: 0.1em;
line-height: 1.35;
margin: 0;
position: relative;
}  hr {
box-sizing: content-box;
height: 0;
overflow: visible;
} pre {
font-family: monospace, monospace;
font-size: 1em;
}  a {
background-color: transparent;
} abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
} b,
strong {
font-weight: bolder;
} code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
} small {
font-size: 80%;
} sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}  img {
border-style: none;
}  button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
} button,
input {
overflow: visible;
} button,
select {
text-transform: none;
} button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
} button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
} button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
} fieldset {
padding: 0.35em 0.75em 0.625em;
} legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
} progress {
vertical-align: baseline;
} textarea {
overflow: auto;
} [type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
} [type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
} [type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
} [type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
} ::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}  details {
display: block;
} summary {
display: list-item;
}  template {
display: none;
} [hidden] {
display: none;
}  *,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
}  :root {
--font-base: "Noto Sans JP", sans-serif;
--primary-color: #bbc100;
--text-color: #212121;
}
body,
button,
input,
select,
optgroup,
textarea {
font-size: 1rem;
line-height: 1.5;
font-family: var(--font-base);
font-weight: 100;
background-color: #fff;
color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
font-weight: 100;
font-family: var(--font-base);
color: var(--text-color);
} p {
font-size: clamp(14px, 1.5vw, 16px);
line-height: 1.8;
margin-bottom: 1.5em;
}
dfn,
cite,
em,
i {
font-style: italic;
}
blockquote {
margin: 0 1.5em;
}
address {
margin: 0 0 1.5em;
}
pre {
background: #eee;
font-family: "Courier 10 Pitch", courier, monospace;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1.6em;
}
code,
kbd,
tt,
var {
font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
mark,
ins {
background: #fff9c0;
text-decoration: none;
}
big {
font-size: 125%;
} body {
background: #fff;
}
hr {
background-color: #ccc;
border: 0;
height: 1px;
margin-bottom: 1.5em;
}
ul,
ol {
margin: 0 0 1.5em 3em;
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li>ul,
li>ol {
margin-bottom: 0;
margin-left: 1.5em;
}
dt {
font-weight: 700;
}
dd {
margin: 0 1.5em 1.5em;
} embed,
iframe,
object {
max-width: 100%;
}
img {
height: auto;
max-width: 100%;
}
figure {
margin: 1em 0;
}
table {
margin: 0 0 1.5em;
width: 100%;
} a {
color: #4169e1;
}
a:visited {
color: #ff6900;
}
a:hover,
a:focus,
a:active {
color: #191970;
}
a:focus {
outline: thin dotted;
}
a:hover,
a:active {
outline: 0;
} button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
border: 1px solid;
border-color: #ccc #ccc #bbb;
border-radius: 3px;
background: #e6e6e6;
color: rgba(0, 0, 0, 0.8);
line-height: 1;
padding: 0.6em 1em 0.4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
border-color: #ccc #bbb #aaa;
}
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
border-color: #aaa #bbb #bbb;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
padding: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
color: #111;
}
select {
border: 1px solid #ccc;
}
textarea {
width: 100%;
} #page.site {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.site-content {
flex: 1 0 auto;
}
.site,
.contents {
position: static;
z-index: auto;
}
.contents {
max-width: 100%;
margin: 0 auto;
box-sizing: border-box;
padding: 0;
}
@media (min-width: 1200px) {
.contents {
padding: 0;
}
}  .main-navigation ul {
list-style: none;
margin: 0;
padding: 0;
background: transparent;
letter-spacing: 1px;
}
.main-navigation li {
margin: 0;
position: static;
white-space: nowrap;
font-size: clamp(14px, 1.2vw, 16px);
}
.main-navigation a {
display: block;
text-decoration: none;
color: #404040;
}
button#burger-trg {
background: none;
border: none;
cursor: pointer;
width: 36px;
height: 36px;
position: absolute;
top: 32%;
right: 3%;
display: flex;
align-items: center;
justify-content: center;
z-index: 10001;
border: 1px solid var(--text-color);
border-radius: 50%;
}
.burger-ic::before,
.burger-ic::after {
content: "";
display: block;
width: 24px;
height: 1px;
background-color: var(--text-color);
position: absolute;
top: 62%;
left: 50%;
transform: translateX(-50%);
transition: all .3s ease;
}
.burger-ic::before {
top: 36%;
}
.burger-ic::after {
bottom: 2px;
}
#burger-trg.act .burger-ic::before {
top: 17px;
transform: translateX(-50%) rotate(45deg);
}
#burger-trg.act .burger-ic::after {
top: 17px;
transform: translateX(-50%) rotate(-45deg);
}
#burger-trg.act {
position: fixed;
top: 25.6px;
right: 3%;
}
#site-navigation ul {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 24px;
padding: 0;
margin: 0;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: #f8f8f8;
z-index: 999;
transform: translateX(-100%);
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
nav#site-navigation.toggled {
position: fixed;
right: 3%;
}
#site-navigation.toggled ul {
transform: translateX(0);
opacity: 1;
visibility: visible;
pointer-events: auto;
transition-delay: 0s;
}
#site-navigation ul li {
padding: 0;
}
#site-navigation ul a {
display: inline-block;
font-size: clamp(18px, 4.5vw, 24px);
letter-spacing: .04em;
text-decoration: none;
color: #404040;
}
body.nav-open {
overflow: hidden;
}
@media (min-width: 1000px) {
button#burger-trg {
display: none;
position: relative;
right: auto;
}
nav#site-navigation {
position: static;
}
#site-navigation ul {
position: static;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
gap: 35px;
width: auto;
height: auto;
background: transparent;
transform: none;
opacity: 1;
visibility: visible;
pointer-events: auto;
transition: none;
}
#site-navigation ul li {
padding: 0;
}
#site-navigation ul a {
display: block;
font-size: inherit;
letter-spacing: 1px;
}
body.nav-open {
overflow: auto;
}
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
text-align: end;
flex: 1 0 50%;
}
header#masthead .site-branding.hidden {
display: none;
}
.site-branding {
position: relative;
top: 0;
width: 100%;
} .sticky {
display: block;
}
.post,
.page {
margin: 0 0 1.5em;
}
.updated:not(.published) {
display: none;
}
.page-content,
.entry-content,
.entry-summary {
margin: 1.5em 0 0;
}
.page-links {
clear: both;
margin: 0 0 1.5em;
} .comment-content a {
word-wrap: break-word;
}
.bypostauthor {
display: block;
} .widget {
margin: 0 0 1.5em;
}
.widget select {
max-width: 100%;
} .page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
} .custom-logo-link {
display: inline-block;
} .wp-caption {
margin-bottom: 1.5em;
max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption .wp-caption-text {
margin: 0.8075em 0;
}
.wp-caption-text {
text-align: center;
} .gallery {
margin-bottom: 1.5em;
display: grid;
grid-gap: 1.5em;
}
.gallery-item {
display: inline-block;
text-align: center;
width: 100%;
}
.gallery-columns-2 {
grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
display: block;
}   .infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
display: none;
} .infinity-end.neverending .site-footer {
display: block;
}   .screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
clip-path: none;
color: #21759b;
display: block;
font-size: 0.875rem;
font-weight: 700;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
} #primary[tabindex="-1"]:focus {
outline: 0;
} .alignleft { float: left; margin-right: 1.5em;
margin-bottom: 1.5em;
}
.alignright { float: right; margin-left: 1.5em;
margin-bottom: 1.5em;
}
.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1.5em;
} h1.site-title,
p.site-title {
font-size: clamp(16px, 1.6vw, 19px);
margin: 0;
font-weight: normal;
letter-spacing: 0.1em;
}
h1.site-title a,
p.site-title a {
color: #404040;
text-decoration: none;
}
header#masthead {
width: 100%;
position: relative;
z-index: 1000;
border: none;
margin: 0;
min-height: 80px;
}
#masthead .siteHeadContainer {
width: 94%;
min-height: 80px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.site-branding {
margin-top: 14px;
}
.site-branding img {
width: 40px;
}
p.site-title {
white-space: nowrap;
}
@media screen and (min-width: 601px) {
header#masthead {
margin: 0;
}
#masthead .siteHeadContainer {
align-items: center;
min-height: 160px;
}
.site-branding {
margin-top: 0;
}
.site-branding img {
width: 40px;
}
.main-navigation li {
border-bottom: none;
width: auto;
}
#burger-trg.act {
top: 57.6px;
}
} .smh-main-visual {
display: grid;
place-items: center;
min-height: 100vh;
min-height: 100svh;
margin-top: -80px;
position: relative;
overflow: hidden;
}
.smh-main-visual__inner {
position: relative;
display: grid;
place-items: center;
width: 100%;
min-height: 100%;
padding: 0;
text-align: center;
}
.smh-main-visual__bg {
position: absolute;
top: 55%;
left: 50%;
z-index: 0;
width: 100vw;
aspect-ratio: 1920 / 555.1;
pointer-events: none;
transform: translate(-50%, -50%);
}
.smh-main-visual__bg img {
display: block;
width: 100%;
height: auto;
opacity: 0.025;
}
.smh-main-visual__bg::after,
.sino-page-visual__bg::after {
content: "";
position: absolute;
inset: 0;
opacity: 0;
background: linear-gradient(
100deg,
rgba(33, 33, 33, 0) 0%,
rgba(33, 33, 33, 0) 42%,
rgba(33, 33, 33, 0.16) 49%,
rgba(255, 255, 255, 0.22) 50%,
rgba(33, 33, 33, 0.14) 51%,
rgba(33, 33, 33, 0) 58%,
rgba(33, 33, 33, 0) 100%
);
background-size: 260% 100%;
background-position: 120% 0;
-webkit-mask-image: url(//hirosakamoto.cloudfree.jp/wp-content/themes/sakamoto-no/assets/logo/sino-bg-objects.svg);
mask-image: url(//hirosakamoto.cloudfree.jp/wp-content/themes/sakamoto-no/assets/logo/sino-bg-objects.svg);
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-position: center;
mask-position: center;
animation: sinoBgSweep 8s ease-in-out infinite;
}
.sino-works .sino-page-visual__bg::after {
-webkit-mask-image: url(//hirosakamoto.cloudfree.jp/wp-content/themes/sakamoto-no/assets/page-title/works-bg-objects.svg);
mask-image: url(//hirosakamoto.cloudfree.jp/wp-content/themes/sakamoto-no/assets/page-title/works-bg-objects.svg);
}
.sino-about .sino-page-visual__bg::after {
-webkit-mask-image: url(//hirosakamoto.cloudfree.jp/wp-content/themes/sakamoto-no/assets/page-title/about-bg-objects.svg);
mask-image: url(//hirosakamoto.cloudfree.jp/wp-content/themes/sakamoto-no/assets/page-title/about-bg-objects.svg);
}
@keyframes sinoBgSweep {
0%,
62%,
100% {
opacity: 0;
background-position: 120% 0;
}
8% {
opacity: 0;
}
14% {
opacity: 1;
}
24% {
opacity: 1;
background-position: -120% 0;
}
32% {
opacity: 0;
background-position: -120% 0;
}
}
@media (prefers-reduced-motion: reduce) {
.smh-main-visual__bg::after,
.sino-page-visual__bg::after {
animation: none;
}
}
.smh-main-visual__logo {
position: relative;
z-index: 1;
width: clamp(240px, 62vw, 360px);
max-width: 82vw;
}
.smh-main-visual__logo svg {
display: block;
width: 100%;
height: auto;
}
@media screen and (min-width: 601px) {
.smh-main-visual {
min-height: 64vh;
margin-top: 0;
}
.smh-main-visual__inner {
width: min(96vw, 1100px);
min-height: clamp(280px, 48vw, 520px);
padding: clamp(48px, 8vw, 120px) 0;
}
.smh-main-visual__bg {
display: block;
width: 100vw;
top: 50%;
}
.smh-main-visual__bg img {
opacity: 0.04;
}
.smh-main-visual__logo {
width: clamp(200px, 38vw, 400px);
}
} .smh-works,
.smh-about {
margin: clamp(96px, 14vw, 150px) auto;
}
.smh-section-heading {
position: relative;
}
.smh-section-heading::after {
content: "";
position: absolute;
width: 200px;
height: 1px;
background: #cfcfcf;
transform: rotate(-45deg);
bottom: -24px;
left: -24px;
}
.smh-section-heading__title {
font-size: clamp(22px, 3.6vw, 26px);
letter-spacing: 0.06em;
line-height: 1.35;
margin: 0;
position: relative;
}
.smh-works__heading,
.smh-about__heading,
.smh-more-works,
.smh-more-about {
width: 94%;
margin-inline: auto;
margin-bottom: 100px;
}
.smh-works__body,
.smh-about__body {
width: 80%;
margin-inline: auto;
}
.smh-more-works,
.smh-more-about {
text-align: right;
margin-top: 100px;
position: relative;
}
.smh-more-works::before,
.smh-more-about::before {
content: "";
position: absolute;
width: 200px;
height: 1px;
background: #cfcfcf;
transform: rotate(-45deg);
top: -24px;
right: -24px;
}
.smh-more-works__link,
.smh-more-about__link {
display: inline-block;
color: var(--text-color);
text-decoration: none;
font-size: 0.9rem;
letter-spacing: 0.05em;
position: relative;
width: max-content;
border-bottom: 1px solid #cfcfcf;
padding-bottom: 4px;
}
.smh-more-works__link::before,
.smh-more-about__link::before {
content: "";
position: absolute;
bottom: -1px;
right: 0;
width: 12px;
height: 1px;
background-color: #cfcfcf;
transform: rotate(-45deg);
transform-origin: calc(100% - 0.5px) 50%;
}
.smh-more-works__link:hover,
.smh-more-about__link:hover {
background: #aaa;
color: #fff;
}
.smh-more-works__link:visited,
.smh-more-about__link:visited {
color: var(--text-color);
} .site-info p {
font-size: clamp(11px, 1vw, 13px);
text-align: center;
}
.site-info a {
text-decoration: none;
color: #404040;
}
.site-info .logo-h {
font-size: 0.82em;
line-height: 1;
position: relative;
top: -0.02em;
} .sino-page-visual {
display: grid;
place-items: center;
min-height: clamp(260px, 38vh, 420px);
position: relative;
overflow: hidden;
background: #fff;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
}
h1.sino-page-visual__title {
position: relative;
z-index: 1;
width: clamp(100px, 28vw, 200px);
}
.sino-page-visual__bg {
position: absolute;
top: 55%;
left: 50%;
z-index: 0;
width: 100vw;
pointer-events: none;
transform: translate(-50%, -50%);
}
.sino-page-visual__bg img {
display: block;
width: 100%;
height: auto;
opacity: 0.025;
}
@media screen and (min-width: 601px) {
.sino-page-visual {
margin-bottom: clamp(80px, 10vw, 140px);
}
.sino-page-visual__bg {
display: block;
top: 50%;
}
.sino-page-visual__bg img {
opacity: 0.04;
}
} .sino-works__inner,
.sino-about__inner {
width: min(96vw, 1100px);
margin-inline: auto;
}
.sino-works__body,
.sino-about__body {
width: min(78%, 1000px);
margin-inline: auto;
}
.page-no {
font-size: clamp(20px, 3.4vw, 30px);
} .category-wrapper {
max-width: 1000px;
margin: 0 auto;
} .not-found {
max-width: 1000px;
margin: 50px auto;
} .site-main-wrapper {
max-width: 1000px;
width: 94%;
margin: 30px 3% 40px;
padding: 0;
}
h1.entry-title {
font-size: clamp(24px, 4vw, 28px);
padding: 0;
margin: 0 0 5px;
letter-spacing: 0.1em;
position: relative;
}
.entry-content p {
font-size: clamp(13px, 1.2vw, 14px);
line-height: 1.9;
text-align: justify;
margin: 0 0 35px 0;
}
.single header.entry-header {
width: 100%;
max-width: 1100px;
margin: 0 auto;
}
.single .entry-content {
width: 96%;
max-width: 1100px;
margin: 0 auto;
}
.single .entry-content img {
width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.single .wp-block-image {
margin: 0 0 25px 0;
}
.wp-block-image .aligncenter {
width: 100%;
}
.site-main .post-navigation {
width: 100%;
max-width: 1000px;
margin: 50px auto 30px;
}
.nav-next a,
.nav-previous a {
text-decoration: none;
color: #666;
font-size: clamp(13px, 1.3vw, 14px);
}
.device-switch {
max-width: 1200px;
margin: 80px auto 30px;
font: inherit;
text-align: center;
}
.device-switch__desc {
position: relative;
width: fit-content;
padding: 8px 12px;
font-size: clamp(12px, 1.25vw, 13px);
color: var(--text-color);
margin: 0 auto 31px;
}
.device-switch__desc::before {
content: "";
position: absolute;
bottom: -6px;
left: 50%;
width: 100%;
box-sizing: border-box;
border-bottom: 1px solid #ddd;
translate: -50%;
}
.device-switch__desc::after {
content: "";
position: absolute;
top: calc(100% + 8px);
left: 46%;
width: 30px;
height: 1px;
box-sizing: border-box;
background-color: #ddd;
box-shadow: 0 1px 0 #ffffff, 0 -1px 0 #ffffff;
rotate: 50deg;
translate: -50%;
}
.device-switch__title {
color: var(--text-color);
padding: 12px 0 16px;
display: flex;
justify-content: center;
align-items: center;
font-size: clamp(12px, 1.3vw, 13px);
white-space: nowrap;
}
.device-switch__title::before,
.device-switch__title::after {
content: "";
border-top: 1px dotted var(--text-color);
width: 100%;
}
.device-switch__title::before {
margin-right: 1rem;
}
.device-switch__title::after {
margin-left: 1rem;
}
.device-switch-tabs {
display: flex;
justify-content: center;
gap: 12px;
align-items: center;
margin-bottom: 25px;
}
.device-switch .tab {
cursor: pointer;
border: 1px solid #cfcfcf;
background: transparent;
color: var(--text-color);
padding: 10px 14px;
user-select: none;
border-radius: 2px;
width: 150px;
text-align: center;
}
.device-preview {
border: 1px solid #cfcfcf;
background-color: #0000001c;
border-radius: 2px;
height: 83vh;
overflow: hidden;
}
.device-switch .pane {
display: none;
height: 100%;
overflow: auto;
}
.device-switch .pane img {
display: block;
margin: 0 auto;
width: 100%;
height: auto;
max-width: none;
}
.device-switch .pane.mobile {
display: none;
gap: 13px;
justify-content: center;
align-items: flex-start;
}
.device-switch .pane.mobile img {
width: min(420px, 44%);
height: auto;
} .device-switch .pane.mobile img:nth-of-type(2) {
margin-top: 40px;
} .device-switch .pane.mobile img:nth-of-type(3) {
margin-top: 80px;
}
#device-switch-01-desktop:checked~.device-switch-tabs label[for="device-switch-01-desktop"] {
background: var(--primary-color);
border-color: var(--primary-color);
color: #fff;
}
#device-switch-01-mobile:checked~.device-switch-tabs label[for="device-switch-01-mobile"] {
background: var(--primary-color);
border-color: var(--primary-color);
color: #fff;
}
#device-switch-01-desktop:checked~.device-preview .desktop {
display: block;
}
#device-switch-01-mobile:checked~.device-preview .mobile {
display: flex;
}
.device-switch .pane::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.device-switch .pane::-webkit-scrollbar-thumb {
background: #444;
border-radius: 8px;
}
.device-switch .pane::-webkit-scrollbar-track {
background: #111;
border-radius: 8px;
}
.device-preview,
.device-preview .pane {
overflow-y: auto;
overflow-x: hidden; scrollbar-width: thin;
scrollbar-color: var(--primary-color);
} .device-preview::-webkit-scrollbar,
.device-preview .pane::-webkit-scrollbar {
width: 8px;
}
.device-preview::-webkit-scrollbar-track,
.device-preview .pane::-webkit-scrollbar-track {
background: #f0f3f5;
}
.device-preview::-webkit-scrollbar-thumb,
.device-preview .pane::-webkit-scrollbar-thumb {
background: #4caf50;
border-radius: 8px;
border: 2px solid #f0f3f5;
}
.device-preview::-webkit-scrollbar-thumb:hover,
.device-preview .pane::-webkit-scrollbar-thumb:hover {
background: var(--primary-color);
}
.work-meta__wrapper {
text-align: center;
position: relative;
margin: 50px auto;
}
a.work-meta__cta {
color: var(--text-color);
display: inline-block;
padding: 0.6em 1.4em;
border: 1px solid #cfcfcf;
text-decoration: none;
font-size: 0.9rem;
letter-spacing: 0.05em;
transition: background 0.3s ease;
}
.work-meta__icon {
position: relative;
bottom: -3px;
color: var(--text-color);
}
@media (min-width: 769px) {
.site-main-wrapper {
width: min(96%, 1100px);
max-width: none;
margin: 30px auto;
padding: 0;
}
.single .entry-content {
width: 100%;
max-width: 1100px;
margin: 0 auto;
}
.device-switch .pane.mobile {
gap: 36px;
}
.device-switch .pane.mobile img {
width: 45%;
max-width: 480px;
height: auto;
margin: 0;
}
}
@media (min-width: 1101px) {
.site-main-wrapper {
width: 90%;
margin: 30px auto;
padding: 0 20px;
}
} .post-category-title {
background-color: #e2e2e2;
color: var(--text-color);
text-align: center;
padding: 15px;
font-size: 2em;
margin-bottom: 5px;
width: 100%;
}
.posted-on {
font-size: 12px;
font-weight: bold;
}
.post_time_icon {
margin-right: 3px;
}
@media (min-width: 769px) {
.posted-on {
font-size: clamp(12px, 1.2vw, 13px);
}
} .widget-area {
background-color: #f9f9f9;
padding: 10px;
border: 1px solid #cfcfcf;
border-radius: 6px;
}
@media (min-width: 769px) {
.widget-area {
padding: 15px;
}
}  .breadcrumbs_wrap {
max-width: 1000px;
width: 90%;
margin: 0 30px;
}
.breadcrumb {
list-style: none;
padding: 0;
margin: 0;
display: flex;
font-size: clamp(11px, 1vw, 13px);
}
.breadcrumb li {
margin-right: 10px;
}
.breadcrumb li a {
text-decoration: none;
color: #0073aa;
}
.breadcrumb li:after {
content: ">";
margin-left: 10px;
color: #333;
}
.breadcrumb li:last-child:after {
content: "";
}
@media (min-width: 1101px) {
.breadcrumbs_wrap {
width: 100%;
margin: 0 auto;
}
} ul.page-numbers {
margin: 20px auto;
width: max-content;
padding: 0;
}
ul.page-numbers li {
margin: 0;
list-style: none;
display: block;
overflow: hidden;
float: left
}
ul.page-numbers li:first-child {
background: none;
}
ul.page-numbers li:first-child a {
border: none;
}
ul.page-numbers li:first-child a:hover {
background: none;
}
ul.page-numbers li:last-child {
background: none;
}
ul.page-numbers li:last-child a {
border: none;
}
ul.page-numbers li:last-child a:hover {
background: none;
}
ul.page-numbers li a,
ul.page-numbers li span.page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
min-width: 38px;
height: 38px;
padding: 0;
border: 1px solid #cfcfcf;
margin: 0 4px;
box-sizing: border-box;
line-height: 1;
font-size: clamp(14px, 1.2vw, 16px);
text-decoration: none;
color: var(--text-color);
}
ul.page-numbers li span.page-numbers.current,
.page-link dl .post-page-numbers.current {
color: #fff;
background-color: var(--primary-color);
}
ul.page-numbers .is-disabled {
visibility: hidden;
pointer-events: none;
}
nav.pagination,
nav.sino-pagination {
display: flex;
justify-content: center;
align-items: center;
margin: 40px 0;
min-height: 50px;
clear: both;
}
.pagination li.prev>.page-numbers i,
.pagination li.next>.page-numbers i,
.sino-pagination li.prev>.page-numbers i,
.sino-pagination li.next>.page-numbers i {
display: none;
}
.pagination li.prev>a.page-numbers::before,
.pagination li.prev>span.page-numbers::before,
.pagination li.next>a.page-numbers::after,
.pagination li.next>span.page-numbers::after,
.sino-pagination li.prev>a.page-numbers::before,
.sino-pagination li.prev>span.page-numbers::before,
.sino-pagination li.next>a.page-numbers::after,
.sino-pagination li.next>span.page-numbers::after {
font-weight: 400;
line-height: 1;
color: #a7a7a7;
font-size: clamp(22px, 1.6vw, 26px);
line-height: 1;
position: relative;
top: -3px;
}
.pagination li.prev>a.page-numbers::before,
.pagination li.prev>span.page-numbers::before,
.sino-pagination li.prev>a.page-numbers::before,
.sino-pagination li.prev>span.page-numbers::before {
content: "‹";
}
.pagination li.next>a.page-numbers::after,
.pagination li.next>span.page-numbers::after,
.sino-pagination li.next>a.page-numbers::after,
.sino-pagination li.next>span.page-numbers::after {
content: "›";
} h2.wp-block-heading {
font-size: clamp(15px, 1.6vw, 18px);
}
.wp-block-group ul {
margin: 0 0 1em 1em;
padding: 0;
}
.wp-block-group ul li {
font-size: clamp(13px, 1.4vw, 15px);
list-style: none;
}
.wp-element-button {
white-space: nowrap;
font-size: clamp(13px, 1.3vw, 14px);
}
label.wp-block-search__label {
display: none;
} [data-reveal],
.data-reveal {
opacity: 0;
transform: translateY(20px);
transition: opacity .6s ease, transform .6s ease;
will-change: opacity, transform;
}
.is-revealed {
opacity: 1;
transform: none;
}
[data-reveal="fade-left"] {
transform: translateX(24px);
}
[data-reveal="fade-right"] {
transform: translateX(-24px);
}
[data-reveal="blur-up"] {
filter: blur(6px);
}
[data-reveal="blur-up"].is-revealed {
filter: blur(0);
transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}
@media (prefers-reduced-motion: reduce) {
[data-reveal] {
transition: none;
}
} .oneline_post_container {
width: 100%;
margin: 0 auto 70px;
}
.oneline_post_container a {
text-decoration: none;
}
.oneline_post_wrapper {
display: block;
height: auto;
margin: 0 auto;
border-bottom: 1px solid #ccc;
padding: 0 0 40px;
box-sizing: content-box;
color: var(--text-color);
width: 100%;
}
.oneline_post_box_pc {
display: none;
}
.oneline_post_box_sp {
display: block;
}
.oneline_title_inner {
display: flex;
align-items: center;
}
.oneline_title_outer {
width: 100%;
}
p.oneline_post_time {
font-size: 11px;
margin: 0 0 2px 0;
padding: 0;
width: 100%;
text-align: left;
}
h2.oneline_post_title {
font-size: 18px;
font-weight: bold;
border: none;
margin: 0;
padding: 0;
height: auto;
width: 100%;
text-align: left;
}
.oneline_post_text {
width: 100%;
height: 42px;
overflow: hidden;
padding: 0;
}
.oneline_post_text.noimg_width {
width: 100%;
height: 42px;
overflow: hidden;
padding: 0;
}
.oneline_post_text p {
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 19px;
white-space: normal;
margin: 5px 0 10px 0;
}
.oneline_post_new {
background: #FF4A40;
color: #fff;
padding: 2px 4px 0;
font-weight: bold;
height: 20px;
margin: 0 5px 0 0;
font-size: clamp(10px, 1.2vw, 12px);
text-align: left;
width: max-content;
}
.oneline_post_img {
margin: 0;
position: static;
}
.oneline_post_img img {
width: 100%;
position: static;
}
.oneline_post_img.noimg {
display: none;
}
.oneline_nopost_wrapper {
width: max-content;
margin: 40px auto 30px;
}
@media (min-width: 601px) {
.oneline_post_container {
width: 100%;
margin: 30px auto 70px;
}
.oneline_post_wrapper {
display: flex;
align-items: center;
}
.oneline_post_box_pc {
align-self: center;
margin-right: 20px;
display: block;
}
.oneline_post_box_sp {
display: none;
}
.oneline_title_outer {
flex: 1 1 auto;
width: auto;
}
.oneline_post_wrapper .oneline_title_outer {
flex: 1 1 auto;
width: auto;
}
.oneline_post_wrapper .oneline_post_img:not(.noimg)~.oneline_title_outer {
width: 65%;
}
p.oneline_post_time {
font-size: 12px;
margin: 0;
padding: 0 0 0 10px;
width: 110px;
text-align: left;
}
h2.oneline_post_title {
font-size: clamp(18px, 2.6vw, 22px);
width: auto;
}
.oneline_post_text {
width: calc(100% - 13px);
height: auto;
}
.oneline_post_text.noimg_width {
width: 100%;
height: auto;
}
.oneline_post_text p {
text-overflow: ellipsis;
white-space: nowrap;
-webkit-line-clamp: 1;
overflow: hidden;
margin: 5px 0 10px 0;
display: block;
line-height: normal;
}
.oneline_post_new {
padding: 2px 5px 0;
height: 23px;
margin: 2px 5px 0 0;
font-size: clamp(12px, 1.2vw, 14px);
}
.oneline_post_img {
min-width: 100px;
margin: 0 20px 0 0;
position: relative;
}
.oneline_post_img img {
width: auto;
}
}
@media (min-width: 1001px) {
.oneline_post_wrapper .oneline_title_outer {
width: 80%;
}
.oneline_post_wrapper .oneline_post_img:not(.noimg)~.oneline_title_outer {
width: 65%;
}
}
@media (min-width: 1301px) {
.oneline_post_container {
width: 1000px;
}
} .onerow_post_container {
width: 90%;
margin: 0 auto 70px;
}
.onerow_post_container a {
text-decoration: none;
}
.onerow_post_continuation:hover {
text-decoration: underline;
}
.onerow_post_wrapper {
display: block;
height: auto;
margin: 10px auto;
border-bottom: 1px solid #6c757d;
padding: 5px 0 19px;
box-sizing: content-box;
color: var(--text-color);
width: 100%;
}
p.onerow_post_time {
font-size: clamp(11px, 1.1vw, 12px);
margin: 0;
padding: 0;
}
.onerow_title_inner {
display: flex;
margin-bottom: 2px;
}
h2.onerow_post_title {
font-size: clamp(18px, 2vw, 24px);
line-height: 1.4;
font-weight: bold;
border: none;
margin: 0;
padding: 0;
height: auto;
width: 100%;
}
.onerow_post_text {
width: 100%;
height: auto;
overflow: hidden;
padding: 0;
}
.onerow_post_text.noimg_width {
width: 100%;
}
.onerow_post_text p {
-webkit-line-clamp: 2;
font-size: clamp(14px, 2vw, 16px);
line-height: 21px;
margin: 6px 0 26px 0;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
}
span.onerow_post_new {
background: #FF4A40;
color: #fff;
padding: 1px 5px 0;
font-weight: bold;
height: 20px;
margin: 3px 5px 0 0;
font-size: clamp(12px, 1.2vw, 14px);
}
.onerow_post_img {
width: 100%;
min-width: auto;
height: auto;
margin: 7px 0 10px 0;
}
.onerow_post_img img {
width: 100%;
}
.onerow_post_img.noimg {
display: none;
}
.onerow_title_outer {
width: 100%;
}
.onerow_nopost_wrapper {
width: max-content;
margin: 40px auto 30px;
}
.onerow_post_continuation {
font-size: clamp(12px, 1.3vw, 13px);
position: absolute;
right: 0;
bottom: 0;
}
.onerow_post_continuation a:hover {
text-decoration: underline;
}
.onerow_post_continuation.noimg_width {
width: 100%;
}
.onerow_post_continuation.noimg_position {
right: 0;
}
.oneline_post_container:hover .onerow_post_continuation {
text-decoration: underline;
}
.onerow_title_box,
.onerow_title_box.noimg_height {
position: relative;
height: auto;
}
@media (min-width: 601px) {
.onerow_post_container {
width: 90%;
margin: 0 auto 70px;
}
.onerow_post_wrapper {
display: flex;
}
p.onerow_post_time {
font-size: 12px;
}
h2.onerow_post_title {
font-size: clamp(18px, 2.6vw, 22px);
line-height: normal;
}
.onerow_post_text {
width: calc(100% - 4px);
height: 67px;
}
.onerow_post_text.noimg_width {
width: calc(100% - -160px);
}
.onerow_post_text p {
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 23px;
margin: 0;
}
span.onerow_post_new {
padding: 2px 5px 0;
height: 23px;
margin: 2px 5px 0 0;
font-size: 14px;
}
.onerow_post_img {
width: 160px;
min-width: auto;
height: auto;
margin: 0 20px 0 0;
}
.onerow_post_img img {
width: 100%;
}
.onerow_title_outer {
width: calc(100% - 168px);
}
.onerow_post_continuation {
font-size: 13px;
}
.onerow_post_continuation.noimg_width {
width: calc(100% - -160px);
}
.onerow_post_continuation.noimg_position {
right: -160px;
}
.onerow_title_box {
height: 169px;
}
.onerow_title_box.noimg_height {
height: 133px;
}
}
@media (min-width: 601px) and (max-width: 767px) {
.onerow_post_img {
width: 50vw;
min-width: 30vw;
height: auto;
margin: 0 20px 0 0;
}
.onerow_title_box {
height: 148px;
}
.onerow_title_box.noimg_height {
height: 123px;
}
}
@media (min-width: 1201px) {
.onerow_post_container {
width: 1000px;
}
} .sino-works__inner {
margin: 0 auto 80px;
}
.sino-works-list__grid {
display: grid;
grid-template-columns: 1fr;
gap: 34px 24px;
}
.sino-work-card {
display: block;
text-decoration: none;
color: #212121;
}
.sino-work-card__media {
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: 0;
background: rgba(33, 33, 33, 0.04);
}
.sino-work-card__media img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 0;
transition: transform .6s ease, filter .6s ease, opacity .6s ease;
}
.sino-work-card__media--ph {
width: 100%;
height: 100%;
background: #e9e9e4;
border-radius: 0;
}
.sino-work-thumbnail {
display: block;
color: inherit;
text-decoration: none;
transition: transform .3s ease, opacity .3s ease;
}
.sino-work-thumbnail:hover {
transform: translateY(-4px);
opacity: .94;
}
.sino-work-thumbnail__media {
aspect-ratio: 16 / 9;
overflow: hidden;
background: rgba(33, 33, 33, 0.04);
}
.sino-work-thumbnail__media img,
.sino-work-thumbnail__media--ph {
display: block;
width: 100%;
height: 100%;
}
.sino-work-thumbnail__media img {
object-fit: cover;
transition: transform .6s ease, opacity .6s ease;
}
.sino-work-thumbnail__media--ph {
background: #e9e9e4;
}
.sino-work-thumbnail:hover .sino-work-thumbnail__media img {
transform: scale(1.035);
opacity: .92;
}
.sino-work-card__title {
margin: 0;
color: #212121;
font-size: clamp(24px, 3vw, 48px);
font-weight: 400;
line-height: 1.35;
letter-spacing: 0.02em;
}
.sino-work-card__description {
margin: 18px 0 0;
color: rgba(33, 33, 33, 0.62);
font-size: 14px;
line-height: 1.9;
letter-spacing: 0.03em;
}
.sino-work-card__skills {
margin: 16px 0 0;
color: rgba(33, 33, 33, 0.45);
font-size: 12px;
line-height: 1.8;
letter-spacing: 0.08em;
}
.sino-work-card__external {
margin: 12px 0 0;
color: rgba(33, 33, 33, 0.42);
font-size: 12px;
line-height: 1.7;
letter-spacing: 0.04em;
overflow-wrap: anywhere;
}
.sino-work-card__view {
display: inline-flex;
align-items: center;
gap: 14px;
margin-top: 32px;
color: rgba(33, 33, 33, 0.48);
font-size: 12px;
line-height: 1;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.sino-work-card__slash {
color: #212121;
font-size: 28px;
line-height: 1;
transition: transform .3s ease;
}
.sino-work-card:hover .sino-work-card__slash {
transform: translateX(6px);
}
.smh-works-case__grid {
display: block;
}
.smh-works-case__item {
display: block;
padding: 56px 0;
border-top: 1px solid rgba(33, 33, 33, 0.12);
color: #212121;
text-decoration: none;
}
.smh-works-case__item:first-child {
border-top: none;
padding-top: 30px;
}
.smh-works-case__item:last-child {
border-bottom: 1px solid rgba(33, 33, 33, 0.12);
}
.smh-works-case__content {
display: block;
}
.smh-works-case__number {
display: block;
color: rgba(33, 33, 33, 0.38);
font-size: 13px;
line-height: 1;
letter-spacing: 0.08em;
}
.smh-works-case__title {
margin: 18px 0 0;
color: #212121;
font-size: clamp(20px, 2vw, 28px);
font-weight: 400;
line-height: 1.35;
}
.smh-works-case__meta {
margin: 18px 0 0;
color: rgba(33, 33, 33, 0.48);
font-size: 12px;
line-height: 1.8;
letter-spacing: 0.08em;
}
.smh-works-case__excerpt {
margin-top: 24px;
color: rgba(33, 33, 33, 0.66);
font-size: 14px;
line-height: 1.9;
}
.smh-works-case__excerpt p {
margin: 0 0 1em;
}
.smh-works-case__excerpt p:last-child {
margin-bottom: 0;
}
.smh-works-case__img {
aspect-ratio: 16 / 10;
margin-top: 30px;
overflow: hidden;
background: rgba(33, 33, 33, 0.04);
}
.smh-works-case__img img,
.smh-works-case__img--ph {
display: block;
width: 100%;
height: 100%;
}
.smh-works-case__img img {
object-fit: cover;
transition: transform .6s ease, opacity .6s ease;
}
.smh-works-case__img--ph {
background: #e9e9e4;
}
.smh-works-case__item:hover .smh-works-case__img img {
transform: scale(1.025);
opacity: .9;
}
@media (min-width: 768px) {
.smh-works-case__item {
display: grid;
grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
gap: clamp(34px, 6vw, 88px);
align-items: center;
padding: clamp(72px, 9vw, 120px) 0;
}
.smh-works-case__content {
grid-column: 1;
grid-row: 1;
}
.smh-works-case__img {
grid-column: 2;
grid-row: 1;
margin-top: 0;
}
.smh-works-case__item:nth-child(even) .smh-works-case__content {
grid-column: 2;
}
.smh-works-case__item:nth-child(even) .smh-works-case__img {
grid-column: 1;
}
}
.sino-works .sino-works-list__grid {
display: block;
}
.sino-works .sino-work-card {
display: block;
padding: 72px 0;
border-top: 1px solid rgba(33, 33, 33, 0.12);
}
.sino-works .sino-work-card:last-child {
border-bottom: 1px solid rgba(33, 33, 33, 0.12);
}
.sino-works .sino-work-card__side {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.sino-works .sino-work-card__number {
color: rgba(33, 33, 33, 0.28);
display: block;
font-size: 40px;
font-weight: 300;
line-height: 1;
letter-spacing: 0.04em;
}
.sino-works .sino-work-card__title--side {
display: block;
width: auto;
margin-top: 20px;
}
.sino-works .sino-work-card__content {
display: block;
}
.sino-works .sino-work-card__media {
width: min(100%, 820px);
aspect-ratio: 16 / 10;
}
.sino-works .sino-work-card__body {
display: block;
width: min(100%, 820px);
margin-top: 28px;
}
.sino-works .sino-work-card__title--body {
display: none;
}
.sino-works .sino-work-card:hover .sino-work-card__media img {
transform: scale(1.025);
opacity: .9;
}
@media (min-width: 768px) {
.sino-works .sino-work-card {
display: grid;
grid-template-columns: minmax(190px, 24vw) minmax(0, 1fr);
gap: clamp(32px, 6vw, 96px);
padding: clamp(72px, 10vw, 140px) 0;
}
.sino-works .sino-work-card__number {
font-size: clamp(32px, 5vw, 84px);
}
.sino-works .sino-work-card__title--side {
width: min(100%, 420px);
margin-top: 24px;
}
.sino-works .sino-work-card__content {
display: flex;
flex-direction: column;
align-items: flex-end;
}
.sino-works .sino-work-card__body {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
column-gap: 28px;
}
.sino-works .sino-work-card__description,
.sino-works .sino-work-card__skills,
.sino-works .sino-work-card__external {
grid-column: 1;
}
.sino-works .sino-work-card__view {
grid-column: 2;
grid-row: 2 / span 3;
align-self: end;
white-space: nowrap;
}
}
.smh-works .sino-works-list__grid,
.smh-works .sino-works-thumbnail-list__grid {
display: grid;
grid-template-columns: 1fr;
gap: 40px;
}
.smh-works .sino-work-card {
position: relative;
transition: transform .3s ease, opacity .3s ease;
}
.smh-works .sino-work-card:hover {
transform: translateY(-4px);
opacity: .94;
}
.smh-works .sino-work-card__side {
position: absolute;
top: 18px;
left: 18px;
z-index: 2;
}
.smh-works .sino-work-card__number {
color: rgba(255, 255, 255, .88);
font-size: clamp(11px, 1vw, 12px);
line-height: 1;
letter-spacing: 0.08em;
}
.smh-works .sino-work-card__content {
position: relative;
display: block;
}
.smh-works .sino-work-card__media {
aspect-ratio: 16 / 9;
}
.smh-works .sino-work-card__body {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 18px;
color: #fff;
background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .56));
}
.smh-works .sino-work-card__title {
color: #fff;
font-size: clamp(12px, 1.2vw, 14px);
line-height: 1.18;
text-shadow: 0 1px 18px rgba(0, 0, 0, .22);
}
.smh-works .sino-work-card__title--side {
display: none;
}
.smh-works .sino-work-card__title--body {
display: block;
}
.smh-works .sino-work-card__description,
.smh-works .sino-work-card__skills,
.smh-works .sino-work-card__external,
.smh-works .sino-work-card__view {
display: none;
}
.smh-works .sino-work-card:hover .sino-work-card__media img {
transform: scale(1.035);
opacity: .92;
}
@media (min-width: 768px) {
.smh-works .sino-works-list__grid,
.smh-works .sino-works-thumbnail-list__grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1000px) {
.smh-works .sino-works-list__grid,
.smh-works .sino-works-thumbnail-list__grid {
grid-template-columns: repeat(3, 1fr);
}
} .smh-works-square__grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
@media (min-width: 768px) {
.smh-works-square__grid {
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
}
.smh-works-square__item {
display: block;
}
.smh-works-square__img {
aspect-ratio: 1 / 1;
overflow: hidden;
}
.smh-works-square__img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}