/* start_フォーム切り替えタブ */

.Search__tab-items {
    width: 105px;
}

.Search__tab-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85px;
    margin-bottom: 3px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
}

.Search__tab-item.active {
    position: relative;
    background: white;
}

.Search__tab-item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 5px;
    height: 100%;
    background-color: var(--corporate-color);
    border-radius: 6px 0 0 6px;
}

.Search__tab-item.active::after {
    content: "";
    position: absolute;
    top: 0;
    right: -3px;
    display: block;
    width: 3px;
    height: 100%;
    background-color: white;
}

/* start_フォーム切り替えタブ */


/* start_検索フォーム無理やり調整 */

.Search-form-wrap:first-child{
    height: 502px;
}

.Search-form-wrap{
    height: 462px;
}

.Search__form-heading {
    display: none;
}

.Search__detail-contents:not(.active) {
    display: block;
}

.Search__detail-contents {
    width: 332px;
    top: 246px;
    right: auto;
    left: ;
    height: auto;
    padding: 0;
    background-color: transparent;
}

.Search-form-wrap:first-child .Search__detail-contents{
    top: 297px;
}


.Search__form-label,
.Search__detail-contents--d .Search__form-label,
.Search__detail-contents--i .Search__form-label {
    width: 75px;
}

.Search__form-content,
.Search__detail-contents--d .Search__form-content,
.Search__detail-contents--i .Search__form-content {
    width: calc(100% - 75px);
}

.Search__form-group--keyword {
    margin-bottom: 10px;
}

.Search__detail-contents-inner {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
    padding: 0;
    border: none;
}

.Search__detail-btn {
    display: none;
}

/* end_検索フォーム無理やり調整 */


/* start_Keyvis */

.Keyvis {
    padding: 20px 0;
    background-repeat:no-repeat;
    background-position: center;
    background-size: cover;
}

.Keyvis__inner {
    display: flex;
    justify-content: flex-start;
    width: 1024px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.Keyvis__heading {
    position: relative;
    width: 280px;
    margin-left: 40px;
}

.Keyvis__kyotenName {
    position: absolute;
    top: 153px;
    left: 190px;
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    white-space: nowrap;
}

.Keyvis__seo {
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 504px;
    padding: 5px 10px;
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    background-color: rgba(23, 30, 61, .7);
}

.Keyvis__caption {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 5px;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.7);
}

.Search-form-wrap {
    padding-bottom: 160px;
}

/* end_Keyvis */


/* start_コース番号検索 */

#SearchCourse {
    width: 1024px;
    margin: 20px auto 0 auto;
    text-align: center;
	position: relative;
	z-index: 99;
}

#SearchCourse ::placeholder {
    color: #888;
}

.SearchCourse__inner {
    display: inline-flex;
    justify-self: flex-start;
    align-items: center;
    padding: 10px 30px 10px 0;
    text-align: left;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
}

.SearchCourse__ttl {
    padding: 0 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.SearchCourse__ttl::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 5px;
    vertical-align: -2px;
    background: url(../../../sharing/common21/images/icn_search--black.svg) no-repeat center / contain;
}

.SearchCourse__form {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0 10px 30px;
    border-left: 1px dotted #888;
}

/* start_ラジオボタン */
#SearchCourse input[type="radio"] {
    display: none;
}

.SearchCourse__radio-label {
    display: inline-block;
    margin-right: 10px;
    padding: 10px;
    font-size: 1.4rem;
    border: 1px solid #c3c3c3;
    border-radius: 4px;
}

#SearchCourse input[type="radio"]:checked+.SearchCourse__radio-label {
    background: var(--active-color);
}

.SearchCourse__radio-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: -5px;
    border-radius: 50%;
    border: 2px solid #888;
    background-color: white;
}

#SearchCourse input[type="radio"]:checked+.SearchCourse__radio-label .SearchCourse__radio-btn {
    border: 6px solid var(--corporate-color);
}

/* end_ラジオボタン */

.SearchCourse__input-text {
    width: 260px;
    margin-right: 10px;
    padding: 8px 10px;
    border: 1px solid #888;
    border-radius: 4px;
}

.SearchCourse__input-text-wrap {
    position: relative;
}

.SearchCourse__submit {
    padding: 0 15px;
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background-color: var(--caution-color);
    border-radius: 3px;
}

.SearchCourse__submit::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 5px;
    vertical-align: -2px;
    background: url(../../../sharing/common21/images/icn_search--white.svg) no-repeat center / contain;
}

.SearchCourse__alert {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 1;
    padding: 5px 15px;
    color: #888;
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
    border-radius: 6px;
    background: white;
    border: 2px solid #c3c3c3;
    box-shadow: 0px 4px 7px -6px rgb(0 0 0 / 50%);
}

.SearchCourse__alert::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -8px;
    left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #c3c3c3 transparent transparent transparent;
}

.SearchCourse__alert::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -5px;
    left: 11px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: white transparent transparent transparent;
}

.SearchCourse__alert-icn {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    color: white;
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 16px;
    vertical-align: 1px;
    text-align: center;
    border-radius: 50%;
    background: #ffa301;
}

/* end_コース番号検索 */


/* start_Distribution */

#Distribution {
    box-shadow: 0 120px 0 0 white inset;
    background: url(/attending/golf/common/images/bg_polygon.png) no-repeat center / cover;
}

#Distribution .sp {
    display: none;
}

