/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --main_color: #035dc4;
    --sub_color: #f0f6fd;
    --accent_color: #8ed7f2;
    --black: #333;
    --white: #fff;
    --jp_font: "Noto Sans", sans-serif;
    --eiji_font: "Josefin Sans", sans-serif;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--jp_font);
    color: var(--black);
    /* background: #f8fafc; */
    line-height: 1.85;
    letter-spacing: 0.03em;
    font-size: 17px;
    /* spチェック */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--jp_font);
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.04em;
}

h1 {
    font-size: 2.4rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.4rem;
}
p {
    margin-bottom: 1.2em;
}
a {
    color: var(--main_color);
    text-decoration: none;
    transition: color 0.2s;
}

/* 改行 */
.pcbr {
    display: block;
}
.spbr {
    display: none;
}
@media screen and (max-width: 768px) {
    .pcbr {
        display: none;
    }
    .spbr {
        display: block !important;
    }
}

/* h2タイトル */
.h2title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--main_color);
    font-family: var(--eiji_font);
    letter-spacing: 1rem;
    font-weight: normal;
    display: flex;
    justify-content: center;
    flex-direction: column;
    line-height: 1.5;
    text-transform: uppercase;
}
.subtitle {
    font-size: 13px;
}
.h2title::after {
    content: "";
    background-image: url(../images/marker.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 170px;
    height: 16px;
    margin: 0 auto;
    /* margin-top: 8px; */
}

#talks .h2title {
    letter-spacing: 0.5rem;
}

/* h3 */
.h3title {
    color: var(--main_color);
    text-align: center;
    font-size: 1.625rem;
    letter-spacing: 1rem;
    line-height: 1;
    margin-bottom: 2rem;
}
.h3title span {
    font-size: 1rem;
    letter-spacing: 4px;
}

@media screen and (max-width: 768px) {
    .h3title {
        letter-spacing: 0.2rem;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
    .h2title {
        font-size: 1.8rem;
    }
}

/* btn */
.linkbtn {
    color: var(--main_color);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
    box-shadow:
        inset -5px -5px 10px 0px #ffffff80,
        inset 5px 5px 10px 0px #d0d0d04d,
        -1px 5px 10px 0px #d0d0d04d;
    padding: 1rem 6rem;
    border-radius: 50px;
    transition: all 0.5s;
    background-color: var(--white);
    display: inline-block;
}

.linkbtn:hover {
    box-shadow:
        inset -5px -5px 10px 0px #ffffff80,
        inset 5px 5px 10px 0px #6060604d,
        -1px 5px 10px 0px #d0d0d04d;
    color: #6096d3;
}

/* 共通スタイル */
.cardDesign {
    border-radius: 20px;
    border: solid 1px var(--main_color);
    background-color: var(--white);
    position: relative;
}

.cardDesign::after {
    content: "";
    position: absolute;
    border: solid 1px var(--main_color);
    background-color: var(--white);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    top: 15px;
    left: 15px;
    z-index: -1;
}

@media screen and (max-width: 768px) {
    .cardDesign::after {
        width: calc(100% - 15px);
        height: 100%;
        top: 7px;
        left: 18px;
    }
}

.cardDesign::before {
    content: "";
    background-image: url(../images/pin.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 30px;
    height: 40px;
    margin: 0 auto;
    position: absolute;
    z-index: 10;
    top: -28px;
    left: 48%;
}

/* .media-divider,
.interview-company-text-area {
    max-width: 600px;
    width: 90%;
    margin: auto;
} */

/* 共通コンテナ */
.mission-container,
.service-container,
.talks-container,
.message-container,
.company-container,
.contact-container,
#interview-company,
#interview-personal,
.interview-personal-container,
#web-writing {
    max-width: 900px;
    margin: auto;
    width: 100%;
    padding: 0 1rem;
}

.interview-content {
    max-width: 600px;
    margin: auto;
    width: 80%;
    /* padding: 0 1rem; */
    position: relative;
}

.message-container {
    padding: 2rem 1rem;
}

.mybook-content,
.media-container,
.speaking-container,
#interview-famous,
#interview-company,
#interview-personal,
#book-writing,
#web-writing,
.interview-container {
    padding: 4rem 0;
}

@media screen and (max-width: 768px) {
    .mybook-content,
    .speaking-container,
    #interview-famous,
    #interview-personal,
    #book-writing {
        padding: 2rem 0;
    }
    #interview-company,
    .media-container {
        padding: 0;
        padding-top: 2rem;
    }
    #web-writing,
    .interview-container {
        padding: 2rem 1rem;
    }
    #interview-personal {
        padding: 0;
        padding-top: 5rem;
    }
}

