/* ======================
共通CSS
====================== */
body {
    color: #393E46;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

a {
    text-decoration: none;
    color: #007bff;
    background-color: transparent;
}

a:hover {
    opacity: 0.7;
}

.container {
    width: 90%;
    max-width: 980px;
    margin: auto;
}

.clear::after {
    content:"";
    clear: both;
    display: block;
}

.section {
    padding: 100px 0;
}

/* ======================
header
====================== */
header {
    height: auto;
    background: #e6e6fa;
}

.header-logo {
    float: left;
    width: 100px;
    height: 90px;
}

.nav-link {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #393E46;
}

.navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0);
}

/* ======================
top
====================== */
.top {
    background-image: radial-gradient(rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%),url(../img/uyuni-3748992.jpeg);
    background-size: cover;
    padding: 160px 0;
}

.top-title {
    font-size: 70px;
    font-family: "Snell Roundhand" !important;
    font-weight: 600;
    text-align: left;
    color: aliceblue;
}

.top-subtitle {
    margin-top: 24px;
    font-size: 22px;
    font-weight: bold;
    text-align: left;
    color: aliceblue;
}

/* ======================
profile
====================== */
.profile-inner {
    width: 800px;
}

.inner {
    width: 1060px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: "Montserrat", "sans-serif";
    text-align: center;
    margin-top: 2px;
    color: #555;
    font-weight: 400;
}

@font-face {
    font-family: "Montserrat";
    src: url("../../fonts/Montserrat/Montserrat-VariableFont_wght.ttf") format("opentype");
}

.profile-body {
    margin-top: 50px;
}

.profile-card {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 3px rgb(0 0 0 / 16%);
    padding: 24px;
    background: #fff;
}

.profile-card_image {
    text-align: center;
    width: 30%;
}

.profile-card_sns {
    margin-top: 12px;
}

.sns-links {
    display: flex;
}

/* Twitterとメールのアイコンサイズを指定 */
.sns-links_item img {
    width: 30px;
    height: 30px;
}

.sns-links_item:nth-child(n+2) {
    margin-left: 12px;
}

.profile-card_body {
    padding: 0 0 0 32px;
    width: 70%;
}

.profile-card_title {
    font-weight: 600;
    font-size: 13px;
    color: #666;
}

.profile-card_name {
    font-weight: 600;
    margin-top: 5px;
    font-size: 24px;
    line-height: 1.2;
}

.profile-card_content {
    margin-top: 16px;
    line-height: 1.6;
    font-weight: 600;
}

p {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.profile-card_sub-head::before {
    content: "";
    width: 10px;
    height: 1px;
    background: #333;
    margin-right: 12px;
}

.profile-card_sub-head {
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 5px;
}

.profile-card_sub-head::after {
    content: "";
    width: 10px;
    height: 1px;
    background: #333;
    margin-left: 12px;
}

.profile-card_concept {
    font-size: 17px;
}

/* ======================
service
====================== */
.service {
    background-color: #e6e6fa;
}

.section_body {
    margin-top: 50px;
}

.service_cards {
    display: flex;
    flex-wrap: wrap;
}

.service_card {
    width: calc(33.3% - 24px * 2 / 3);
    padding: 24px 20px;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
    background: #fff;
}

.service-card_image {
    text-align: center;
}

.service-card_image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.service-card_title {
    margin-top: 16px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.service-card_title p {
    margin-top: 16px;
    font-weight: bold;
    font-size: 19px;
    text-align: center;
    line-height: 0.5;
}

.service-card_content {
    line-height: 1.8;
    margin-top: 12px;
}

.service-card:nth-child(n+2) {
    margin-left: 24px;
}

/* ======================
work
====================== */
.work_cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.work-card {
    width: calc(33.3% - 24px * 2 / 3);
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 16%);
    background: #fff;
}

.work-card_image {
    text-align: center;
}

.work-card_image img {
    width: 100%;
    height: auto;
}

.work-card_body {
    padding: 12px 12px 20px;
}

.work-card_title {
    font-weight: bold;
    font-size: 18px;
}

.work-card_comment {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

.work-card_link {
    text-align: center;
    margin-top: 20px;
}

.work-card_link a {
    text-decoration: none;
    font-weight: bold;
}

.work-card:not(:nth-child(3n + 1)) {
    margin-left: 24px;
}

/* ======================
contact
====================== */
.contact {
    background-color: #e6e6fa;
}

.section_body {
    margin-top: 50px;
}

.contact-message {
    text-align: center;
}

.contact_items {
    display: flex;
    justify-content: center;
    margin: 42px 50px 0 0;
}

.contact_item {
    text-align: center;
}

.contact_img {
    display: block;
}

.contact_name {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
}

.contact_item:nth-child(n + 2) {
    margin-left: 60px;
}

.footer {
    background: #555;
    color: #fff;
    padding: 12px 0;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
}

.footer_copyright {
    text-align: center;
}

/* ==================================
pagetop
=================================== */
#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 60px;
    background: #70aeed;
    opacity: 0.8;
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    text-align: center;
    font-size: 30px;
    margin-top: 3px;
}

/* ======================
スマホ用のCSS（横幅767px以下の時のCSS）
====================== */

@media only screen and (max-width: 767px) {

/* ======================
top
====================== */
.top {
    padding: 120px 0;
}

.top-title {
    font-size: 40px;
}

.top-subtitle {
    font-size: 18px;
}

/* ======================
section共通CSS
====================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 24px;
}

/* ======================
profile
====================== */
.profile-card {
    display: block;
}

.profile-card_image {
    width: 100%;
}

.profile-card_body {
    padding: 30px 0 0 0;
    margin: auto;
    width: 100%;
}

.profile-card_title {
    text-align: center;
}

.profile-card_name {
    font-size: 20px;
    text-align: center;
}

p {
    font-size: 16px;
}

.profile-card_sub-head {
    justify-content: center;
}

.profile-card_concept {
    font-size: 16px;
}

/* ======================
service
====================== */
.service_cards {
    display: block;
}
.service_card {
    width: 100%;
}

.service-card:nth-child(n+2){
    margin: 24px 0 0 0;
}

/* ======================
work
====================== */
.work_cards {
    display: block;
}

.work_card {
    width: 100%;
}

.work-card:not(:nth-child(3n + 1)) {
    margin: 24px 0 0 0;
}

/* ======================
contact
====================== */
.contact_items {
    display: block;
}

.contact_item:nth-child(n + 2) {
    margin: 24px 0 0 0;
}

.contact_items {
    margin: 42px 0 0 0;
}


}