#Distribution .sectionInner {
    display: flex;
    justify-content: space-between;
}

.Distribution__item {
    width: calc((100% - 40px) / 2);
}

.Distribution__link {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
    color: white;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    aspect-ratio: 492/200;
    transition: background-size .3s;
}

.Distribution__link:hover {
    background-size: 105%;
}

.Distribution__link--d {
    background-image: url(/attending/golf/images/SP18-037117D.png);
}

.Distribution__link--d::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: url(/attending/golf/kokunai/okinawa/images/icn_d--white.svg) no-repeat center / contain;
}

.Distribution__link--i {
    background-image: url(/attending/golf/images/SP20-013325.png);
}

.Distribution__link--i::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: url(/attending/golf/kokunai/okinawa/images/icn_i--white.svg) no-repeat center / contain;
}

.Distribution__p {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.distribution-modal__items {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 60px);
    margin: 30px auto 0 auto;
}

.distribution-modal__item {
    width: calc((100% - 40px) / 3);
}

.distribution-modal__link {
    display: block;
    width: 100%;
    padding: 40px 0;
    color: white;
    font-size: 21px;
    font-weight: 600;
    text-align: center;
    background-color: #323940;
    box-shadow: 0 -6px 0 0 rgb(0 0 0 / 60%) inset;
    transition: opacity .3s;
}

.distribution-modal__link:hover {
    opacity: .7;
}

/* end_Distributionr */


/* start_Trip */

#Trip {
    background-color: var(--bgColor);
}

/* end_Trip */


/* start_Ranking */

#Ranking {
    counter-reset: ranking;
}

#Ranking .Tour::after {
    counter-increment: ranking;
    content: counter(ranking);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    font-family: 'Barlow', sans-serif;
    font-style: italic;
    border: 2px solid #333941;
}

#Ranking .Tour:first-child::after {
    color: white;
    background-color: #e9b44c;
    border: none;
}

#Ranking .Tour:nth-child(2)::after {
    color: white;
    background-color: #bca3ac;
    border: none;
}

#Ranking .Tour:nth-child(3)::after {
    color: white;
    background-color: #544343;
    border: none;
}

#Ranking .Tour__img {
    border-bottom: none;
}

#Ranking .Tour__caption {
    margin-bottom: 5px;
}

/* end_Ranking */


/* start_Area */

#Area {
    border-bottom: 1px solid var(--borderColor);
}

.Area__items {
    display: flex;
    justify-content: flex-start;
}

.Area__item {
    width: calc((100% - 120px) / 4);
    aspect-ratio: 1/1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity .3s;
}

.Area__item:not(:last-child) {
    margin-right: 40px;
}

.Area__item:hover {
    opacity: .7;
}

.Area__itemLink {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.55) 10%, rgba(0, 0, 0, 0.1) 40%);
}

.Area__itemLink::before {
    content: '';
    position: absolute;
    bottom: 24px;
    right: 20px;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: white;
}

.Area__itemLink::after {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 29px;
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid black;
    border-right: 2px solid black;
    transform: rotate(45deg);
}

.Area__itemName {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding-right: 40px;
    color: white;
    font-size: 21px;
    font-weight: 600;
}

/* end_Area */


/* start_Course */

#Course {
    background-color: var(--bgColor);
    border-bottom: 1px solid var(--borderColor);
}

.IcnModalButton {
    margin-top: 20px;
    text-align: right;
}

.IcnModalButton__a {
    display: inline-block;
    padding: 8px 10px;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid #707171;
    transition: opacity .3s;
}

.IcnModalButton__a::before {
    content: '?';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    color: white;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
    vertical-align: 2px;
    background-color: var(--mainColor);
    border-radius: 50%;
}

.IcnModalButton__a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 5px;
    vertical-align: 2px;
    border-right: 2px solid var(--mainColor);
    border-top: 2px solid var(--mainColor);
    transform: rotate(45deg);
}

.IcnModalButton__a:hover {
    opacity: .7;
}

/* end_Course */


/* start_Info */

#Info {
    border-bottom: 1px solid var(--borderColor);
}

.Info__items {
    display: flex;
    justify-content: center;
}

.Info__item {
    position: relative;
    width: calc((100% - 80px) / 3);
    padding: 20px;
    background-color: white;
    border: 1px solid var(--borderColor);
}

.Info__item:not(:last-child) {
    margin-right: 40px;
}

.Info__itemTitle {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 600;
}

.Info__itemIcn {
    width: 30px;
    margin-right: 5px;
}

.Info__itemP {
    margin-bottom: 60px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.Info__itemLink {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: block;
    width: calc(100% - 40px);
    padding: 10px 0;
    color: white;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    background-color: var(--mainColor);
    box-shadow: 0 -3px 0 0 rgb(0 0 0 / 60%) inset;
    transition: opacity .3s;
}

.Info__itemLink::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 3px;
    vertical-align: 2px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
}

.Info__itemLink:hover {
    opacity: .7;
}

.Info__itemLink--half {
    width: calc((100% - 50px) / 2);
}

.Info__itemLink--half:last-child {
    left: auto;
    right: 20px;
}

/* end_Info */


/* start_Faq */

#Faq {
    background-color: var(--bgColor);
}

/* end_Faq */

#PageName {
	width: 1024px;
    margin: 10px auto;
    font-weight: bold;
}

.Search__submit-wrap{
    z-index: 10;
}