/* ヒーローセクション */
#hero {
    height: calc(100vh - 40px);
    background-image: url("../images/houganbk.png");
    background-size: 40px 40px;
    background-position: center;
    background-repeat: repeat;
}

.logo-img {
    width: 35px;
    height: 35px;
    min-width: 35px;
    object-fit: contain;
}

.hero-container {
    width: 100%;
    height: 100%;
    position: relative;
}
h1 {
    position: relative;
    text-align: center;
}
h1::before {
    content: "";
    background-image: url(../images/service5.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 260px;
    height: 240px;
    position: absolute;
    top: 0;
    left: 85%;
    z-index: -1;
}

/* キャッチフレーズセクション */
.catchphrase-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 1000px;
    z-index: 10;
}

@media screen and (max-width: 980px) {
    h1::before {
        top: 100%;
        left: 70%;
    }
}

@media screen and (max-width: 768px) {
    .catchphrase-section {
        top: 38%;
    }
    h1::before {
        top: 100%;
    }
}

.catchphrase {
    font-size: 38px;
    font-weight: bold;
    color: var(--black);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
.catchphrase::after {
    content: "";
    background-image: url(../images/marker.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    max-width: 380px;
    height: 26px;
    margin: 0 auto;
    margin-top: 8px;
}

/* ミッションセクション */

.mission-text {
    font-size: 1rem;
    line-height: 2;
    color: var(--black);
    margin-bottom: 35px;
    letter-spacing: 0.05em;
    text-align: center;
}
.mission-image {
    margin: auto;
    width: 280px;
}

.mission-emphasis {
    font-size: 1rem;
    font-weight: bold;
    line-height: 2;
    color: var(--black);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .mission-text {
        text-align: left !important;
    }
    .mission-emphasis {
        text-align: left !important;
    }
}

/* サービスセクション */
#service {
    background-color: var(--sub_color);
}

.service-name {
    font-size: 24px;
    color: var(--main_color);
    letter-spacing: 0.05em;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    padding: 0;
}

.service-content {
    flex: 1;
    max-width: 600px;
}

.service-number {
    font-family: var(--eiji_font);
    font-size: 48px;
    color: var(--main_color);
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: 0.01em;
    font-style: italic;
}

.service-image {
    flex: 1;
    max-width: 500px;
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 16 / 7;
}

/* 登壇・出版セクション */
/* 著　書 */
.titleArea {
    text-align: center;
    padding-top: 3rem;
}
.media-container .titleArea {
    padding-top: 0;
}

/* .media-container {
    background-color: var(--white);
    border: solid 1px var(--main_color);
    border-radius: 20px;
    position: relative;
    overflow: visible;
} */
/* .media-container::before {
    content: "";
    background-image: url(../images/pin.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 30px;
    height: 40px;
    margin: 0 auto;
    position: absolute;
    z-index: 10;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
} */
/* .media-container::after {
    content: "";
    position: absolute;
    background-color: var(--white);
    border: solid 1px var(--main_color);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    top: -10px;
    left: -10px;
    z-index: -1;
} */

.mybook-content .h3title {
    position: relative;
    display: inline-block;
    background-color: var(--white);
    padding: 4px;
}
.mybook-content .h3title::after {
    content: "";
    background-image: url(../images/book.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 100px;
    height: 137px;
    position: absolute;
    top: -100px;
    left: -90%;
    z-index: -1;
}
.mybook-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 2rem 1rem;
    border-bottom: solid 1px var(--sub_color);
}
.mybook-book-image {
    max-width: 180px;
}

/* 書籍・メディア掲載 */
.media-box {
    padding: 0 1rem;
}
.media-wrapper {
    position: relative;
}
.media-wrapper::after {
    content: "";
    background-image: url(../images/media.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 200px;
    height: 148px;
    margin: 0 auto;
    position: absolute;
    top: -50%;
    left: 50%;
}

.interview-wrapper {
    position: relative;
}
.interview-wrapper::after {
    content: "";
    background-image: url(../images/interview.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 160px;
    height: 177px;
    margin: 0 auto;
    position: absolute;
    top: auto;
    bottom: -70%;
    transform: scalex(-1);
}

@media screen and (max-width: 768px) {
    h1::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .mybook-item {
        gap: 8px;
        flex-direction: column;
        padding: 2rem 1rem 4rem;
    }
    .mybook-book-info {
        text-align: center;
    }
    .interview-image img {
        width: 80px !important;
        height: 80px !important;
    }

    .media-wrapper::after {
        top: -132px;
        left: 34%;
        width: 174px;
        height: 128px;
    }
    .interview-wrapper::after {
        bottom: -153px;
        width: 140px;
        height: 150px;
    }
}
/* 実績セクション */
#works {
    background-image: url("../images/houganbk.png");
    background-size: 40px 40px;
    background-position: center;
    background-repeat: repeat;
}
/*
.works-container {
    max-width: 900px;
    margin: 0 auto;
} */

.works-title {
    text-align: left;
    margin-bottom: 50px;
}

.works-title img {
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.works-category-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--black);
    position: relative;
    letter-spacing: 0.1em;
}

.works-category-title::after {
    content: none;
}

.works-title-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.works-wave {
    width: 100%;
    min-width: 120px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
}
.works-wave svg {
    display: block;
}

.works-content {
    max-width: 1000px;
    margin: 0 auto;
    background: #f0f6fd;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.works-content:last-child {
    margin-bottom: 0;
}

.works-item:last-child {
    margin-bottom: 0;
}

.works-book-container {
    position: relative;
    flex-shrink: 0;
}
.works-ase-icon {
    position: absolute;
    top: -38px;
    left: -38px;
    width: 55px;
    height: 55px;
    z-index: 2;
}

.works-book-info {
    flex: 1;
    padding-top: 25px;
}

.works-book-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 25px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.works-book-details {
    font-size: 17px;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.works-detail-link {
    font-size: 17px;
    color: var(--main_color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--main_color);
    padding-bottom: 3px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.works-detail-link:hover {
    color: var(--main_color);
    border-bottom-color: var(--main_color);
    transform: translateX(5px);
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    #hero {
        padding: 30px 40px;
    }

    .logo-icon {
        font-size: 24px;
        width: 35px;
        height: 35px;
    }

    #mission {
        padding: 60px 40px;
    }

    .mission-title img {
        max-width: 300px;
    }
    .mission-emphasis {
        font-size: 18px;
    }

    #service {
        padding: 60px 40px;
    }

    .service-title img {
        max-width: 300px;
    }

    .service-item {
        gap: 40px;
        margin-bottom: 60px;
    }

    .service-number {
        font-size: 60px;
    }

    .service-name {
        font-size: 24px;
    }

    .service-description {
        font-size: 16px;
    }

    #works {
        padding: 60px 40px;
    }

    .works-title img {
        max-width: 300px;
    }

    .works-content {
        padding: 30px;
    }

    .works-book-image {
        width: 160px;
        height: 220px;
    }

    .works-book-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 20px 25px;
    }

    .catchphrase-section {
        width: 90%;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-icon {
        font-size: 20px;
        width: 30px;
        height: 30px;
    }

    #mission {
        padding: 40px 25px;
    }

    .mission-title {
        text-align: center;
        margin-bottom: 40px;
    }

    .mission-title img {
        max-width: 250px;
    }

    /* .mission-content {
        margin-left: 0;
    } */

    /* .mission-text {
        font-size: 15px;
        line-height: 1.8;
        text-align: center;
    } */

    .mission-emphasis {
        font-size: 16px;
        line-height: 1.8;
        text-align: center;
    }

    #service {
        padding: 40px 25px;
    }

    .service-title {
        text-align: center;
        margin-bottom: 50px;
    }

    .service-title img {
        max-width: 250px;
    }

    .service-item {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 50px;
        text-align: center;
    }

    .service-content {
        max-width: 100%;
    }

    .service-number {
        font-size: 48px;
    }

    .service-name {
        font-size: 20px;
    }

    .service-description {
        font-size: 15px;
    }

    .service-image {
        max-width: 400px;
    }

    .service-image img {
        height: 250px;
    }

    #works {
        padding: 40px 25px;
    }

    .works-title {
        text-align: center;
        margin-bottom: 40px;
    }

    .works-title img {
        max-width: 250px;
    }

    .works-content {
        padding: 25px;
    }

    /* .works-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    } */

    .works-book-container {
        margin-bottom: 20px;
    }

    .works-book-image {
        width: 140px;
        height: 200px;
    }

    .works-category-title {
        font-size: 20px;
    }

    .works-book-title {
        font-size: 18px;
    }

    .works-book-details {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        font-size: 18px;
        width: 28px;
        height: 28px;
    }

    #mission {
        padding: 30px 20px;
    }

    .mission-title img {
        max-width: 200px;
    }

    /* .mission-text {
        font-size: 14px;
        margin-bottom: 25px;
    } */

    .mission-emphasis {
        font-size: 15px;
        margin-bottom: 15px;
    }

    #service {
        padding: 30px 20px;
    }

    .service-title img {
        max-width: 200px;
    }

    .service-item {
        margin-bottom: 40px;
    }

    .service-number {
        font-size: 40px;
    }

    .service-name {
        font-size: 18px;
    }

    .service-description {
        font-size: 14px;
    }

    .service-image {
        max-width: 100%;
    }

    .service-image img {
        height: 200px;
    }

    #works {
        padding: 30px 20px;
    }

    .works-title img {
        max-width: 200px;
    }

    .works-content {
        padding: 20px;
    }

    .works-book-image {
        width: 120px;
        height: 170px;
    }

    .works-ase-icon {
        width: 30px;
        height: 30px;
    }

    .works-category-title {
        font-size: 18px;
    }

    .works-book-title {
        font-size: 16px;
    }

    .works-book-details {
        font-size: 14px;
    }
}
/* メディア */

