@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで h2 { font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 40px; font-size: 4rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 5rem; display: flex; align-items: center; @include xs { font-size: 30px; font-size: 3rem; margin-bottom: 3rem; } span { font-family: 'NotoSerifJP', serif; font-size: 19px; font-size: 1.9rem; font-weight: 400; letter-spacing: 0.15em; margin-left: 1rem; @include xs { font-size: 16px; font-size: 1.6rem; } span { font-size: 16px; font-size: 1.6rem; @include xs { font-size: 14px; font-size: 1.4rem; } } } } .fluid-box { margin-left: calc(50% - 50vw); text-align: right; } .inner { width: 87%; margin: 0 auto; } //top-img #top-img { background-image: url("../img/profile-header.png"); } //greeting #greeting { padding: 5rem 0; @include xs { padding: 3rem 0; } p { color: #ccc; font-size: 15px; font-size: 1.5rem; font-weight: 300; text-align: justify; } .name { display: flex; align-items: center; margin-top: 4rem; p { font-family: 'NotoSerifJP', serif; font-size: 17px; font-size: 1.7rem; font-weight: 400; letter-spacing: 0.15em; margin-right: 2rem; margin-bottom: 0; @include xs { font-size: 15px; font-size: 1.5rem; } } img { width: 220px; @include xs { width: 200px; } } } .parallax_box { position: relative; width: 100%; .parallax_front { position: relative; width: 420px; height: 535px; background-image: url("../img/profile-greeting-1.jpg"); background-repeat: no-repeat; background-size: contain; background-position: left top; z-index: 3; @include lg { width: 360px; } @include md { width: 300px; } @include sm { width: 340px; height: 500px; } @include xs { width: 280px; height: 460px; } } .parallax_back { position: absolute; width: 315px; height: 455px; background-image: url("../img/profile-greeting-2.png"); background-repeat: no-repeat; background-size: contain; background-position: right top; top: 250px; right: 0; @include lg { width: 280px; } @include md { width: 240px; top: 200px; } @include sm { width: 260px; top: 90px; } @include xs { width: 210px; top: 130px; } } } } //office-list #office-list { overflow: hidden; margin: auto; padding: 5rem 0; .row { margin-left: -20px; margin-right: -20px; @include md { margin-left: -15px; margin-right: -15px; } &>div { padding: 0 20px; margin-bottom: 6rem; @include md { padding: 0 15px; margin-bottom: 5rem; } @include sm { margin-bottom: 4rem; } @include xs { margin-bottom: 3rem; } &:first-child { @include xs { margin-bottom: 0; } } .industry { font-family: 'NotoSerifJP', serif; color: #1a1a1a; font-size: 16px; font-size: 1.6rem; font-weight: 600; text-align: center; background-color: #fff; margin-bottom: 1rem; letter-spacing: 0.1em; @include md { font-size: 14px; font-size: 1.4rem; } } h3 { font-family: 'NotoSerifJP', serif; color: #fff; font-size: 18px; font-size: 1.8rem; font-weight: 600; letter-spacing: 0.1em; @include lg { letter-spacing: 0.07em; } @include md { font-size: 16px; font-size: 1.6rem; letter-spacing: 0.01em; } @include sm { letter-spacing: 0.1em; } span { font-family: "NotoSansCJKjp"; color: #ccc; font-size: 14px; font-size: 1.4rem; font-weight: 300; line-height: 1.9; margin-top: 1rem; } } } .ver-center { display: flex; align-items: center; } .fluid-box img { width: auto; max-width: 70%; @include xs { max-width: 100%; } } img { margin-bottom: 1.5rem; width: 100%; } p { font-family: "NotoSansCJKjp"; color: #ccc; font-size: 14px; font-size: 1.4rem; font-weight: 300; letter-spacing: 0.1em; line-height: 1.9; @include md { line-height: 1.6; } } } h4 { font-family: 'NotoSerifJP', serif; color: #fff; font-size: 30px; font-size: 3rem; font-weight: 500; margin-bottom: 2rem; letter-spacing: 0.15em; @include xs { font-size: 26px; font-size: 2.6rem; } } .link-box { display: inline-block; font-family: 'NotoSerifJP', serif; color: #fff; font-size: 19px; font-size: 1.9rem; font-weight: 500; border: solid 1px rgba(255,255,255,0.5); padding: 1rem 3rem; letter-spacing: 0.1em; transition: 0.3s; &:hover { background-color: #fff; color: #1a1a1a; } @include xs { font-size: 17px; font-size: 1.7rem; } } } //outline #outline { overflow: hidden; margin: auto; padding: 10rem 0; @include xs { padding: 5rem 0; } .row { &>div { .fluid-box { overflow: hidden; height: 450px; @include md { height: 420px; } @include sm { height: 320px; margin-bottom: 2rem; } @include xs { height: 290px; } img { width: 100%; height: 100%; object-fit: cover; } } } h2 { margin-bottom: 2rem; } table { width: 100%; color: #ccc; font-weight: 300; letter-spacing: 0.1em; @include lg { letter-spacing: 0.05em; } @include md { font-size: 15px; font-size: 1.5rem; } tr { border-bottom: solid 1px rgba(255,255,255,0.5); width: 100%; th { width: 25%; font-weight: 300; @include md { width: 30%; } } td { padding: 1rem 0; a { color: #fff; } } } } } } //gmap .gmap { width: 87%; padding-bottom: 6rem; @include md { width: 100%; } iframe { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); }}