@charset "utf-8";

/* =========================================
   令和9年度 日本植物病理学会大会
   2027 Annual Meeting of the
   Phytopathological Society of Japan

   Main Color : #104E19
   Sub Color  : #A4BB97
   ========================================= */


/* -----------------------------------------
   Base
   ----------------------------------------- */

:root {
    --main: #104E19;
    --main-dark: #003919;
    --sub: #A4BB97;
    --text: #333333;
    --line: #A4BB97;
    --white: #FFFFFF;
    --pale: #F5F8F4;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    color: var(--text);
    background: #F9FFF2;

    font-family:
        "Hiragino Kaku Gothic ProN",
        "Hiragino Kaku Gothic Pro",
        "Yu Gothic",
        "Meiryo",
        sans-serif;

    font-size: 14px;
    line-height: 1.7;
}


img {
    max-width: 100%;
    height: auto;
    border: 0;
}


a {
    color: var(--main-dark);
}


a:hover {
    opacity: .75;
}


p,
h1,
h2,
h3,
h4,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
}


/* -----------------------------------------
   Header
   ----------------------------------------- */

header {
    background: var(--main);
    color: var(--white);
}


.head {
    max-width: 1024px;
    margin: 0 auto;
    padding: 24px;
}


.head-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}


.event-kicker {
    margin-bottom: 6px;

    color: var(--sub);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
}


.h1_ttl {
    margin: 0;
    padding: 0 0 9px;

    background: none !important;
    box-shadow: none !important;

    border-bottom: 2px solid rgba(164,187,151,.65);

    color: #fff !important;

    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .04em;
}


.h1_ttl small {
    margin-right: .5em;

    color: var(--sub) !important;

    font-size: .52em;
    font-weight: 500;
}


.event-en {
    margin: 6px 0 20px;

    color: rgba(255,255,255,.9);

    font-size: 11px;
    letter-spacing: .08em;
}
.flex{
display: flex;
justify-content: space-around;
margin: 15px 0;
}

/* -----------------------------------------
   Event information
   ----------------------------------------- */

.event-meta {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 9px;
}


.event-meta dl {
    display: grid;
    grid-template-columns: 105px 1fr;

    min-height: 54px;

    margin: 0;

    overflow: hidden;

    border: 1px solid rgba(164,187,151,.55);
    border-radius: 8px;

    background: rgba(255,255,255,.10);
}


.event-meta dt {
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--sub);
    color: var(--main-dark);

    font-size: 13px;
    font-weight: 700;
}


.event-meta dd {
    display: flex;
    align-items: center;

    padding: 10px 18px;

    color: #fff;

    font-size: 14px;
    font-weight: 600;

    text-align: left;
}


/* -----------------------------------------
   Page layout
   ----------------------------------------- */

#wrap {
    width: 1024px;
    margin: 0 auto;
    padding: 20px 0 40px;
}


#navi {
    width: 230px;
    float: left;
}


.primary {
    width: 760px;
    float: right;
}


/* -----------------------------------------
   TOP Hero Slider
   ----------------------------------------- */

.hero {
    position: relative;

    width: 760px;
    height: 450px;

    overflow: hidden;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--main),
            #36551E
        );

    box-shadow:
        0 12px 30px rgba(16,78,25,.18);
}


.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
}


.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0,57,25,.68),
            rgba(16,78,25,.25),
            rgba(16,78,25,.05)
        );
}


.hero-copy {
    position: absolute;

    left: 42px;
    bottom: 42px;

    color: #fff;
}


.hero-year {
    margin-bottom: 6px;

    color: var(--sub);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
}


.hero-copy h2 {
    margin: 0 0 8px;
    padding: 0;

    background: none;

    color: #fff;

    font-size: 42px;
    line-height: 1.2;
}


.hero-copy h2:before {
    content: none;
}


.hero-place {
    margin-bottom: 6px;

    font-size: 15px;
    font-weight: 700;
}


.hero-date {
    display: inline-block;

    padding: 5px 10px;

    border-left: 3px solid var(--sub);

    background: rgba(16,78,25,.75);

    font-size: 12px;
    letter-spacing: .08em;
}


/* slider buttons */

.hero-arrow {
    position: absolute;
    top: 50%;

    width: 38px;
    height: 38px;

    margin-top: -19px;

    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;

    background: rgba(16,78,25,.6);

    color: #fff;

    cursor: pointer;
}


.hero-prev {
    left: 15px;
}


.hero-next {
    right: 15px;
}


/* dots */


.hero-dots button {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.55);
}


.hero-dots button.is-active {
    width: 24px;

    border-radius: 10px;

    background: var(--sub);
}


.slide-caption {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 4;
    margin: 0;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 1px 6px rgba(0, 0, 0, 0.5);
}
/* -----------------------------------------
   News
   ----------------------------------------- */

#news {
    margin-top: 15px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: rgba(255,255,255,.95);
}


.news_ttl {
    padding: 10px 14px;

    background: var(--main);
    color: #fff;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
}
/* =========================================
   News スクロール
========================================= */

#news .news {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}