.media-header {
    margin-bottom: 48px;
    text-align: center;
}
.media-title-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}
.media-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    object-fit: cover;
}
.media-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.media-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0;
    letter-spacing: 0.08em;
}
.media-wave {
    width: 220px;
    margin: 0 0 0 0;
}
.media-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.media-images {
    padding-bottom: 0.5rem;
    padding-top: 1rem;
}
.media-image-container img {
    max-width: 110px;
    width: 100%;
    height: auto;
}

.media-image-text {
    font-size: 1.6rem;
    font-weight: bold;
    color: #111;
    letter-spacing: 0.04em;
}

.media-content {
    padding: 40px 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.media-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.media-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.media-link:hover {
    color: var(--main_color);
}
.media-summary {
    font-size: 1rem;
    color: #4a5568;
    margin-top: 18px;
    margin-left: 24px;
}

/* 講演・登壇セクション */
.speaking-container {
    max-width: 100%;
    margin: 0 auto;
}

.speaking-content {
    position: relative;
}

.speaking-content::after {
    content: "";
    background-image: url(../images/speaking.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 150px;
    height: 113px;
    position: absolute;
    transform: scale(-1, 1);
    z-index: 2;
}

.speaking-title {
    font-size: 21px;
    text-align: center;
    color: var(--main_color);
    letter-spacing: 0.5rem;
}

.speaking-content .swiper-horizontal {
    padding: 1rem;
}

.speaking-card {
    background: var(--white);
    color: var(--black);
    border: solid 1px var(--main_color);
    border-radius: 20px;
    padding: 1rem 1rem 1.7rem;
    line-height: 1.3;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.speaking-card p {
    margin-bottom: 0;
}

.interview-personal-block a,
.speaking-card a {
    color: var(--black);
}
.interview-personal-bold {
    color: var(--main_color);
}

.speaking-container .swiper-slide {
    display: flex;
    height: auto;
}

@media screen and (max-width: 431px) {
    .speaking-card {
        max-width: 100%;
    }
}

.speaking-card:hover {
    box-shadow: 7px 7px 0px 0 var(--main_color);
    transform: translate(-10px, -10px);
}

.speaking-main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
	 object-fit: contain;
}

.seminar-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.seminar-title {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-decoration: underline;
}

.seminar-organizer {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.seminar-image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seminar-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .seminar-main-image {
        max-width: 350px;
    }
    .seminar-bubble {
        width: 260px;
        height: 260px;
        padding: 25px;
        border-radius: 40% 60% 62% 38% / 38% 66% 34% 62%;
        transform: rotate(2deg) skew(3deg, -2deg);
    }
    .seminar-subtitle {
        font-size: 20px;
    }
    .seminar-title {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .seminar-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .seminar-main-image {
        max-width: 90vw;
    }
    .seminar-bubble {
        width: 180px;
        height: 180px;
        padding: 10px;
        border-radius: 40% 60% 62% 38% / 38% 66% 34% 62%;
        transform: rotate(-3deg) skew(-1deg, 2deg);
    }
    .seminar-subtitle {
        font-size: 16px;
    }
    .seminar-title {
        font-size: 12px;
    }
    .seminar-organizer {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .seminar-bubble {
        width: 110px;
        height: 110px;
        padding: 4px;
        border-radius: 40% 60% 62% 38% / 38% 66% 34% 62%;
        transform: rotate(1deg) skew(2deg, -1deg);
    }
    .seminar-subtitle {
        font-size: 13px;
    }
    .seminar-title {
        font-size: 10px;
    }
    .seminar-organizer {
        font-size: 9px;
    }
}

.speaking-wave {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
}
.speaking-wave svg {
    display: block;
}

/* 有名人インタビュー */
.interview-block-left a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

#interview-famous .h3title {
    position: relative;
}
#interview-personal .titleArea {
    padding-top: 0;
}

@media screen and (max-width: 768px) {
    #interview-famous .h3title {
        background-color: var(--white);
        display: inline-block;
    }
    #interview-personal .h3title {
        background-color: var(--white);
        display: inline-block;
    }
}

#interview-famous .h3title::before {
    content: "";
    background-image: url(../images/interview-famous.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 140px;
    height: 113px;
    position: absolute;
    top: -94px;
    left: 62%;
    z-index: -1;
    transform: scaleX(-1);
}

@media screen and (max-width: 768px) {
    .interview-block-left a,
    .interview-block-right a {
        flex-direction: column-reverse !important;
        gap: 14px !important;
    }

    .interview-text-left,
    .interview-text-right {
        padding: 1rem !important;
    }
}

.interview-block-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-direction: row-reverse;
}

.interview-text-left {
    background-color: var(--main_color);
    color: var(--white);
    border-radius: 20px;
    padding: 1rem 2rem;
    position: relative;
}

.interview-text-right {
    background-color: var(--white);
    color: var(--main_color);
    border-radius: 20px;
    padding: 1rem 2rem;
    position: relative;
    border: solid 1px var(--main_color);
}

.interview-text-left p,
.interview-text-right p {
    margin-bottom: 0;
}

.interview-text-left::before {
    position: absolute;
    content: "";
    top: 40%;
    left: -13px;
    /*三角*/
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid var(--main_color);
    border-left: 0;
}

.interview-text-right::before {
    position: absolute;
    content: "";
    top: 40%;
    left: 100%;
    /*三角*/
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid var(--white);
    border-right: 0;
    filter: drop-shadow(1px 0px 0px var(--main_color));
}
@media screen and (max-width: 768px) {
    .interview-text-left::before {
        top: auto;
        left: 47%;
        bottom: -15px;
        transform: rotate(-90deg);
    }
    .interview-text-right::before {
        top: auto !important;
        left: 48% !important;
        bottom: -15px !important;
        transform: rotate(90deg) !important;
    }
}