#news dl.news {
    margin: 0;
    padding: 4px 0;
}


#news .text {
    overflow: hidden;

    border-bottom: 1px dotted var(--line);
}


#news .text:last-child {
    border-bottom: 0;
}


#news dt {
    float: left;

    width: 90px;

    padding: 7px 10px;

    color: var(--main-dark);

    font-weight: 700;
}


#news dd {
    margin-left: 90px;

    padding: 7px 12px;
}


/* -----------------------------------------
   Utility
   ----------------------------------------- */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* =========================================
   お問い合わせ
========================================= */

.footer-contact {
    max-width: 1100px;
    margin: 35px auto 0;
    padding: 25px 20px 30px;
    background: #fff;
    border-top: 1px solid #A4BB97;
}

.footer-contact h2 {
    margin: 0 0 18px;
    padding: 0 0 8px;
    color: #003919;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #A4BB97;
}

.footer-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-contact-box {
    padding: 15px 20px;
    background: #F9FFF2;
    border-radius: 4px;
}

.footer-contact-box h3 {
    margin: 0 0 10px;
    color: #104E19;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-box p {
    margin: 0 0 8px;
    color: #003919;
    font-size: 12px;
    line-height: 1.6;
}

.footer-contact-box p:last-child {
    margin-bottom: 0;
}

.footer-contact-box a {
    color: #36551E;
    text-decoration: underline;
    overflow-wrap: anywhere;
}


/* スマホ */
@media screen and (max-width: 767px) {

    .footer-contact {
        margin-top: 30px;
        padding: 22px 15px 25px;
    }

    .footer-contact h2 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer-contact-inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-contact-box {
        padding: 13px 15px;
    }

    .footer-contact-box h3 {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .footer-contact-box p {
        margin-bottom: 6px;
        font-size: 11px;
        line-height: 1.5;
    }
	.slide-caption {
        right: 8px;
        bottom: 7px;
        font-size: 9px;
    }
}
#footer {
    text-align: center;
}

#footer p {
    margin: 0;
    text-align: center;
}


/* -----------------------------------------
   Mobile
   ----------------------------------------- */

@media (max-width: 1000px) {

    #wrap {
        width: auto;
        padding: 12px 15px 30px;
    }


    #navi {
        display: none;
    }


    .primary {
        width: 100%;
        float: none;
    }


    .hero {
        width: 100%;
        height: 58vw;
        min-height: 330px;
        max-height: 450px;
    }

}


@media (max-width: 600px) {

    .head {
        padding: 20px 15px;
    }


    .h1_ttl {
        font-size: 27px;
    }


    .h1_ttl small {
        display: block;

        margin: 0 0 2px;

        font-size: 14px;
    }


    .event-en {
        font-size: 9px;
    }


    .event-meta dl {
        grid-template-columns: 72px 1fr;
    }


    .event-meta dt {
        font-size: 11px;
    }


    .event-meta dd {
        padding: 8px 10px;

        font-size: 11px;
    }


    .hero-copy {
        left: 25px;
        bottom: 30px;
    }


    .hero-copy h2 {
        font-size: 29px;
    }


    .hero-place {
        font-size: 12px;
    }


    .hero-date {
        font-size: 10px;
    }

}
/* =========================================
   下層ページ
========================================= */

.sub-page {
    padding-bottom: 20px;
}

.page-title {
    margin: 0 auto 35px;
    padding: 35px 20px 25px;
    text-align: center;
    border-bottom: 1px solid #A4BB97;
}

.page-title-en {
    margin: 0 0 5px;
    color: #0C2200;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.page-title h2 {
    margin: 0;
    color: #0C2200;
    font-size: 30px;
    font-weight: 700;
}


/* ページ本文 */

.content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}
.indent-1 {
padding-left:1em;
text-indent:-1em;
}


/* 準備中 */

.preparing {
    margin: 40px auto 60px;
    padding: 50px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #A4BB97;
    border-radius: 6px;
}

.preparing-label {
    margin: 0 0 10px;
    color: #104E19;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.preparing h3 {
    margin: 0 0 25px;
    color: #003919;
    font-size: 24px;
}

.preparing p {
    margin: 0;
    color: #333333;
    font-size: 15px;
    line-height: 1.8;
}

.preparing-note {
    margin-top: 8px !important;
    color: #526666 !important;
    font-size: 13px !important;
}


/* スマホ */

@media screen and (max-width: 767px) {

    .page-title {
        margin-bottom: 25px;
        padding: 25px 15px 20px;
    }

    .page-title h2 {
        font-size: 24px;
    }

    .content-area {
        padding: 0 15px;
    }

    .preparing {
        margin: 25px auto 40px;
        padding: 35px 20px;
    }

    .preparing h3 {
        font-size: 20px;
    }

    .preparing p {
        font-size: 14px;
    }

}
/* =========================================
   下層ページ 共通見出し
========================================= */

/* ページタイトル
   例：大会概要、参加登録、アクセス
*/
.page-title {
    max-width: 760px;
    margin: 0 auto 35px;
    padding: 40px 20px 25px;
    text-align: center;
    border-bottom: 1px solid #A4BB97;
}