.interview-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.interview-image {
    flex: 1;
}

.interview-text-right,
.interview-text-left {
    flex: 4;
}

.interview-pagination {
    position: absolute;
    transform: rotate(-90deg);
    top: 0;
    left: -20%;
    right: 0;
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    pointer-events: none; /* 矢印以外にクリック通さないため */
    z-index: 1;
}

.interview-pagination .swiper-button-next,
.interview-pagination .swiper-button-prev {
    pointer-events: all;
    color: var(--main_color);
}

.interview-pagination .swiper-button-next:after,
.interview-pagination .swiper-button-prev:after {
    font-size: 15px !important;
    background-color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 50%;
    border: solid 1px var(--white);
    box-shadow:
        inset -3px -3px 4px 0px #dfdfdf80,
        inset 0px 0px 3px 0px #9797974d,
        -4px -4px 7px 0px #6161614d;
}

.bookshelf-container .swiper-button-next:after,
.bookshelf-container .swiper-button-prev:after,
.speaking-container .swiper-button-next:after,
.speaking-container .swiper-button-prev:after {
    font-size: 20px !important;
    background-color: var(--white);
    padding: 0.7rem 1rem;
    border-radius: 50%;
    border: solid 1px var(--white);
    box-shadow:
        inset -3px -3px 4px 0px #dfdfdf80,
        inset 0px 0px 3px 0px #9797974d,
        -4px 0px 7px 0px #6161614d;
}

@media (max-width: 1024px) {
    .interview-title {
        font-size: 28px;
    }
    .interview-icon {
        width: 65px;
        height: 65px;
    }
}
@media (max-width: 768px) {
    .interview-title-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .interview-title {
        font-size: 24px;
        text-align: center;
    }
    .interview-icon {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 480px) {
    .interview-title {
        font-size: 20px;
    }
    .interview-icon {
        width: 50px;
        height: 50px;
    }
}

.celeb-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}
.celeb-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}
.celeb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    max-width: 300px;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}
.celeb-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
    background: #f5f5f5;
}
.celeb-caption {
    font-size: 18px;
    color: #222;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 1024px) {
    .celeb-row {
        gap: 20px;
    }
    .celeb-image {
        width: 160px;
        height: 160px;
    }
    .celeb-caption {
        font-size: 16px;
    }
}
@media (max-width: 600px) {
    .celeb-row {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .celeb-image {
        width: 100%;
        max-width: 220px;
        height: auto;
    }
    .celeb-caption {
        font-size: 15px;
    }
}

/* 挨拶 */
#message {
    /* background: #fff; */
    padding: 100px 0 80px 0;
    position: relative;
}

.message-erea {
    max-width: 600px;
    margin: auto;
    padding: 0 1rem;
}

.message-title {
    text-align: left;
    margin-bottom: 48px;
}
.message-title-img {
    width: 320px;
    max-width: 90vw;
    height: auto;
}
.message-content {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 48px 56px;
}
.message-icon-area {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.message-icon-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}
.message-text-area {
    /* flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; */
    margin-bottom: 2rem;
}
.message-heading {
    font-size: 28px;
    font-weight: bold;
    color: var(--main_color);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}
.message-text {
    font-size: 20px;
    color: var(--black);
    line-height: 1.8;
    margin: 0;
}
@media (max-width: 900px) {
    .message-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 32px 10px;
    }
    .message-title-img {
        width: 220px;
    }
    .message-icon-area {
        flex: 0 0 120px;
    }
    .message-icon-img {
        width: 120px;
        height: 120px;
    }
    .message-heading {
        font-size: 22px;
    }
    .message-text {
        font-size: 16px;
    }
}
@media (max-width: 600px) {
    #message {
        padding: 60px 0 40px 0;
    }
    .message-title {
        margin-bottom: 28px;
    }
    .message-title-img {
        width: 150px;
    }
    .message-content {
        padding: 16px 4px;
        gap: 18px;
    }
    .message-icon-img {
        width: 80px;
        height: 80px;
    }
    .message-heading {
        font-size: 16px;
    }
    .message-text {
        font-size: 13px;
    }
}

/* メディア */
#web-writing .interview-company-text-area {
    position: relative;
}
#web-writing .interview-company-text-area::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 200px;
    top: 0;
    left: 75%;
    background-image: url(../images/web-writing.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 900px) {
    .section,
    .service-item,
    .works-content,
    .message-container,
    .company-content,
    .contact-bgform,
    .personal-interview-card,
    .bookwriting-item,
    .interview-company-box {
        padding: 32px 10px !important;
        border-radius: 18px !important;
    }
    .footer-inner {
        padding: 0 8px;
    }
    .message-container,
    #interview-company {
        width: 93%;
    }
}

@media screen and (max-width: 768px) {
    .company-content {
        padding: 0 !important;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.2rem;
    }
    .footer-title {
        font-size: 1.1rem;
    }
    .footer-logo {
        width: 36px;
        height: 36px;
    }
    /* .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    } */
}

th,
td {
    padding: 16px 12px !important;
    font-size: 1rem;
}

/* --- ドット・SVG装飾 --- */
svg circle {
    opacity: 0.7;
    filter: blur(0.5px);
}

/* --- 企業・メディア実績セクション --- */
.works-section {
    background: #f2f8fb;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px 60px;
    margin: 48px auto 0 auto;
    max-width: 900px;
}
.works-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #9adcf1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.works-icon-wrapper img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.works-content {
    flex: 1;
    background-color: #edf7ff;
    border-radius: 24px;
}
.works-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.works-list li {
    display: flex;
    align-items: baseline;
    font-family: var(--jp_font);
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.7;
    margin-bottom: 16px;
    position: relative;
}
.works-list li::before {
    content: "•";
    margin-right: 12px;
    font-size: 1.1em;
    color: #1a1a1a;
    display: inline-block;
    line-height: 1;
}
.works-list a {
    color: inherit;
    text-decoration: underline;
}
.works-summary {
    font-family: var(--jp_font);
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.7;
    margin-top: 24px;
    margin-left: 24px;
}
@media (max-width: 900px) {
    .works-section {
        flex-direction: column;
        gap: 24px;
        padding: 32px 18px;
    }
    .works-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    .works-icon-wrapper img {
        width: 44px;
        height: 44px;
    }
}
@media (max-width: 600px) {
    .works-section {
        padding: 18px 4px;
        gap: 12px;
    }
    .works-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    .works-icon-wrapper img {
        width: 28px;
        height: 28px;
    }
    .works-list li,
    .works-summary {
        font-size: 13px;
    }
    .works-summary {
        margin-left: 12px;
        margin-top: 14px;
    }
}