.page-title h2 {
    margin: 0;
    color: #0C2200;
    font-size: 30px;
    font-weight: 700;
}


/* 大項目
   例：名称、会期、受付期間、会場、主催
*/
.section-heading {
    margin: 45px 0 20px;
    padding: 10px 15px;
    background: #104E19;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    border: none;
}


/* 大項目の最初 */
.content-area > .section-heading:first-child {
    margin-top: 0;
}


/* 中項目
   例：早期参加登録・講演発表申込
*/
.sub-heading {
    margin: 25px 0 10px;
    padding: 6px 12px;
    color: #104E19;
    font-size: 17px;
    font-weight: 700;
    border-left: 3px solid #A4BB97;
}


/* 本文 */
.content-area p {
    margin: 0 0 15px;
    color: #333333;
    font-size: 14px;
    line-height: 1.9;
}


/* リスト */
.content-area ul {
    margin: 10px 0 20px;
    padding-left: 25px;
    list-style: disc !important;
}

.content-area ol {
    margin: 10px 0 20px;
    padding-left: 25px;
    list-style: decimal !important;
}

.content-area li {
    margin-bottom: 6px;
    color: #333333;
    font-size: 14px;
    line-height: 1.8;
    list-style: inherit !important;
}

.red-text {
    color: #FF0000 !important;
}

.content-area h4.application-sub-heading {
    margin-top: 28px;
    margin-bottom: 10px;
}


/* スマホ */
@media screen and (max-width: 767px) {

    .page-title {
        margin-bottom: 25px;
        padding: 28px 15px 20px;
    }

    .page-title h2 {
        font-size: 24px;
    }

    .section-heading {
        margin: 35px 0 15px;
        padding: 8px 12px;
        font-size: 19px;
    }

    .sub-heading {
        margin: 20px 0 8px;
        font-size: 16px;
    }

    .content-area p,
    .content-area li {
        font-size: 13px;
    }

}

/* =========================================
   令和9年度 下層ページ本文・表
   ========================================= */
.content-area section {
    margin: 0 0 10px;
}

.content-area .section-heading {
    margin-top: 42px;
}

.content-area .section-heading + ul,
.content-area .section-heading + p {
    margin-top: 8px;
}

.content-area a {
    overflow-wrap: anywhere;
}

.content-area .last-note {
    margin-top: 28px;
    padding: 12px 15px;
    background: var(--pale);
    border-left: 4px solid var(--sub);
}

.note-box {
    margin: 22px 0;
    padding: 13px 16px;
    background: var(--pale);
    border-left: 4px solid var(--sub);
}

.contact-box {
    margin: 18px 0 30px;
    padding: 18px 20px;
    background: #F9FFF2;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 15px 0 25px;
    -webkit-overflow-scrolling: touch;
}

.info-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
    line-height: 1.65;
}

.info-table th,
.info-table td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    vertical-align: middle;
    text-align: left;
}

.info-table th {
    background: var(--sub);
    color: var(--main-dark);
    font-weight: 700;
    text-align: center;
    border: 1px solid var(--main-dark);
}

.info-table td {
    color: var(--text);
}

.info-table tbody tr:nth-child(even) td {
    background: #F9FFF2;
}

.tag-table .info-table {
    width: 100%;
    min-width: 0;
    max-width: none;
    table-layout: fixed;
}

.tag-table .info-table th,
.tag-table .info-table td {
    text-align: left;
    border-color: #333333;
}

.tag-table .info-table th {
    background: #BF9C31;
    color: #FFFFFF;
    text-align: center;
}

.tag-table .info-table th:nth-child(1),
.tag-table .info-table td:nth-child(1) { width: 36%; }
.tag-table .info-table th:nth-child(2),
.tag-table .info-table td:nth-child(2) { width: 43%; }
.tag-table .info-table th:nth-child(3),
.tag-table .info-table td:nth-child(3) { width: 21%; }

.content-area h4.sub-heading {
    margin-top: 30px;
}

@media screen and (max-width: 767px) {
    .content-area .section-heading {
        margin-top: 32px;
    }

    .info-table {
        font-size: 12px;
    }

    .info-table th,
    .info-table td {
        padding: 8px 9px;
    }
}

/* 参加者ページ：前年度と同様のボタン配置・サイズ */
.participant-buttons {
    width: 100%;
    margin: 18px 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.participant-button {
    width: 340px;
    max-width: 100%;
    margin: 0;
}
.participant-button img {
    display: block;
    width: 100%;
    height: auto;
}
.participant-button-abstract {
    margin: 16px auto 8px;
}
.participant-buttons-registration {
    margin-top: 18px;
    margin-bottom: 24px;
}
@media screen and (max-width: 767px) {
    .participant-buttons {
        flex-direction: column;
        gap: 12px;
        margin: 14px 0 22px;
    }
    .participant-button {
        width: 100%;
        max-width: 340px;
    }
    .participant-button-abstract {
        margin: 14px auto 6px;
    }
}
@media screen and (max-width:480px){
  .flex{
  display: block;
  text-align: center;
  }
}