/* --- interview-company（企業インタビュー）カスタムデザイン --- */

.interview-company-icon-area {
    flex: 0 0 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.interview-company-icon-bg img {
    width: 100px;
    height: 100px;
}
.interview-company-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.interview-company-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.media-list,
.interview-company-list {
    max-width: 600px;
    margin: auto;
}

.interview-company-list li {
    font-size: 1.12rem;
    color: var(--black);

    line-height: 1.7;
    list-style: none;
}

.interview-company-list li,
.media-list li {
    margin-bottom: 24px;
}

/* .interview-company-list li:last-child {
    margin-bottom: 0;
} */
.interview-company-link {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition:
        color 0.2s,
        border-bottom-color 0.2s;
}
.interview-company-link:hover {
    color: var(--main_color);
    border-bottom-color: var(--main_color);
}
.interview-company-summary {
    font-size: 1rem;
    color: #4a5568;
    margin-top: 18px;
    margin-left: 8px;
}
@media (max-width: 900px) {
    .interview-company-box {
        flex-direction: column;
        gap: 18px;
        padding: 28px 12px;
    }
    .interview-company-icon-area {
        margin-bottom: 8px;
    }
    .interview-company-icon-bg {
        width: 70px;
        height: 70px;
    }
    .interview-company-icon-img {
        width: 44px;
        height: 44px;
    }
}
@media (max-width: 600px) {
    .interview-company-box {
        padding: 12px 2vw;
        gap: 10px;
    }
    .interview-company-list li {
        font-size: 0.98rem;
    }
    .interview-company-summary {
        font-size: 0.92rem;
    }
}

/* 企業インタビュー */
.interview-box {
    padding: 0 1rem;
}

/* --- interview-personal（人物インタビュー）カード --- */
.interview-personal-block a {
    display: flex;
    align-items: stretch;
    margin-bottom: 2rem;
    transition: all 0.3s ease !important;
    height: 180px;
    width: 100%;
}

.interview-personal-block a:hover {
    transform: translate(-10px, -10px);
    filter: drop-shadow(7px 7px 0px var(--main_color));
}
.interview-personal-text {
    background-color: var(--white);
    border-radius: 20px 0px 0px 20px;
    border-bottom: solid 1px var(--main_color);
    border-top: solid 1px var(--main_color);
    border-left: solid 1px var(--main_color);
    padding: 1rem 2rem 1rem;
    flex: 3;
}
.interview-personal-subtitle {
    font-size: 13px;
    margin-bottom: 0;
}
.interview-personal-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0px 20px 20px 0px;
    border-bottom: solid 1px var(--main_color);
    border-top: solid 1px var(--main_color);
    border-right: solid 1px var(--main_color);
}
.interview-personal-image {
    height: 100%;
    flex: 1;
}
.interview-personal-bold {
    text-align: right;
    padding-top: 8px;
    margin-bottom: 0;
}

/* --- book-writing（書籍ブックライティング）グリッド --- */

.bookwriting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    padding: 0;
}

#book-writing {
    background-color: #d6e9ff54;
    position: relative;
}
#book-writing::after {
    content: "";
    background-image: url(../images/books.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 130px;
    height: 160px;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

.bookwriting-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 280px;
    height: 100%;
    justify-content: flex-end;
}

.bookwriting-image-link {
    display: block;
    width: 100%;
    max-width: 220px;
    flex-shrink: 0;
    min-height: 280px;
    display: flex;
    align-items: flex-start;
}
.bookwriting-image {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.bookwriting-title {
    display: block;
    font-size: 0.75rem;
    color: var(--black);
    text-align: left;
    max-width: 200px;
    margin-top: 10px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.bookshelf-container {
    line-height: 1.3;
    text-align: center;
}

.message-profile-name {
    font-size: 1.2rem;
    font-weight: bold;
}

section {
    padding: 60px 0 !important;
}

.message-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
}
.message-profile {
    display: flex;
    align-items: center;
}
.message-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 3rem 0;
    align-items: center;
    max-width: 700px;
    margin: auto;
}

.message-links .links-portfolio,
.message-links .links-media {
    flex: 1;
}

.message-links .linkbtn {
    display: block;
    width: 100%;
    padding: 1rem 3.5rem;
    text-align: center;
}

.links-portfolio .linkbtn {
    background-color: var(--main_color);
    color: var(--white);
    box-shadow:
        inset -5px -5px 6px 0px #ffffff80,
        inset 5px 5px 10px 0px #d0d0d04d,
        -1px 5px 10px 0px #d0d0d04d;
}

.links-portfolio .linkbtn:hover {
    box-shadow:
        inset -5px -5px 6px 0px #ffffff80,
        inset 5px 5px 10px 0px #00000078,
        -1px 5px 10px 0px #4343434d;
}

.links-media .linkbtn {
    background-color: #8ed7f2;
    color: var(--main_color);
    box-shadow:
        inset -5px -5px 10px 0px #ffffff80,
        inset 5px 5px 10px 0px #d0d0d04d,
        -1px 5px 10px 0px #d0d0d04d;
}
.links-media .linkbtn:hover {
    box-shadow:
        inset -5px -5px 10px 0px #ffffff80,
        inset 5px 5px 10px 0px #2525254d,
        -1px 5px 10px 0px #4343434d;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.15rem;
    color: var(--black);
}
.company-table tr {
    border-bottom: 1px solid #bbb;
}

.company-table-list {
    padding-left: 1.4rem;
}

@media screen and (max-width: 768px) {
    #book-writing::after {
        width: 110px;
        height: 135px;
    }
    .company-table tr {
        display: flex;
        flex-direction: column;
        padding: 0.5rem;
        align-items: flex-start;
    }
    .company-table th {
        padding: 0 !important;
    }
    .company-table td {
        padding: 0rem !important;
    }
    .media-divider .h3title::after {
        left: 50%;
        top: -128px;
    }
    #web-writing .interview-company-text-area::after {
        left: 64%;
        bottom: -68%;
        top: auto;
    }

    /* #interview-company::after {
        bottom: -80px;
        left: -14px;
    } */

    .interview-pagination {
        width: 35%;
        top: 0%;
    }

    .message-links {
        flex-direction: column;
        align-items: stretch;
    }

    .message-links .linkbtn {
        width: 100%;
        display: block;
    }

    .message-profile {
        flex-direction: column-reverse;
        align-items: center;
    }

    .interview-personal-block a {
        flex-direction: column;
        height: auto;
    }
    .interview-personal-text {
        border-right: solid 1px var(--main_color);
        border-top: solid 1px var(--main_color);
        border-left: solid 1px var(--main_color);
        border-bottom: none !important;
        border-radius: 20px 20px 0px 0px !important;
    }
    .interview-personal-image img {
        border-radius: 0px 0px 20px 20px !important;
        border-bottom: solid 1px var(--main_color);
        border-left: solid 1px var(--main_color);
        border-right: solid 1px var(--main_color);
        border-top: none !important;
    }
}

/* 文字数制限 */

/* 講演・登壇セクション */
.speaking-container .speaking-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* 人物インタビュー */
.interview-personal-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.interview-personal-subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* book-writing スライド: 画像は下揃え、タイトルは上揃え */
.bookwriting-item {
    display: grid;
    grid-template-rows: 280px auto; /* 上:画像エリア固定 / 下:タイトル */
    justify-items: center;
    align-items: stretch;
    max-width: 280px; /* 既存と同じ幅制御 */
    height: 100%;
}

.bookwriting-image-link {
    display: flex;
    align-items: flex-end;   /* 画像を下に寄せる */
    justify-content: center; /* 中央に寄せる */
    height: 280px;           /* 一定高さの画像エリア */
    min-height: 280px;       /* 既存のmin-heightを実質固定化 */
    width: 100%;
    max-width: 220px;
}

.bookwriting-image {
    max-height: 100%;  /* はみ出さない */
    max-width: 100%;
    width: auto;       /* 縦長・横長どちらでも収まる */
    height: auto;
    object-fit: contain; /* 画像はトリミングしないで収める */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* 既存のシャドウ維持 */
}

.bookwriting-title {
    display: block;   /* 既存のflex指定を打ち消す */
    flex-grow: 0;     /* 既存のflex-grow:1を打ち消す */
    align-self: start;/* タイトル行の上に揃える */
    margin-top: 10px;
    max-width: 200px;
    text-align: left;
    font-size: 0.75rem;
    color: var(--black);
}

/* スマホで画像エリアを少し低くする場合 */
@media screen and (max-width: 768px) {
    .bookwriting-item {
        grid-template-rows: 220px auto;
    }
    .bookwriting-image-link {
        height: 220px;
        min-height: 220px;
    }
}
